Main Navigation
» Index
» Forumeveryday
» Downloads
» Search
» Contact Us
» Partners

Search

Google Ads

Calendar
«September 2010»
SuMoTuWeThFrSa
   1234
567891011
12131415161718
19202122232425
2627282930  

Today's Event
No events today

Poll
What do you use JCM for?
Personal website
Community website
Colaboration website
Downloads website
Blog website
JCM Development website
I use it on a test domain just to try it out
I do not use it at all
Show Results

Random User
spawn

JCM 1.1.5.1 Forum Index » JCM main area » How To » How to: add Google adsense
  
How to: add Google adsense
george
Date 20/12/08 - 01:39:24 PM#1
Webmaster

Joined: 18-Nov 08
From: Australia Australia
Posts: 344
Installing google adsense block on the left or right colums is a simple thing to do. This topic is actually extension on the add new block topic.

Installation instructions
1. To install google ads to your side menus simply download the file bellow and copy the unpacked content of the archive to your blocks content.
2. Then make sure you add your google adsense code to the block.php file.
3. Install your block from Administration » Blocks Management section.
4. Then place it in your layout from Administration » Layout Management section and your done.

Download the block
Registration is required to view this content

Rar file: size 5k.


--------------------
New and exciting things will happen.
OfflineProfilePrivate Message
EmailWebsiteMSNQuote
sergio
Date 07/02/10 - 02:38:43 PM#2
Junior User

Joined: 05-Feb 10
From: Portugal Portugal
Posts: 2
hi,
You make some copy & paste on this one friend...
but you copy language from the  b_debug block to this one
so it is unusefull i think???!!!

;)


--------------------
Web Warrior
OfflineProfilePrivate Message
Quote
Ragamuffin
Date 20/07/10 - 02:04:21 PM#3
Junior User

Joined: 09-Jul 10
From: United Kingdom United Kingdom
Posts: 15
this thing completely crippled my website, i had to transfer everything back over to even view my site again. its amazing that one little thing like this can completely abliterate a website.

i'd appreciate it if someone could actually give out a working version of this.
OfflineProfilePrivate Message
Quote
george
Date 21/07/10 - 01:15:49 AM#4
Webmaster

Joined: 18-Nov 08
From: Australia Australia
Posts: 344
Ragamuffin it did cripple your website because you copied the google code with the " instead of '. This is PHP code you have to write not HTML code (google adsense).

Please just replace your " with ' in the google code you have and this should work.

I just said I give you a quick fix.


--------------------
New and exciting things will happen.
OfflineProfilePrivate Message
EmailWebsiteMSNQuote
Ragamuffin
Date 21/07/10 - 04:38:55 AM#5
Junior User

Joined: 09-Jul 10
From: United Kingdom United Kingdom
Posts: 15
thanks george but im a little confused, are you on about change all the " in the Google adsense block.php file with '

Thanks.
OfflineProfilePrivate Message
Quote
george
Date 21/07/10 - 07:38:36 PM#6
Webmaster

Joined: 18-Nov 08
From: Australia Australia
Posts: 344
yes, all the " with '


--------------------
New and exciting things will happen.
OfflineProfilePrivate Message
EmailWebsiteMSNQuote
Ragamuffin
Date 22/07/10 - 03:29:50 PM#7
Junior User

Joined: 09-Jul 10
From: United Kingdom United Kingdom
Posts: 15
ruined my site again now im getting this Error:
Fatal error: Call to undefined function b_google() in /mnt/w0610/d29/s49/b0324ee4/www/recording-engineers.com/index.php on line 657

after deleteing the google out of my server and remove the block from my sql little help i dont want to lose everything again



Fixed. it still doesnt work though
OfflineProfilePrivate Message
Quote
SYPC-Aid
Date 23/07/10 - 10:46:46 AM#8
Administrator

Joined: 04-Feb 09
From: United Kingdom United Kingdom
Posts: 161

Ragamuffin wrote:

it still doesnt work though


I had similar issues when I tried to install the google adsense block. I'll have a look around the code a little later and post back with my findings (I never tried to get it working as it wasn't important to me).


--------------------
Please don't PM me for support. Let's keep it on the forums, so we can all learn.
______________________________________
Click for My JCM Dev Install
OfflineProfilePrivate Message
WebsiteMSNICQQuote
Ragamuffin
Date 23/07/10 - 01:02:52 PM#9
Junior User

Joined: 09-Jul 10
From: United Kingdom United Kingdom
Posts: 15
Thanks SYPC.

i want my jupiter website to be running a long time so its important to me i get everything sorted out asap.
and this block would be a great help.

its a shame that jupiter is almost abandoned. its my favourite CMS out there but i have very little experience with php to be able to mod it myself.
OfflineProfilePrivate Message
Quote
John K
Date 23/07/10 - 02:22:58 PM#10
Senior User

Joined: 24-Nov 08
From: United Kingdom United Kingdom
Posts: 81
Again I had the Google Ads block  running for a long time on my site and never had any problems, strange.... I don't use it any more and got rid of it so I can't even make the code available for you.


--------------------
John K's JCM wishlist: CAPTCHA/Newsletter/Cart/Subscribe & Unsubscribe from threads/Email notification of PM's and replies to threads. Hoping Xmas comes early this year :-D
OfflineProfilePrivate Message
Quote
  
Login
Username:
Password:
Forgot your password?

Stats Site
» Total Members: 632
» Last Reg: trinest
» Members Online: 0
» Guests Online: 2

Who's Online
No Members Online

Latest 5 active topics
Date Today 04:26:17 AM
» version.lt
By: SYPC-Aid Last Post
Date Today 04:17:18 AM
» RSS Feed
By: SYPC-Aid Last Post
Date Today 04:03:25 AM
» How to: remove sign-i...
By: SYPC-Aid Last Post
Date Today 03:50:48 AM
» Jupiter Portal is bac...
By: SYPC-Aid Last Post
Date Today 03:49:24 AM
» Free ads & SHoppi...
By: SYPC-Aid Last Post

Google Ads

Top 10 Forum Posters
Webmaster george - 344
Administrator SYPC-Aid - 161
User emcgfx - 158
User difus - 156
Webmaster Pikey - 127
User John K - 81
User Jason.Kenyon - 71
User TheMax - 60
User CounterForce - 54
User afx - 53

Social
SumbleUpon JupiterPortal.org Add JupiterPortal.org to your Delicious Bookmarks JupiterPortal.org Digg it