Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12382
Latest: ImportedPotato
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40240
Total Topics: 7089
Most Online Today: 27
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 22
Total: 22

Author Topic: Newbie question  (Read 10371 times)

0 Members and 1 Guest are viewing this topic.

Offline Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Newbie question
« on: May 29, 2010, 09:54:57 pm »
I am using a custom theme and would like to add the code into my theme header and footer but have no clue where to copy paste the code so my ads show up. Those are the only two places I really care about for now. Any help would be great

I get that i need to do it for them to work but where do I put them?  Everytime i go into those areas of my forum I feel like i'll screw it up.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #1 on: May 29, 2010, 09:59:17 pm »
Are you using SMF 2.0 or SMF 1.1.x

Also attached your index.template.php of the template your are using to do Header/Footer/left right ads.
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 Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #2 on: May 29, 2010, 10:15:23 pm »
I am using 1.1.11

I honestly have no idea how to get the file to attach it. I wish i had a clue I usually go thru the admin panel, then edit them that way. I know i am not much help

I can get to where it's broken into 7 sections..... and says what line of code each section starts on if that helps. I just need an idea of where to paste each one...header and footer code. I know I'm a pain in the butt. I'll definitely make notes so i know how to do it again. ::)


By the way I use a template called snake if that helps
« Last Edit: May 29, 2010, 10:31:44 pm by Squash »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #3 on: May 29, 2010, 10:42:27 pm »
What I normally do is if you have ftp access is i login via ftp then download the file to your computer then you can attach it to your post.
Found in your forum's themes/themename folder
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 Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #4 on: May 29, 2010, 11:14:08 pm »
hope this helps...not sure if it's right or not

Offline Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #5 on: May 30, 2010, 09:54:55 am »
Just checking in on if the file helped or not?

I personally can't see it but if i hit edit it says it's attached

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #6 on: May 30, 2010, 09:59:42 am »
File looks good working on it now.

To see attachments and customer download forums add your license information from
http://www.smfhacks.com/index.php?action=license

It should be in the original download link email
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 SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #7 on: May 30, 2010, 10:05:54 am »
Updated file attached. Includes global header ad locations, footer locations, right/left tower ads. And the advertise menu button in the menu bar.
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 Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #8 on: May 30, 2010, 10:08:01 am »
just sent you a pmmesage about my code..... GrRrRrr  No idea why it's not working, i just bought the mod last night.

Nevermind... like a dumb dumb i had it on gallery pro...helps to put it on ad pro...thanks for everything you rock
« Last Edit: May 30, 2010, 10:12:08 am by Squash »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #9 on: May 30, 2010, 10:20:15 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 Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #10 on: May 30, 2010, 11:11:42 am »
Glad you got it working!

Well not yet actually..... i have my permissions set on my server, so it won't let me overwrite the file. I'm headed out for the day, but later will change the settings in order to allow the file to be replaced and let you know how it goes.

Offline Squash

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Newbie question
« Reply #11 on: May 31, 2010, 01:18:40 pm »
It's a no go trying to upload it to the server that way for me..... the permission settings won't change I get a fileops error or something like that.

I can go into my admin panel and edit the file that way, it may just be something I won't add to my forum for now until i am more literate in where each code gets pasted into. thanks for the help and the mod, it would have been great if i could have got it to work easily. Just another reason why learning it would benefit me in the future.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15117
    • View Profile
Re: Newbie question
« Reply #12 on: May 31, 2010, 04:48:05 pm »
FTP what type of file permissions are you trying to set it to? I would just enable read/execute i think that is 755 in linux.
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 teko1986

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Newbie question
« Reply #13 on: June 10, 2010, 01:40:47 am »
Im running into the same issue. I am using a custom template as well.


It would be nice if there was an installation code update find/replace file that we could see. I have NO idea where to put my code. I tried following where you pasted your code, but for the life of me I cannot figure it out either. I thought this was going to be easier to do than this. I am very confused and upset at the moment.

Where do you paste the code for all of the locations? HELP! lol

Is there a "before this" or a "between this" file to refer to?

-Brandon

Offline teko1986

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Newbie question
« Reply #14 on: June 10, 2010, 01:48:36 am »
I forgot to upload my index template file

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3096 Views
Last post September 03, 2008, 02:06:17 pm
by MS7XWDC
4 Replies
5122 Views
Last post May 11, 2007, 01:16:26 pm
by epa4wd
0 Replies
2649 Views
Last post July 17, 2009, 02:39:31 pm
by trichobezoar
6 Replies
3779 Views
Last post February 14, 2011, 07:38:06 pm
by wildguzzi
10 Replies
7533 Views
Last post March 08, 2020, 09:28:17 am
by SMFHacks

+- Recent Topics

Moving pictures to another user personal gallery by SMFHacks
August 08, 2020, 11:08:43 am

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

Powered by EzPortal