The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Signatures on/off per member
I really need this hack. Anyone else need to restrict signature use on a per member level?
Please!!! |
#2
|
||||
|
||||
wouldn't be such a problem
add a new field to the usertable called isallowedsig default='1' then just add an editfield in your admin-cp to change it from 0/1 nowhere else, just in admincp. then in newreply.php find this: PHP Code:
PHP Code:
i haven't tested, but it should work. it just disables new signatures, signatures in old posts aren't infected run a query if you want to do it for old posts to |
#3
|
||||
|
||||
Smoothie, is you get it all figured out, I'd like to have it. I'm still not sure enough with myself to do the adding of the table or the admin cp.
|
#4
|
||||
|
||||
Great Xenon!
Satan |
#5
|
|||
|
|||
Xenon-
Thanks. What is the exact command to: "add a new field to the usertable called isallowedsig default='1' And how do I add an editfield in my admin-cp? |
#6
|
||||
|
||||
[SQL]ALTER TABLE `user` ADD `isallowedsig` SMALLINT(6) DEFAULT '1' NOT NULL;[/sql]
open admin/user.php find in edit section: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#7
|
||||
|
||||
Xenon, than you for the update. How and what do I change in the editpost.php? I couldn't find anything that even resembled the code I changed for the newthread.php and the newreply.php. And what would I need to add this to the private messages, too?
|
#8
|
||||
|
||||
in editpost you have to find this:
PHP Code:
PHP Code:
you have to do the same thing as in editpost.php i think this should be all, test it if it works ok, if not ask more |
#9
|
||||
|
||||
Thank you. I will test it out and let you know.
|
#10
|
|||
|
|||
Xenon-
1 is for yes allow, 0 is for no, right? This just has an affect on img signatures, right? BTW, anyone know the querie to set all users to no signatures? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|