![]() |
For all vbb2.0+ versions of vbb
>>>>>edit newreply.php find: $foruminfo=getforuminfo($threadinfo[forumid]); $forumid=$foruminfo['forumid']; right under it add: //Sig Hack - Exclude forums(11) - Graphical areas for example:) if ($forumid != 11) { $signature=0; } Find: if ($bbuserinfo[userid]!=0 and !$previewpost) { if ($bbuserinfo[signature]!="") { $signaturechecked="CHECKED"; } Replace by: if ($bbuserinfo[userid]!=0 and !$previewpost) { //Sig Hack - Exclude forums(11) if (($bbuserinfo[signature]!="") && ($threadinfo[forumid]==11)) { $signaturechecked="CHECKED"; $enablesigoption='<br><input type="checkbox" name="signature" '.$signaturechecked.' value="yes"><b>Show Signature:</b> include your profile signature. Only registered users may have signatures.'; } else { $enablesigoption=''; } >>>>>edit editpost.php Find: if ($bbuserinfo[showvbcode]) $vbcode_buttons = getcodebuttons(); Under it add: // Show signature option only on first post - and in exluded forums(11): if (($isfirst) || ($threadinfo[forumid]==11)) { $enablesigoption='<br><input type="checkbox" name="signature" '.$signaturechecked.' value="yes"><b>Show Signature:</b> include your profile signature. Only registered users may have signatures.'; } else { $enablesigoption=''; } >>>>>Now, edit template newreply find: <br><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Show Signature:</b> include your profile signature. Only registered users may have signatures. replace by: $enablesigoption Edit template editpost find: <br><input type="checkbox" name="signature" $signaturechecked value="yes"> <b>Show Signature:</b> include your profile signature. Only registered users may have signatures. replace by: $enablesigoption plz report compatibilty and bugs. |
What does this hack do?
|
it will only show someones sig if they are the ones who start the thread.
|
All times are GMT. The time now is 12:58 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:
|