Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4214
Latest: thatsjustit
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 42793
Total Topics: 7455
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 54
Total: 54

Author Topic: Ad locations for a single board  (Read 4243 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: 16234
    • 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: 16234
    • 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: 16234
    • 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
2767 Views
Last post December 17, 2008, 11:11:47 pm
by SMFHacks
4 Replies
4179 Views
Last post February 22, 2009, 02:51:49 pm
by timandrew
1 Replies
3786 Views
Last post June 05, 2009, 10:58:43 pm
by Giovan
1 Replies
3677 Views
Last post February 21, 2011, 07:25:49 pm
by SMFHacks
3 Replies
2866 Views
Last post May 07, 2012, 02:34:14 pm
by sixty6falcon

+- Recent Topics

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

DownloadsPro - Topic Link by Anmer
March 08, 2023, 03:18:05 pm

Powered by EzPortal