Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Albums and Bots

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
david6363

Beginner
Beginner


Joined: Jun 20, 2008
Posts: 10

PostPosted: Tue Jul 01, 2008 4:56 am    Post subject: Albums and Bots Reply with quote

It appears that if you have the setting to create album on first visit when a Bot visits Gallery2 an album is created. I am not sure how you have coded that part but I think that you probably need a check on phpbb3 user_type != 2.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Albums and Bots  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Jul 01, 2008 6:22 am    Post subject: Re: Albums and Bots Reply with quote

Good catch. Note that this should only happen if the useralbum module in G2 is installed (which creates the albums for each registered user).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1044

PostPosted: Tue Jul 01, 2008 8:59 am    Post subject: Re: Albums and Bots Reply with quote

That's already been reported and fixed actually Smile - http://www.nukedgallery.net/postt3930.html [nukedgallery.net]

I need to get the new code out. Was hoping to get more testing done by independent users, but nobody else has time.

The fix is this: Open g2helper.php
Find:
Code: ›       // not anonymous user
      if ($user->data['username'] != 'Anonymous') {

Replace with:
Code: ›       // not anonymous user or bot
      if ($user->data['user_type'] != USER_IGNORE)
      {
Back to top
Offline View user's profile Send private message
HOTSPOT

Beginner
Beginner


Joined: Sep 14, 2007
Posts: 7

PostPosted: Thu Aug 21, 2008 8:20 am    Post subject: Re: Albums and Bots Reply with quote

My site gets indexed quite a bit. I noticed a Google Bot had created an album. I added your code above and will report back.
Back to top
Offline View user's profile Send private message
HOTSPOT

Beginner
Beginner


Joined: Sep 14, 2007
Posts: 7

PostPosted: Tue Sep 30, 2008 7:26 am    Post subject: Re: Albums and Bots Reply with quote

So far so good. No more Bot issues, thanks.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia