View Full Version : disable avatars and signatures for a specific forum
banjolawyer
09-23-2002, 05:44 PM
I have been searching and can't find any threads on the issue of disabling avatars and signatures for a specific forum.
I have this need. Can anyone point me in the right direction if they're aware of it? Or if not, does anyone know how to do this?
Xenon
09-23-2002, 07:34 PM
try that:
open admin/functions.php
find if ($avatarurl=="" or ($bbuserinfo[userid]>0 and !($bbuserinfo[showavatars]))) {
replace with:
if ($avatarurl=="" or $forum[forumid]==x or ($bbuserinfo[userid]>0 and !($bbuserinfo[showavatars]))) {
replace the x with your forumid where you don't want to show avatars..
then find: if ($post[showsignature] and $allowsignatures and trim($post[signature])!="" and ($bbuserinfo[userid]==0 or $bbuserinfo[showsignatures])) {
change it to: if ($post[showsignature] and $forum[forumid]!=x and $allowsignatures and trim($post[signature])!="" and ($bbuserinfo[userid]==0 or $bbuserinfo[showsignatures])) {
also replace the x
banjolawyer
09-23-2002, 09:59 PM
Works great!! Thank you so much. Note, you need an "or" in the first replace after x
Xenon
09-23-2002, 10:02 PM
you're welcome :)
oh you're right i forgott the or *shame*
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.