WallBB Forums
Clickable Link code for My Advertisements Ads - Printable Version

+- WallBB Forums (https://wallbb.co.uk/forums)
+-- Forum: Theme Section (https://wallbb.co.uk/forums/forumdisplay.php?fid=5)
+--- Forum: Theme Support (https://wallbb.co.uk/forums/forumdisplay.php?fid=10)
+--- Thread: Clickable Link code for My Advertisements Ads (/showthread.php?tid=355)



Clickable Link code for My Advertisements Ads - chris@IBOUSA.org - 08-28-2020

From a prior thread I have successfully set up My Advertisements to display correctly.  Above where I am typing now, there is an ad that if clicked, will go to the website coded.  I am contacting the developer of the My Advertisements as well, but thought I would try here as you have it working nicely.

I have entered code into the My Advertisement | Advertisement Code field in the Tools tab under My Advertisements.  This sample url works just fine.

<a href="https://www.sample.org/"><img src="https://www.sample.org/forum/images/ads/this-works-ad.png/>

However, when I go to add an related post, and clicking on the Thread Subject: entry box, the URL above will launch unexpectedly.  Similarly there are a few other places that grabs that URL when touched. 

I have either used the wrong a href or not configured it correctly, or there there may be a bug, but as yours is working well, my code is probably wrong.

Please advise.


RE: Clickable Link code for My Advertisements Ads - WallBB - 08-30-2020

If your ad code is the above one, then it is missing the closing tag of links.

Code:
<a href="https://www.sample.org/"><img src="https://www.sample.org/forum/images/ads/this-works-ad.png/></a>

In regards to Advertisement or WallBB theme, there isnt any bug Smile


RE: Clickable Link code for My Advertisements Ads - chris@IBOUSA.org - 08-31-2020

(08-30-2020, 01:24 AM)WallBB Wrote: If your ad code is the above one, then it is missing the closing tag of links.

Code:
<a href="https://www.sample.org/"><img src="https://www.sample.org/forum/images/ads/this-works-ad.png/></a>

In regards to Advertisement or WallBB theme, there isnt any bug Smile

That worked and so glad no bug, just coder errror!    Wink  Thanks!!!