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

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

+- 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