Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11781
Latest: tumovilexperts
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40990
Total Topics: 7177
Most Online Today: 49
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 61
Total: 61

Author Topic: Apply Ad to one board but exclude others  (Read 4912 times)

0 Members and 1 Guest are viewing this topic.

Offline Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Apply Ad to one board but exclude others
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #1 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.
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 Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #2 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #3 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.
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 SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #4 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.
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 Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #5 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?

Offline Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #6 on: April 06, 2011, 06:19:40 pm »
If it helps........these error codes are in the admin.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #7 on: April 06, 2011, 06:36:12 pm »
Retry this file
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 Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #8 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #9 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.
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 Wickedgood

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Apply Ad to one board but exclude others
« Reply #10 on: April 07, 2011, 06:49:16 am »
Thanks!

Has been working perfectly since we made the changes.

Keep up the good work.

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
3817 Views
Last post February 22, 2009, 02:51:49 pm
by timandrew
0 Replies
1820 Views
Last post September 14, 2010, 08:07:50 am
by endomorph
1 Replies
3169 Views
Last post February 21, 2011, 07:25:49 pm
by SMFHacks
0 Replies
2270 Views
Last post February 08, 2014, 04:22:38 am
by Cmely
4 Replies
4392 Views
Last post February 14, 2014, 11:54:34 pm
by Diego Andrés

+- Recent Topics

Translation of the submenu. by Panoulis64
July 14, 2021, 09:31:41 am

Database error by SMFHacks
July 11, 2021, 09:17:02 pm

SMF 2.1 RC4 Released by SMFHacks
July 10, 2021, 11:05:08 am

Videos and server resources? by SMFHacks
July 09, 2021, 09:29:40 am

Where are original uploaded files stored? by robgratt
June 20, 2021, 12:41:48 pm

Errors for nonexistent members by Krash
June 14, 2021, 09:51:47 pm

Error message: cannot access upload path by SMFHacks
June 08, 2021, 10:06:22 am

How to change order of the Classifieds board by SMFHacks
May 31, 2021, 09:57:36 am

Standard version of Downloads mod value missing by SMFHacks
May 25, 2021, 11:32:48 pm

Privacy Link by SMFHacks
May 14, 2021, 11:11:51 am

Powered by EzPortal