Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

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

Quote Reply
How can I get a "reply" link or button to show up at the bottom of every message?
Okay, this drives me pretty batty at times. Somebody posts a great long message chocked full of information, it's the first message and the only message in the thread.

I've read every last word of it and am now down at the very bottom of their message and wish to reply. BUT WAIT! I must scroll up this great huge page to get to the top of their message just so that I can reply to it.

There really should be the Edit | Delete links at the top of the message for the owner of it. and the Quote | Reply down at the bottom of the message for people to easily quote or reply to the message.

Can somebody help me out with this. Personally, I'd rather have all the options at the bottom of each message since if someone took the time to read the entire message then they might want to use any of the commands.

I'd also like to make the words: Edit Delete Quote and Reply be buttons like Next Thread, Watch Thread are at the bottom of the message as it makes them stick out more and is what people usually look for. They look for a button to reply not usually just a hotlinked text.

Thanks,

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!
Quote Reply
Re: [Andy] How can I get a "reply" link or button to show up at the bottom of every message? In reply to
As usual, thank you Andy.

I tried looking for the template to where this would go for hours and hours and hours tonight. I would insert "Hello World" in different places to see where it was going to come out on the page, but no matter where I put it, it wouldn't print out on the screen.

Finally after you said put it in include_post_display.html I did that but it still didn't show up. So I read the beginning of that file and it suggested making the same changes to the file of the same name but in the "default_top" template set. Once I did, it comes out on the screen like it should.

Way too many templates and template sets to keep track of all of this in my mind, it's now being written down whenever I have to change a file so that I can easier reference what the template file does if I need to go back into it.

Again, thanks you're a bundle of help