![]() |
Adding a Category from Category Admin (Frontend) How do users add a category to a category that allows user's to add categories? I have everything that I know of (usergroup permissions, category permissions, and category settings) set up and the category I wish for users to add categories in is inside <optgroup> and disallows selection of that category in the Parent Category selection list. Also the submit button's value is "<input class=" instead of "Submit" See here: http://www.vbadvanced.com/gallery/ma....php?do=addcat |
Re: Adding a Category from Category Admin (Frontend) Yeah I have this problem too. I have allowed all members to have a category all of their own in the members section, like there is here on vBa, but when I fill out the boxes, and press that funky button, which is uses HTML code for its label instead of Submit. It refreshes the page and says this: You must choose a parent category! |
Re: Adding a Category from Category Admin (Frontend) Gotta love stupid mistakes like that. :o If you'll open your /forum/includes/functions_gallery.php file and look for this code: Code: Content visible to verified customers only.Code: Content visible to verified customers only.And for the button, just edit your 'ADV_GALLERY_CATMANAGER_ADDEDIT_CAT' template and look for: Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Re: Adding a Category from Category Admin (Frontend) sorted thanks Brian. |
Re: Adding a Category from Category Admin (Frontend) Grr, no its not sorted, now I have lost the ability to upload images to any other categories, I can now only upload images to my personal category, no others. |
Re: Adding a Category from Category Admin (Frontend) Same here, fix one problem and create another... that's Brian's moto ;x |
Re: Adding a Category from Category Admin (Frontend) Well I temp fixed it, but undoing the file edit, but it would be really nice if it was sorted out ASAP. |
Re: Adding a Category from Category Admin (Frontend) Quote:
I've just updated the post above with the correct code. |
Re: Adding a Category from Category Admin (Frontend) That fixed it... the code to search for is incorrect though and it should be replaced with: Code: Content visible to verified customers only. |
Re: Adding a Category from Category Admin (Frontend) Well, I'm not sure... now the first problem has been recreated :( Edit: I think it should be this: Code: Content visible to verified customers only. |
Re: Adding a Category from Category Admin (Frontend) Sorry about the incorrect code to find. Trying to do too much at once. I just double checked on my localhost and on here and the code I posted above is working as it should. Is it still creating the same problem for you? |
Re: Adding a Category from Category Admin (Frontend) The code you posted fixed the problem with uploading images, but it went back to the same problem as was originally posted (with the adding categories)... the code I posted changed "$type == 'managecats'" to "$type != 'managecats'" and that seemed to work for both. |
Re: Adding a Category from Category Admin (Frontend) Now... when you have added a category and try to go back and add another one, it makes the parent category where you can't select it again :\ |
Re: Adding a Category from Category Admin (Frontend) Just to clarify... Are you saying that when you add a category then you can't select that category for the parent when you try to add another, or you can't select the previous category's parent again for the new category (hopefully that makes sense)? |
Re: Adding a Category from Category Admin (Frontend) I got that fix by what you said in the reply to the support ticket I submited, but I was talking about the "Member's Category" category that users are able to add categories too, once you added a single category it would change the selection into a group and disallow it to be selected. Although I got that fixed, there is still a problem with the category selection when editing an image. Edit: Also when searching images |
Re: Adding a Category from Category Admin (Frontend) I wont be trying any of these fixes untill Brian actually says he has fixed the problem with the code :D |
Re: Adding a Category from Category Admin (Frontend) Quote:
|
Re: Adding a Category from Category Admin (Frontend) Same problem for me, i.e: Click on "Category Admin" Click on "Add Category" Can enter title, description etc. Click on "Parent Category" Drop down shows: Please select one Member's Categories Cannot select "Member's Categories Tried Brian's code fix and the Gallery didn't display at all. |
| All times are GMT -5. The time now is 10:13 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0