Trouble with Adsense: ID Visible to Whole World

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2009, 08:18 AM
New Pligger
 
Join Date: May 2009
Posts: 6
Hi,

I'm playing with Adsense module. This is great stuff, only one big problem:

If I view a user's profile, I can see his/her Adsense ID. It doesn't make any difference if I am logged in as an admin or as a user. It means all users will be able to see each other's Adsense ID which is totally unacceptable! (because of spam/scam/scum etc.)

I've tried to do something about this problem but so far with no luck. Changing module's settings file doesn't help. Please suggest a way to allow users to update their IDs without being able to see other peoples' IDs.

Thank you!
Reply With Quote
  #2 (permalink)  
Old 05-11-2009, 11:07 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by buzzerman View Post
Hi,

I'm playing with Adsense module. This is great stuff, only one big problem:

If I view a user's profile, I can see his/her Adsense ID. It doesn't make any difference if I am logged in as an admin or as a user. It means all users will be able to see each other's Adsense ID which is totally unacceptable! (because of spam/scam/scum etc.)
.
You do realize that you can go to any website on the planet that is using Google Adsense and see the ID right?
There is no secret. Google does not hide your ID in their advertising code nor require you to keep it hidden. So before you come complaining here, I suggest you go tell Google that it's totally unacceptable!
Reply With Quote
  #3 (permalink)  
Old 05-11-2009, 11:58 AM
New Pligger
 
Join Date: May 2009
Posts: 6
Who says I'm complaining?

Quote:
Originally Posted by buzzerman View Post
This is great stuff
This means I like it, it is kind of a compliment...

Quote:
Originally Posted by chuckroast View Post
You do realize that you can go to any website on the planet that is using Google Adsense and see the ID right?
I do, but my little webmaster newbie friends don't realize it because they "not read Adsence TOS"

Quote:
Originally Posted by buzzerman View Post
(because of spam/scam/scum etc.)
many scammers don't know how to get the ID. Many people don't know what is View -> Page Source. As they say: If you don't tempt them, they don't commit crime!!

Let me adjust the question: "Where in the templates or in the code do I change what in order to hide the Adsense ID"

I know that I must not, it's just that I want to.

*Besides, with this adsspy dot com plague, I don't want to dispose my readers/submitters to the elements. What if somebody wants to stay anonymous? A scammer copies the Adsense ID from my site, goes to adsspy and sniffs out everything about any of my submitters. Now you see??

I am sorry if I insulted anybody. I really like Pligg and the Adsense module and I think it is normal that I want to make some modifications to suit my needs.

Last edited by buzzerman; 05-11-2009 at 12:28 PM.
Reply With Quote
  #4 (permalink)  
Old 05-14-2009, 09:15 AM
New Pligger
 
Join Date: May 2009
Posts: 6
Quote:
Originally Posted by chuckroast View Post
I suggest you go tell Google that it's totally unacceptable!
Ok, I think I found a solution. At least a temporary solution.

Go to modules/profiles/templates and open profile_extend.tpl in Notepad++ or other advanced text editor.

Locate this bit of code:
Code:
{elseif $users_extra_fields_field[fields].show_to_user_text eq 'Bio:'}
				<td>
					<textarea name="{$users_extra_fields_field[fields].name}" rows="10" cols="25" id="bio" WRAP=SOFT  READONLY>{$users_extra_fields_field[fields].value}</textarea>
				</td>
Add following code so that in the end you get this:

Code:
{elseif $users_extra_fields_field[fields].show_to_user_text eq 'Bio:'}
				<td>
					<textarea name="{$users_extra_fields_field[fields].name}" rows="10" cols="25" id="bio" WRAP=SOFT  READONLY>{$users_extra_fields_field[fields].value}</textarea>
				</td>
				
				{elseif $users_extra_fields_field[fields].show_to_user_text eq 'google adsense ID:'}
				<td>
					only for user's eye
				</td>
				
				{elseif $users_extra_fields_field[fields].show_to_user_text eq 'adsense channel (optional):'}
				<td>
					only for user's eye
				</td>
You can also replace this "only for user's eye" bit with &nbsp; but I just thought it would take worry out of some users who might otherwise think that their ID hasn't been properly saved. I am almost sure it should function OK because I haven't changed the Adsense module and it is still possible to edit/remove ID and channel data.

So here we are.

I'm just trying to make the web a safer place! I really hope that this safety modification will be included in the next module update!
Reply With Quote
Reply

Tags
adsense, module

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adsense Revenue Sharing Mod for 8.2 Dravis Questions and Comments 40 05-17-2011 10:31 AM
Google adsense revenue sharing, question dadaas Questions and Comments 2 03-30-2011 07:01 AM
EASY NO WORRIES PAINLESS adsense revenue sharing mod placement mod guide johntheentrepreneur Questions and Comments 6 12-07-2008 03:05 AM
Adsense API, automatically generating Adsense ID's for customers aaronpais Questions and Comments 4 05-07-2007 03:09 PM
Trouble Placing Google Adsense Ads phy54 Questions and Comments 1 02-23-2007 10:06 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development