![]() |
Disabling signatures for specified forums
Hello,
I am looking for a hack that can allow me to disable using signatures at specified forums... For example i have A B C forums. When users post something their signature will appear at under their posts at A and B forums. But at C forum when user post somethings their signature will not appear under their posts I know users can disable sending signatures while sending post but i am looking for something automatic ;) |
i'll make that hold on...
here you go: In postbit or postbit_legacy FIND: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Regards, Nick. |
I think Chris M did a plug-in for this. ;)
|
ahh well lol it's a pretty simple template edit...
|
Yes, but with the plug-in, you can disable it per forum in the forum settings. ;)
|
so boofo where can i find it can you gimme link of it please?
|
ahh you don't want to use mine i worked long and hard on that (2 minutes with a dodgy if statment)
|
Quote:
|
i check chris m'S hacks but there is only for image limits for signature not anything about disabling sig...
bump.... |
umm i made you a mod just use that!
|
I was looking for this as well. I put the code in but it doesn't work. Do I replace the original code or add to it? Also when I add the forums I don't want to see siggy's in do I add ' before and after each forum? Thank you so much for your help :)
Kathleen(Dominic is my son) |
@Kathleen/DominicG:
In your postbit or postbit_legacy template find: Code:
<if condition="$post['signature']"> Code:
<if condition="$thread['forumid'] == x or $thread['forumid'] == y"> Code:
or $thread['forumid'] == z Code:
<if condition="$thread['forumid'] == x or $thread['forumid'] == y or $thread['forumid'] == z"> |
Thank you so much! I will try it and let you know :)
|
Ok. :)
|
I tried it and it doesn't work :( I'm sure it's something I'm doing wrong. I just don't know what. I'm not good at this stuff. I'm just learning. Thank you so much for your help :)
Kathleen |
NP...We'll work this through. :)
Make sure that you're editing the correct postbit template; either postbit or postbit_legacy. Please post (in the code tag) the signature code that you're using; if you also have my codes in place please add them too. I will also need your forum ID numbers of the forums that you do not want the signature to display. |
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|