Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2008, 01:34 AM
DarKNull DarKNull is offline
 
Join Date: Feb 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Right Colum not working due to upgrade to 3.7 help

OLD Footer With Ads:
PHP Code:
<br />
<
div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<
br />
<
form action="$vboptions[forumhome].php" method="get">

<
table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="$stylevar[outertablewidth]align="center">
<
tr>
    <if 
condition="$show['quickchooser']">
        <
td>
            <
select name="styleid" onchange="switch_id(this, 'style')">
                <
optgroup label="$vbphrase[quick_style_chooser]">
                    
$quickchooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
    <if 
condition="$show['languagechooser']">
        <
td>
            <
select name="langid" onchange="switch_id(this, 'lang')">
                <
optgroup label="$vbphrase[quick_language_chooser]">
                    
$languagechooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
</
tr>
</
table>
<
br />

</
form>
$spacer_close
<!-- /content area table -->

<
form action="$vboptions[forumhome].php" method="get">
    
<
table class="footer" width="100%" cellpadding="0" cellspacing="0">
<
tr><td>
&
nbsp;
</
td></tr>
</
table>
<
br />
<
div align="center" class="footerlinks">
<
a href="http://www.dtinvites.com">DT Invites</a>    |    <a href="/forums/index.php?do=toolbar" title="Install the DesiTorrents toolbar">DT Toolbar</a>    |    <a href="dtube.php">DTube</a>    |    <a href="showgroups.php">Staff</a>    |    <a href="top_lists.php">Top Lists</a>    |    <a href="mgc_req.php">Requests</a>    |    <a href="memberlist.php">Members</a>    |    <!--<a href="calendar.php">Calendar</a> | --><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">Logout</a><else /><a href="register.php">Register</a></if>
</
div>
<
div align="center">
    <
div class="smallfont" align="center">
    <!-- Do 
not remove this copyright notice -->
    
$vbphrase[powered_by_vbulletin]
    <!-- Do 
not remove this copyright notice -->
    </
div>
    
    <
div class="smallfont" align="center">
    <!-- Do 
not remove $cronimage or your scheduled tasks will cease to function -->
    
$cronimage
    
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    
    
$vboptions[copyrighttext]
    </
div>
</
div>

</
form>

<if 
condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

</if>
<
script type="text/javascript">
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();
//-->
</script>
</
td>
<if 
condition="in_array($bbuserinfo[usergroupid], array(2,3,4,8,38,44,54,56,57,58))">
<
td width="11" valign="top" style="padding:0px;"><img src="images/dt/misc/sep.gif" alt="Seperator" /></td>
<
td width="161" class="right" align="center" valign="top">
<!-- 
BeginAdBrite -->
<
script type="text/javascript">
   var 
AdBrite_Title_Color '0000FF';
   var 
AdBrite_Text_Color '000000';
   var 
AdBrite_Background_Color 'FFFFFF';
   var 
AdBrite_Border_Color 'CCCCCC';
   var 
AdBrite_URL_Color '008000';
</
script>
<
script src="http://ads.adbrite.com/mb/text_group.php?sid=625735&zs=3132305f363030" type="text/javascript"></script>
<
div><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=625735&afsid=1" style="font-weight:bold;font-family:Arial;font-size:13px;">Your Ad Here</a></div>
<!-- 
EndAdBrite -->
<
br>
</if>
</
td>
</
tr>
</
table
New vb footer:
PHP Code:
$ad_location[ad_footer_start]

<
br />
<
div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<
br />

$spacer_close
<!-- /content area table -->

<
form action="$vboptions[forumhome].php" method="get">

<
table cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="$stylevar[outertablewidth]class="page" align="center">
<
tr>
    <if 
condition="$show['quickchooser']">
        <
td class="tfoot">
            <
select name="styleid" onchange="switch_id(this, 'style')">
                <
optgroup label="$vbphrase[quick_style_chooser]">
                    
$quickchooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
    <if 
condition="$show['languagechooser']">
        <
td class="tfoot">
            <
select name="langid" onchange="switch_id(this, 'lang')">
                <
optgroup label="$vbphrase[quick_language_chooser]">
                    
$languagechooserbits
                
</optgroup>
            </
select>
        </
td>
    </if>
    <
td class="tfoot" align="$stylevar[right]width="100%">
        <
div class="smallfont">
            <
strong>
                <if 
condition="$show['contactus']"><a href="$vboptions[contactuslink]rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
                <if 
condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                <if 
condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                <if 
condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                <if 
condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                <if 
condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                <
a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
            </
strong>
        </
div>
    </
td>
</
tr>
</
table>

<
br />

<
div align="center">
    <
div class="smallfont" align="center">
    <!-- Do 
not remove this copyright notice -->
    
$vbphrase[powered_by_vbulletin]
    <!-- Do 
not remove this copyright notice -->
    </
div>

    <
div class="smallfont" align="center">
    <!-- Do 
not remove $cronimage or your scheduled tasks will cease to function -->
    
$cronimage
    
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

    
$vboptions[copyrighttext]
    </
div>
</
div>

</
form>

$ad_location[ad_footer_end]

<if 
condition="$show['dst_correction']">
<!-- 
auto DST correction code -->
<
form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
    <
input type="hidden" name="do" value="dst" />
</
form>
<
script type="text/javascript">
<!--
    var 
tzOffset $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var 
utcOffset = new Date().getTimezoneOffset() / 60;
    if (
Math.abs(tzOffset utcOffset) == 1)
    {    
// Dst offset is 1 so its changed
        
document.forms.dstform.submit();
    }
//-->
</script>
<!-- / 
auto DST correction code -->

</if>
<
script type="text/javascript">
<!--
    
// Main vBulletin Javascript Initialization
    
vBulletin_init();
//-->
</script
Old footer used to create a right colum on every page how can i integrate that same thing for 3.7 version can anyone help.

--------------- Added [DATE]1210105660[/DATE] at [TIME]1210105660[/TIME] ---------------

anyone ?
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 02:09 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.07427 seconds
  • Memory Usage 2,352KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete