November 28, 2024, 09:31:49 PM

1,531,356 Posts in 46,734 Topics by 1,523 Members
› View the most recent posts on the forum.


Do you know what I hate about some SMF mods?

Started by Daddy, November 11, 2008, 08:50:25 AM

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Go Down

Daddy

When people use shit like:
find:
Code Select
global $context, $settings, $options, $txt, $scripturl, $modSettings;
replace with:
Code Select
global $context, $settings, $options, $txt, $scripturl, $modSettings, $user_info;
instead of
find:
Code Select
global $context, $settings, $options, $txt, $scripturl, $modSettings
add after:
Code Select
, $user_info

It makes installing mods a pain in the ass, because if you already have a mod using that line, and you try to replace it iwll make the installation fail, but if you did add before/after, then it is less likely to fail.

WHY MUST PEOPLE USE 'REPLACE'?

Nyerp


Go Up