View Full Version : signature always on, always off, etc.
Gutspiller
09-07-2001, 06:52 PM
My users want the ability to turn their sigs on or off in their user CP. I search pretty thoroughly and I couldn't find anything that actually gave the poster the option, I only found "hacks" that did it globally, but not for each user.
I was then thinking it might be cool if it was possible to make it so that it only showed each persons sig, once per thread.
Can anybody help me with this? This would be a really cool feature. If I somehow missed it in my search through these forums, please post a link to it.
any help on this is appreciated.
Thanks!
Mike Sullivan
09-07-2001, 07:48 PM
If you have a sig entered, the box will be checked; otherwise it won't.
To change that behavior (and add the once a thread thing), you'll need to post a request in the hacks forum.... or I'll just move it there now.
Gutspiller
09-07-2001, 07:59 PM
Thanks Smithers.
BTW, one must wonder why you pick the one gay character in the show. :D ;)
Mike Sullivan
09-07-2001, 08:31 PM
That definitely wasn't the reason why. :p
Admin
09-08-2001, 06:42 AM
Ok this works, but didn't test it enough to see if there are any bugs.
In newreply.php, replace
if ($bbuserinfo[signature]!="") {
$signaturechecked="CHECKED";
}
with
if ($bbuserinfo[signature]!="" and !$DB_site->query_first("SELECT postid FROM post WHERE userid='$bbuserinfo[userid]' AND threadid='$threadid' AND showsignature='1'")) {
$signaturechecked="CHECKED";
}
Gutspiller
09-09-2001, 01:31 AM
seems to work so far. If I have any probs I will let you know. :) Nice job.
KuraFire
09-26-2001, 09:03 AM
I implemented it as well (on the Couch) and it works like an absolute charm! Awesome job, well done!
* 1337Devil = very happy about this hack, for many of his members are too lazy to turn their siggy off :)
Admin
09-26-2001, 09:07 AM
Thank you for your thank you's. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.