The Arcive of vBulletin Modifications Site. |
|
External Links Framed Details »»
|
|||||||||||||||||||||||||
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/extern...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/showth...=2406#post2406 for a live link. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
can we put adsense also ? :P
well nice one
|
|
#3
|
||||
|
||||
|
<<--install. very nice Blaine0002, thank you for this release.
|
|
#4
|
|||
|
|||
|
Style GOOGLE
HTML Code:
<body bgcolor="#ffffff" text="#000000" link="#0000cc" vlink="#551A8B" alink="#ff0000"> <style> <!-- body,td,div,.p,a{font-family:arial,sans-serif;font-size:10pt} --> </style> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td valign="center"> <a href="http://www.apdcanari.com/" target="_top"><img src="http://www.apdcanari.com/v7/images/logo.jpg" border="0" title="Au Paradis des Canaris" width="340" height="60" hspace="5" vspace="7"></a> </td> <td width="100%" valign="top" nowrap> <a href="http://www.apdcanari.com/">Au Paradis des Canaris</a><br /><img alt="" width="1" height="5" border="0"><br /> <font color="#008000">www.apdcanari.com</font><br />A vos Plumes! Donnez-vous des Ailes..<br /> <i>Notre objectif est de vous pr?senter en d?tails les canaris gr?ce ? de nombreux articles et photos.</i> </td> <td nowrap width="1%" valign="top" align="right" rowspan="2"> <a href="{$go}" target="_top"> <font color="#0000cc">Supprimer ce cadre</font><img src="http://www.apdcanari.com/forum/images/frame_remove.gif" height="12" width="13" border="0"></a><br /> </td> </tr> <tr> <td colspan="5" bgcolor="#efefef"> Lien externe au site <b>Au Paradis des Canaris</b>, vous vous trouvez sur la page <b><a href="{$go}" target="_top">{$go}</a></b> </td> </tr> </table> <iframe src="{$go}" height="90%" width="100%" frameborder="0"> </body>
|
|
#5
|
||||
|
||||
|
yep, anything you want can go in there
![]() If you like it click install! |
|
#6
|
|||
|
|||
|
Um. External.php already exists in that location, it handles feed output.
|
|
#7
|
||||
|
||||
|
weird, in 3.6 stable? cause im still using rc1, oh well, ill rename it.
|
|
#8
|
||||
|
||||
|
Thanks, updated.
|
|
#9
|
|||
|
|||
|
Hi there. Excelent add-on. I have one question, is it possible to exclude from this frame the internal links? Exemple: http://www.myforum.org/showthread.php?t=16140. Is it? Thanks.
|
|
#10
|
||||
|
||||
|
hmm, ill look into it.
|
![]() |
|
|