PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/)
-   -   No Admin Options in Image Tools on showimage.php (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/140783-no-admin-options-image-tools-showimage-php.html)

xtumen September 7th, 2009 05:38 PM

No Admin Options in Image Tools on showimage.php
 
If logged in as forum admin I can see the Admin Options (edit, delete, make category image) section in Image Tools on showimage.php in all pictures. But logged in as a user I can't see that option for this user's pictures. I allowed all registered users to delete others' pictures just to check - still a registered user, not admin, can't see the options for any pictures. So the only possible way to see those option is being logged in as the admin.

I can't understand that - the gallery can see my group (admins) and permissions, but it can't see these same permissions if they are given to a non admin group.

Also I have this problem (and the the same way as in that thread solves it): http://www.photopost.com/forum/bugs-...nk-usercp.html

I have both problems with all vb plugins turned off except vBGallery

Chuck S September 7th, 2009 06:31 PM

A registered user is not going to see the options to edit or delete a picture unless its there own picture.

I show this next issue was fixed in the new code. Have you downloaded the new code and reinstalled the templates plugins etc? Or have you simply edited the plugin stated and put the code in bold?

xtumen September 8th, 2009 01:22 AM

Quote:

Originally Posted by Chuck S (Post 1252421)
A registered user is not going to see the options to edit or delete a picture unless its there own picture.

Even if the user is given perrmission to delete other user's pictures? That's what I did and I wrote that in the question above.

I also wrote this:
Quote:

Originally Posted by xtumen (Post 1252413)
But logged in as a user I can't see that option for this user's pictures.

meaning this user's own pictures, of course

Nobody at all can edit their own pictures except me, the admin, on my forum, and that is a huge problem now.

About the second problem, I'm sorry, I gave you the wrong link. I have this problem: http://www.photopost.com/forum/bugs-...flimstrip.html/ The "userid" parameter is always empty.

So to sum up:

1. Users can't edit, delete etc their own pictures.
2. http://www.photopost.com/forum/bugs-...flimstrip.html

I would guess that the script can't understand who the user is (because commenting out the userid helps in the second problem). But the script understands when the admin is logged in - admin can edit any pictures.

I have turned off all the vB plugins except vBGallery to see if that helps - no effect.

Chuck S September 8th, 2009 10:54 AM

Quote:

Even if the user is given perrmission to delete other user's pictures? That's what I did and I wrote that in the question above.
A User can NEVER delete or edit someone else's photo. Only the admin or mod can do that. Users should be able to edit there own picture if they are logged in and you have set permissions accordingly.

Please post a url admin login and a test user login through the contact us link in our header if you want us to look at that.

xtumen September 8th, 2009 04:19 PM

Quote:

Originally Posted by Chuck S (Post 1252458)
Please post a url admin login and a test user login through the contact us link in our header if you want us to look at that.

Did this just now

Chuck S September 8th, 2009 08:50 PM

Okay well I will go check our helpdesk and respond accordingly.

Chuck S September 9th, 2009 10:49 AM

I logged in as the test user provided and there is most definately an edit image link where I can click and edit delete the image if permissions are set correctly.

Glad to assist you.

Chuck S September 9th, 2009 10:58 AM

-2478 - Ãàëåðåè ÒÔÏ Ôîðóìà

If you pass a userid then the program operates fine. Remember the userid is not passed in all links in the program usually only when your viewing photos in a member category link. Only in specific instances are you going to see a userid passed in a url.

xtumen September 9th, 2009 04:17 PM

OK, I see the edit and delete (in the edit page) options now, sorry, they were there before obviously. But I still can't find the option for user to set an album cover - his own category's image:
Code:

Content visible to verified customers only.
I guess the Admin Options are not seen by a user no matter what permission I give him? But where else can I find that option? Of course a user wants to set his own album's cover (owned category's image).

The Admin Options in the screenshot are not visible to the test user account, only to the admin account.

Chuck S September 9th, 2009 04:26 PM

category avatars are for categories not user albums. You can set a category image not an album image. I hope that clarifies the issue.

xtumen September 9th, 2009 04:32 PM

Quote:

Originally Posted by Chuck S (Post 1252518)
category avatars are for categories not user albums. You can set a category image not an album image. I hope that clarifies the issue.

What you said is philosophy. Here's real life: Èçîáðàæåíèÿ îò Ñëàâà - Ãàëåðåè ÒÔÏ Ôîðóìà
I just set that personal album's image and it's there as it should be.
This is vBGallery, not Photopost Pro. In vBGallery "categories" and "albums" are one and the same thing, same table, same everything except one little thing - the "owner" field, which is empty for a "category" and filled for an "album".

vBGallery can allow to edit own image, not allow to edit other's image. Why can't it allow to set one's owned category's image and not allow to set a not owned category's image?

Chuck S September 9th, 2009 04:46 PM

Thats a sub category not an album there is a difference here.

Only the owner of the category can set the cat image or as always an admin.

xtumen September 9th, 2009 04:52 PM

Quote:

Originally Posted by Chuck S (Post 1252521)
the owner of the category can set the cat image

This is excellent! But how can the owner of the category set the cat image? Where is that switch? The option to set the cat image is only visible to an admin:
Code:

Content visible to verified customers only.
The owner of the category and the image can only see the edit image option, where he can delete the image, but not set the cat image. That is the problem.
At first I couldn't see the ooptions to edit and delete the image, but now I see. Can you please show me the option to set a cat image for a user (owner!), not an admin.

Chuck S September 9th, 2009 04:57 PM

No maybe I am mistaken here that is an admin option so you answered your own question only an admin can set it.

xtumen September 9th, 2009 05:00 PM

Quote:

Originally Posted by Chuck S (Post 1252524)
No maybe I am mistaken here that is an admin option so you answered your own question only an admin can set it.

But your answer was logical. A category's owner should have the option to set its image. So I guess I'll have to look for someone to write a mod for that?

Chuck S September 9th, 2009 05:09 PM

well its logical and considering all the products we have sometimes I do get features mixed up but yes the final answer comes from what is in the default coding.


All times are GMT -5. The time now is 03:31 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97