Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11845
Latest: SamoanOnion
New This Month: 6
New This Week: 0
New Today: 0
Stats
Total Posts: 42473
Total Topics: 7406
Most Online Today: 42
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 26
Total: 26

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

0 Members and 1 Guest are viewing this topic.

Offline Wickedgood

  • Member
  • *
  • 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: 16109
    • 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

  • Member
  • *
  • 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: 16109
    • 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: 16109
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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: 16109
    • 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

  • Member
  • *
  • 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: 16109
    • 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

  • Member
  • *
  • 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
4130 Views
Last post February 22, 2009, 02:51:49 pm
by timandrew
0 Replies
1920 Views
Last post September 14, 2010, 08:07:50 am
by endomorph
1 Replies
3641 Views
Last post February 21, 2011, 07:25:49 pm
by SMFHacks
0 Replies
2616 Views
Last post February 08, 2014, 04:22:38 am
by Cmely
4 Replies
4666 Views
Last post February 14, 2014, 11:54:34 pm
by Diego Andrés

+- Recent Topics

"Custom title" badge by Hatshepsut
September 27, 2022, 10:11:27 pm

Category Selection by Anmer
September 18, 2022, 02:40:06 am

Setting a single free download. by Zaphod
September 12, 2022, 10:18:45 pm

Error message "Data too long for column 'ipaddress' at row 1" by SMFHacks
September 12, 2022, 08:49:02 am

SMF to SMF bridge via WP by SMFHacks
September 11, 2022, 09:44:30 am

Video player included by SMFHacks
September 06, 2022, 10:26:27 pm

Upload hangs / doesn't complete by SMFHacks
August 28, 2022, 08:36:21 am

[Feature Request] Admin Sales Alert by Shades
August 25, 2022, 06:41:00 pm

Portal Block by SMFHacks
August 23, 2022, 12:42:22 pm

Question about undoing a rating by SMFHacks
August 22, 2022, 04:31:50 pm

Powered by EzPortal