Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

PrivatePostReply very important question for me

Quote Reply
PrivatePostReply very important question for me
Hello

The code
Code:
<%if user_accept_privmsg%><a href="gforum.cgi?do=message_post_reply_write;post=<%post_id%>;<%hidden_query%>">Private Reply</a><%endif>
i change to
Code:
<%if user_accept_privmsg%><a href="gforum.cgi?do=message_post_reply_write;post=<%post_id%>;#<%post_num%><%hidden_query%>">Private Reply</a><%endif%>


send a private Message to the user

i make a copy of include_message_common_write.html

i change
Code:
<textarea name="msg_body" cols="<%if current_user_cols%><%current_user_cols%><%else%>60<%endif%>" rows="<%if current_user_rows%><%current_user_rows%><%else%>10<%endif%>" class="button" onChange="checkText(this)" onclick="checkText(this)" onFocus="checkText(this)" tabindex=4 wrap=soft>
Antwort auf deinen Beitrag: (url "gforum.cgi?post=<%post_id%>;#<%post_num%>")"<%parent_msg_subject%>"(/url)
<%msg_body%></textarea>

The tag <%post_id%> is ok but
the tag <%post_num%> in in this template an Unknown Tag

how to make <%post_num%> in the template notedly

PS: i change in this post [] to () to display it

greeting hoefti
linktobuy Web Directory
Ratgeber Recht

Last edited by:

hoefti: Aug 22, 2002, 10:46 PM
Quote Reply
Re: [hoefti] PrivatePostReply very important question for me In reply to
Why do you need to use post_num? The post_num tag is only used on the flat post view, to give you an idea of the post ordering in the thread.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] PrivatePostReply very important question for me In reply to
Hello Jagerman

i want to include the URL to the Post that ist the reason for the Message.

then it is possible to klick on the link in the message an see the Posting where the Message comes from.

I hope you understand what i want to do.

Wy cant i use any global in any template ?

Thanks for helping

greetings hoefti
linktobuy Web Directory
Ratgeber Recht
Quote Reply
Re: [hoefti] PrivatePostReply very important question for me In reply to
You don't need to use <%post_num%> - to link to it, just link to:

<a href="<%cgi_root_url%>/gforum.cgi?post=<%post_id%>;<%hidden_query%>#<%post_id%>">

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] PrivatePostReply very important question for me In reply to
Hello Jagerman

Many Thanks, its work very fine.

You make a very good Job in this Forum.

greetings hoefti

Wink
linktobuy Web Directory
Ratgeber Recht