Log in

View Full Version : log out, code help


bigmonay2k
04-08-2007, 01:05 AM
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:)


<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
thanks in advance guys:)


<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
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

<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