Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
External URL Redirects in framed page Details »»
External URL Redirects in framed page
Version: 1.00, by SiMateoAko SiMateoAko is offline
Developer Last Online: Nov 2007 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-12-2007 Last Update: 01-13-2007 Installs: 105
Uses Plugins Template Edits
Additional Files  
No support by the author.

URL Redirect for vBulletin is a simple way to keep your users grounded to your site. All external URLs will be displayed in a frame with your logo above.

Installation is simple and fast. Simply import the product (product-igusto_urlredirect.xml) and upload the ext.php file to your main forum directory.

How is this product different from other similar products released in the past?

It is true that other people have released similar products in the past. The main differences are as follows:
  • no code changes - other vBulletin hacks required you to change core files in order to make this work properly.
  • released as a product - other vBulletin hacks were not released as a simple importable product
  • No footprint - when you uninstall this product, there are no residual footprints. This has not been the case with other versions of this utility released to vBulletin previously.
  • Will distinguisth internal and external urls - Instead of displaying internal urls with the header, this plugin will evaluate the url and determine if it is the same as the host site. If it is, no banner will be displayed.


The product consists of one template (urlredirect_page) and one plugin. The plugin will change all external urls posted in forum posts to the new ext.php file. The template (urlredirect_page) is the header that will be displayed at the top of your redirect page.

Inside of the header you will find text that looks like this:

<!--Google Ads here-->

Replace that text with your google adsense javascript, or another ad generator.

I've tested this on 3.5.7 and 3.6.4. It works fine on both systems.

if you find it not working, check the following first:
  • Ensure that the plugin named "url_redirect parser" is enabled.
  • Ensure that you uploaded the file ext.php into your forum directory

Brought to you by the folks at www.igusto.net

Changelog

v1.0
Recently removed security flaw. Please update your ext.php file

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-13-2007, 12:22 AM
SiMateoAko SiMateoAko is offline
 
Join Date: Apr 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
Can you whitelist sites, so they dont get the frame? if not that maybe an idea for a future update.
That's a great idea. Look for it inthe next version.
Reply With Quote
  #13  
Old 01-13-2007, 01:10 AM
wizardan wizardan is offline
 
Join Date: Jan 2006
Location: America
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!
Installed.
Reply With Quote
  #14  
Old 01-13-2007, 01:40 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very very nice, installed

EDIT: Not compactable with vBanonimizer
Reply With Quote
  #15  
Old 01-13-2007, 02:47 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks this modification will come handy
Reply With Quote
  #16  
Old 01-13-2007, 03:24 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One problem:

It redirects some home links (like http://www.site.com/gallery/blah.php) to site main page- http://www.site.com/index.php

Any sol. for this?
Reply With Quote
  #17  
Old 01-13-2007, 05:32 AM
SiMateoAko SiMateoAko is offline
 
Join Date: Apr 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DPSR View Post
One problem:

It redirects some home links (like http://www.site.com/gallery/blah.php) to site main page- http://www.site.com/index.php

Any sol. for this?
I'll look into this tomorrow and get a fix for you. Are these all internal links that you are having a problem with?

ETA: Just figured out the problem. Reuploading the file now.

EETA: Just FYI, redownload and replace the ext.php file with the new one. Should do it.
Reply With Quote
  #18  
Old 01-13-2007, 06:55 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AFter updating, its not uploading external links on my portal page (site main index page, but previous version was doing it!)

Second, its still pointing gallery images to- http://www.fotorack.com/ext.php?ref=...dex.php?n=4220

when clicked, its take to invalid url- http://http//www.fotorack.com/gallery/index.php?n=4220
Reply With Quote
  #19  
Old 01-13-2007, 07:13 AM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks good, gonna try it out
Reply With Quote
  #20  
Old 01-13-2007, 08:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
interesting hack, just a question it's compatible with vBanonimizer?
Quote:
Originally Posted by The Finman View Post
That is exactly what I am wondering.
As the author of vbAnonymizer, I say that this hack should work together with it. You will just get the normal vbAnonymizer Redirect inside the frame.

EDIT: *CONFIRMED NOT WORKING WITH VBANONYMIZER!*
Reply With Quote
  #21  
Old 01-13-2007, 08:18 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
As the author of vbAnonymizer, I say that this hack should work together with it. You will just get the normal vbAnonymizer Redirect inside the frame.

By the way, this hack opens up a serious XSS hole. You leave $ref unchecked in the script. Also, this hack will cut all URL's with more than one GET variable on a URL.
Nope buddy, your hack is not working with this

After installing above hack, all links are converted to http://site.com/ext.php?ref=
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05313 seconds
  • Memory Usage 2,311KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete