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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Changing Topic.asp or Post.asp Hyperlink display
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

glinted
New Member

54 Posts

Posted - 23 July 2004 :  12:15:18  Show Profile  Visit glinted's Homepage
Hi,
Is there any way I can edit the post.asp or topic.asp to change the way Hyperlinks are displayed?

Currently if I use the following ( I have used "*" in some places so this code will display on this post im writing now:

[url*="*http*://*www*.mywebsite.net/page2*"]*http*://*www*.mywebsite.net[/url]

I will get a hyperlink of "*http://www.mywebsite.net" but I want it to be "*http*://*www*.mywebsite.net/page2"

I know I could do this: [url*="*http://www.mywebsite.net/page2*"]mywebsite.net[/url]

but I want to do the first example.

Coupon Savings

Edited by - glinted on 23 July 2004 12:18:41

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 23 July 2004 :  19:20:46  Show Profile
I don't quite understand what you are wanting. If you want the link to display like this:

http://www.mywebsite.net/page2

then just put that in, no need to use the url tags:

http://www.mywebsite.net/page2
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 July 2004 :  19:55:22  Show Profile
I think I know what you mean ...

When Snitz automatically interprets the links, you don't want the page2 part displayed. You want it to automatically do :

[url*="*http://www.mywebsite.net/page2*"]mywebsite.net[/url]

(without the *'s obviously)

It is do-able, I'll see what I can do but I can only look at it in a few hours. Someone else might be able to help you sooner.
Go to Top of Page

glinted
New Member

54 Posts

Posted - 24 July 2004 :  02:39:49  Show Profile  Visit glinted's Homepage
yes laser, I want to have the actual link hidden. So if I have a link like http://www.mywebsite.net/blalblabla.html I want it to display http://www.myotherwebsite.net/someotherpage.html or wahtever is written .

I do still want to dispaly the "http://www." part as well btw

This is how I would write it in Javascript but I don't know how to do that in the Post.asp, topic page or where the asp code is:
<a href="http://www.mywebsite.net/blalblabla.html" onMouseOver="window.status='http://www.mywebsite.net/blalblabla.html';return true">http://www.myotherwebsite.net/someotherpage.html </a>

I would really appreciate it if you can help thanks.

Coupon Savings

Edited by - glinted on 24 July 2004 02:49:49
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 24 July 2004 :  03:38:10  Show Profile
ah, that's a bit harder ... I thought you were only trying to remove the html page name. Why do you want to try to hide the page name though ?
Go to Top of Page

glinted
New Member

54 Posts

Posted - 24 July 2004 :  08:31:12  Show Profile  Visit glinted's Homepage
Some of the links have really long URL's or they use affiliate links which have an URL that I would rather hide sometimes when I make posts on my forum but I still want to display it like a hyperlink instead of "Click here" etc

Coupon Savings
Go to Top of Page

glinted
New Member

54 Posts

Posted - 25 July 2004 :  22:03:57  Show Profile  Visit glinted's Homepage
So I take it this is quite difficult or impossible to do?

Coupon Savings
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 26 July 2004 :  05:36:38  Show Profile
It's only impossible while we don't understand, you can change the code that changes the URL to do what you want.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07