PDA

View Full Version : Sidebar ads


GMislandguy
02-27-2010, 07:42 PM
I was wondering how you would code it so that in one of my forum block so that I could display a png image hosted on my server but have it direct to another URL when people click on the sidebar block on the main forum page.


I.E.

A sidebar with a image from my server at :: http://www.mywebsite/ads/2011_dodge_ram.png but have it point to URL:: http://www.westcoastdodge/sales/Mark_Green.


Can someone please tell how I would code that please??

Is there somewhere I can find out how to do this??

Thanks for any reply.

--------------- Added 1267331061 at 1267331061 ---------------

I figured this out.

Here is how to do it, for any other newbie that might have to learn how.

First go to Admin cp> Forums & Moderators> Forum Blocks Manager.

Create new HTML forum block.

Title: Name it whatever you want.

Description: tell everybody what it does.

Content Type: HTML

Content:<a href="The URL of where you want to link to" target="new"><img src="The URL to image to want to display in the sidebar block" alt="Put alternate text message you want to show if the image URL ever fails for some reason" title="Put you hover over message here that explain a bit about the link"></a>

Template to Use: block_html

Click save and set display order.

Your done. Go test out your new sidebar link ad.

I hope this helps someone. :up:

GlassGossip
12-30-2010, 01:10 PM
yes it works, but only on forumhome and not on teh thread views :(