The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I'd like to turn this icon...
into a link that can be used to link back to this paticular post.
A link simalar to this format....
topic.asp?whichpage=-1&TOPIC_ID=643&REPLY_ID=3766
I believe the code to modify is ... topic.asp ...around line 580.
Response.Write " " & getCurrentIcon(strIconPosticon,"","hspace=""3""") & ....
Perhaps someone more experienced could correct my mistakes below...Thanks!
Response.Write " " & <a href=""" & topic.asp?whichpage=-1 & TOPIC_ID=" & TopicID & " REPLY_ID= " & Reply_TopicID & "">" & getCurrentIcon(strIconPosticon,"","hspace=""3""") & "</a>" & ........
<
Postet den
There are two places you need to change...
First post and replies... You may be possibly changing first post where there is no Reply Id<
First post and replies... You may be possibly changing first post where there is no Reply Id<
Postet den
I believe you can use this mod:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=67337
Edit it a bit so that the icon you point to is the hyperlinked one instead of having a new icon altogether.<
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=67337
Edit it a bit so that the icon you point to is the hyperlinked one instead of having a new icon altogether.<
Postet den
There is actually 2 places where you will need to edit.
First one:
replace:with:
Second one (in the GetFirst() Sub):
replace:with
<
First one:
replace:
Code:
Response.Write " " & getCurrentIcon(strIconPosticon,"","hspace=""3""") & ...Code:
Response.Write " " & "<a href=""topic.asp?" & ArchiveLink & "whichpage=-1&TOPIC_ID=" & Topic_ID & "&REPLY_ID=" & Reply_ReplyID & """>" & getCurrentIcon(strIconPosticon,"","hspace=""3""") & "</a>" & ...Second one (in the GetFirst() Sub):
replace:
Code:
Response.Write " " & getCurrentIcon(strIconPosticon,"","hspace=""3""") & ...Code:
Response.Write " " & "<a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & getCurrentIcon(strIconPosticon,"","hspace=""3""") & "</a>" & ...<
Postet den
I'm trying to get this to work with a pop up. I want that when the icon is clicked a pop up page will appear with the link in it.
I kind of have it working here:
http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=900
click the
to see how it is currently working.
Right now it only shows the topic and not the reply link. Here is what I have in my pop_replylink.asp file:
<
I kind of have it working here:
http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=900
click the
Right now it only shows the topic and not the reply link. Here is what I have in my pop_replylink.asp file:
Code:
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_header_short.asp"-->
<%
ThePage = Request.ServerVariables("HTTP_REFERER")
Response.Write ThePage
WriteFooterShort
%>
Sist redigert av
Postet den
Syntax error
topic.asp?TOPIC_ID=900 ??!<
topic.asp?TOPIC_ID=900 ??!<
Postet den
Originally posted by texanmanWhat are you referring to?<
Syntax error
topic.asp?TOPIC_ID=900 ??!
Postet den
I noticed the Send To Friend Link inputs the topic url into the pop up. I've tried looking at that code to get it to work with the reply id but I'm not having any luck.<
Postet den
I have ended up doing this for the time being, (although I just discovered that it doesn't seem to work in Opera).
You can see what it does here:
http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=915
Just hover over the
icon to see it "in action".
I'd still rather have the link appear in a pop up window if anyone could tell me how to do that.
<
You can see what it does here:
http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=915
Just hover over the
I'd still rather have the link appear in a pop up window if anyone could tell me how to do that.
Postet den
I am using a different tooltip now. I almost have it working but need help with a little thing.
In the javascript I am using I need to rewrite the URL from this:
To This:
The problem is the URL breaks at the hash mark that appears in the url. How would you escape the # to get it to show the reply id in the url? In the code above the # doesn't appear.<
In the javascript I am using I need to rewrite the URL from this:
Code:
a href=""topic.asp?" & ArchiveLink & "whichpage=-1&TOPIC_ID=" & Topic_ID & "&REPLY_ID=" & Reply_ReplyID & """Code:
a href=\'\'topic.asp?\' & ArchiveLink & \'whichpage=-1&TOPIC_ID=\' & Topic_ID & \'&REPLY_ID=\' & Reply_ReplyID & \'\'\'
Sist redigert av
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...