PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Bug Reports (http://www.photopost.com/forum/reviewpost-bug-reports/)
-   -   Top Level Category not showing up in Parent drop-down....(FIXED) (http://www.photopost.com/forum/reviewpost-bug-reports/119650-top-level-category-not-showing-up-parent-drop-down-fixed.html)

Jeremy November 21st, 2005 02:29 PM

Top Level Category not showing up in Parent drop-down....(FIXED)
 
PROBLEM:

A top level category is not showing up in the "Parent" drop-down box of a sub category.

I did something like this....



Created a few top level categories... lets say A B C D.
They were set for NO ads, NO Parents.
I decided to change them all to YES ads, NO PARENTS
Then I dediced to create a new top level category, E, to which I would put A B C D in....

When I edit A B C D, the Top Level Category E is not available in the parent drop down of A, B, C, or D.

Chuck S November 21st, 2005 02:35 PM

Hello if a category does not have permission to upload to it as in contains products set to NO then it will not appear in the upload drop down box. This is how the application is coded.

Jeremy November 21st, 2005 02:38 PM

Quote:

Originally Posted by Jeremy
Then I dediced to create a new top level category, E, to which I would put A B C D in....

When I edit A B C D, the Top Level Category E is not available in the parent drop down of A, B, C, or D.


... all of this is in the admin, during the category creation process.


I'm not sure if you're saying "Hello" like "Hi" or Hello like "Hello, McFly!" not that it matters really.

Chuck S November 21st, 2005 03:09 PM

Good call quite surprised no one has seen this

In adm-inc.php

find this

Code:

Content visible to verified customers only.
above that place this

Code:

Content visible to verified customers only.
In adm-misc.php at line 3249 and 3262 should be

Code:

Content visible to verified customers only.

Jeremy November 21st, 2005 03:45 PM

Quote:

Originally Posted by Chuck S
Good call quite surprised no one has seen this

If it can be broken, I'm sure I'll get around to breaking it, eventually. B=0


btw, you might use a disclaimer for exact line number references to files that no longer match the stock files (adm-misc.php) in case someone happens upon this thread.

This is where file attaching with a note to what version/build it applies to would come in real handy.

Why force your customers to dig around in code when you've already done it? You mentioned how most people don't have shell - I would say another considerable sized group isn't comforatable modifying code like this :confused:

Jeremy November 21st, 2005 04:01 PM

Can you email me the updated files for reviewpost please?

The second part for adm-misc.php doesn't really match up on my end & you didn't include any landmark code above/below so I'm not sure if these are new or modified code blocks.



Also, should this fix go in classifieds as well?

If so, please send fixed files for those as well.

Chuck S November 21st, 2005 04:59 PM

No this is not for classifieds

Our company policy is to post changes and not actual php script files.

files sent


All times are GMT -5. The time now is 11:53 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