Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Feature Discussion > New popup warning when clicking an outside link.
Prev 1 2 3 4 5 6
electraoutlaw (Guild Admin) 4/18/2008 6:19 AM EST : RE: New popup warning when clicking an outside link.
electraoutlaw
Posts: 1172
Zomgawsh Poster

Hmm. . . funny how the GuildPortal Home link at the top or our guild pages is broken.  Maybe they don't want us coming here to complain anymore?

Probably not- still ironic.
No alternate text supplied.
COH (City of Heroes) Top Pinnacle SG- female supergroup
TopBottom

Mottie (MVP) 4/18/2008 6:25 AM EST : RE: New popup warning when clicking an outside link.
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

FitzztiF said:
Ug, what a stupid change.  Thanks GP for making me take 30 minutes out of my day to hack around this.  For anyone that would like to revert links back to the non-interceptor crap, you can use the following:

Go to control panel->Style & Colors->Advanced Style Settings->Footer

In here, click the < > button for html input.  Add the code below.
Basically what this does is adds a function that undos what the new GP function does.  Anyone that looks at the source can see that GP encodes the link at the very bottom.  Using setTimeout(, 1) will cause our function to be executed 1 millisecond after page load, reverting all the links (since we can't block their encoding of them).  All my wowhead popups and off site links are back to normal.  Yell if there are any questions.

Code to add to footer:

edit: Remove the line breaks around the script command, it would let me post it with those in.

<
script language="Javascript">

function fixStupidLinks()
                  {
                    try
                    {
                        var interceptUrl = '/Outbound.aspx?Destination=';
                       
                        for (iLink=0; iLink < document.links.length; iLink++)
                        {
if( document.links[iLink].href.indexOf( interceptUrl ) != -1 )
{
  document.links[iLink].href = unescape(document.links[iLink].href.substring( document.links[iLink].href.indexOf( interceptUrl ) + interceptUrl.length)) ;

}

if( document.links[iLink].href.indexOf( "javascript:" ) == 0 )
{
document.links[iLink].target = "_self";
}
                        }
                    }
                    catch (linkExc)
                    {}
                  }
                  setTimeout("fixStupidLinks();", 1);

</script>




Excellent! Thank you!
TopBottom

Tymanicor (New Admin) 4/18/2008 7:42 AM EST : RE: New popup warning when clicking an outside link.
Tymanicor
Posts: 881
Zomgawsh Poster

Brakkish Hammerfist said:
Code works with firefox but not with IE.


Works fine with IE6, haven't tested with 7 yet though.

What a pain though. Having site functionality broken because of a sudden change in process. I absolutely love how my wowhead links are linking to a site that is supposedly covered with keyloggers, if you believe that stupid warning box.
TopBottom

Sleetster (New Admin) 4/18/2008 9:03 AM EST : RE: New popup warning when clicking an outside link.
Sleetster
Posts: 495
Fingers of Fury!

I did not see the <> option for entering HTML so I just pasted the script in hoping it would work.  At first it did not work for me (using IE7) so I went back in and checked it.  I had to check the "Enabled" checkbox, then it worked like a charm.

THANK YOU!
TopBottom

FitzztiF (New Admin) 4/18/2008 9:07 AM EST : RE: New popup warning when clicking an outside link.
FitzztiF
Posts: 5509
Zomgawsh Poster

From the change log:
"
04.18.2008
Seeing from the admin community and the supporttickets that people are really disliking the external linkinterception. Will go ahead and remove it.
"


So looks like it will be going away shortly, for anyone that was still struggling with my script.
TopBottom

Guppy Queen (New Admin) 4/18/2008 9:34 AM EST : RE: New popup warning when clicking an outside link.
Guppy Queen
Posts: 41034
Zomgawsh Poster

FitzztiF said:
From the change log:
"
04.18.2008
Seeing from the admin community and the supporttickets that people are really disliking the external linkinterception. Will go ahead and remove it.
"


So looks like it will be going away shortly, for anyone that was still struggling with my script.


Thanks for the link FitzztiF.

Thank you Aaron and Sandy for listening to your customers.
TopBottom

Everdark (MVP) 4/18/2008 1:50 PM EST : RE: New popup warning when clicking an outside link.
GuildPortal MVP
Everdark
Posts: 3951
Zomgawsh Poster

Update complete. Links functioning again. Thank you, Aaron!

"The person who says it cannot be done should not interrupt the person doing it." 

 
Everdark (T), Evadarr, Nevinn (AC), Soninn, Croninn, Zakarr, Avirded (SC)
TopBottom

Aaron Lewis (Blue Collar) 4/18/2008 7:41 PM EST : RE: New popup warning when clicking an outside link.
GuildPortal Dev
Aaron Lewis
Posts: 1978
Zomgawsh Poster

NP!  
Aaron Lewis, GuildPortal.com
TopBottom

LuniNutz (Guild Admin) 4/19/2008 7:29 AM EST : RE: New popup warning when clicking an outside link.
LuniNutz
Posts: 1223
Zomgawsh Poster

Thanks!  Everything is back to normal.


 
Youtube Let's Play Channel: http://www.youtube.com/user/LuniRPG
TopBottom

xandune (New Admin) 4/21/2008 9:17 AM EST : RE: New popup warning when clicking an outside link.
xandune
Posts: 826
Zomgawsh Poster

Since i was one of the ones bitching about the link intercept.....

I'd just like to say thank you for listening to our feedback! 
TopBottom

Prev 1 2 3 4 5 6
Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%