Hi, can anyone help me to add a nice icon wich alow u to return to the top when u click on it?
i was searching the forum, there is a mod
here, but the mod add the icon in another side, i would like to add the icon here:
[
attachment=30588]
thanks
in the
postbit_classic template, there should be code similar to below (not sure what you have modified earlier)
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
you can add required top button code in that table cell code
<span style="text-align: center;"><a href="#top"><img src="path-to-image" alt="top" /></a></span>
.m. you know how can i do this for
IP Address: Logged?
i have a icon image for IP, i would like to see the icon in place of the text
thanks
Post Bit Templates consists of two templates related to IP log, viz.,
postbit_iplogged_hiden and
postbit_iplogged_show
postbit_iplogged_show is used for
all users if IP address is
set to show to all users
<p class="smalltext">{$lang->postbit_ipaddress} {$post['ipaddress']}</p>
postbit_iplogged_hiden is used for
moderating staff
<p class="smalltext">{$lang->postbit_ipaddress} <a href="moderation.php?action=getip&pid={$post['pid']}">{$lang->postbit_ipaddress_logged}</a></p>
you can add required image in the above code by replacing
{$lang->postbit_ipaddress_logged}
(you may like removing
{$lang->postbit_ipaddress} or using another image icon for it
)
worked, but how to make it be down in line with the "up to top" icon?
[
attachment=30616]
this is the line with the "up to top icon" in postbi_classic
<tr>
<td class="authortrow" style="white-space: nowrap; text-align: left; vertical-align: middle;"><span style="text-align: center;"><a href="#top"><img src="images/icon_up.gif" alt="Back to TOP" /></a></span></td>
^ you can move
{$post['iplogged']} into that table row cell and adjust
css style property if required - it can be like below
<td class="authortrow" style="white-space: nowrap; text-align: left; vertical-align: middle;"><span style="text-align: center;"><a href="#top"><img src="images/icon_up.gif" alt="Back to TOP" /></a></span><span class="iplogged">{$post['iplogged']}</span></td>
this is how apears now:
[
attachment=30617]
how can i make it apear on the right side of the up icon?
you can add style like below in
global.css and check by hard refreshing your browser on a topic page
.iplogged {position: relative; left: 6px;}