The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Moderator permissions when viewing Search results
Well, we have found the problem, but we don't know how to actually fix it:
In vB 3.x, the inline mod conditional in the search_results_postbit template looked like this: Code:
<if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$post[postid]]" id="plist_$post[postid]" style="float:$stylevar[right]; vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="1" <if condition="$show['disabled']">disabled="disabled"</if> /> </if> Code:
<label class="threadimod"> <input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" /> </label> </vb:if> <if condition="$show['disabled']">disabled="disabled"</if> is gone from the vB 4 search templates (both postbit and threadbit), so in order for the search to work as it did before, we need to put it back, but, probably, with another conditional. Something along the lines of: <if condition="user cannot moderate this particular forum">disabled="disabled"</if> Can anyone help in this regard? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|