 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
June 1st, 2012, 03:18 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
| A couple of issues
Over one month of use of REVIEWPOST, we experienced a couple of things that we could not figure out a fix.
1. Sometimes, the product image mixed up between posters. For example, poster A's product images may contain one or two images from poster B's product. We have no idea when this happened.
2. Admin setting, Edit Category, permission to UPLOAD per group does not work. We checked off certain group, disallowing them to Upload to this category, they can still upload to this category.
3. If we move product from one category to another category, the thumbnail will not show on home featured block. We had to rebuild that thumbnail.
Chuck, have we had others reporting similar issues? Could you please help us on these?
Thank you!
Sean
|
| |
June 1st, 2012, 07:39 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
We know you have heavily modified your code which nullifies support so I will give some ideas of where to check.
1. Do you have a specific example of what your referring to so we can respond? I do not get what you are trying to say as that response could be taken a couple ways. Are you viewing a specific product or some type of url that shows user stuff
2. Check line 2503 of pp-inc.php under the function catmoveopt it should read this ugcat not ugview Code: Content visible to verified customers only.
3. Is your category cache on or off? Maybe a cache issue I think.
|
| |
June 1st, 2012, 07:48 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
Thanks Chuck. For #2, I have two section containing that code. Do I change both occurrences?
Section 1: Quote:
if ( $CatPerms['thumbs'][$subid] == "yes" && ($template == -1 || $CatPerms['template'][$subid] == $template) )
{
if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}
|
And section 2, Quote:
if ( $subid == $selected )
{
$selecttext = "selected=\"selected\"";
}
if ( $CatPerms['ugview'][$subid] != 1 || $User['adminedit'] == 1 )
{
$chkparent = $CatPerms['parent'][$subid];
do
{
if ( $chkparent == 0 || $chkparent == $subcatid )
{
break;
}
| |
| |
June 1st, 2012, 07:52 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No you do not only the one I stated. One is suppose to be off view perms.
|
| |
June 1st, 2012, 08:33 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
Sorry, should I change the one in section 1, or section 2 above? My line number is messed up. So I can't tell.
|
| |
June 1st, 2012, 08:42 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
HMM I beleive I pointed out it is located under the function catmoveopt.
|
| |
June 1st, 2012, 09:09 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
| MH11 - Inspirare Discover: Discover Emerging Fashion Designers & Fashion Trends
Not sure what your trying to say here. For an image to actually show on a product the user has to have uploaded the image to the product.
That is an absolute. All I can tell you from a support perspective is use the code we release as I know there is no issue with that.
|
| |
June 1st, 2012, 09:13 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
There was a red dress in the 2nd link "cocktail dress" that should have been with first link MH11. Did you see it?
Please give me some pointer on which file to look into.
Thank you!
Sean
|
| |
June 1st, 2012, 09:39 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I have explained how our program works.
Not sure what your talking by first link or second link. You have placed a link to one product here and that is what I am looking at
I am not going to discuss your custom mods your guy did. You have some kind of see other designs or some other custom stuff there. MH11 - Inspirare Discover: Discover Emerging Fashion Designers & Fashion Trends
What I am saying is if you upload a product you can upload up to 9 images I beleive. Those 9 images to the right of the main image the user has uploaded to represent that product. I see no issues at all here.
If your expecting that somehow your custom block of products you added to that page is only suppose to have a specific users products then you will have to have coded it that way.
We do not provide support for something your guy wrote up. You would actually have to go to him to work out issues with his work.
|
| |
June 1st, 2012, 10:17 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You must remember if he is using the display_gallery function to show images on that page any display_gallery call the second parameter must be the actual userid of the user who uploaded that product to pull only his images.
Thats as big a hint I can give about your hack issue. |
| |
June 1st, 2012, 03:53 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
Chuck,
As always, I am grateful for your help. I apologize for the misunderstanding. I should have provided a screenshot.
Attached is a screenshot shows the problem we experienced.
As you can see, FOR THIS PRODUCT, it has a few thumbnails, one of the thumbnails does not belong to this product, and came from another author. I was not talking about the "Other Designs/Products" block below it.
If you can shed some light on what might have caused this problem, then we can look into it.
Maybe user EDIT product caused it?
Maybe uploading Approval caused this?
Maybe scan database caused this?
Any pointer is greatly appreciated.
|
| |
June 1st, 2012, 03:59 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
If you are referring to an image that exists on a product the only way it can get there is if the person who uploaded the product uploaded the image to it or edited the product and added the image.
The only people who can edit a product are the person who uploaded it or a moderator or administrator.
So the answer is someone who has permission to do so added that image.
|
| |
June 1st, 2012, 04:04 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
This was reported by our member, they emailed us saying they got someone else's image in their product. Then we look into. I have checked with our moderator/admin, none of them edited their product. And we had several occurrences of this already. Right now, it is a mystery.
|
| |
June 1st, 2012, 05:27 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Well obviously I can only respond how our normal unaltered code works. Like I said the only person who can upload an image to a product is the actual person who owns the product and a mod or admin.
|
| |
June 1st, 2012, 05:36 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jan 2012
Posts: 102
|
Okay, could you please let me know which php files are involved in this uploading process? Then we will try to look into it.
|
| |
June 1st, 2012, 05:48 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
uploadproduct editproduct and bulkupload php files are for upload and edit and you should see the only people allowed to edit are the person who's ad it is and a mod or admin and likewise on upload you absolutely know the images uploaded are the ones the actual person is uploading.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:51 PM. | |