Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 83
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 73
Total: 73

Author Topic: Ad Location Help  (Read 7964 times)

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Ad Location Help
« on: April 11, 2012, 08:00:10 am »
Hi,

How do I create a new ad location on the left side under the user login but above the menu buttons as show by the red arrow in the attachment?

Thanks,

Edited to add:

I should have asked were do I put the code that I get when creating a new ad location?
I already know how to create a new location so I get the code. Just not sure where to put the code now.

thanks again,
« Last Edit: April 11, 2012, 08:11:35 am by ApplianceJunk »

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Re: Ad Location Help
« Reply #1 on: April 11, 2012, 08:28:15 am »
Got it. :)

As I was looking were to place the code in the template I seen you already had a location for 'Welcome Area/User Information Box'.

Keep up the good work!

thanks,

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #2 on: April 11, 2012, 10:23:50 am »
Glad you got it working!
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 dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Ad Location Help
« Reply #3 on: April 29, 2012, 02:53:14 pm »
I took the plunge and decided to monetize my forum. I use a custom theme and I'm having a difficult time trying to figure out exactly where to place the php code for ad locations. for example, I've been searching for the location to place the code for the "after first post" ad, got the code just don't know where to put it. Do you have a cheat sheet to tell us custom theme guys where to place the code for each of your ad locations?

I started with your free download as you'll see if you visit my forum. So far the only Ad Pro location I've been able to figure out is the footer. Please advise...Thanks!

here's my forum address http://www.fattokinny.net   

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #4 on: April 29, 2012, 03:11:46 pm »
Forum url is not working for me is that correct address?

What SMF version?

For custom themes what I recommend to do is upload the package to the package parser
http://www.smfhacks.com/smf-package-parser.html
And then do just the theme edits to your custom theme.
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 dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #5 on: April 29, 2012, 03:24:31 pm »
sorry, http://www.fattoskinny.net     

1.1.16

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #6 on: April 29, 2012, 03:28:50 pm »
With SMF 1.1.x requires some manual edits to your custom theme.

Proceed with Step 2
For custom themes what I recommend to do is upload the package to the package parser
http://www.smfhacks.com/smf-package-parser.html
And then do just the theme edits to your custom theme.
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 dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #7 on: April 29, 2012, 03:39:33 pm »
You're talking french to me, not a programmer, making my way through. When I do the edits to the theme how do I find the locations for the code?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #8 on: April 29, 2012, 03:42:10 pm »
The package parser link above tells what files needs to be edited and where.
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 dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #9 on: April 29, 2012, 03:50:43 pm »
It's asking me to check either "show all edits or Show theme edits" Which one?

Do I need to uninstall the package from the forum prior to doing this?

Offline dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #10 on: April 29, 2012, 03:56:33 pm »
All right I see that a manual install is the answer to resolving automation, should I uninstall the package from the forum prior o manually installing it to my theme index

Offline dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #11 on: April 29, 2012, 04:23:37 pm »
  I was moving right along until I reached the changes required in my Display.template.php. I have no Display.template.php file in my themes directory. Please advise

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #12 on: April 29, 2012, 07:08:12 pm »
If the file doesn't exist you don't have to do anything since it would use the default theme in that case.
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 dougvarrieur

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 8
    • View Profile
Re: Ad Location Help
« Reply #13 on: April 30, 2012, 09:48:49 pm »
Everything is working fine after the Parse instructions except the click count on ads.

 I have the log every click box checked in the settings menu but all the ads show clicks "NA" on the manage ads board

Am I missing a setting?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16611
    • View Profile
Re: Ad Location Help
« Reply #14 on: April 30, 2012, 10:09:48 pm »
What type of ad are you using? Is custom code if so it can't count clicks.
We can count clicks for built in text links or the built banner system.
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
4 Replies
5143 Views
Last post June 18, 2010, 08:50:58 am
by jos
7 Replies
7346 Views
Last post October 20, 2010, 12:13:37 am
by SMFHacks
2 Replies
3766 Views
Last post October 19, 2010, 07:27:03 pm
by tj.baker
2 Replies
3517 Views
Last post September 02, 2011, 08:38:35 am
by SMFHacks
6 Replies
4490 Views
Last post April 29, 2012, 10:53:31 pm
by ApplianceJunk

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
January 22, 2025, 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal