The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to change the report post button location?
I'm trying to add a "Report Post" link next to the post # count on the right side of Post title bar.
I copied the "report post" coding and replaced the button.gif with text. I then added this in the Postbit template. For some odd reason nothing is changing on the forums. Here is what I have: HTML Code:
$template_hook[postbit_start] <table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" $post[scrolltothis]> <div class="normal" style="float:$stylevar[right]"> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">Report This Post</a> </if> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if> The idea is to have text stating "report this post" in the upper right hand corner of each post. See image below: I would think this is a simple task but could be wrong. Any help would be greatly appreciated. |
#2
|
|||
|
|||
Looks like we already have this feature working when the user info display is at the top (like here at vb.org). Any ideas?
|
#3
|
|||
|
|||
When the user info is on the left side it's using the postbit_legacy template, so you probably have to modify that one as well.
|
#4
|
|||
|
|||
Quote:
Here is the final product: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|