SMFHacks.com

Ad Seller Pro => Support => Topic started by: Wickedgood on April 05, 2011, 03:56:17 pm

Title: Apply Ad to one board but exclude others
Post by: Wickedgood on April 05, 2011, 03:56:17 pm
I've been playing with the settings but can't seem to get what I want.

Have a board for a vendor that wants to show a series of his ads in that board only and exclude any other ads from other vendors.

Is this possible and if so how?

Seems to me the location settings for an ad apply to the whole forum. When I try to just pick a board for something to show in it still shows everywhere.
Title: Re: Apply Ad to one board but exclude others
Post by: SMFHacks on April 06, 2011, 12:31:33 am
Here is what I would try editing your ads.
For each ad go to edit ad Uncheck "Show in all Boards" then for each board check which boards you want them to appear itn.
Title: Re: Apply Ad to one board but exclude others
Post by: Wickedgood on April 06, 2011, 09:41:43 am
I did that?

Guess that's why I'm at a loss here. Thought it looked straight forward enough?

If I check any of the positions for the ad it shows in all forums. Not checked and it doesn't show anywhere. Unchecked all boards except the one that I want these ads to show in.

Did get one banner to show in that board index only. Can't seem to get anything else to work on that board without the whole site seeing them.

Just checked the error log and found a few errors that are ad related. I messed with settings for over an hour yesterday so I'm surprised there are only a few. Are these related to my issue?
Title: Re: Apply Ad to one board but exclude others
Post by: SMFHacks on April 06, 2011, 11:58:06 am
If possible can you create me an admin account on the board and pm it to me will check out the settings. Also let me know which ad and what board should it only appear on it.
Title: Re: Apply Ad to one board but exclude others
Post by: SMFHacks on April 06, 2011, 04:40:04 pm
Copy this file to your Sources folder

Made a change and will see if it helps. Noticed your site is using a SEO modification for urls so my guess is that causing the issue  this includes hopefully a workaround for the issue.
Title: Re: Apply Ad to one board but exclude others
Post by: Wickedgood on April 06, 2011, 06:13:28 pm
I uploaded the file.

Checked scrubmeister area and found this

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' l.boards)) AND (a.showinallboards = 1 OR FIND_IN_SET(, a.boards)))

AND ' at line 9
File: /home/uscleane/public_html/smf/Sources/adseller2.php
Line: 2158

.........So the code needs some tweaking?
Title: Re: Apply Ad to one board but exclude others
Post by: Wickedgood on April 06, 2011, 06:19:40 pm
If it helps........these error codes are in the admin.

Title: Re: Apply Ad to one board but exclude others
Post by: SMFHacks on April 06, 2011, 06:36:12 pm
Retry this file
Title: Re: Apply Ad to one board but exclude others
Post by: Wickedgood on April 06, 2011, 07:33:47 pm
I think we have a winner!  ;D

The ads seem to be contained to the one board now.

Will there be any changes to newer versions to compensate for SEO mods?

Really appreciate the help with this.
Title: Re: Apply Ad to one board but exclude others
Post by: SMFHacks on April 06, 2011, 11:45:56 pm
Posted official update
1.0.9
!Fixed a bug with handling board/topic ad section targeting if you are use a url rewriting modification.
Title: Re: Apply Ad to one board but exclude others
Post by: Wickedgood on April 07, 2011, 06:49:16 am
Thanks!

Has been working perfectly since we made the changes.

Keep up the good work.