Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Specifying href target window in post
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Specifying href target window in post

 Post Reply Post Reply
Author
nenad View Drop Down
Newbie
Newbie
Avatar

Joined: 10 January 2004
Location: Croatia
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote nenad Quote  Post ReplyReply Direct Link To This Post Topic: Specifying href target window in post
    Posted: 13 January 2005 at 8:09am
I couldn't find the answer sarching the posts, but I can see a difference right here.
 
So this is Web Wiz Forum V8.0 with RTE 2.0 beta, and I'm using version 7.9.
 
Well, is it possible somehow to specify in post that href opens in _self window. Now it opens in _blank what is, I think the default value.
 
I can see here in V8.0 thanks to RTE 2.0 that it is possible (so we have to wait a while - right?)
 
Thanks for the answer in advance.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2005 at 8:59am
yes this is V8

in any other release its not set within the input, its in the link/forum  validation (security checks).

if you edit the functions_filters.asp file within the functions folder
to the below it should then show within the same window.



            'If this is an hyperlink tag then check it for malicious code
            If InStr(1, strTempHTMLMessage, "href", 1) <> 0 Then

                'Turn < and > into forum codes so they aren't stripped when checking links
                strTempHTMLMessage = Replace(strTempHTMLMessage, "<", "**/**", 1, -1, 1)
                strTempHTMLMessage = Replace(strTempHTMLMessage, ">", "**\**", 1, -1, 1)

                'Call the format link function to strip malicious codes
                strTempHTMLMessage = formatLink(strTempHTMLMessage)

                'Turn **/** and **\** back from forum codes
                strTempHTMLMessage = Replace(strTempHTMLMessage, "**/**", "<", 1, -1, 1)
                strTempHTMLMessage = Replace(strTempHTMLMessage, "**\**", ">", 1, -1, 1)

                'Format link tag
                strTempHTMLMessage = Replace(strTempHTMLMessage, ">", " target=""_blank"">", 1, -1, 1)

            End If


change the _blank to _self

replace the bold line then they will all be displaied within the same /window.

you will also have to
Back to Top
nenad View Drop Down
Newbie
Newbie
Avatar

Joined: 10 January 2004
Location: Croatia
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote nenad Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2005 at 9:16am
Originally posted by dj air dj air wrote:



you will also have to
 
 
Thanks, it's OK now. But what I will also have to?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 13 January 2005 at 9:18am
nothing. lol..

i wrote the message then changed a section so you don;t actually have to do a section its just the above that need(ed) to be done.
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.