![]() |
How to remove the "Merger Thread" in the moderation tools?
Hello..
When i click a member profile -> Find All Thread Started -> under the search result, it have "Moderation Tools" right? My question is, how to remove the "Merger Thread" option in the moderation tools? I already open the search_resultbit template, but i found a code refer to somewhere else "{vb:raw mod_options}" Thanks alot.. really2 need this. |
I think what you want is in the file packages/vbforum/search/type/thread.php, so you could edit that file and comment out the line that adds that option.
You might be able to do it with a plugin by using hook template_register_var and code like: Code:
if ($name == 'mod_options' AND is_array($value)) but I haven't tested that at all. |
Hi..
the plugin code is not working.. in "packages/vbforum/search/type/thread.php" <- i found it, thx, but this code wont work, could you help please: Code:
if (is_member_of($vbulletin->userinfo, 5, 6)) |
Try adding global $vbulletin; at the start of your code.
|
thanks alot :)
|
i did it with
packages/vbforum/search/type/thread.php & post.php and remove merge thread option from thread.php & post.php |
All times are GMT. The time now is 06:59 AM. |
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:
|