The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
sticky
how can i make it so only admins can use the sticky option
|
#2
|
||||
|
||||
In postings.php replace this:
Code:
if ($action=="stick") { $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); if (!$threadinfo[visible]) { $idname="thread"; eval("standarderror(\"".gettemplate("error_invalidid")."\");"); } if (!ismoderator($threadinfo[forumid],"canmanagethreads")) { Code:
if ($action=="stick") { $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); if (!$threadinfo[visible]) { $idname="thread"; eval("standarderror(\"".gettemplate("error_invalidid")."\");"); } if (!$permissions['cancontrolpanel']) { |
#3
|
|||
|
|||
thank you firefly!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|