MyBB Community Forums

Full Version: Redirect Features
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,did you know how to redirect like this

http://www.garenaworld.com/go/?num=IyBTa...s-list-%29

please help me i nid it to have an ads and to force the users to register instead of a being guests and to thank sponsors Big Grin


Bump,
Bump,
You can set a forum to have automatic redirect when someone clicks on it. Other than that, I'm not sure how you get a redirect countdown like that.
You'd need a plugin - moved to requests.
all their thread links have that redirect features Sad how to do that so professional.
Open showthread template and add the following above the </head> tag;

<script type="text/javascript">
<!--
function delayer(){
    window.location = "YOUR_REDIRECTED_URL_GOES_HERE"
}
//-->
</script>

and look for the <body> tag within the same showthread template and change it to;

<body onLoad="setTimeout('delayer()', 5000)">

Change 5000 to what ever time you would like to redirect users after.
Note: 5 seconds = 5000
i think this is a plugin and not a code or script because they have a something like a /go/ and my question is how to add a URL to my site with a webpage that has redirect system Big Grin.?

http://www.garenaworld.com/go/?num=IyBTaW1wbGlmNrIHJhbmdlIZCBtb2RlbC9jb2xvciBmb3IgdmFyaW9b2xvciBmb3IgdmFyaW91cyBoZXJvZXMgKGVhc2ll1cyBoZXJvZXMgKGVhc2lb2xvciBmb3IgdmFyaW91cyBoZXJvZXMgKGVhc2lllciB0byBjbGljaywgYb2xvciBmb3IgdmFyaW91cyBoZXJvZXMgKGVhc2ll29tcGxldGVseSBuZWdhdGVzIGJsdXIp&id=dreamdota.com/vip/getclient

and this is their page source of the redirected url.
<html>
<head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>

<body bgcolor="black" alink="white" vlink="white" link="white">
<center>
	
	

<script language="JavaScript">
var countDownInterval=30;
var countDownTime=countDownInterval+1;
function countDown(){
countDownTime--;
if (countDownTime <=0){
countDownTime=countDownInterval;
clearTimeout(counter)
window.location="http://dreamdota.com/vip/getclient"

return
}
if (document.all) //if IE 4+
document.all.countDownText.innerText = countDownTime+" ";
else if (document.getElementById) //else if NS6+
document.getElementById("countDownText").innerHTML=countDownTime+" "
else if (document.layers){ //CHANGE TEXT BELOW TO YOUR OWN
document.c_reload.document.c_reload2.document.write('<h3><font color="gray">Redirecting to download link in ( Please wait ): </font><font color="white"><b id="countDownText">'+countDownTime+' </b> seconds</font></h3>')
document.c_reload.document.c_reload2.document.close()
}
counter=setTimeout("countDown()", 1000);
}



function startit(){
if (document.all||document.getElementById) //CHANGE TEXT BELOW TO YOUR OWN
document.write('<h3><font color="gray">Redirecting to download link in  ( Please wait ): </font><font color="white"><b id="countDownText">'+countDownTime+' </b> seconds</font></h3>')
countDown()
}


if (document.all||document.getElementById)
startit()
else
window.onload=startit

setTimeout("location.href='http://dreamdota.com/vip/getclient'" , t)

</script>


	<h3>  <font color="yellow">GarenaWorld's sponsors:</font></h3>
	


<!-- BEGIN STANDARD TAG - 300 x 250 - garenaworld.com: garenaworld - DO NOT MODIFY -->
<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=300 HEIGHT=250 SRC="http://ad.tlvmedia.com/st?ad_type=iframe&ad_size=300x250&section=1099491"></IFRAME>
<!-- END TAG -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<!-- BEGIN STANDARD TAG - 300 x 250 - garenaworld.com: garenaworld - DO NOT MODIFY -->
<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=300 HEIGHT=250 SRC="http://ad.tlvmedia.com/st?ad_type=iframe&ad_size=300x250&section=1099491"></IFRAME>
<!-- END TAG -->
<br><br>




<br><br>

<font color="white" size="4"> Please register and login into GarenaWorld if you don't want to see this again !
<br/>&copy; 2009 - 2010 GarenaWorld.com </font>
</center>
</body>
Bump,
Bump!!
I've said easiest method on post#6 : http://community.mybb.com/thread-82101-p...#pid599607

What do you want to do now ?
Pages: 1 2