The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
||||
|
||||
![]()
In functions.php, I added this:
Code:
if ($post[userid]==$bbuserinfo[userid] or ($bbuserinfo[usergroupid]=="5" or $bbuserinfo[usergroupid]=="6" or $bbuserinfo[usergroupid]=="7")) { eval("\$post[editpost] = \"".gettemplate("postbit_editpost")."\";"); } else { $post[editpost]=""; } if ($post[userid]!=$bbuserinfo[userid]) { eval("\$post[report] = \"".gettemplate("postbit_report")."\";"); } else { $post[report]=""; } Code:
$post[joindate]=vbdate($registereddateformat,$post[joindate]); Replace the edit button with $post[editpost], and create another template "postbit_editpost" that will contain that buttons. Same thing for the report button, replace it with $post[report] and create a new template "postbit_report". |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|