UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » How do I modify the Copyright box?

How do I modify the Copyright box?

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Hi,

I modified the copyright section as seen on another post in order to remove the forum name:

'usebb_copyright' => 'Powered by <a href="http://www.usebb.net">UseBB</a> '.USEBB_VERSION,


Now, is there a way to insert "Mates Junction Free Community Services" on the far left side of that box having Mates Junction as a link to my main site?

Thanks,
Gene
Member
Registered: Apr 2007
Posts: 12
Location: Amsterdam, Netherlands
See the "bottom" paragraph in the templates file "global.tpl.php":

	<p id="bottom">
{usebb_copyright}
</p>

and in "styles.css" the corresponding styles:

#bottom {
clear: both;
float: left;
width: 705px;
padding: 3px 9px 3px 9px;
background-image: url(gfx/topmenu_bg.png);
background-repeat: repeat-x;
background-color: #E8E8E8;
border: 1px solid #666;
font-style: normal;
text-align: right;
color: #333;
}
#bottom a:link, #bottom a:hover, #bottom a:active, #bottom a:visited {
text-decoration: none;
}

Adding text left-aligned is not easily possible while keeping the copyright statement right-aligned.

You can simply add Mates Junction Free Community Services before the copyright statement (and change "Powered" to "powered"):

	<p id="bottom">
<a href="url here">Mates Junction</a> Free Community Services
{usebb_copyright}
</p>


An alternative solution could be to make a second box and add your link there:

	<p id="bottom">
<a href="url here">Mates Junction</a> Free Community Services
</p>
<div id="bottom-shadow"></div>

<p id="bottom">
{usebb_copyright}
</p>
<div id="bottom-shadow"></div>

Or you could add an extra line in the box:

	<p id="bottom">
<a href="url here">Mates Junction</a> Free Community Services
<br />
{usebb_copyright}
</p>
<div id="bottom-shadow"></div>


BTW: Why not try and study the code yourself, everyone with only a little more than average knowledge of xhtml and css should be able to figure out these things.
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Thanks,

I did a combo of what you suggested, I added an extra line in the box and modified the CSS for the text to be centered, looks great.
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Quote
BTW: Why not try and study the code yourself, everyone with only a little more than average knowledge of xhtml and css should be able to figure out these things.


Just switched from phpBB ver. 2.0.22 where you concentrate more on PHP and TPL code so I'm learning CSS as I go along. If you wish, have a look at my phpBB driven Free Canadian Dating Site where we used phpBB as the "engine" and hard-coded most features (custom profile fields, user's profiles, custom quick member search function, latest registered members with mini profiles, image crop function (on the registration page), etc.).

Cheers,
Gene

Page: 1

UseBB Community » Resources & Customization » How do I modify the Copyright box?

UseBB Community is powered by UseBB 1 Forum Software