The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Removing signatures in a specific forum.
Removing signatures in a specific forum.
Hi All I have been looking on this site for a specific hack that will remove ALL post signatures within an Admin forum I have, say forum ID 10 (on VB 3.3). All the other forums can stay as default and allow the user to chose if he post his sig or not. Dose anyone know if there is something like this around? Xray |
#2
|
||||
|
||||
For existing posts you can run a query to update the database:
** UNTESTED ** [sql]update post, thread set post.showsignature=0 where post.threadid=thread.threadid and thread.forumid=10[/sql] For new posts I'd suggest to modify build_new_post(). |
#3
|
|||
|
|||
Open postbit or postbit legacy and search for
PHP Code:
PHP Code:
|
#4
|
||||
|
||||
Well, this will not remove signatures - it will just hide them
|
#5
|
|||
|
|||
Well if you really... really don't want it in the db, you can edit functions_newpost.php
search for PHP Code:
PHP Code:
|
#6
|
||||
|
||||
WOW, Thanks for the help on this one guys. I really appreciate it.
I will have a go at this now. Xrayhead :squareeyed: |
#7
|
||||
|
||||
Quote:
Xrayhead PS, Do you think someone should put this in the mini hacks section?? :squareeyed: |
#8
|
|||
|
|||
Glad it worked for you, it's a template mod, so it should probably be posted at vbulletintemplates.com.
If you want to post it as your mod, have at her! |
#9
|
||||
|
||||
Hi All
I have still got this thread installed on my board and am trying to get it to work with more that one forum!!!! I have tryed to change the the following: <if condition="$thread[forumid] != 10"> to <if condition="$thread[forumid] != 10, 11"> or <if condition="$thread[forumid] != 10,11"> and also to <if condition="$thread[forumid] != 10"> <if condition="$thread[forumid] != 11"> But I get Parse error! :disappointed: Can someone point me in the correct direction PLEASE. Thanks in advance. Xray |
#10
|
||||
|
||||
<if condition="($thread[forumid] !=10) OR ($thread[forumid] !=11)">
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|