[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.
Ivo_BG
Registered User
Posts: 14
Joined: Tue Jan 24, 2012 11:19 pm

Re: [RC] Opening External Link in New Window

Post by Ivo_BG » Sun Feb 05, 2012 10:34 pm

I put the durangod script after

Code: Select all

<body class="{S_CONTENT_DIRECTION}">
line in overall_header.html file.

I do not know if it this is a the correct position, but it works and the links are displayed in a new tab.

tay666
Registered User
Posts: 12
Joined: Sat Dec 03, 2011 3:55 am

Re: [RC] Opening External Link in New Window

Post by tay666 » Sun Feb 05, 2012 11:26 pm

Thanks.
That worked like a charm.

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 12:54 am

Hey guys,

I need some help now. I pasted the code above my Head tag where it was mentioned to place. It did not work. I went back and deleted it to read the whole thread. Well when i deleted it I know I only deleted the text I added but I lost the header all together. I downloaded a new original_header file from the theme on computer to the files. But I cant access the admin with no header or page to clear cache... any ideas on how to fix.

Thanks
forum is on http://earnwithme.com/forum

I cant even access the control panel at all????? rrrggg my site is dead in water now!
Last edited by showmehow on Wed Feb 08, 2012 1:15 am, edited 1 time in total.

User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia
Contact:

Re: [RC] Opening External Link in New Window

Post by digioz » Wed Feb 08, 2012 1:05 am

FTP into your website Forum directory and navigate to "/cache" directory, then delete all files in that directory except ".htaccess" and "index.htm".

Pete
DigiOz Multimedia
http://www.digioz.com

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 1:15 am

ok cool trying that now thanks~ stand by

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 1:18 am

digioz wrote:FTP into your website Forum directory and navigate to "/cache" directory, then delete all files in that directory except ".htaccess" and "index.htm".

Pete

Hey Pete

I dont see the htaccess file just the index.htm file

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 1:28 am

Im at a loss not nothing but a blank screen no matter what i try. I hope its a simple fix...

Here is my overall_header.html any ideas??

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">

<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="phpbb, skin, skins, x-treme, design, template, templates, phpbb skin, phpbb template, x-treme skin, phpbb3" />
<meta name="description" content="phpbb skins and designs! skin-lab.com is the best choise for your forum template" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->
<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />


<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->

function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}

window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}

function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';

if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
}

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}

if (!parent)
{
return;
}

var rb = parent.getElementsByTagName('input');

for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}

<!-- IF ._file -->

/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();

if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);

var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);

obj.Play();
}
<!-- ENDIF -->

