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: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 126
Total: 126

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

+- Recent Topics

Please Help! by SMFHacks
Today at 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