Quote:
Originally Posted by Spermy
For the add-rep button; In your postbit_articles template
Find:
Code:
<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
Add before:
Code:
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
If you didn't change anything then it will stay as postbit_article, if you made the changes I posted then this is just part of it, if anything is edited, you must make sure you choose article.
|
Im showing an error when trying to do this.
"The conditional on line 43 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed."
I think the replacement code isnt formed right?