JJR512
Sat 11th Aug '01, 2:21pm
I don't like the text links in the message that show you the IP or are used to report the post. Therefore, I've made both of them into buttons, like the buttons to edit post, quote post, etc. Also, I've moved them to the same area as the other buttons.
I've made two new buttons in the POSTBIT BUTTONS.psd file from the vBulletin Graphics Development kit. This is a Photoshop file that will allow you to easily recolor the buttons to suit your site. The important part is that the outlines for the two new buttons are there. I've attached that file to this post.
The process to recolor the graphic is beyond the scope of this message. You can get that info elsewhere, if you need it. In the following instructions, I have assumed you've saved the IP button as ip.gif and the report button as report.gif.
To convert the "logged" text link (for IPs) to a button link, edit your postbit_ip_hidden template to look like this:
<a href="postings.php?s=$session[sessionhash]&action=getip&postid=$post[postid]"><img src="{ imagesfolder }/ip.gif" border="0" alt="IP Logged"></a>
Now, to move the ip button to the same area as the edit and quote buttons, as well as to convert the report text link to the button link, you need to edit your postbit template.
Find:
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
And completely delete all of that.
Further down in the template, find:
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{ imagesfolder }/quote.gif" border="0" alt="Reply w/Quote"></a>
After that, add:
<a href="report.php?s=$session[sessionhash]&postid=$post[postid]"><img src="{ imagesfolder }/report.gif" border="0" alt="Report this post to a moderator"></a>$post[iplogged]
Example: http://www.jjr512.com/forums/showthread.php?s=&threadid=22075
(Make sure to remove the spaces from inside the "{ imagesfolder }" bits!)
I've made two new buttons in the POSTBIT BUTTONS.psd file from the vBulletin Graphics Development kit. This is a Photoshop file that will allow you to easily recolor the buttons to suit your site. The important part is that the outlines for the two new buttons are there. I've attached that file to this post.
The process to recolor the graphic is beyond the scope of this message. You can get that info elsewhere, if you need it. In the following instructions, I have assumed you've saved the IP button as ip.gif and the report button as report.gif.
To convert the "logged" text link (for IPs) to a button link, edit your postbit_ip_hidden template to look like this:
<a href="postings.php?s=$session[sessionhash]&action=getip&postid=$post[postid]"><img src="{ imagesfolder }/ip.gif" border="0" alt="IP Logged"></a>
Now, to move the ip button to the same area as the edit and quote buttons, as well as to convert the report text link to the button link, you need to edit your postbit template.
Find:
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
And completely delete all of that.
Further down in the template, find:
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{ imagesfolder }/quote.gif" border="0" alt="Reply w/Quote"></a>
After that, add:
<a href="report.php?s=$session[sessionhash]&postid=$post[postid]"><img src="{ imagesfolder }/report.gif" border="0" alt="Report this post to a moderator"></a>$post[iplogged]
Example: http://www.jjr512.com/forums/showthread.php?s=&threadid=22075
(Make sure to remove the spaces from inside the "{ imagesfolder }" bits!)