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

Author Topic: Combining Board Index Top and Overall Header  (Read 1913 times)

0 Members and 1 Guest are viewing this topic.

Offline petlv

  • Member
  • *
  • Posts: 4
    • View Profile
Combining Board Index Top and Overall Header
« on: November 23, 2014, 02:44:55 pm »
Hi,
I need some help on how to make a custom ad location. I like the ad location of Board Index Top, however, it shows only on the index page. How to make it appear on every page, just like Overall Header appears?

I have one more question - if I have different types of banners for one location, is there any way to put different weights for how often each of them will show. I suppose the only way to do that is with custom code.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Combining Board Index Top and Overall Header
« Reply #1 on: November 24, 2014, 10:16:26 am »
The board index location only appears in the boardindex template.
What we can do though is move the top ad location code to after
Code: [Select]
// Show the navigation tree.
theme_linktree();
In the index.template.php


For second question you can sort of do it on ad basis if you know how many impressions you get per day on average with the "Max Impressions Per Day" feature on each ad.
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
38 Replies
41903 Views
Last post July 26, 2007, 01:48:58 pm
by v.jenner
2 Replies
5858 Views
Last post July 12, 2007, 03:58:51 am
by bullguy
4 Replies
7696 Views
Last post September 08, 2010, 03:06:44 am
by Molly
6 Replies
6492 Views
Last post February 26, 2012, 01:44:52 pm
by SMFHacks
2 Replies
3860 Views
Last post May 03, 2011, 10:52:31 am
by sirkiu

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