Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Westin] How can I get a "reply" link or button to show up at the bottom of every message?

Quote Reply
Re: [Westin] How can I get a "reply" link or button to show up at the bottom of every message? In reply to
In include_post_display.html, should be a case of copying:

Code:
<table border=0 width="100%">
<tr>
<td valign="top" align="left">
<%body_font%>
<%if post_locked%>
&nbsp;&nbsp;<img src="<%image_url%>/locked.gif" border=0>&nbsp;&nbsp;
<%endif%>
<b>
<%if post_deleted and user_perm_moderator%>
Post deleted by <%post_deleted_by%>: <%if post_icon%><img src="<%image_url%>/<%post_icon%>" align=absmiddle><%endif%> <%post_subject%>
<%elsif post_deleted%>
Post deleted by <%post_deleted_by%>
<%else%>
<%if post_icon%><img src="<%image_url%>/<%post_icon%>" align=absmiddle><%endif%>
<%if post_moved%>Moved:<%endif%>
<%post_subject%>
<%if post_new%><font color=red>- NEW</font><%endif%>
<%endif%>
</b>
<%if not preview and not deleteview and not hide_post_menu and post_father_id%>
[<small><a href="<%ifnot post_father_on_page%>gforum.cgi?do=<%this_do%>;post=<%post_father_id%>;so=<%so%>;sb=<%sb%>;<%hidden_query%><%endifnot%>#<%post_father_id%>">In reply to</a></small>]
<%endif%>
<%if post_keep and user_perm_moderator%>
<br><small>(This post will not be deleted when deleting old posts)<br></small>
<%endif%>
<%/body_font%>
</td>
<td valign="top" align="right">
<%body_font%><b>
<%GForum::GUI::draw(
draw => post_display_options,
separator => " | ",
edit => "Edit",
delete => "Delete",
cant_post => "Can't Post",
quote => "Quote",
reply => "Reply",
a_attribs => ""
)%>
</b><%/body_font%>
</td>
</tr>
<tr><td colspan=2><hr size=1></td></tr>
</table>

..and then after:

Code:
<% if post_last_edit_username%>
<small><br><br>(This post was <a href="gforum.cgi?do=post_editlog;post=<%post_id%>;<%hidden_query%>">edited</a> by <%post_last_edit_username%> on <%post_last_edit_date%>)<br></small>
<% endif%>

...paste the code above. Should work fine (not tested)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread How can I get a "reply" link or button to show up at the bottom of every message? Westin 2688 May 17, 2009, 1:33 PM
Thread Re: [Westin] How can I get a "reply" link or button to show up at the bottom of every message?
Andy 2644 May 17, 2009, 11:42 PM
Post Re: [Andy] How can I get a "reply" link or button to show up at the bottom of every message?
Westin 2618 May 18, 2009, 12:28 AM