PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery BETA

vBGallery BETA A place for discussing BETA releases of PhotoPost vBGallery. All BETA issues must be handled in this forum.

 
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 20th, 2009, 07:31 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 59
Weird bug with next image and filmstrip

Not sure how to explain this but...
I uploaded a bunch of pictures into the gallery using a specified member.

All but the specified member could not use the next image / previous image links as they reported i=(nothing)...

The I also noticed the same users did not have access to the film strip either.

I had to edit showimage.php and comment out:
// if ($userid)

//{

// $wherequery[] = 'images.userid = ' . $userid;

//}

below:


// Previous link, Next link, Filmstrip
cory_booth is offline  
Old April 21st, 2009, 10:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
I beleive that code should limit the next and previous images to the specific user so if they have no photos then no results would be returned at least thats how I read that code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old April 21st, 2009, 01:29 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 464
I just tried to reproduce your error on a fresh install...

Luciano as admin...
Luciano uploads 5 images as luciano in category "Main Category"
==> works fine
I then made a "TestUser"
Luciano uploads 5 images AS "TestUser" to category "Main Category".
==> works fine..
Images integrate...
Filmstrip as well as previous/next links work for: Luciano, TestUser and Anonymous user. (I did not try a third user)

What i did not do... I am not using member categories.. and I do not know how they work...
[Edit]
I tried it.. (first time in my life )
And there are some errors if: You upload to "member categories" and there are no member's categories created..
(in my setup, as I said i never used them I had no member category created)


@chuck
that bit of code remmed out, is only used for member categories...
they are referred to by userid... opposed to a user's images in general that go by $imageuser

@cory_booth
I can only reproduce your error when i type in the url manually

www.thishost.com/gallery/showimage.php?i=xx&c=member&xxx=x

where i= an exisiting imageid.. and xxx=x is something else than imageuser=userid

example if i input:


www.thishost.com/gallery/showimage.php?i=24&c=member&imageuser=1
it works..
if i input:

www.thishost.com/gallery/showimage.php?i=24&c=member&userid=1

I get do your error... but there is NO link in gallery that would give me that... I can only reproduce your error by typing in the (wrong) url manually...


-----------------------------


Whatalso can have happened (I do not know because i have never used member categories before, so I am not aware of all problems)
that you uploaded the images as a user in member categories and that that user did not have his member category created yet.
OR that he did not set permissions for others to view...
OR that you uploaded as user1 to another members category (I tried that also.. i had the filmstrip.. but only for the images i uploaded that go.. not for all the images in that category..) Anyway that mixes up a lot of stuff..


To debug.. i would suggest you get a new showimage.php (download the last version)

Then try uploading as another user to a public category.. (Like Main category)

if it works.. try uploading to a category that has allready been created by the user.

and if you want to input an url manually, do not put userid=x but imageuser=x

Luc

PS @chuck...
While testing i think i found a little bug... (not important because admin should know what he is doing)

As admin i can upload as user to "member categories" even If there is NO member category created AND I can also upload images as user1 to member category of user2.. (even if user 2 does not allow others to upload (but thats a minor problem)

--> when looking at the images, the filmstrip works, but i do get some missing info because the users category does not exist or i get only images of one user and not of the other..


IMHO, there should be some form of warning saying, there is no such category... OR that user A cannot upload to member category of user B but anyway If a normal user tries to do that.. he gets a no permission error... which is also not 100% correct, as it should tell him to create a member category first...
But I think.. that uploading image to Section Member Categories (When there is NO member categorie defined.. is bound to create errors)

Last edited by Luciano; April 21st, 2009 at 02:10 PM.
Luciano is offline  
Old April 22nd, 2009, 07:31 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 59
OK let me better explain.
I am not using member categories.
If, as an admin, I upload pictures to a normal gallery as myself...
Regular users, when clicking the NEXT / PREVIOUS links get an error because the image URL states i=(nothing) when it should be the next picture.
These same users also do not get the filmstrip box either.

I will do as recommended and redownload a new copy - but I am using the latest vbGallery Beta.

Incidentally, I would recommend adding some comments to the admin section that state Upload form Server must be enable if you want users to use the flash uploader. upload.php is denied unless this is enabled.
cory_booth is offline  
Old April 22nd, 2009, 08:03 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
024 - Reeftalk vBGallery

Is there anything else we need to know here? I have done as you say and things seem to work fine for me.

login with testing and test1234
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
Old April 23rd, 2009, 01:07 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 464
Quote:
Originally Posted by cory_booth View Post
Incidentally, I would recommend adding some comments to the admin section that state Upload form Server must be enable if you want users to use the flash uploader. upload.php is denied unless this is enabled.
very strange... on my install flash uploader (if enabled in general settings) works
if(usergroup admin) has upload from server enabled or not...

same for registered users. they all have "upload from server" disabled in usergroup. and their flash upload works


hmmm... very strange..

Luc
Luciano is offline  
Old April 23rd, 2009, 03:34 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
yes strange indeed not able to replicate anything posted here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forumhome Categories weird bug hexonxonx Photopost Pro Bug Reports 2 January 21st, 2007 03:14 AM
Upload Category is weird. (my last bug report I swear!)(NOTA BUG) rcsmith ReviewPost Bug Reports 1 October 25th, 2005 09:25 PM
weird image placement after upgrade tokenyank ReviewPost Installation & Upgrades 5 August 28th, 2005 04:22 PM
Weird image problem whitetigergrowl Installs and Upgrade - vBulletin 3.0.X 5 January 20th, 2005 10:08 AM


All times are GMT -5. The time now is 06:11 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0