Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Link to Paticular Post
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

ChasLaser
Starting Member

9 Posts

Posted - 12 July 2008 :  11:07:19  Show Profile  Reply with Quote


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

Posted - 12 July 2008 :  13:09:40  Show Profile  Visit SiSL's Homepage  Reply with Quote
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<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 12 July 2008 :  13:15:51  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message  Reply with Quote
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.<

coaster crazy
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 12 July 2008 :  13:23:41  Show Profile  Reply with Quote
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""") & ...
with
Response.Write  "                      " & "<a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" & getCurrentIcon(strIconPosticon,"","hspace=""3""") & "</a>" & ...


<
Go to Top of Page

ChasLaser
Starting Member

9 Posts

Posted - 12 July 2008 :  14:28:46  Show Profile  Reply with Quote
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
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 16 July 2008 :  14:59:04  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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:
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_header_short.asp"-->
<%
ThePage = Request.ServerVariables("HTTP_REFERER")
Response.Write ThePage

WriteFooterShort
%>
<

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 16 July 2008 14:59:23
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 July 2008 :  15:11:32  Show Profile  Reply with Quote
Syntax error
topic.asp?TOPIC_ID=900 ??!<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 16 July 2008 :  15:20:13  Show Profile  Visit leatherlips's Homepage  Reply with Quote
quote:
Originally posted by texanman

Syntax error
topic.asp?TOPIC_ID=900 ??!

What are you referring to?<

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
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 16 July 2008 :  16:03:47  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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.<

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
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 17 July 2008 :  22:23:45  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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. <

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
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 19 July 2008 :  13:24:16  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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:
a href=""topic.asp?" & ArchiveLink & "whichpage=-1&TOPIC_ID=" & Topic_ID & "&REPLY_ID=" & Reply_ReplyID & """

To This:

a href=\'\'topic.asp?\' & ArchiveLink & \'whichpage=-1&TOPIC_ID=\' & Topic_ID & \'&REPLY_ID=\' & Reply_ReplyID & \'\'\'

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.<

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 19 July 2008 13:24:36
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 21 July 2008 :  13:26:29  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I'm still trying to work this out.

What if I were trying to change the "Send Topic to A Friend" pop up to "Send Reply To A Friend"? Is there a way to get the pop up to reveal the entire URL including the reply id?<

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
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 23 July 2008 :  11:50:08  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I'm just bumping this to hopefully get a reply.

Is it at all possible to get the url of the reply to display
on a page?<

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
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 23 July 2008 :  13:26:59  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
How would you escape the # to get it to show the reply id in the url?


use &amp;# (you escape the & not the #)<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 23 July 2008 :  15:05:25  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 23 July 2008 :  21:16:05  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
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
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07