Back to vBulletin 3.5 Template Modifications

Extend Redirect Message, Add Ads for better click rate
Mod Version: 1.00, by Ntfu2

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 9
Released: 02 May 2006 Last Update: Never Downloads: 2
Not Supported  

I've found that on my redirect page, placing some ad code on the redirect template and extending the time for redirecting you seem to get higher click thru.

Use your favorite code, such as phpAdsNew or anything you wish

Admin CP -> Styles and Templates -> Standard_Redirect
Replace Old Code(assuming no modifications have been done)
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<if condition="is_browser('mozilla')">
	<script type="text/javascript">
	<!--
	function exec_refresh()
	{
		window.status = "$vbphrase[redirecting]" + myvar;
		myvar = myvar + " .";
		var timerID = setTimeout("exec_refresh();", 100);
		if (timeout > 0)
		{
			timeout -= 1;
		}
		else
		{
			clearTimeout(timerID);
			window.status = "";
			window.location = "$js_url";
		}
	}
	var myvar = "";
	var timeout =40;
	exec_refresh();
	//-->
	</script>
<else />
	<meta http-equiv="Refresh" content="75; URL=$url" />
</if>
$headinclude
<title>$pagetitle</title>
</head>
<body>
<br />
<br />
<br />
<br />
<form action="$url" method="get">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">$vbphrase[redirecting]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<blockquote>
			<p>&nbsp;</p>
			<p><strong>$errormessage</strong></p>			
			<p class="smallfont"><a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>
			<div>&nbsp;</div>
<!-- Place Ad Code Here -->
REMOVE AND REPLACE WITH CODE
<!-- /Place Add Code Before -->
		</blockquote>
	</div>
	<script type="text/javascript">
	<!--
		document.write('<div style="margin-top:$stylevar[cellpadding]px">');
		document.write('<input type="submit" class="button" value="$vbphrase[proceed]" accesskey="s" onclick="window.location=\'$url\'; return false" />');
		document.write('<\/div>');
	//-->
	</script>
	</td>
</tr>
</table>
</form>
<if condition="$postvars">
<!-- redirect with POST -->
<form action="$formfile" method="post" name="postvarform">
$postvars
</form>
<script type="text/javascript">
<!--
function submit_form()
{
	window.status = "Redirecting" + myvar;
	myvar = myvar + " .";
	timerID = setTimeout("submit_form();", 100);
	if (timeout > 0)
	{	
		timeout -= 1;
	}
	else
	{
		clearTimeout(timerID);
		window.status = "";
		document.forms.postvarform.submit();
	}
}
myvar = "";
timeout = 18;
submit_form();
//-->
</script>
<div align="center">Ad code by Dave <a href="http://www.FightRice.com" target="_blank">FightRice</a></div>
<!-- / redirect with POST -->
</if>
</body>
</html>

Simply Add What ever ad code you wish in the provided space, use hack at own risk with adsense or YPN, some say its against TOS, use at your own risk

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024