External Links Framed
This modification is in the archives.
This will make all links out of your forum, come in a nice frame
![]() Upload external.php to your forum root directory Simply Create a template 'external_link' Code:
<body bgcolor="#CCCCCC" text="#FF6633" link="#FF6633" vlink="#FF6633" alink="#FF6633" style="margin: 0px;"> <table border="0" cellspacing="0" cellpadding="0" width="100%" > <tr> <td valign="top"><img src="http://www.gentendo.com/forum/images/top_bg.gif"> <a href="javascript:window.close()"><font size="7">Close Window</font></a> </td> </tr> </table> <iframe src="{$go}" height="90%" width="100%" frameborder="0"> </iframe> </body> Edit includes/class_bbcode.php find Code:
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>"; Code:
return "<a href=\"http://www.urltoyourexternalframe.php?go=$rightlink\" target=\"_blank\">$text</a>"; MAKE SURE YOU CHANGE THE TEMPLATE ![]() The one i made was ugly and i made it in like 5 minutes :P Dont think the example is what it will look like, it can look like anything you want example: http://www.gentendo.com/forum/external.php?go=http://www.google.com (they wont need to put the path to external.php on the url, vb.org dosent have it installed so i need to put the full path for the example.) or go to http://www.gentendo.com/forum/showthread.php?p=2406#post2406 for a live link. Download
This modification is archived, downloads are still allowed. |
Similar Mods
Miscellaneous Hacks External URL Redirects in framed page | vBulletin 3.6 Add-ons |
External URL Redirects in framed page | vBulletin 3.5 Add-ons |