PDA

View Full Version : Anyone useing google Adsense new "Site Authentication" with vB?


hydn
19 Jun 2007, 21:27
More about it here:
http://www.astahost.com/site-authentication-adsense-crawling-login-protected-pages-t15963.html

Anyone else uses this? Or if it's even worth it?

tobybird
19 Jun 2007, 21:33
So it's out of beta? Interesting... I'll have to check my AdSense accounts. I don't remember seeing it the last time I logged in.

htrshgytrs
12 Jul 2007, 02:24
i can see it within my adsense, but cannot get it to work either.

I'm using the following parameters, does this look right?

vb_login_username
vb_login_password

I've also tried using the hashed password with vb_login_md5password and vb_login_md5password_utf but still no luck. Anyone set this up successfully yet?

Dismounted
12 Jul 2007, 05:45
Try these two cookies (make sure you put your cookie prefix before the cookie names):


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Password is this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

hydn
13 Jul 2007, 14:55
any benefits of using this?

htrshgytrs
14 Jul 2007, 03:48
the benefit is google can provide better targeted ads to pages that are viewable only to registered users.

Dismounted - thanks for the help, i'm not clear on how to use what you have posted though. Google want a POST string to be supplied, using the login parameters.

Dismounted
14 Jul 2007, 06:25
Ah, try these:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


The password must be MD5 hashed, so search Google for a MD5 hasher and use that.

htrshgytrs
14 Jul 2007, 06:54
thanks, but like i posted i've tried both of those. I used the hashed password from the database though, perhaps thats incorrect?

Dismounted
14 Jul 2007, 07:10
No, the password in the database is double MD5'd and salted. You need to plain MD5 the password.

hydn
14 Jul 2007, 14:12
In vb's case. Guest still have access to the forum content. I only see this useful for forums with deny permissions set for guest from browsing threads. In which case Google ads will be affected and a login will give Google access to content and thus improve targeting.

This will be useful for non vb sites that have paid membership where you have to login - (ex. site.com/members) - where if you don't have membership of a valid password you can't access any of the member content.

With vB and most forums you can access most if not all the content as a guest you simply can't post which does NOT affect Google ads.

In fact pages such as newthread, newreply, and compose PM will have low CTR since users are performing an action. There's only one forum for Premium Members on our site that blocks guest and regular members. However, premium members don't see ads on our board. Using this for most vB forums is pointless AS-IS.

htrshgytrs
15 Jul 2007, 03:58
my forum is 100% members only (ie guests see nothing), so this will be quite useful for me.

Thanks Dismounted, i'll look into hashing the password that way and will report back.

ok, i plain md5 hashed the password via this (http://www.johnmaguire.us/tools/hashcalc/)tool.

I then added 2 parameters to google adsense and tried index.php and login.php as the destination page. The 2 params used were vb_login_username and vb_login_md5password.

No luck though, and no errors or anything to help me.. Only the restricted guest only content is displayed. Is still a pretty new feature, so i may have to wait until someone else figures it out ;)

Kirk Y
15 Jul 2007, 04:30
Try setting "login.php?do=login" as the destination.

htrshgytrs
15 Jul 2007, 23:57
thanks tried that one previously also, but not using the new hashed password. No luck though, still doesn't login.

Has anyone actually gotten this to work?

LewisAinslie
22 Jul 2007, 21:06
Nope :( This would be good tho

htrshgytrs
23 Jul 2007, 04:16
someone answered my question over at vb.com (http://www.vbulletin.com/forum/showthread.php?t=236821)


Auth URL: http://www.mysite.com/forums/login.php?do=login
Auth method: POST
Parameters:
vb_login_username = <username>
do = login
vb_login_md5password = <md5hash>
vb_login_md5password_utf = <md5hash>


works perfectly!

Irfan Faruki
25 Jul 2007, 10:42
I just tried it and it worked :) Thanks guys

redraider
21 May 2008, 12:49
not working for me .... i am using vb3.7 gold ..... have any of you upgraded and it works for you?