Quote:
Originally Posted by aminp30
Hi
thank you Eric. very nice hack
would you please tell me is that possible to use this hack as a button?
I need to add a button in first post of thread to let starter set solved or not.
best regards
|
maybe you didn't read whole main post...
from there, this code you need to add it to your showthread template to see the button:
HTML Code:
<vb:if condition="$show['solvedthread']"> <li><a href="solved.php?{vb:raw session.sessionurl}do=marksolved&t={vb:raw threadid}">{vb:rawphrase solvedthread_marksolved}…</a></li> <vb:else /> <vb:if condition="$show['solvedthread_unsolve']"> <li><a href="solved.php?{vb:raw session.sessionurl}do=markunsolved&t={vb:raw threadid}">{vb:rawphrase solvedthread_markunsolved}…</a></li> </vb:if> </vb:if>