Back to vBulletin 3.6 Template Modifications

Add an advert into your redirect page
Mod Version: 1.00, by Yours Truly

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 4.50 average) Installs: 12
Released: 06 Jul 2007 Last Update: Never Downloads: 4
Not Supported Template Edits  

Note: This enhancement was originally posted by me under my old name Move-Along over here. So before any confusion arises it was made by me =]. I no longer support it on that thread and will continue to do so on this thread =]. Enjoy!

Time taken: 2 Minutes
Difficulty: Easy as pie
What it does: This will basicly just add an advert in the redirect screen. There is a screenshot attatched to show you what i mean.

You can also use this for Vb 3.5.x too

You shouldn't use AdSense here, because redirection pages wouldn't really count as content pages.

Go to:

Style manager --> [Style you want to edit] --> Edit templates --> STANDARD_REDIRECT

Now find:

PHP Code:
    <noscript>
    <
meta http-equiv="Refresh" content="2; URL=$url/>
    </
noscript
And replace it with this:

PHP Code:
    <noscript>
    <
meta http-equiv="Refresh" content="10; URL=$url/> // Change the content="10" to whatever you like the bigger it is the longer it will take to redirect
    
</noscript
After find this code:

PHP Code:
                <class="smallfont"><a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a
After add:

PHP Code:
<br>
<
br>
<
a href="http://www.adminpath.com" target="_blank"><img src="http://www.adminpath.com/delisiosso/misc/banner_right.gif"></a
Obviously change the url's to your desired url's.

---------------------------------------------------------------------------------------

Extending the load time:


PHP Code:
    var myvar "";
    var 
timeout 20;
    
exec_refresh();
    
//--> 
Find that piece of code and replace it with this:
PHP Code:
    var myvar "";
    var 
timeout 100;
    
exec_refresh();
    
//--> 
If you would like it so it doesn't automatically redirect then you can do this:

Find:

PHP Code:
    var myvar "";
    var 
timeout 20;
    
exec_refresh();
    
//--> 
Replace With:

PHP Code:
    var myvar "";
    var 
timeout 10000;
    
exec_refresh();
    
//--> 
Find:

PHP Code:
                <class="smallfont"><a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p
Replace With:
PHP Code:
                <class="smallfont"><a href="$url">Click here to continue to the page you requested</a></p

To come:

  • Admincp options to add url from the CP as opposed to changing the template each time
  • Rotating banners
  • Post some ideas

Download

No files for download.

Screenshots

Click image for larger version
Name:	example.jpg
Views:	546
Size:	18.3 KB
ID:	66602  

Similar Mods

Add an advert into your redirect page vBulletin 3.6 Template Modifications
Mini Mods Redirect guests to register page from no permission page. Increase Registrations vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024