The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Please Help ME
Ok I installed this forum:
http://www.hostultra.com/~sslight/VB/index.php? (better styles to view from if you join (9 others) ) all i know how to do is install VB and upload styles. Im using VB 2.2.8 and the host is hostultra. Heres me troubles Im trying to install the Quick Reply hack. Heres what it says: 1. In showthread.php find this bit of code: // ################################################## if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) { show_nopermission(); } if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") { $pagenumber=1; } // ################################################## And replace it with the following: // ################################################## if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) { show_nopermission(); } if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) { $replybox=''; } elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) { $replybox=''; } elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) { $replybox=''; } else { $textareacols = gettextareawidth(); eval("\$replybox = \"".gettemplate('showthread_replybox')."\";"); } if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") { $pagenumber=1; } // ################################################## . Heres the prob I can find: if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) { show_nopermission(); } but the other half isnt even in showthread.php . I do not know what to do and ive searched the whole thing for it and the other half is not there. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|