Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 189
Total: 189

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal