Quote:
Originally Posted by Saviour
This is what I'd like to do...
I want to edit the Article Tools so that the only thing that shows up is the link to Edit the Article. Is this possible?
|
open template
af_firstpost
Find and delete
HTML Code:
<if condition="$show['closethread'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 5px 5px 0px 5px;">
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$post[postid]" rel="nofollow">$vbphrase[post_a_comment]</a>
</div>
</if>
find and delete
HTML Code:
<if condition="$show['member'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<if condition="$show['subscribed']">
<a href="subscription.php?$session[sessionurl]do=removesubscription&t=$post[threadid]" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
<else />
<a href="subscription.php?$session[sessionurl]do=addsubscription&t=$post[threadid]" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
</if>
</div>
</if>
<if condition="$threadinfo['replycount'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<a href="#comments" rel="nofollow">$vbphrase[jump_to_comments]</a>
</div>
</if>
Quote:
I also want the threadrate link to appear above or below it.
|
Find and delete:
HTML Code:
<if condition="$show['threadrating']">
<div class="" id="threadrating" style="float: right;">
<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</div>
</if>
-----------------------------------
Find:
HTML Code:
<if condition="$post['editlink'] && $show['af_articletools']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;">
<a href="$post[editlink]">$vbphrase[edit_article]</a>
</div>
</if>
Below add:
HTML Code:
<if condition="$show['threadrating']">
<div class="alt2 smallfont" style="padding: 5px; margin: 0px 5px 0px 5px;" id="threadrating">
<a href="$show[nojs_link]#goto_threadrating"><span id="threadrating_current"><if condition="$show['rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></span></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
</div>
</if>