Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Hiding URL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hiding URL

 Post Reply Post Reply
Author
cathal View Drop Down
Groupie
Groupie


Joined: 24 April 2007
Location: United Kingdom
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote cathal Quote  Post ReplyReply Direct Link To This Post Topic: Hiding URL
    Posted: 08 May 2007 at 10:06pm
When i upload files to my forum the link appears as something like this
 
 
is there any way in which i can mask this unsightly URL and create a smaller nicer looking text link like this:
 
Gamer Pro PDF
 
 
 
Also, when the link is clicked the browser tries to open the PDF using the web browsers adobe reader plug in, without giving me the option to download it. Is there any way in which i can make the link open a typical "open, save and cancel" dialogue box for downloads, i've seen other forums do it.


Edited by cathal - 08 May 2007 at 11:04pm
Back to Top
cathal View Drop Down
Groupie
Groupie


Joined: 24 April 2007
Location: United Kingdom
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote cathal Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2007 at 4:34pm
Wait I figured it out the URL hiding thing, but PDFs still open immediately without the option to save them
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2007 at 5:13pm
This is down to how you have setup your browser to handle PDF's if it is setup to open them it will, if it is setup to download them, then it will do that also.
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2007 at 5:13am
Originally posted by cathal cathal wrote:

Wait I figured it out the URL hiding thing


How did you do it?
Back to Top
cathal View Drop Down
Groupie
Groupie


Joined: 24 April 2007
Location: United Kingdom
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote cathal Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2007 at 7:36am

You can edit the text using the RTE and the text should still be linked to the same upload, however if you edit/delete the extension i.e. .pdf the text loses its hyperlink

I have a working example here about 9th post down
 
http://www.gamer-park.com/forum_posts.asp?TID=39&PN=1
 


Edited by cathal - 10 May 2007 at 7:40am
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2007 at 11:37pm
Thanks cathal. I was actually hoping to have it automatically done when you post. I thought it might have been in RTE_popup_file_atch.asp but I can't find a reference where it builds the hyperlink in the format:
<a href=linklocation>text to display</a>

The 'text to display is what I want to omit the "uploads/" bit

I'll keep looking.

Cheers

Justin
Back to Top
DTerry View Drop Down
Newbie
Newbie


Joined: 16 April 2007
Location: United Kingdom
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote DTerry Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2007 at 4:12pm
I would also like to enable a function like this - ideally I would like any files uploaded to be shown at the bottom of the message as an icon with the filename underneath.
 
On looking at the code it is possible during the post of the message, but it needs to be coded for in the edit / reading of the post which appears to be more complicated - If anyone finds a solution I would love to see the code.
 
Thanks
Darren
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.