[ABD] Opening External Link in New Window

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow

Re: [RC] Opening External Link in New Window

Post by newsbee »

The mod is fine and quite useful, but it stops the mod which converts internal links to subject lines.
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

newsbee wrote:The mod is fine and quite useful, but it stops the mod which converts internal links to subject lines.
I am not familiar with that Mod. Can you provide a link to it?

Pete
DigiOz Multimedia
http://www.digioz.com
User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow

Re: [RC] Opening External Link in New Window

Post by newsbee »

Can't find the original, had it installed for a long time. This mod converts http://www.yoursite/forum/viewtopic... into text (topic subject).
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

I found this Mod which does the exact same thing you are describing:

http://www.phpbb.com/community/viewtopi ... #p12797703

But this one is not jQuery based. An easy way to fix your problem is to uninstall what you have and install this Mod, followed by my mod for external url. Alternately if you can point out what you have exactly installed and/or provide me the ModX Installer package you have I can look to see what's causing the conflict.

Pete
DigiOz Multimedia
http://www.digioz.com
User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow

Re: [RC] Opening External Link in New Window

Post by newsbee »

I've found this mod: http://www.phpbb.com/community/viewtopi ... &t=2092969
I have it installed. And it doesn't work with your mod.

PS. Whoops. We are talking about the same mod. Do you think they don't contradict each other?
User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow

Re: [RC] Opening External Link in New Window

Post by newsbee »

Ok, this the rundown: I've reinstalled both mods.
The subj mod works fine with external links. But when I install it, the forum_link_to_topic_title mod changes in this way: before it converted forum links to to topic titles when there were www in the name, and treated internal links as external links when they didn't have www in the name. With your mod, the situation is reversed. http://www forum links are not converted into topic titles, http:// links are converted.

Summary: you mod is fine, but something needs to be done about the forum_link_to_topic_title mod to make it universal.
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

It sounds like the link to title mod had an issue both before and after because it should work both ways.

Pete
DigiOz Multimedia
http://www.digioz.com
Drakken
Registered User
Posts: 144
Joined: Thu Jun 12, 2003 6:59 pm

Re: [RC] Opening External Link in New Window

Post by Drakken »

Works great here, thanks!
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

Drakken wrote:Works great here, thanks!
You are welcome. :)
DigiOz Multimedia
http://www.digioz.com
Romano1
Registered User
Posts: 115
Joined: Sat Nov 06, 2010 8:26 am

Re: [RC] Opening External Link in New Window

Post by Romano1 »

Thank you works great.
User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin

Re: [RC] Opening External Link in New Window

Post by Kamahl19 »

I could not find this MOD for ages :) Good work
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

Thanks, and you are both very welcome.

Pete
DigiOz Multimedia
http://www.digioz.com
jporter12
Registered User
Posts: 3
Joined: Sat Nov 20, 2010 5:12 pm

Re: [RC] Opening External Link in New Window

Post by jporter12 »

Thanks for "fixing" one of the annoyances that I had with phpbb!
User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia

Re: [RC] Opening External Link in New Window

Post by digioz »

You are quite welcome. :)
DigiOz Multimedia
http://www.digioz.com
User avatar
VOLKERMORD
Registered User
Posts: 119
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)

Re: [RC] Opening External Link in New Window

Post by VOLKERMORD »

Html valid

Code: Select all

 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>         
    <script type="text/javascript"> 
	// <![CDATA[                                        
       $(document).ready(function() {
          $('a[href^="http://"]').filter(function() {return this.hostname && this.hostname !== location.hostname;}).attr('target', '_blank');
       }); 
	   // ]]>                    
    </script>
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo

Return to “[3.0.x] Abandoned MODs”