View Full Version : Remove Moderators if none!
DjTuPPer
05-20-2003, 04:12 PM
Hello there!
I have been searching for this one but, can't find it...
anyhoot... How do I remove the [moderator: ] if there are no moderator... just like you got here at vBulletin.org
If you don't know what I'm talking about check out the screenshot!
And the last thing... it's pretty much the same problem as the problem above... how do I remove the [0 users viewing] thing, if there ain't no users viewing the forum... they got it at vBulletinTemplates, I have also requested it there, but they told me to ask you guys! :)
Smoothie
05-20-2003, 04:25 PM
whos' that new moderator, 'New Thread'? ;)
corsacrazy
05-20-2003, 04:28 PM
i think its a hack :s not sure but if it does end up in the template section giv us a shout this is a usefull one
DjTuPPer
05-20-2003, 04:30 PM
I don't know if it's a hack or a template modification either... so I just posted it here! :)
Dean C
05-20-2003, 05:38 PM
It requires hacking :)
- miSt
corsacrazy
05-20-2003, 06:47 PM
so is it in the hacks data base ?
filburt1
05-20-2003, 06:52 PM
Search and ye shall find.
corsacrazy
05-20-2003, 07:25 PM
;) guna make me do it the hard way :p lol
Boofo
05-20-2003, 08:10 PM
in index.php AND forumdisplay.php
find:
if ( !isset($forum['moderators']) ) {
$forum['moderators'] = ' ';
}
replace with this:
if ( !isset($forum['moderators']) ) {
$forum['moderators'] = '';
} else {
$forum['moderators'] = 'Moderated by: ' . $forum['moderators'];
}
Keep forumhome_moderator as the original, and add $forum[moderators] where
previously suggested (in forumhome_forumbit_level2_post right after $forum[description]
(like this: $forum[description]<br>$forum[moderators])
To put brackets around Moderated By ( [Moderated By: Boofo, Boofo's Babe] ) do the following:
Replace:
$forum['moderators'] = 'Moderated by: ' . $forum['moderators'];
With this:
$forum['moderators'] = '[Moderated by: ' . $forum['moderators'] . ']';
corsacrazy
05-20-2003, 08:13 PM
nice one :D
DjTuPPer
05-20-2003, 08:14 PM
Nice dude!!! :)
Is it the same with the viewing thing?!?!
Boofo
05-20-2003, 08:27 PM
Today at 04:14 PM DjTuPPer said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=397857#post397857)
Nice dude!!! :)
Is it the same with the viewing thing?!?!
Viewing thing? You lost me here.
DjTuPPer
05-20-2003, 08:43 PM
wups! forgot to post a screenshot about that. I wrote about it in the first post! anyhoot... heres a screenshot! :)
Boofo
05-20-2003, 08:53 PM
Today at 04:43 PM DjTuPPer said this in Post #13 (https://vborg.vbsupport.ru/showthread.php?postid=397877#post397877)
wups! forgot to post a screenshot about that. I wrote about it in the first post! anyhoot... heres a screenshot! :)
That's a whole different hack. Firefly released some code for that around here somewhere, I think.
DjTuPPer
05-20-2003, 08:55 PM
okay... I'll try searching for it again! Thanks alot for your help Boofo! :)
DjTuPPer
05-20-2003, 09:08 PM
hmmm... I have now found the # viewing hack again, and seached for the addon my chen, but I can't find it anywhere... if anybody know where it is please tell me! :)
But don't use your time to find, it's only if you know where it is forsure!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.