MyBB Community Forums

Full Version: Links on the Bottom
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I put little (like 70x30) images for my partners in the bottom of my board?, you know those u put when u wanna link to a friend webpage or something like.....

cai u do that ??
I do that on my board. Just put it in your footer near the bottom below the copyright info but before the last two </div>. For instance:

<table align=center><tr><td>
<a href="http://www.yoursite.com" target=_new><img src="http://www.yoursite/images/image.jpg" border="0"></a></td><td>
<a href="http://www.yoursite.com/top/" target=_new>
<p align="center"><img src="http://www.yoursite.com/images/button.php?u=judel" 
alt="My Topsites List" border="0" /></a></td></tr></table>

Just change all the yoursite.com url's to where you have the images and where you want the person to go when they click on them. I'm sure others might have better code, but that'll get it done. Big Grin
nipicoidea Wrote:How can I put little (like 70x30) images for my partners in the bottom of my board?, you know those u put when u wanna link to a friend webpage or something like.....

cai u do that ??

It depends on where exactly you want to put them at the bottom and whether you want them on the index page only or in all pages (and how many). Let's suppose you want to place 3 images above "Powered By MyBB" in all pages:

- Expand your default templates
- footer template
- find:
{$lang->powered_by}

Above it, add:
<img border="0" src="http://image_link" width="30" height="70"><img border="0" src="http://image_link" width="30" height="70"><img border="0" src="http://image_link" width="30" height="70"><p>

Change the image_link in the above code to your actual links.


Regards


Edit: Sorry Judel, we were posting at the same time.Big Grin
Just so you know, Maatty's code will not have your link centered, nor does it allow more than one on each line. It just depends on where you want it placed and how many you will use. I didn't use a table until I wanted a link within a form, and using the table code was the only way I could do it and have them all aligned next to each other...but yes, there are many ways to do this!

edit: no problem, Maatty! Toungue