Remove SMF version from forum footer

Started by Katsunami, August 04, 2006, 08:19:19 PM

Previous topic - Next topic

Arbalot

but somebody write
$forum_version = "Copyright by Arbalot"; :D

Harzem

Quote from: Arbalot on August 05, 2006, 08:30:45 AM
but somebody write
$forum_version = "Copyright by Arbalot"; :D

Try it and see ;) SMF is more clever!

Grudge

My preferred way of doing this is in index.php, find:

loadUserSettings();


Add After:

if (!$user_info['is_admin']))
  $GLOBALS['forum_version'] = 'SMF';


This will ensure that all the admin functions still work for the admin.
I'm only a half geek really...

Harzem

Grudge is clever too :P I have a new preferred way now!

Katsunami

Ah, both ways are quite useful :) I should have figured the first one out by myself because it's quite logical... (but I blame the fact that I don't know everything about SMF for not doing so) :P

Thanks for your help :)
[nofollow]

www.fantasywritings.net [nofollow]

Gargoyle

Quote from: Grudge on August 05, 2006, 08:42:30 AM
My preferred way of doing this is in index.php, find:

loadUserSettings();


Add After:

if (!$user_info['is_admin']))
  $GLOBALS['forum_version'] = 'SMF';


This will ensure that all the admin functions still work for the admin.

I've tried doing this 4 times and every time I get nothing but a blank screen... Any idea why ?

winrules



winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Gargoyle

when i upload the file with the edits.

Advertisement: