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? |
#2
|
||||
|
||||
Well, we're making some progress:
In the search_threadbit template, if you use this code: <vb:if condition="$show['disabled']">disabled="disabled"</vb:if> like so PHP Code:
Problem is, when you use the Inline Moderation to Select All threads, the disabled checkbox is selected as well. The alternative is to hide the checkbox altogether, like so: PHP Code:
|
#3
|
|||
|
|||
4.1.3
When I do a "what's new" search or go directly into a forum, all the inlinemod check boxes are there. If I do a word search or any other kind of search the inlinemod checkboxes are gone. Any ideas? --------------- Added [DATE]1305146455[/DATE] at [TIME]1305146455[/TIME] --------------- nm I found the solution from Lynn Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|