![]() |
Signatures on/off per member
I really need this hack. Anyone else need to restrict signature use on a per member level?
Please!!! |
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 ;) |
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. :)
|
Great Xenon!:)
Satan |
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? |
[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:
|
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? :)
|
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 ;) |
Thank you. I will test it out and let you know. :)
|
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? |
All times are GMT. The time now is 01:41 AM. |
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:
|