The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
||||
|
||||
![]()
yes i realize i could do :
Code:
<if condition="(in_array($post[usergroupid], array (7,6,5)))"> but this would defeat the purpose of having the reson for editing box for regular users..... i want to keep the one for them ...... not restrict it completly ..... what it needs is a check box next to the reason field that only appears to admin and moderators that when checked hides the reason from all others except mods and admin ...... guess it would check using something like this: Code:
<if condition="$post['edit_reason'] AND !$post['reason_allow']">$vbphrase[reason]: $post[edit_reason]</if> to get the checkbox working and another field added to the post table called "reason_allow". basicly if you checked the box to hide the reason message for a post it would set the default bit in "reason_allow" from 0 to 1. however i have no idea what part of the php files to edit to get the new database field updated when a user checks the box...... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|