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: 175
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 111
Total: 112

Author Topic: Newbie question  (Read 13583 times)

0 Members and 1 Guest are viewing this topic.

Offline Squash

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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: 16452
    • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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
3729 Views
Last post September 03, 2008, 02:06:17 pm
by MS7XWDC
2 Replies
5045 Views
Last post May 02, 2007, 09:02:33 am
by kroxx
0 Replies
3770 Views
Last post July 17, 2009, 02:39:31 pm
by trichobezoar
6 Replies
5144 Views
Last post February 14, 2011, 07:38:06 pm
by wildguzzi
10 Replies
11833 Views
Last post March 08, 2020, 09:28:17 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 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