Quote:
Originally Posted by 4x4 Mecca
That worked great, it shows up when I use this
Code:
<a href="solved.php?$session[sessionurl]do=marksolved&t=$post[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" /></a>
But I can not get the conditionals to work, like this.
Code:
<if condition="$show['solvedthread']">
<a href="solved.php?$session[sessionurl]do=marksolved&t=$post[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_marksolved]" /></a>
<else />
<if condition="$show['solvedthread_unsolve']">
<a href="solved.php?$session[sessionurl]do=markunsolved&t=$post[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/marksolved.gif" alt="$vbphrase[solvedthread_markunsolved]" /></a>
</if>
any idea how to get that working?
|
That's because the plugin uses the 'showthread_complete' hook. You could change it to 'showthread_start', should work then.
Quote:
Originally Posted by Invalid ID
Welcome the upgrade. Please specify what steps do I take to upgrade. Thanks
|
Upgrade instructions are in the first post, and the 'install.html' in the zip.
Quote:
Originally Posted by mred
Sorry, again ..
If you delete the prefix of a solved thread in case of moderation or what else ever you will get an inconsistency and the threadstarter will get an error if he tries to unsolve that thread.
any idea?
|
I use substr to remove the thread prefix when it's unsolved, that could be causing the error. I'll take a look into it.
Quote:
Originally Posted by mred
I see a problem with solved threads - if a thread is unsolved and a moderator or administrator close that thread because of any important reason, the thread opener can reopen it with using the button 'unsolve thread'.
Could that problem be solved?
|
I'll fix that in the next release.