vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - V-net Advanced Alternative Redirect (https://vborg.vbsupport.ru/showthread.php?t=259360)

eTiKeT? 02-23-2011 10:00 PM

V-net Advanced Alternative Redirect
 
1 Attachment(s)
# Demo : Click
# Original Topic : Click
V-net Advanced Alternative Redirect

https://vborg.vbsupport.ru/external/2011/02/7.jpg

################## 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;
    
border1px solid #EFEFEF;
    
text-alignleft;
    
height250px;
    
width50&;
    
max-width60%;
    
margin-leftauto;
    
margin-rightauto;
    
margin-top100px;
    -
moz-border-radius8px;
    -
webkit-border-radius8px;
    
border-radius8px;
    -
webkit-box-shadow#ccc 0 0 40px;
    
-moz-box-shadow0 0 40px #ccc; }
 
    
.v_giris_yapiliyor h2 {
        
background#FFDFDF ;
        
border1px solid #FFBFBF;
        
color#CF0008;
        
font-weightbold;
        
font-size13pt;
        
margin10px 10px 10px 10px;
        
padding5px 5px 5px 5px;
        -
moz-border-radius8px;
        -
webkit-border-radius8px;
        
border-radius8px;
        
box-shadow0 0 6px #ccc;
        
-webkit-box-shadow#ccc 0 0 6px;
        
-moz-box-shadow0 0 6px #ccc;
        
text-shadow0 1px 0 rgb(199203212); }


.
v_giris_yapiliyor_ms {
    
color#000;
    
font-size16px;
    
font-weightbold;
    
text-shadow0 1px 0 rgb(199203212);
    
padding10px 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}
                <
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


https://vborg.vbsupport.ru/external/2011/02/8.jpg



PHP Code:

/************************************************************************/
/* Y?nlendirme Alanı*/

.v_giris_yapiliyor {
    
background#F4F5F6 url(images/gradients/grey-up.png) bottom repeat-x;
    
border1px solid #EFEFEF;
    
text-alignleft;
    
height250px;
    
width50&;
    
max-width60%;
    
margin-leftauto;
    
margin-rightauto;
    
margin-top100px;
    -
moz-border-radius8px;
    -
webkit-border-radius8px;
    
border-radius8px;
    -
webkit-box-shadow#ccc 0 0 40px;
    
-moz-box-shadow0 0 40px #ccc; }
 
    
.v_giris_yapiliyor h2 {
        
background: {vb:stylevar header_background};
        
border:{vb:stylevar header_border};
        
color:{vb:stylevar header_color};
        
font-weightbold;
        
font-size13pt;
        
margin10px 10px 10px 10px;
        
padding5px 5px 5px 5px;
        -
moz-border-radius8px;
        -
webkit-border-radius8px;
        
border-radius8px;
        
box-shadow0 0 6px #ccc;
        
-webkit-box-shadow#ccc 0 0 6px;
        
-moz-box-shadow0 0 6px #ccc;
        
text-shadow0 1px 0 rgb(199203212); }


.
v_giris_yapiliyor_ms {
    
color:{vb:stylevar header_color};
    
font-size16px;
    
font-weightbold;
    
text-shadow0 1px 0 rgb(199203212);
    
padding10px 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}
                <
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

archet1337 02-24-2011 08:45 AM

Installed and working great on my 4.1.2 board. Thanks!

Just a tip; Change the default colors to something a bit more subtle. Pink isn't everyone's cup of tea ;)

eTiKeT? 02-24-2011 08:57 AM

Quote:

Originally Posted by archet1337 (Post 2166184)
Installed and working great on my 4.1.2 board. Thanks!

Just a tip; Change the default colors to something a bit more subtle. Pink isn't everyone's cup of tea ;)

Thanks OK at the first opportunity ;)

eTiKeT? 02-24-2011 09:18 AM

Edited for the Default Colors

sematopdemir 07-25-2011 08:41 AM

nice job thanks

princesspepper 12-01-2012 06:09 PM

What does this mod do? I'm looking for one that I can use to ad adsense code to my redirect page. There is no description in this mod to indicate the function of it...


All times are GMT. The time now is 11:43 PM.

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.03206 seconds
  • Memory Usage 1,878KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete