Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4200
Latest: [chrisB]
New This Month: 4
New This Week: 1
New Today: 1
Stats
Total Posts: 42602
Total Topics: 7433
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 3
Guests: 55
Total: 58

Author Topic: Ad locations for a single board  (Read 4128 times)

0 Members and 1 Guest are viewing this topic.

Offline access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Ad locations for a single board
« on: January 22, 2015, 04:05:56 pm »
What is the ad location for a header for a single board. I have tried doing an overall header and making it only available in specific board but this doesn't work. This makes it worse, I have to open a topic to see the overall header. Which makes since cause it is an overall header.

Ex: I want an ad on this header:

http://www.accesscontrolforum.com/forum/further-education/

to be different than this one:

http://www.accesscontrolforum.com/forum/cctv/


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: Ad locations for a single board
« Reply #1 on: January 22, 2015, 04:16:59 pm »
That would be it for a single board. It would only be visible when viewing that board directly anything that has board= in the url

You could have multiple ads. One for all overall header that works everywhere and then one targeted just to that board. Just repeat the setup for each board adding a specific ad to that board.
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 access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad locations for a single board
« Reply #2 on: January 22, 2015, 04:46:49 pm »
I am using pretty url so I am not sure about board= in the url

The two links below rotate between the same overall header ads although one ad is set to show only in cctv and the other is set not to show in cctv. I have to click a topic posted in the board "cctv" to view an ad specifically for cctv.

EX:

http://www.accesscontrolforum.com/forum/cctv/rotakin-its-seems-more-pratical-than-typical-test-card/


Is that right? I thought this http://www.accesscontrolforum.com/forum/cctv was considered the board.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: Ad locations for a single board
« Reply #3 on: January 22, 2015, 08:21:36 pm »
It should appear directly in the board and the topic itself
http://www.accesscontrolforum.com/forum/cctv
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 access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad locations for a single board
« Reply #4 on: January 23, 2015, 01:28:17 pm »
You are right it is. I don't know why it wasn't before. But the board specific ad still show above the board index. How do I prevent that?

Here is how i have it set up.

www.youtube.com/embed/YxIZt0i1nqM
« Last Edit: January 23, 2015, 02:10:50 pm by access control forum »

Offline access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad locations for a single board
« Reply #5 on: February 07, 2015, 08:08:51 pm »
Still showing single board ad on main index see link above. Any ideas?

Offline access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad locations for a single board
« Reply #6 on: February 19, 2015, 04:48:27 pm »
If you could address this i would really appreciate it. I can't sell any ads for the main board index until this is resolved.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16156
    • View Profile
Re: Ad locations for a single board
« Reply #7 on: February 20, 2015, 12:23:04 am »
The overall header ad will not work for that purpose. There is no board id set when viewing on the main board index. It is only set inside when there is board= or topic=  in the url.

The closest you can do is make a new ad location. Add the  the new ad location code below the overall ad location  and do a condiital only to show the following
Code: [Select]
if (isset($_REQUEST['board']) || isset($_REQUEST['topic']))
{
 // execute ad location code here
}
else
{
  // show overall header ad location
}
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/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2734 Views
Last post December 17, 2008, 11:11:47 pm
by SMFHacks
4 Replies
4157 Views
Last post February 22, 2009, 02:51:49 pm
by timandrew
1 Replies
3758 Views
Last post June 05, 2009, 10:58:43 pm
by Giovan
1 Replies
3656 Views
Last post February 21, 2011, 07:25:49 pm
by SMFHacks
3 Replies
2776 Views
Last post May 07, 2012, 02:34:14 pm
by sixty6falcon

+- Recent Topics

Errors with SMF2WPBridge by SMFHacks
Today at 12:21:25 pm

Undefined index: id by Shades
Today at 12:15:20 pm

Permissions query by davejo
Today at 01:31:46 am

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
Today at 01:02:34 am

Additional Recommendations for SMF Store by Michael Vail
November 26, 2022, 12:49:58 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
November 26, 2022, 12:07:42 pm

Modification: Subcategories total in main gallery view by VisiGod
November 26, 2022, 11:27:34 am

Change log for Downloads Pro 6.13 and 6.14 by Nicole
November 20, 2022, 08:24:34 am

Release date? by SMFHacks
November 20, 2022, 08:09:10 am

Can't install due to missing file? by SMFHacks
November 18, 2022, 06:55:45 pm

Powered by EzPortal