Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
June 19, 2013, 03:52:16 am

Login with username, password and session length
Members
Total Members: 10807
Latest: GoldDigger1950
Stats
Total Posts: 32559
Total Topics: 5507
Online Today: 57
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 43
Total: 45
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Same location on different boards?  (Read 1480 times)
David8
Inline PM Customer
*****
Offline Offline

Posts: 18



View Profile
« on: October 17, 2010, 11:16:30 pm »

I want to be able to place one banner ad at location "Top Message Index" on a particular board and then a different ad at the same location on a different board.  Said differently, I want to define multiple locations all at the "Top Message Index" location but each on a different board.

How do I do this?  I have tried "Add Location" but I am not getting my ad at the top of the message index on the board I select.

SMF 2.0 RC and Ad Seller Pro Ver 1.0.5.1 and the default theme.
« Last Edit: October 17, 2010, 11:38:21 pm by David8 » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #1 on: October 18, 2010, 07:23:49 pm »

Currently you would have to define a new ad location then add each ad location to the template file.

If you need I can an option when add an add to define which boards to show the ad on I can add that later tomorrow if needed.
Logged
David8
Inline PM Customer
*****
Offline Offline

Posts: 18



View Profile
« Reply #2 on: October 18, 2010, 08:26:37 pm »

I have assumed that I would need to add a custom location for each individual board that I wanted to use.  What I could not figure out was how to make the custom location appear on (be on) one board only.  If you added that option it would be perfect.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #3 on: October 18, 2010, 09:01:56 pm »

It would be a little tricky if used custom locations. You would need to add a custom location for each board. Such as called it Message Index Top Board 1 then make another called Message Index Board 2 etc. Then for each location set the visibility settings to be only the board needed.

Once the custom location is added click on the get location code which will be the php code to add. You would then copy that code below the original message index template code for ad seller pro.

But think it will be a little easier if we just include on the add ad page.
Logged
David8
Inline PM Customer
*****
Offline Offline

Posts: 18



View Profile
« Reply #4 on: October 18, 2010, 10:09:10 pm »

Let me know when its ready.  I will follow your lead on the easiest way to proceed.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #5 on: October 19, 2010, 08:14:12 pm »

1.0.6
+Added board setting for ad's to allow you to display an ad on only one ad location.
Useful for message index ad location, and the display ad locations and can be used for others as well.

Updated download link: http://www.smfhacks.com/index.php/topic,4271.0.html
Logged
David8
Inline PM Customer
*****
Offline Offline

Posts: 18



View Profile
« Reply #6 on: October 19, 2010, 11:33:53 pm »

Ok thanks. Now, I want one ad to be "Top Message Index" on one of my boards and a different ad at the same location on a different board.  Give me the short version of the instructions on how to do it.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11051


View Profile
« Reply #7 on: October 20, 2010, 12:13:37 am »

Steps first make sure your location (Top Message Index) is set to visible on all boards.

Next when you add an ad there is now a board checkbox list make sure that checkall boards is unchecked then just select the board that you want the ad to display on and you should be set.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 03:45:00 am]

[June 18, 2013, 07:27:33 am]

[June 18, 2013, 06:10:04 am]

[June 17, 2013, 12:27:50 pm]

[June 16, 2013, 08:17:21 pm]

[June 16, 2013, 07:29:04 am]

[June 15, 2013, 08:34:38 pm]

[June 14, 2013, 10:28:18 pm]

[June 13, 2013, 11:00:52 pm]

[June 12, 2013, 03:37:47 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.532 seconds with 20 queries.