Author |
Topic |
|
leatherlips
Senior Member
USA
1838 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 August 2008 : 14:20:35
|
isn't that the same as marcels permalink MOD ?< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Massimo
Junior Member
Italy
125 Posts |
|
MaD2ko0l
Senior Member
United Kingdom
1053 Posts |
Posted - 01 August 2008 : 15:36:30
|
swf file is needed to allow the website to send the contents of the text box to your clipboard.< |
© 1999-2010 MaD2ko0l |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 01 August 2008 : 23:23:55
|
topic.asp requires the code to be changed in two places (for topics and for replies). Here's what I did to make everything work.
Replace pop_link_reply.asp with this:
In topic.asp, look for the following lines (appx 585-586):
Between them, add the following:
< |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 02 August 2008 : 04:31:23
|
Hi LL!
I don't want to sound like a dufus here, but in your travels did you find whether or not it was possible to make the code do the visual cue of highlighting the link in the textbox. I ask because the MOD worked on your site (using FireFox) as it should, just I did not know that anything had happened until I pasted the link into notepad. Is it supposed to show the link as highlighted after you click the "Click To Select & Copy This Topic Link" button.
Thanks for the MOD. I think it will be very useful! < |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 02 August 2008 : 07:13:01
|
Carefree,
I had to change your code a little for the pop_link_reply.asp, I hope that you don't mind.
Seems to work with a slight change.< |
Cheers, David Greening |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 02 August 2008 : 07:23:22
|
I don't mind at all, if you find a better way of making things work, feel free.
However, there's a better way of listing code here using just the code/code or just the scrollbox/scrollbox methods (which list the contents in a single line of type when you copy/paste).
Instead enclose the code within the scrollboxes. Like this: [ scrollbox ][ code ] blah blah blah [/ code ] [/ scrollbox ]. Then the code can be copied/pasted properly.< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 02 August 2008 : 08:21:27
|
quote: Originally posted by Etymon
I don't want to sound like a dufus here, but in your travels did you find whether or not it was possible to make the code do the visual cue of highlighting the link in the textbox. I ask because the MOD worked on your site (using FireFox) as it should, just I did not know that anything had happened until I pasted the link into notepad. Is it supposed to show the link as highlighted after you click the "Click To Select & Copy This Topic Link" button.
This was the only cross browser copy to clipboard script that I could find. It does not visually show the text as being selected. However it still DOES select and copy it.
There are other scripts I found that do visually select and copy but they are IE specific. I chose not to use them because I wanted it to be cross browser. The one I am using works in IE, FF, Safari and Opera. I haven't tested any other browsers.< |
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 02 August 2008 08:21:46 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 03 August 2008 : 00:33:00
|
quote: Originally posted by leatherlips
What did your changes do?
Not sure who this question was addressed to, Leather. Me? Classic?
If me, my changes put the icon on the replies as well as topics, changed the query string to force it to include replies info, then parsed the query string (which doesn't seem to grab anything after the topic information) to get the pertinent data from which to build the link.
Classic's changes added the javascript routine into the reply page so that it isn't necessary to add it to func_common in order for it to work. He also changed the onclick routine to capture all the form information.< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
|
|
Topic |
|