Quote:
Originally Posted by TheInsaneManiac
I seem to have a small problem. I want to add this code in next to my large reply button at the top of the post. Only it says I have not chosen a post. I even added an image for it:
<!-- report -->
<if condition="can_moderate() AND $forumid==$vboptions['rpforumid']">
<form method="post" action="postings.php?do=domovethread&t=$threadid">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="domovethread" />
<input type="hidden" name="title" value="[solved] $threadinfo[title]" />
<input type="hidden" name="destforumid" value="225" />
<input type="hidden" name="redirect" value="none" />
<input type="image" value="Solve report" src="$stylevar[imgdir_button]/solve.gif" width="105" height="21" border="0" alt="Solve report" name="image">
</form>
</if>
<!-- /report -->
|
It says you have not chosen a post because you put the code inside the inlinemod form. I said in the first post that it shouldn't be inside an existing form.
Quote:
Originally Posted by tavarish
any options to add the nick of the mod who solved it at the end after the thread title?
|
Sure, just change this:
HTML Code:
<input type="hidden" name="title" value="[solved] $threadinfo[title]" />
with this:
HTML Code:
<input type="hidden" name="title" value="[solved by $bbuserinfo[username]] $threadinfo[title]" />