vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - External URL Redirects in framed page (https://vborg.vbsupport.ru/showthread.php?t=136333)

SiMateoAko 01-12-2007 10:00 PM

External URL Redirects in framed page
 
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

Hornstar 01-12-2007 11:02 PM

Awesome mod, I suppose this is similar to google images when you click on one of those images it displays something similiar.

Can you whitelist sites, so they dont get the frame? if not that maybe an idea for a future update.

GruntHalo 01-12-2007 11:03 PM

Great mod, installed. :D

KURTZ 01-12-2007 11:06 PM

interesting hack, just a question it's compatible with vBanonimizer?

CSS59 01-12-2007 11:06 PM

is this a dup?
https://vborg.vbsupport.ru/showthread.php?t=136311

KURTZ 01-12-2007 11:10 PM

THIS is another one :)

The Finman 01-13-2007 12:06 AM

Quote:

Originally Posted by KURTZ (Post 1157590)
interesting hack, just a question it's compatible with vBanonimizer?

That is exactly what I am wondering. :confused:

SiMateoAko 01-13-2007 12:19 AM

Quote:

Originally Posted by KURTZ (Post 1157590)
interesting hack, just a question it's compatible with vBanonimizer?

unsure... give it a shot :)

SiMateoAko 01-13-2007 12:20 AM

Quote:

Originally Posted by KURTZ (Post 1157595)
THIS is another one :)

The difference with this plugin and the one you linked are numerous. They accomplish the same thing, but this one can be imported via the products menu, will filter out internal links, and won't leave a footprint when you uninstall it. Oh, and you don't have to edit core php files in order to make it work.

SiMateoAko 01-13-2007 12:21 AM

Quote:

Originally Posted by CSS59 (Post 1157591)

released on both forums b/c it is compatible with both versions. All future updates will be to this version.


All times are GMT. The time now is 10:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete