![]() |
External Links Framed
This will make all links out of your forum, come in a nice frame :D
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;"> 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 :D 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. |
can we put adsense also ? :P
well nice one :) |
<<--install. very nice Blaine0002, thank you for this release.
|
Style GOOGLE :cool:
HTML Code:
<body bgcolor="#ffffff" text="#000000" link="#0000cc" vlink="#551A8B" alink="#ff0000"> |
yep, anything you want can go in there :)
If you like it click install! |
Um. External.php already exists in that location, it handles feed output.
|
weird, in 3.6 stable? cause im still using rc1, oh well, ill rename it.
|
Thanks, updated.
|
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.
|
hmm, ill look into it.
|
Thanks Blaine. It would be very usefull. Hope you can do it.
|
Just installed this but on some links im getting:
http://www.myforum.com/ext.php?go=ht...?do=editavatar Please advise! |
^^^ i have worked it out, there is a problem with this code, every time you edit the post and save, it add's another http://www.myforum.com/ext.php?go= so this can go on forever if you edit posts alot, please fix this and repost.
|
Thanks for telling me, ill look into it.
|
the live example does not work in firefox. no frame appears it looks 100% normal. (live link was at http://www.gentendo.com/forum/showth...=2406#post2406)
|
yeah sorry im in the process of updating to 3.6.0 :)
|
Cant Wait For this Modification to be Fixed.
Will Come in Very Very Very Handy. Hope You Fix it Soon, Thanks |
whats the ETA on this?
|
...any luck with this... you have many eagerly waiting people!
|
Anyone else willing to offer a fix? i can pay a small contribution.
|
This must be for external links only, there has to be a way of entering domains that you do not want framed.
|
I'm willing to pay for a fix to this... anyone?
*slaps his head against a brick wall trying to convince himself he is not talking to himself* |
ok got the fix... (credit Hambil for fix)
use this code to replace with in class_bbcode.php instead of the above and it should work fine: Code:
// standard URL hyperlink |
Same on firefox
|
clicks subscribe
|
Once you use this, and then uninstall it, all previous links posted in the forum will still direct to the framed page. New links will be normal however. So the big question is, how do you remove all the old links that still point to the framed page? One by one?
|
So I'm guessing this doesn't work?
|
Can it work with firefox? I dont like using the IE. :D
|
I just made a version of this that works... will post it today.
|
This has everything you guys want and more. https://vborg.vbsupport.ru/showthread.php?t=136311
I'm pretty sure it will work on 3.6, but havn't test it yet. |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=136333 |
Quote:
Code:
EDIT includes/class_bbcode.php |
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|