News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Google AdSense in SMF, various positions...

Started by Moonray, September 25, 2005, 11:46:56 PM

Previous topic - Next topic

ɔɔɔɔɔɔuɥoɾ

Now, I need you to attach your index.template.php file, from your custom theme, you will have to log into your hosts cpanel or FTP client and upload the file here.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 01:20:10 PM
Now, I need you to attach your index.template.php file, from your custom theme, you will have to log into your hosts cpanel or FTP client and upload the file here.

http://www.mediafire.com/?fl359dyd3i053pc


ɔɔɔɔɔɔuɥoɾ

You can attach the templates here, instead of using Quick Reply, click reply on the right side then click  "+additional options" , then attach files their.
Are you sure that file is the one from your theme, because their are no errors in that file.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 01:34:29 PM
You can attach the templates here, instead of using Quick Reply, click reply on the right side then click  "+additional options" , then attach files their.
Are you sure that file is the one from your theme, because their are no errors in that file.

My theme was wiped out completely none of my stuff is there anymore when I access my forums.

For example...



Numerous buttons are now missing form my Navigation. Such as Donate, Promote, etc...

ɔɔɔɔɔɔuɥoɾ

Well, look.

In your custom theme folder, their should be a backup called "index.template.php~" note the ~ at the end, attach that one please.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 01:42:06 PM
Well, look.

In your custom theme folder, their should be a backup called "index.template.php~" note the ~ at the end, attach that one please.

Sorry I must not have enough posts to add attachments, because it is not an option for me...

http://www.mediafire.com/?80uxy7urjpxqii9

That is the file you asked for and it hasn't been touched sine 06/24


ɔɔɔɔɔɔuɥoɾ

Well see, this file is generated after the last mod changed it, so all you need to remember is which mod you installed last


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

ɔɔɔɔɔɔuɥoɾ

No attachments for me neither, maybe their disabled in the tips and tricks board, for some odd reason...

http://www.mediafire.com/?6bcpldbckwe90e5

I would recommend uploading the broken one however, using this will remove edits made by your last installed mod, if you have the broken index.template.php please upload it


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 01:54:21 PM
Well see, this file is generated after the last mod changed it, so all you need to remember is which mod you installed last

In order to do what? I really just need my Navigation Bar corrected, I am fine with everything else that has happened I guess. How can I add back the Donate, Promote, Site Index options to the Navigation Bar?

Since adding this AdSense is such a hassle I will just forget about it.

ɔɔɔɔɔɔuɥoɾ

All these were working correctly before you attempted to add the ad?

If so...

Upload the broken index.template.php file.
./Themes/{your current custom theme}/index.template.php


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Aportadordelmix


xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 02:02:57 PM
All these were working correctly before you attempted to add the ad?

If so...

Upload the broken index.template.php file.
./Themes/{your current custom theme}/index.template.php

Thanks for the assistance everything is back to normal now. You have been a wonderful help, just wish I could get this AdSense thing working. I am missing out on 10,000 impressions a day... :'(

ɔɔɔɔɔɔuɥoɾ

If you upload that one that's working now, I can add that ad in for you, I wont mess it up :P lol


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 02:24:03 PM
If you upload that one that's working now, I can add that ad in for you, I wont mess it up :P lol

Thanks a lot. I have stressed too much over the past 2 days trying to figure this out.

http://www.mediafire.com/?1mb9qpewqmxee6g

Here is the AdSense Code...

<script type="text/javascript"><!--
google_ad_client = "pub-9429299917480675";
/* 468x60, created 8/14/10 */
google_ad_slot = "1259794898";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

ɔɔɔɔɔɔuɥoɾ



SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 14, 2010, 02:52:55 PM
http://www.mediafire.com/?uljifzwupk0ml09

Their you go, remember to backup your file :)

I appreciate all the help you offered, but this never worked.

Would anyone else know how to go about adding Google Adsense to my forums? Thanks.

ɔɔɔɔɔɔuɥoɾ

Are you sure you added this to the correct theme?

That's definitely in the right place for displaying that ad. I have a theme based on core just like that and I displayed my ad the same way and it works fine.

Got a link to your forum


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 30, 2010, 08:56:53 AM
Are you sure you added this to the correct theme?

That's definitely in the right place for displaying that ad. I have a theme based on core just like that and I displayed my ad the same way and it works fine.

Got a link to your forum

http://pubstargaming.com/forum

ɔɔɔɔɔɔuɥoɾ

Try this
http://www.mediafire.com/?cymf11eaj2udfpg
Remember to add that custom class to style.css or it will not float right. ;)


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

Quote from: JohnCcCcCc on August 30, 2010, 09:24:24 AM
Try this
http://www.mediafire.com/?cymf11eaj2udfpg
Remember to add that custom class to style.css or it will not float right. ;)

My work has Websense so I cannot view to see if this is coming up right now. I added the new index, could you visit the site again and see if this is working now? Thanks, do you have a PayPal I could send a donation to for helping me out, if this is working?

Advertisement: