Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Add an advert into your redirect page Details »»
Add an advert into your redirect page
Version: 1.00, by Move-Along Move-Along is offline
Developer Last Online: Feb 2007 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 09-03-2006 Last Update: Never Installs: 50
Template Edits
 
No support by the author.

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


Thanks to Icheb - 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/>
    </
noscript
This will make it so the redirect takes longer so you can see the advertisement. If you would like to change the amount of time it takes just edit the number in this bit of the code:

PHP Code:
content="10 
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.

Copyright ? to www.adminpath.com 2006

Show Your Support

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

Comments
  #12  
Old 09-05-2006, 10:28 AM
Move-Along Move-Along is offline
 
Join Date: May 2006
Location: Cambridge (U.K)
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problemo guys . Any ideas on my next random one? lol
Reply With Quote
  #13  
Old 09-05-2006, 03:26 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good, I'd been wondering how to ad content to the redirect pages.

I'm not a coder, but am I right in understanding that if i were to add:
Code:
<if condition"$bbuserinfo['groupid'] != xx">
to your hack, i could then have it so paying members get a 2 second redirection whereas nonepaying/guests have a 5 second ad-infested redirection?
Reply With Quote
  #14  
Old 09-06-2006, 06:44 AM
Move-Along Move-Along is offline
 
Join Date: May 2006
Location: Cambridge (U.K)
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol "ad-infested" And yes i am pretty sure that would work
Reply With Quote
  #15  
Old 09-07-2006, 02:25 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool potatoes! I might look into this further....
/me dons his thinking cap
Reply With Quote
  #16  
Old 09-08-2006, 12:28 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything too advanced I might be able to help.
Reply With Quote
  #17  
Old 09-09-2006, 07:04 AM
Move-Along Move-Along is offline
 
Join Date: May 2006
Location: Cambridge (U.K)
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure Jeremy Any help is always appreciated
Reply With Quote
  #18  
Old 09-09-2006, 01:59 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just talk to me online.
Reply With Quote
  #19  
Old 09-09-2006, 11:34 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey this is cool, but the timer info is a bit different than what you list.

This can stay as it is:
Code:
<noscript>
    <meta http-equiv="Refresh" content="2; URL=$url" />
    </noscript>
but this:
Code:
var myvar = "";
	var timeout = 20;
	exec_refresh();
	//-->
	</script>
can be changed to extend the amout of time. For example, when testing this, I changed
Code:
var timeout = 20;
to
Code:
var timeout = 40;
and my redirect lasted twice as long.

I hope this helps!
Kether
Reply With Quote
  #20  
Old 09-17-2006, 10:30 PM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it working, but the redirect takes you to the image and not the URL I have put in there. ??

Any Help?
Reply With Quote
  #21  
Old 09-17-2006, 10:50 PM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it ..........
Reply With Quote
Reply

Thread Tools

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 10: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
  • Page Generation 0.07734 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
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_code
  • (5)bbcode_php
  • (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