# Demo : http://vizilti.net/forum.php
# Original Topic : http://vizilti.net/40-tema-editlemeleri/2408-v-net-gelismis-alternatif-yonlendirme-alani/
V-net Advanced Alternative Redirect
################## Installation ##################
Step 1
* admincp >> Styles & Templates >> Style Manager >> Theme >> Edit Templates >> additional.css: Add to the end
* Kullandıgınız Temanızda additional.css Şablonunuzu Açın Ve En Altına Ekleyin
PHP Code:
/************************************************************************/
/* Yönlendirme Alanı*/
.v_giris_yapiliyor {
background: #F4F5F6 url(images/gradients/grey-up.png) bottom repeat-x;
border: 1px solid #EFEFEF;
text-align: left;
height: 250px;
width: 50&;
max-width: 60%;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #ccc 0 0 40px;
-moz-box-shadow: 0 0 40px #ccc; }
.v_giris_yapiliyor h2 {
background: #FFDFDF ;
border: 1px solid #FFBFBF;
color: #CF0008;
font-weight: bold;
font-size: 13pt;
margin: 10px 10px 10px 10px;
padding: 5px 5px 5px 5px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
box-shadow: 0 0 6px #ccc;
-webkit-box-shadow: #ccc 0 0 6px;
-moz-box-shadow: 0 0 6px #ccc;
text-shadow: 0 1px 0 rgb(199, 203, 212); }
.v_giris_yapiliyor_ms {
color: #000;
font-size: 16px;
font-weight: bold;
text-shadow: 0 1px 0 rgb(199, 203, 212);
padding: 10px 20px 20px 20px; }
Step 2
* admincp >> Styles & Templates >> Style Manager >> Theme >> Edit Templates >> STANDARD_REDIRECT: Change the entire
* Kullandıgınız Temanızda STANDARD_REDIRECT Şablonunu Açın Ve Komple Degiştirin
PHP Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw pagetitle}</title>
{vb:raw headinsert}
{vb:raw headinclude_bottom}
</head>
<body>
<div align="center">
<div class="v_giris_yapiliyor">
<form class="block vbform" method="post" action="{vb:raw formfile}" name="postvarform">
<h2> {vb:rawphrase redirecting}</h2><br />
<div class="v_giris_yapiliyor_ms"> {vb:raw errormessage}
<div style="height: 10px;"> </div>
<div align="center">
<img src="images/misc/bekleme_yapma.gif">
</div>
<div style="height: 45px;"> </div
<vb:if condition="$postvars">
{vb:raw postvars}
<p class="blockrow" id="click_here_p">{vb:rawphrase click_the_following_button}</p>
</vb:if>
</div>
<div class="blockfoot actionbuttons">
<div class="group">
<vb:if condition="$postvars">
<input type="submit" class="button" id="proceed_button" value="{vb:rawphrase proceed}" onclick="proceed_click()" accesskey="s" tabindex="1" />
<vb:else />
<a href="{vb:raw url}" class="textcontrol">{vb:rawphrase click_if_browser_does_not_redirect}</a>
</vb:if>
</div>
</div>
</form>
</div>
<vb:if condition="$postvars">
<!-- redirect with POST -->
<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';
myvar = "";
timeout = 18;
timerID = 0;
function proceed_click()
{
clearTimeout(timerID);
return true;
}
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();
fetch_object('proceed_button').disabled = true;
}
}
submit_form();
//-->
</script>
<!-- / redirect with POST -->
<vb:else />
<noscript>
<meta http-equiv="Refresh" content="2; URL={vb:raw url}" />
</noscript>
<script type="text/javascript">
<!--
function exec_refresh()
{
window.status = "{vb:rawphrase redirecting}" + myvar;
myvar = myvar + " .";
var timerID = setTimeout("exec_refresh();", 100);
if (timeout > 0)
{
timeout -= 1;
}
else
{
clearTimeout(timerID);
window.status = "";
window.location = "{vb:raw js_url}";
}
}
var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>
</vb:if>{vb:raw footer}
</body>
</html>
For the Default Colors
PHP Code:
/************************************************************************/
/* Yönlendirme Alanı*/
.v_giris_yapiliyor {
background: #F4F5F6 url(images/gradients/grey-up.png) bottom repeat-x;
border: 1px solid #EFEFEF;
text-align: left;
height: 250px;
width: 50&;
max-width: 60%;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #ccc 0 0 40px;
-moz-box-shadow: 0 0 40px #ccc; }
.v_giris_yapiliyor h2 {
background: {vb:stylevar header_background};
border:{vb:stylevar header_border};
color:{vb:stylevar header_color};
font-weight: bold;
font-size: 13pt;
margin: 10px 10px 10px 10px;
padding: 5px 5px 5px 5px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
box-shadow: 0 0 6px #ccc;
-webkit-box-shadow: #ccc 0 0 6px;
-moz-box-shadow: 0 0 6px #ccc;
text-shadow: 0 1px 0 rgb(199, 203, 212); }
.v_giris_yapiliyor_ms {
color:{vb:stylevar header_color};
font-size: 16px;
font-weight: bold;
text-shadow: 0 1px 0 rgb(199, 203, 212);
padding: 10px 20px 20px 20px; }
PHP Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw pagetitle}</title>
{vb:raw headinsert}
{vb:raw headinclude_bottom}
</head>
<body>
<div align="center">
<div class="v_giris_yapiliyor">
<form class="block vbform" method="post" action="{vb:raw formfile}" name="postvarform">
<h2> {vb:rawphrase redirecting}</h2><br />
<div class="v_giris_yapiliyor_ms"> {vb:raw errormessage}
<div style="height: 10px;"> </div>
<div align="center">
<img src="images/misc/bekleme_yapma.gif">
</div>
<div style="height: 45px;"> </div
<vb:if condition="$postvars">
{vb:raw postvars}
<p class="blockrow" id="click_here_p">{vb:rawphrase click_the_following_button}</p>
</vb:if>
</div>
<div class="actionbuttons">
<div class="group">
<vb:if condition="$postvars">
<input type="submit" class="button" id="proceed_button" value="{vb:rawphrase proceed}" onclick="proceed_click()" accesskey="s" tabindex="1" />
<vb:else />
<a href="{vb:raw url}" class="textcontrol">{vb:rawphrase click_if_browser_does_not_redirect}</a>
</vb:if>
</div>
</div>
</form>
</div>
<vb:if condition="$postvars">
<!-- redirect with POST -->
<script type="text/javascript">
<!--
fetch_object('click_here_p').style.display = 'none';
myvar = "";
timeout = 18;
timerID = 0;
function proceed_click()
{
clearTimeout(timerID);
return true;
}
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();
fetch_object('proceed_button').disabled = true;
}
}
submit_form();
//-->
</script>
<!-- / redirect with POST -->
<vb:else />
<noscript>
<meta http-equiv="Refresh" content="2; URL={vb:raw url}" />
</noscript>
<script type="text/javascript">
<!--
function exec_refresh()
{
window.status = "{vb:rawphrase redirecting}" + myvar;
myvar = myvar + " .";
var timerID = setTimeout("exec_refresh();", 100);
if (timeout > 0)
{
timeout -= 1;
}
else
{
clearTimeout(timerID);
window.status = "";
window.location = "{vb:raw js_url}";
}
}
var myvar = "";
var timeout = 20;
exec_refresh();
//-->
</script>
</vb:if>{vb:raw footer}
</body>
</html>
Do not forget to upload the attachment ftp