Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12371
Latest: wkingyork
New This Month: 2
New This Week: 2
New Today: 1
Stats
Total Posts: 40210
Total Topics: 7081
Most Online Today: 28
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 27
Total: 27

Author Topic: Multiple banners...  (Read 3154 times)

0 Members and 1 Guest are viewing this topic.

Offline coopoli

  • Newbie
  • *
  • Posts: 11
    • View Profile
Multiple banners...
« on: December 17, 2010, 02:15:03 pm »
Hi
Is it possible to have multiple banners in the same location? Instead of the rotation function...

//Miguel

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Multiple banners...
« Reply #1 on: December 17, 2010, 03:05:24 pm »
You mean like side by side? If so you have to use the custom code option and create a table and have a banner next to each other.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coopoli

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Multiple banners...
« Reply #2 on: December 17, 2010, 03:28:46 pm »
Yes exactly.

I know another SMF forum that have multiple ads side by side with different "buyers". Each banner is linked to a external website.

Is it possible to add it like this from the custom code?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Multiple banners...
« Reply #3 on: December 17, 2010, 03:39:01 pm »
You can do something like this in custom code
Code: [Select]
<table>
<tr>
<td>
<a href="http://www.websiteone.com"><img src="http://www.site.com/banner1.jpg" alt=""></a>
</td>
<td>
<a href="http://www.websitetwo.com"><img src="http://www.site.com/banner2.jpg" alt=""></a>
</td>
</tr>
</table>

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coopoli

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Multiple banners...
« Reply #4 on: December 17, 2010, 04:49:00 pm »
Aha, thats nice.

But, is it possible to let the customers buy side by side ads through the "By ad" or do we have to make them our selfes?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Multiple banners...
« Reply #5 on: December 17, 2010, 04:55:58 pm »
You would either have to make it yourself.
Or create a new ad location and place it side by side.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline coopoli

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Multiple banners...
« Reply #6 on: December 17, 2010, 06:09:33 pm »
I made a new location named Overall header 2

Code: [Select]
// Begin Ad Seller Pro Location - Overall Header 2

global $sourcedir;
include_once $sourcedir . "/adseller.php";

$adSellerAdData =  ShowAdLocation(1000);

// Check if any ads where found
if ($adSellerAdData != false)
{
// Dispaly the advertising code
echo $adSellerAdData;
}

// End Ad Seller Pro Location - Overall Header 2

Is that correct?

Its not showing 2 ads side by side...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Multiple banners...
« Reply #7 on: December 17, 2010, 11:05:48 pm »
That code is good you need to place it next to the order location inside a table like i did for banners.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
3962 Views
Last post April 01, 2010, 09:44:52 am
by davekaye
12 Replies
8412 Views
Last post May 23, 2010, 09:57:54 am
by billy2
2 Replies
1805 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
0 Replies
2138 Views
Last post March 13, 2016, 10:11:34 pm
by SMFHacks
2 Replies
185 Views
Last post December 27, 2019, 04:08:39 pm
by MW

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal