PDA

View Full Version : How do I: move the copyright text...


Ev!L ErN!E
07-08-2007, 07:26 AM
I want to move the copyright text from the center, to the left, like its done here on
https://vborg.vbsupport.ru/index.php

How do I do this?

I also want to add a footer image that will go behind the text, how do I do that?

Marco van Herwaarden
07-08-2007, 07:50 AM
Edit the footer template.

Ev!L ErN!E
07-08-2007, 07:57 AM
ya i know that, but I'm not sure what needs to be edited (noob here) could you please explain what needs to be added to do these options?

Here is a copy of my footer

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
<div align="left">
<div class="smallfont" align="left">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</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">$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 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="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><br>

Ev!L ErN!E
07-10-2007, 08:43 AM
anybody? halp!!!

Dismounted
07-10-2007, 09:13 AM
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
<div align="left">
<div class="smallfont" align="left">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</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">$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 class="smallfont" align="left">
<!-- 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="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><br>

G0F0RBR0KE
07-10-2007, 10:47 PM
What he posted should move it from Center to left.

Ev!L ErN!E
07-20-2007, 08:39 PM
Ok maybe this will help better explain what I want to do:

http://img477.imageshack.us/img477/1361/image1ji0.jpg

I want to have the CopyRight text under the table that has the contact us, archive, top links in it and have that aligned to the left so that it aligns with the width of the forum, just like vbulletin.org forums have it. I then want to include links on the right side just like in the picture.

Basiclly I want to do exactly the same style of footer that is on these forums, the same layout.

Can you please help me!
Thank you..

Ev!L ErN!E
07-22-2007, 09:37 PM
anybody?

dartho
07-23-2007, 12:31 AM
replace this:

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


with this


<!-- This is the first line, right hand side of your footer -->
<div style="float: right;">
<a href="http://Google.com/">Google</a> | <a href="http://www.yahoo.com/">Yahoo</a> | <a href="http://www.vbulletin.org/">vB.org</a>
</div>

<!-- This is the first line, left hand side of your footer -->
<div align="left">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>


<!-- SECOND LINE - (third actually, as the VB copyright phrase goes over 2 lines)-->
<div style="float: right;">2nd Line, Right</div>
<div align="left">2nd Line, Left</div>

<!-- THIRD LINE -->
<div style="float: right;">3rd Line, Right</div>
<div align="left">3rd Line, Left</div>


and replace the text links etc as you want ....

Ev!L ErN!E
07-23-2007, 07:26 AM
replace this:

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


with this


<!-- This is the first line, right hand side of your footer -->
<div style="float: right;">
<a href="http://Google.com/">Google</a> | <a href="http://www.yahoo.com/">Yahoo</a> | <a href="http://www.vbulletin.org/">vB.org</a>
</div>

<!-- This is the first line, left hand side of your footer -->
<div align="left">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>


<!-- SECOND LINE - (third actually, as the VB copyright phrase goes over 2 lines)-->
<div style="float: right;">2nd Line, Right</div>
<div align="left">2nd Line, Left</div>

<!-- THIRD LINE -->
<div style="float: right;">3rd Line, Right</div>
<div align="left">3rd Line, Left</div>


and replace the text links etc as you want ....
AWSOME!!! than kyou soooooooooo much!!
thats exactly what I wanted, the only problem is it seems to stretch really far... see picture below:



How can I make it fit to the fixed width of my forum? which is set at 980 pixels.

dartho
07-23-2007, 08:26 AM
maybe put a <div style="width:$stylevar[outertablewidth];"> at the start of the block, and a </div> at the end?

Ev!L ErN!E
07-23-2007, 07:51 PM
maybe put a <div style="width:$stylevar[outertablewidth];"> at the start of the block, and a </div> at the end?

you were close, I put this at the front of the block and it aligned to the correct width.

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> and </table> at the end

one last question...
how do I make the bar with the quick style chooser and contact us, archive, top links so its all the way at the bottom, so when you scrool down the last thing there is that bar.