Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   Other Vbulletin Mods (http://www.lampwrights.com/forumdisplay.php?f=16)
-   -   Ignore thread from threadbit template (http://www.lampwrights.com/showthread.php?t=241)

xorex 10-18-2011 10:06 PM

Ignore thread from threadbit template
 
Hi, installed Comprehensive Ignore System and it work fine, but i want make ignore button in threadbit template like this

http://savepic.su/352809.png

In threadbit template

FIND:

HTML Code:

<if condition="$show['sticky']">
BEFORE ADD:

HTML Code:

<if condition="$vbulletin->userinfo[permissions]['cispermissions'] & $vbulletin->bf_ugp_cispermissions[can_thread]">
<a href="ignore_thread.php?token=$bbuserinfo[securitytoken]&$session[sessionurl]do=ignorethread&amp;t=$threadid" rel="nofollow">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/threadbit_ignore.png" alt="$vbphrase[cis_ignore_thread]" /></a>
</if>

but after i have error then i tried ignore thread

Quote:

vBulletin Message Invalid Thread specified. If you followed a valid link, please notify the administrator
After i svitch module location

Add ignores conditional to showthread - showthread_complete

to global_start , after i had DB error ((

You can help me make new additional module for threadbit button ?

Thank you !!


All times are GMT -4. The time now is 01:53 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.