remove from displaying: Google Adsense [Bot]

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
market
Registered User
Posts: 56
Joined: Sun Jun 22, 2008 9:52 am

remove from displaying: Google Adsense [Bot]

Post by market »

On the bottom of the page I see this sometimes:
Registered users: Google Adsense [Bot],

As an admin I don't mind seeing this, but my users definitely don't need to see this.
What's the best way to remove this from ever displaying?
Thanks.
galbilover
Registered User
Posts: 24
Joined: Wed Feb 13, 2008 1:51 am

Re: remove from displaying: Google Adsense [Bot]

Post by galbilover »

I'd like to know the solution to this problem too.
gumgone
Registered User
Posts: 39
Joined: Tue Aug 26, 2008 2:44 pm
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by gumgone »

I am also interested in the answer.... but also how do you add GOOGLE Adsense into the app?
thanks
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by Erik Frèrejean »

Run the following query direct on the database (can be done via an application like phpMyAdmin)

Code: Select all

UPDATE phpbb_users SET user_allow_viewonline = '0' WHERE group_id = '6';
NOTE:
Before you run this query you'll have to do two things:
  1. Change phpbb_ to your table prefix you can find this in the config.php file.
  2. In: group_id = '6' you'll have to change the '6' in the group id of the bots group.
    (if you are running a vanilla installation this is group 6
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
Crispy
Registered User
Posts: 30
Joined: Sat Aug 09, 2008 12:18 pm

Re: remove from displaying: Google Adsense [Bot]

Post by Crispy »

Can you no change the nae of the bot in ACP to something comical, or even a faked member name?
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by Erik Frèrejean »

That is probably more work and those "users" are in phpBB3.x for a reason :). Just set them that they can't be seen online (just as any other user can do), and nobody will know that they are there.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by DragonMaster1 »

Erik Frèrejean wrote:That is probably more work and those "users" are in phpBB3.x for a reason :). Just set them that they can't be seen online (just as any other user can do), and nobody will know that they are there.
I don’t see how to make then unseen in the list of last visitors. How do you do this?
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by Erik Frèrejean »

Are you referring to this?

If you set that your status will be hidden via the ACP, you won't show up in that list. The query I posted will set that option for all users that have the bot group as their default group. And thus they will not been shown in that list.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
galbilover
Registered User
Posts: 24
Joined: Wed Feb 13, 2008 1:51 am

Re: remove from displaying: Google Adsense [Bot]

Post by galbilover »

Edit: Nvm it worked
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by stevemaury »

gumgone wrote:I am also interested in the answer.... but also how do you add GOOGLE Adsense into the app?
thanks
For the first answer, review this topic.

As for ads, see:

Knowledge Base - Advertisements in phpBB3

Take particular note of the important notice half way down regarding Google ads. Due to the google terms and conditions, the ads should only go in the index_body.html, viewtopic_body.html and viewforum_body.html files. Do not put them in the overall_header or footer.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
galbilover
Registered User
Posts: 24
Joined: Wed Feb 13, 2008 1:51 am

Re: remove from displaying: Google Adsense [Bot]

Post by galbilover »

Occasionally, when I refresh my forums, I still see Google [Bot], MSN [Bot], and Yahoo [Bot] names on the list of registered users that are online. I am not sure why this happens on my computer. Everyone else tells me they don't see them anymore.

I cleared my browsers' cache, and I see them.
Last edited by galbilover on Wed Aug 27, 2008 2:37 pm, edited 1 time in total.
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: remove from displaying: Google Adsense [Bot]

Post by Dugi »

go to ACP => Users And Groups => Manage Groups => Bots => Members and remove the BOT
PM me for custom extension pricing / My validated MODs / My MODs in development
galbilover
Registered User
Posts: 24
Joined: Wed Feb 13, 2008 1:51 am

Re: remove from displaying: Google Adsense [Bot]

Post by galbilover »

But wouldn't that be just deassigning the Bot from group 6?

I used the solution that Erik provided except for some reason, I still see the bots.
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by Erik Frèrejean »

dugi wrote:go to ACP => Users And Groups => Manage Groups => Bots => Members and remove the BOT
No wrong! These users are there for a reason, and they are for a reason in that group!
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: remove from displaying: Google Adsense [Bot]

Post by DragonMaster1 »

Are they any bots that need to be added to that group? and if so, how do you find out what ones?

I can see why they are there so that will limit what they can or can’t do on the board
Locked

Return to “[3.0.x] Support Forum”