// ]]>
</script>
<script type="text/javascript">
// <![CDATA[
/***********************************************
* AnyLink Drop Down Menu- Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//Contents for Poster Options
<!-- BEGIN postrow -->
var menu{postrow.POSTER_ID}=new Array()
menu{postrow.POSTER_ID}[0]='<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}"><img src="{T_THEME_PATH}/images/prof.png" style="vertical-align: top;">&nbsp;&nbsp;{L_READ_PROFILE}</a><!-- ENDIF -->'
menu{postrow.POSTER_ID}[1]='<!-- IF postrow.U_PM --><a href="{postrow.U_PM}"><img src="{T_THEME_PATH}/images/send_pm_small.png" style="vertical-align: top;">&nbsp;&nbsp;{L_PM}</a><!-- ENDIF -->'
menu{postrow.POSTER_ID}[2]='<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}"><img src="{T_THEME_PATH}/images/email.png" style="vertical-align: top;">&nbsp;&nbsp;{L_EMAIL}</a><!-- ENDIF -->'
menu{postrow.POSTER_ID}[3]='<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}"><img src="{T_THEME_PATH}/images/www.png" style="vertical-align: top;">&nbsp;&nbsp;{L_WEBSITE}</a><!-- ENDIF -->'
menu{postrow.POSTER_ID}[4]='<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}"><img src="{T_THEME_PATH}/images/warn.png" style="vertical-align: top;">&nbsp;&nbsp;{L_WARN_USER}</a><!-- ENDIF -->'
<!-- END postrow -->
//Contents for Forum Options
var menu_forum_menu=new Array()
menu_forum_menu[0]='<!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}"><img src="{T_THEME_PATH}/images/script_add.png" style="vertical-align: top;">&nbsp;&nbsp;{S_WATCH_FORUM_TITLE}</a><!-- ENDIF -->'
menu_forum_menu[1]='<!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}"><img src="{T_THEME_PATH}/images/tick.png" style="vertical-align: top;">&nbsp;&nbsp;{L_MARK_TOPICS_READ}</a><!-- ENDIF -->'
//Contents for Topic Options
var menu_topic_menu=new Array()
menu_topic_menu[0]='<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}"><img src="{T_THEME_PATH}/images/sub.png" style="vertical-align: top;">&nbsp;&nbsp;{L_WATCH_TOPIC}</a><!-- ENDIF -->'
menu_topic_menu[1]='<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}"><img src="{T_THEME_PATH}/images/book.png" style="vertical-align: top;">&nbsp;&nbsp;{L_BOOKMARK_TOPIC}</a><!-- ENDIF -->'
menu_topic_menu[2]='<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}"><img src="{T_THEME_PATH}/images/printer.png" style="vertical-align: top;">&nbsp;&nbsp;{L_PRINT_TOPIC}</a><!-- ENDIF -->'
menu_topic_menu[3]='<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}"><img src="{T_THEME_PATH}/images/email_friend.png" style="vertical-align: top;">&nbsp;&nbsp;{L_EMAIL_TOPIC}</a><!-- ENDIF -->'
menu_topic_menu[4]='<!-- IF U_BUMP_TOPIC --><div id="border-bottom"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}"><img src="{T_THEME_PATH}/images/bump.png" style="vertical-align: top;">&nbsp;&nbsp;{L_BUMP_TOPIC}</a></div><!-- ENDIF -->'
//Contents for View Menu
var menu_view_menu=new Array()
menu_view_menu[0]='<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH_UNANSWERED}" title="{L_SEARCH_UNANSWERED}"><img src="{T_THEME_PATH}/images/arrow_right.png" style="vertical-align: top;">&nbsp;&nbsp;{L_SEARCH_UNANSWERED}</a><!-- ENDIF -->'
menu_view_menu[1]='<!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH_ACTIVE_TOPICS}" title="{L_SEARCH_ACTIVE_TOPICS}"><img src="{T_THEME_PATH}/images/arrow_right.png" style="vertical-align: top;">&nbsp;&nbsp;{L_SEARCH_ACTIVE_TOPICS}</a><!-- ENDIF -->'
menu_view_menu[2]='<!-- IF S_DISPLAY_SEARCH --><!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}" title="{L_SEARCH_UNREAD}"><img src="{T_THEME_PATH}/images/arrow_right.png" style="vertical-align: top;">&nbsp;&nbsp;{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- ENDIF -->'
menu_view_menu[3]='<!-- IF S_DISPLAY_SEARCH --><!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS --><a href="{U_SEARCH_NEW}" title="{L_SEARCH_NEW}"><img src="{T_THEME_PATH}/images/arrow_right.png" style="vertical-align: top;">&nbsp;&nbsp;{L_SEARCH_NEW}</a><!-- ENDIF --><!-- ENDIF -->'
menu_view_menu[4]='<!-- IF S_DISPLAY_SEARCH --><!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS --><a href="{U_SEARCH_SELF}" title="{L_SEARCH_SELF}"><img src="{T_THEME_PATH}/images/arrow_right.png" style="vertical-align: top;">&nbsp;&nbsp;{L_SEARCH_SELF}</a><!-- ENDIF --><!-- ENDIF -->'
var menuwidth='200px' //default menu width
var menubgcolor='

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 2:09 am

anybody have any ideas? my site is down?

showmehow
Registered User
Posts: 8
Joined: Tue Feb 07, 2012 2:26 am

Re: [RC] Opening External Link in New Window

Post by showmehow » Wed Feb 08, 2012 2:21 am

I think i got it. I tried uploading a new html page again from hard drive. And it worked this time.

UPDATE= It works great! If I would have only followed directions from the start. I put it right in front of <HEAD> not </HEAD>

User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia
Contact:

Re: [RC] Opening External Link in New Window

Post by digioz » Tue Apr 03, 2012 12:53 am

Hello All,

I have verified that this mod works with phpbb versions 3.0.9 and 3.0.10 in addition to 3.0.8, so feel free to use this mod with either of those 3 versions.

Thanks,
Pete
DigiOz Multimedia
http://www.digioz.com

Rawr_
Registered User
Posts: 3
Joined: Wed Feb 15, 2012 8:23 pm

Re: [RC] Opening External Link in New Window

Post by Rawr_ » Tue May 08, 2012 9:22 pm

Hi,

When i put "http://www", it work great

but when i use "http://" it dont work.

Is there anyway to make it?

Code: Select all

[url=http://google.com/]google[/url]
it does not work

Code: Select all

[url=http://www.google.com/]google[/url]
it work
Sry, for my bad english

User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: [RC] Opening External Link in New Window

Post by balboag » Wed May 09, 2012 4:30 pm

I need not to open in a new tab subdomains, what I can do?

Northern_Union
Registered User
Posts: 85
Joined: Sat Jul 11, 2009 8:58 am
Contact:

Re: [RC] Opening External Link in New Window

Post by Northern_Union » Sun Aug 12, 2012 2:38 am

Just wanted to offer my thanks to the author of this mod. Works perfectly on my site.

User avatar
digioz
Registered User
Posts: 297
Joined: Thu Feb 05, 2004 9:20 pm
Location: Chicago, IL
Name: DigiOz Multimedia
Contact:

Re: [RC] Opening External Link in New Window

Post by digioz » Sun Aug 12, 2012 2:50 am

You are very welcome. I am glad you found it useful.

Pete
DigiOz Multimedia
http://www.digioz.com

John Scrip
Registered User
Posts: 6
Joined: Tue Apr 02, 2013 3:38 am

Re: [RC] Opening External Link in New Window

Post by John Scrip » Thu Apr 04, 2013 6:37 am

Oh thank Jeebus -- I've tried everything else.

THIS WORKS!!!

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: No registered users and 11 guests