![]() |
[VB3-RC2] vBRedirect v1.1 - Redirect to external pages with your banner above
What It Does:
This script will provide you with a redirect page for all the links people put on your site using the URL tags. It opens a new page with your own customisable banner and text on top and the external link opens within a seperate frame setup by the script. Useful if you want users to stay on your site but still check out posted links. All the banner .gif header attributes are setup from within a template so you don't need to go editing php files to change the look of it. Installation Type: Installation is easy and will take approx 5 mins when following the install.html included. Experiance Level: Amature Install Time: 5 mins PHP Edit?: No file edits needed, AdminCP access needed. Support: Support for this script is available and will be answered either here or On Our Forums. Hope you like my first mod, i normally write full code, not hack other peoples :) JJ --------------------------------------------------------------------------- [edit] 11-march-04 01:29 ; Fixed the www and http problem with the links, its recommended you update the redirect.php if you have already installed, or install this again. |
Thanks, I'll try it
|
installed, mad some changes, not bad overall, but you should really merge the two cells and make the image be top aligned and left aligned.
|
Quote:
thanks for the comments so far JustJonno |
Can we get a screenshot of what this will look like?
|
This will be great for my board!
|
installed
thanks is lol :D:D:D |
Nice hack...
I get this error though Not Found The requested URL /forum/www.google.com was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
Quote:
JJ |
I get the same. It has to be some sorta bug I think.
When you post an url like this on the forums: www.clanboard.com It won't work. It will add a / in front and look for /www.clanboard.com But if you post the url as: http://www.clanboard.com It works fine. You can test it on my board: www.pc-nerd.com I looked over some code. Looks like this code in functions_bbcodeparse.php may be a prob or not? PHP Code:
See attached screenshot for the /www error. |
Quote:
As for the http:// problem, i'm on that and will upload an update zip and a new version tomorrow morning after strenuous bug testing and time test.. (beer and a sleep :P ) JJ |
Quote:
|
Didn't work..
Could it be because my forum directory is /forum instead of /forums |
@stonecold1203:
Quote:
|
I didn't know if i had a http:// problem
But i read his post ;) |
fantastic idea! thank you
|
Thanks for all your support so far guys, makes me feel good as this is my first hack :)
I'm going to be working on a hack to import the IP ranges from peerguardian if anyone wants to help me with login/sessions issues? this is going to be quite a hack if i can get it to work :P Thanks again guys, i'll keep updating this hack and providing support if needed.. JJ |
Nice one
|
Nice hack, very useful!
Only issue is when linking to a post (for example) within the forum itself... Anyway to apply this to only external links? |
Problem...
Installing this hack will blow-up vbadvanced homepage (the layout). It has something to do with the custom BB codes. Removing the bbcodes will of course leave all links posted in threads messed-up. |
Quote:
PHP Code:
PHP Code:
|
Quote:
JJ |
!!! Security Warning !!! This hack has a major Vulnerability! The author has been informed to take apropriate steps to fix this. In the meanwhile, I strongly recommend to uninstall this hack. !!! Security Warning !!! |
What's the vulberability? Might be nice to know.
|
Has the security issue been resolved?
|
I installed this then took it out and now my original url redirect doesn't work. Can someone tell me what the original bbcode for url is supposed to be?
THanks!! |
anyone? How do I set it to parse the urls like normal?
|
Quote:
I mean...I like the fact that you found this security hole - but is it something you could tell/share with the rest of us? maybe we could even fix it ourselves? |
I'm using this hack on my link forums and want to have the breadcrumb in the upper frame. How do I get the variables to pass? I just keep getting the variable names. What other php files would I need?
The only reason I'll want to do it is if the link forums also have a variable for the forum name. Then I can make a nav bar in the upper frame similar to those on regular forums with the corresponding forum name of the link. If that variable doesn't exist, then I can't do what I want and I'll just use the hardcoded html one that I'm going to work on right now. Someone give me some insight please. |
page http://www.securityrelease.com/showt...hp?p=23#post23
just click the link or any other link on the forum error: Warning: main(./global.php): failed to open stream: No such file or directory in D:\securityrelease\forums\redirect.php on line 40 Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in D:\securityrelease\forums\redirect.php on line 40 I turned it off while its not working but what could the error be? |
Does the frame stay open so that your banner is viewable while the person is browsing the other site, or is it only open for a second while its redirecting and then disappears?
|
Check out an example here: http://www.huntsvillecarscene.com/re...n=forum&board=
I've modified it to use with redirecting Link forums, but it works the exact same way. |
Has this been fixed ( security hole and all ? )
:) |
Possible redirect to external pages whit a new window for vb 3.6?
|
yes is there any 3.6.x
|
All times are GMT. The time now is 05:41 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:
|