Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Domain Monster Domain Name Registration

Today's Drop Dates are: 18-02-2012 or 25-02-2012   All times are GMT. The time now is 02:32:04 AM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Making Money > Contextual Advertising
Connect with Facebook

Contextual Advertising Discuss contextual advertising (adverts that change based on page content) such as Google Adsense

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-01-2012, 05:12:05 PM     #1 (permalink)

 
GreyWing's Avatar
 
Join Date: Aug 2006
Location: Barnsley
Posts: 3,176
GreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond repute

Weird Adsense Code

I recently restarted one of my sites, from suspension and it had adsense on it. I don't use adsense anymore but was looking at the source code and noticed something odd, it wasn't my adsense code.

I searched my files and database for it and couldn't find ca-pub-4599986973798951 anywhere.

Did a bit more digging and found some references to this, now I ain't a big coder but wondering if this is communicating back with the mothership and getting a code to insert? if so it's a bit naughty. Does it ring any alarm bells with you guys? its an adsense module on Joomla and loads of people use it, I presume unaware.



function correctId($id) {

if($id){

$om = modJGAHelper::checkId ("adsenseids.info/checkid/1/11/",$id) ;

if ($om != '1') {

$id = trim ($id) ;

$id = trim ($id, "ca-pub-") ;

return $id;

}

}

$id = modJGAHelper::updateId ($id) ;

return $id;

}

function updateId ($adm) {

$adm = modJGAHelper::checkId ("adsids.info/1/1/", $tn) ;

if (is_numeric($adm)) {


__________________
Make cash from your website, any website, any sector... That.co.uk Find out more
GreyWing is offline  
Old 21-01-2012, 05:21:24 PM     #2 (permalink)

 
DomainMagnate's Avatar
 
Join Date: Aug 2007
Posts: 155
DomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond reputeDomainMagnate has a reputation beyond repute

not a big coder either, but yea it looks like it. Beware this stuff can also get you in trouble with your adsense account since they don't allow messing with the adsense code in their tos
__________________
Domain Magnate - 4 Letter Domains :)
DomainMagnate is offline  
Old 21-01-2012, 09:42:56 PM     #3 (permalink)
Member
 
damion's Avatar
 
Join Date: Sep 2006
Posts: 64
damion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud ofdamion has much to be proud of

Quote:
Originally Posted by GreyWing View Post
I recently restarted one of my sites, from suspension and it had adsense on it. I don't use adsense anymore but was looking at the source code and noticed something odd, it wasn't my adsense code.

I searched my files and database for it and couldn't find ca-pub-4599986973798951 anywhere.

Did a bit more digging and found some references to this, now I ain't a big coder but wondering if this is communicating back with the mothership and getting a code to insert? if so it's a bit naughty. Does it ring any alarm bells with you guys? its an adsense module on Joomla and loads of people use it, I presume unaware.



function correctId($id) {

if($id){

$om = modJGAHelper::checkId ("adsenseids.info/checkid/1/11/",$id) ;

if ($om != '1') {

$id = trim ($id) ;

$id = trim ($id, "ca-pub-") ;

return $id;

}

}

$id = modJGAHelper::updateId ($id) ;

return $id;

}

function updateId ($adm) {

$adm = modJGAHelper::checkId ("adsids.info/1/1/", $tn) ;

if (is_numeric($adm)) {


You got some other files on the server as well.
Check for new folders in your root directory.

--> adsenseids.info/
damion is offline  
Old 22-01-2012, 11:03:47 AM     #4 (permalink)

 
GreyWing's Avatar
 
Join Date: Aug 2006
Location: Barnsley
Posts: 3,176
GreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond reputeGreyWing has a reputation beyond repute

Cheers guys will do, I got an email back from one of the guys that designed the module...

We’ve received a mail with the same issue yesterday, we are so sorry
for any problem caused by our extension.
We found that one of the test servers (that test if you entered a
publisher id and if it is in the correct form) was down this week,
that’s why this happened (puts some locally generated demo pub-id) .
We’ve correct this and we create a new version to prevent this even if
any server will be down.
We apologize for this issue that will never happen in the future, just
download the latest version from here:
http://www.khasni.com/trident/jga.html

Best Regards,
Trident.


I don't understand why it needs to call back to base anyway. They do that across 30,000 sites and they are raking it in.

Anyone fancy earning a bit of money removing the code from the script to stop it calling home. I have tried deleting it but stops it all from working.... php not a massive skill of mine unfortunately.

Cheers
GW
__________________
Make cash from your website, any website, any sector... That.co.uk Find out more
GreyWing is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Weird adsense reporting chatman2222 Contextual Advertising 1 05-12-2010 04:22:37 PM
£50.00 adsense code killaclown General Board 3 09-09-2010 12:24:05 PM
£50.00 adsense code killaclown General Board 3 28-07-2010 06:58:14 PM
Voucher Codes - IAB Launches Code of Best Practice bensd Affiliate Marketing 0 02-12-2008 09:33:39 PM
Adsense Allowed sites golddiggerguy Internet Marketing 4 15-11-2007 11:09:13 PM

Web Hosting from UK2 from just 99p


All times are GMT. The time now is 02:32:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".