MyBB Community Forums

Full Version: Small ads on front page in forum cats?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, i hope this question is in the right place.


My site: www.dfwfishingforum.com

question: I want to put small ads 50x50 pix next to each forum on my front page. Specifically next to each lake, arlington, benbrook, etc..

like here: http://www.thehulltruth.com/#b

Is this possible? Im not a coder, but i will research whatever it takes. I didnt see a plugin that would do this. THank you for your time. Smile
I'd love to know how to do this also
Try inputting this into the description field of the boards you want this to show:

Replace bold parts.

Quote:A normal description for this board, or you can remove it. <a href="http://www.url.com" target="_blank"> <img src="image/location.png" alt="Image-Name" align="right"> </a>
(2013-03-06, 04:38 PM)Alex - Arvixe Wrote: [ -> ]Try inputting this into the description field of the boards you want this to show:

Replace bold parts.

Quote:A normal description for this board, or you can remove it. <a href="http://www.url.com" target="_blank"> <img src="image/location.png" alt="Image-Name" align="right"> </a>


Thanks so much Alex !
That code appears to be correct but my image will not display, the linking worked. Is there a max size to the png? I resized in photoshop to 200x61. Maybe my path is wrong?

Nevermind I Got IT.. Thanks yall

Nevermind Alex, i got it! THAnks
Go to Home » Template Sets » YOUR THEME TEMPLATES » forumbit_depth2_forum

Find the very first:

<a href="{$forum_url}">{$forum['name']}</a>

Replace with:

<a href="{$forum_url}">{$forum['name']}</a><div style="float:right;">AD IMG & LINK</div>

Replace the AD IMG & LINK with your Ad's image & its link.

If you encounter any problem, feel free to reply.