vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   log out, code help (https://vborg.vbsupport.ru/showthread.php?t=144295)

bigmonay2k 04-08-2007 01:05 AM

log out, code help
 
is there away to add log out link at the bottom http://img90.imageshack.us/img90/2203/annnkkkklm2.jpg

alawee.blawee 04-08-2007 10:15 AM

Dude I recived your pm...

what do you want me to help you in exactly?

can you provide the footer code so that i can modify it to the way suits you?

wengi 04-08-2007 10:52 AM

Dude recived your pm as well ... can you show us your footer template so we can help ya out

Regards
Wengi

bigmonay2k 04-08-2007 01:09 PM

thanks in advance guys:)

Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <br />
        <!-- 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]
        <br />
        <div align="center"><strong><font size="2" face="Tahoma"><if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a></if>
        &nbsp;&nbsp;<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> &nbsp;&nbsp;<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> </if>&nbsp;&nbsp;
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> </if>&nbsp;&nbsp;
        <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a></if>&nbsp;&nbsp; </font></strong>
<p>

        <br />
        <if condition="$show['quickchooser']">
                <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </if>
        <if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                    </if>
                  </div>
</div></div>
<br />

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

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

<table style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
<!-- footer level 2 -->       
<tr>
<td align="left"><a href="http://www.vbskinworks.com"><img src="$stylevar[imgdir_misc]/footer_level1bg.gif" alt="vBSkinworks" width="102" height="39" border="0"/></a></td>
<td style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" align="$stylevar[right]"></td>
<td align="right"><a href="javascript:scroll(0,0);"><img src="$stylevar[imgdir_misc]/top.gif" alt="Top" width="" height="" border="0"/></a></td>
</tr>
<!-- / footer level 2 end -->
</table>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <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();

        // Initialize 'Active' Table Cells
        //activecells_init();
//-->
</script>


alawee.blawee 04-08-2007 02:48 PM

Quote:

Originally Posted by bigmonay2k (Post 1222638)
thanks in advance guys:)

Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <br />
        <!-- 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]
        <br />
        <div align="center"><strong><font size="2" face="Tahoma"><if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a></if>
        &nbsp;&nbsp;<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> &nbsp;&nbsp;<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> </if>&nbsp;&nbsp;
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> </if>&nbsp;&nbsp;
        <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a></if>&nbsp;&nbsp; </font></strong>
<p>

        <br />
        <if condition="$show['quickchooser']">
                <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </if>
        <if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                    </if>
                  </div>
</div></div>
<br />

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

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

<table style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
<!-- footer level 2 -->       
<tr>
<td align="left"><a href="http://www.vbskinworks.com"><img src="$stylevar[imgdir_misc]/footer_level1bg.gif" alt="vBSkinworks" width="102" height="39" border="0"/></a></td>
<td style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" align="$stylevar[right]"></td>
<td align="right"><a href="javascript:scroll(0,0);"><img src="$stylevar[imgdir_misc]/top.gif" alt="Top" width="" height="" border="0"/></a></td>
</tr>
<!-- / footer level 2 end -->
</table>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <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();

        // Initialize 'Active' Table Cells
        //activecells_init();
//-->
</script>



this code is not the same as the picture in the 1st post

if you want me to put a log out button in it aye aye its possible

waiting for an answer

bigmonay2k 04-08-2007 04:02 PM

please check your pm mate

alawee.blawee 04-08-2007 07:25 PM

Quote:

Originally Posted by bigmonay2k (Post 1222726)
please check your pm mate



check this friend

if this what you want? ignore the font style and its color i can modify them all

Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <br />
        <!-- 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]
        <br />
        <div align="center"><strong><font size="2" face="Tahoma"><if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a></if>
        &nbsp;&nbsp;<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> &nbsp;&nbsp;<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> </if>&nbsp;&nbsp;
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> </if>&nbsp;&nbsp;
        <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a></if> </font>
            <if condition="!$show['guest']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">
                        $vbphrase[log_out_x]</phrase></a><!-- end member logout --></if> </strong>
<p>

        <br />
        <if condition="$show['quickchooser']">
                <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </if>
        <if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                    </if>
                  </div>
</div></div>
<br />

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

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

<table style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" border="0" width="$stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
<!-- footer level 2 -->       
<tr>
<td align="left"><a href="http://www.vbskinworks.com"><img src="$stylevar[imgdir_misc]/footer_level1bg.gif" alt="vBSkinworks" width="102" height="39" border="0"/></a></td>
<td style="background: url($stylevar[imgdir_misc]/footer_navbg.gif);" align="$stylevar[right]"></td>
<td align="right"><a href="javascript:scroll(0,0);"><img src="$stylevar[imgdir_misc]/top.gif" alt="Top" width="" height="" border="0"/></a></td>
</tr>
<!-- / footer level 2 end -->
</table>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <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();

        // Initialize 'Active' Table Cells
        //activecells_init();
//-->
</script>


bigmonay2k 04-08-2007 07:50 PM

thank you very much mate, you are the best

alawee.blawee 04-08-2007 08:07 PM

did it work as you want?

bigmonay2k 04-10-2007 12:44 AM

^ yes


All times are GMT. The time now is 08:30 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.01251 seconds
  • Memory Usage 1,798KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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