Author |
Topic  |
ChasLaser
Starting Member
9 Posts |
Posted - 12 July 2008 : 11:07:19
|
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....
quote: 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>" & ........
< |
|
SiSL
Average Member
  
Turkey
671 Posts |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 12 July 2008 : 13:23:41
|
There is actually 2 places where you will need to edit.
First one:
replace:Response.Write " " & getCurrentIcon(strIconPosticon,"","hspace=""3""") & ... with: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:Response.Write " " & getCurrentIcon(strIconPosticon,"","hspace=""3""") & ... withResponse.Write " " & "<a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & getCurrentIcon(strIconPosticon,"","hspace=""3""") & "</a>" & ...
< |
 |
|
ChasLaser
Starting Member
9 Posts |
Posted - 12 July 2008 : 14:28:46
|
quote: Originally posted by RichardKinser
There is actually 2 places where you will need to edit. ....
PERFICT! Thanks!!
Here's a Video of how we're using it. Thanks Again!< |
Edited by - ChasLaser on 12 July 2008 15:39:20 |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 July 2008 : 15:11:32
|
Syntax error topic.asp?TOPIC_ID=900 ??!< |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
HuwR
Forum Admin
    
United Kingdom
20593 Posts |
Posted - 23 July 2008 : 13:26:59
|
quote: How would you escape the # to get it to show the reply id in the url?
use &# (you escape the & not the #)< |
 |
|
leatherlips
Senior Member
   
USA
1838 Posts |
Posted - 23 July 2008 : 15:05:25
|
Thanks HuwR. That didn't do anything for me though.
I actually want to get away from the tooltip I am currently using. What I really want to do is have the URL be displayed in a pop up window. But no matter what I try, the url stops after the topic id. The reply id never shows.
My ideal scenario would be that a user clicks on the link to reply icon and a pop up page appears saying:
To link directly to this reply, copy and paste the link below
ww w.domain.com/forum/topic.asp?TOPIC_ID=1#1
If I could get the link above to show then I could work out the rest.  < |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 23 July 2008 15:06:27 |
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 23 July 2008 : 21:16:05
|
u need to look at sending things to the clipboard rather than telling the user to copy n paste.
example. click on the pic below

then click on "Link to this Photo" thsi will give u 2 textbox that when u click on will copy the contents to the clipboard ready for you to paste into whatever.
does that make any sence?< |
© 1999-2010 MaD2ko0l |
 |
|
Topic  |
|