The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do you remove the "Report Post" link from just one forum?
I tried using the template conditionals wrapped around the Report Post code in the Postbit Template, but it didn't work.
Quote:
Code:
<vb:if condition="$forum[forumid] != 132"><vb:if condition="$show['reportlink']"> <a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> --> </a> </vb:if></vb:if> |
#2
|
||||
|
||||
I would use a plugin rather than a template hack, and set the variable $show['reportlink'] to false if the forumid matches the desired where it should be turned off.
I have a product, whose latest version you can get here: https://mathhelpboards.com/vbulletin...use-22022.html The primary goal of this product is to discourage report abuse, but it can be configured to simply do what you want. |
#3
|
|||
|
|||
I don't need any of the other features and only need to shut of reports for a single forum, I would prefer to use a template hack/conditional versus installing an entire modification of which I only need one feature.
|
#4
|
|||
|
|||
You should use
Code:
<vb:if condition="$thread['forumid'] != 132"> Also, check that you're inserting into the right postbit template. Please know that if user try to manually use the report URL, it will work. That's why MarkFL advised you to use a plugin on this. |
#5
|
|||
|
|||
Quote:
Thank you! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|