Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 175
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 173
Total: 173

Author Topic: Apply Ad to one board but exclude others  (Read 6540 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: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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: 16452
    • 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
5310 Views
Last post February 22, 2009, 02:51:49 pm
by timandrew
0 Replies
2621 Views
Last post September 14, 2010, 08:07:50 am
by endomorph
1 Replies
5016 Views
Last post February 21, 2011, 07:25:49 pm
by SMFHacks
0 Replies
3472 Views
Last post February 08, 2014, 04:22:38 am
by Cmely
4 Replies
5484 Views
Last post February 14, 2014, 11:54:34 pm
by Diego Andrés

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal