![]() |
Moderator permissions when viewing Search results
1 Attachment(s)
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']"> Code:
<label class="threadimod"> <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? |
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:
|
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:
|
All times are GMT. The time now is 01:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|