Customizing SMF > Modifications and Packages

Global Headers and Footers (SMF 2.0 Now Supported!)

<< < (173/188) > >>

Iomega0318:
So I know this mod obviously needs some work lol, but it also has one thing missing that bugs the crap out of me.. it's not super important but still lol.. It is missing an icon in the menu, in FF and Chrome they do a nice job "hiding" that it's not there but if you use IE it shows up in the menu as a broken image.. so I fixed it by changing this:


--- Code: ---                'globalhf' => array(
                    'label' => $txt['globalhf_title'],
                    'file' => 'globalhf2.php',
                    'function' => 'globalhf',
                    'custom_url' => $scripturl . '?action=admin;area=globalhf',
                    'icon' => '',
                    'subsections' => array(
                        'view' => array($txt['globalhf_settings']),
                    ),
                ),

--- End code ---

to this:

--- Code: ---                'globalhf' => array(
                    'label' => $txt['globalhf_title'],
                    'file' => 'globalhf2.php',
                    'function' => 'globalhf',
                    'custom_url' => $scripturl . '?action=admin;area=globalhf',
                    'icon' => 'news.gif',
                    'subsections' => array(
                        'view' => array($txt['globalhf_settings']),
                    ),
                ),

--- End code ---

All I did was add "news.gif" into this line:

--- Code: ---'icon' => '',
--- End code ---

vbgamer45:
Thanks for the tip will get it updated

die2mrw007:
How to uninstall this ?

I need to re-install this mod (fresh) after uninstalling.

Kindred:
you may have to manually uninstall it.
That error actually means that you have permissions issues on your server and will likely encounter other mod-install/uninstall issues.

make sure that your Packages/temp directory exists, is chmod 755 (maybe 777) and is EMPTY before you try to install or uninstall mods.

die2mrw007:

--- Quote from: Kindred on April 24, 2012, 11:51:04 AM ---you may have to manually uninstall it.
That error actually means that you have permissions issues on your server and will likely encounter other mod-install/uninstall issues.

make sure that your Packages/temp directory exists, is chmod 755 (maybe 777) and is EMPTY before you try to install or uninstall mods.

--- End quote ---
Thanks, it worked :)
THere wasn't any folder as Temp inside the package folder...I created one and then it listed out the file errors which I manually edited the code as per the info :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version