Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
V-net Advanced Alternative Redirect Details »»
V-net Advanced Alternative Redirect
Version: 2.00, by eTiKeT? eTiKeT? is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.0 Rating:
Released: 02-23-2011 Last Update: Never Installs: 11
Template Edits
Re-useable Code Translations Is in Beta Stage  
No support by the author.

# Demo : Click
# Original Topic : Click
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;
    
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






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

Download Now

File Type: zip Alternatif Redirect.zip (33.3 KB, 52 views)

Screenshots

File Type: jpg eng.jpg (19.8 KB, 0 views)
File Type: jpg t?k?e.jpg (26.3 KB, 0 views)
File Type: jpg default.jpg (18.7 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-24-2011, 08:45 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 02-24-2011, 08:57 AM
eTiKeT?'s Avatar
eTiKeT? eTiKeT? is offline
 
Join Date: Aug 2008
Location: T?rkiye
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by archet1337 View Post
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
Reply With Quote
  #4  
Old 02-24-2011, 09:18 AM
eTiKeT?'s Avatar
eTiKeT? eTiKeT? is offline
 
Join Date: Aug 2008
Location: T?rkiye
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edited for the Default Colors
Reply With Quote
  #5  
Old 07-25-2011, 09:41 AM
sematopdemir sematopdemir is offline
 
Join Date: Oct 2009
Location: ankara
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job thanks
Reply With Quote
  #6  
Old 12-01-2012, 07:09 PM
princesspepper princesspepper is offline
 
Join Date: May 2010
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
Reply


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 03:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06891 seconds
  • Memory Usage 2,403KB
  • Queries Executed 20 (?)
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
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete