The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Not very
![]() Open root/member.php Find: Code:
// ############################### start modify options ############################### Code:
// ############################### user cant see sigs ############################### if ($action=="cantseesigs") { $templatesused = "nosigs"; include("./global.php"); if ($bbuserinfo[usergroupid]!=6) { show_nopermission(); exit; } if ($bbuserinfo[userid]==0) { show_nopermission(); } $DB_site->query("UPDATE user SET showsignatures='0' WHERE userid='$bbuserinfo[userid]'"); $goto="showthread.php?s=&threadid=$threadid"; eval("standardredirect(\"".gettemplate("nosigs")."\",\"$goto\");"); exit; } // ############################### user can see sigs ############################### if ($action=="canseesigs") { $templatesused = "showsigs"; include("./global.php"); if ($bbuserinfo[usergroupid]!=6) { show_nopermission(); exit; } if ($bbuserinfo[userid]==0) { show_nopermission(); } $DB_site->query("UPDATE user SET showsignatures='1' WHERE userid='$bbuserinfo[userid]'"); $goto="showthread.php?s=&threadid=$threadid"; eval("standardredirect(\"".gettemplate("showsigs")."\",\"$goto\");"); exit; } Code:
if ($bbuserinfo[usergroupid]==6) { if ($bbuserinfo[showsignatures]==1) { $siggies=<a href=\"member.php?s=&action=cantseesigs\">No Signaturess</a>; }else { $siggies=<a href=\"member.php?s=&action=canseesigs\">Show Signatures</a>; } } Code:
$siggies Now add 2 templates: Name: showsigs Content: Code:
Signatures turned on Content: Code:
Signatures turned off ![]() Satan |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|