Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [sangiro] The USER is allowed to ADD CATEGORIES!!

Quote Reply
Re: [sangiro] The USER is allowed to ADD CATEGORIES!! In reply to
I'm working on something like this for the Models & Photographers Lite/Pro version.

Right now, the way it works is that the user isEditor for a category, and they have the ability to add/move/rename/etc a certain amount of categories under their area.

As I work on this, and pull the routines away from the javascript interface (it's now tied to using the browser system, pretty exclusively) I will be breaking up the routines, so that a template/html interface is used.

At that point, it would be possible to allow a user to add a category to another category (especially if the category that they were allowed to add to was known), and apply any filters/rules to that add.

If you want to make it a little more clear what you are looking for and how you need it to work, I can keep an eye to it.

I've spent the last few weeks working on the advanced profile system, and last night started working on the last piece (the display-only code). The security is really tight, which is what is taking so long, and I've moved a lot of functionality to the templates, so you could override the way the system works by writing a global, or a new function, without actually editing any of the "core" profile code. Basically, I've said the GT template parser is as powerful as PHP, if not more so, and I think I'm starting to prove it <G>

The next thing I need to work on is the categories for the users.

1) user logs in, sets up an account. Is initially flagged as "guest".
2) they validate their account, and are upgraded to registered user/Guest
3) they can edit/update a basic profile page (plus what's in community)
4) they are offered a selection of other profile pages they can set up (or you expand the basic profile pages)
5) in this system, that is models, photographers, artists, etc. In your system, it could be seller, buyer or mechanic, detail, bodywork, etc. Or, maybe even for sports or different characters in a MUD/RPG
6) once the new profile is set up, an attached set of flags is set, and the user is set up as that sort of person. Veiwing their profile you can see their different profile pages. etc.
7) at this time, a category is set up with their username. Under it, two default categories are set up, Galleries and Portfolio. The portfolio has some restrictions based on my own annoyance with certain sites, while the galleries are more freeform. This is how the MPG system works. But, in the generalized plugin, you'd define some rules, in a form or hash, and the system would set up the categories and set flags based on that. This *is* complex, which is why it's taking time, but it's going a lot faster than might be expected, due to the huge amount of pre-planning.
8) at this time the user is made editor of the category with their username, so they have a set of defaults they can do to that category and below. A restriction will be imposed such that a user can't delete or change the name of the Galleries and Portfolio category, but that might be loosened as I play with it.

So, since I need the user to be able to add/delete/manage categories, and I don't like to use a segment of code I can't maintain (eg: the category browser) I need to find another way to do it.

That way, might be very much what you need , or are looking for.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread The USER is allowed to ADD CATEGORIES!! Mark2 9765 Sep 28, 2002, 3:26 PM
Thread Re: [Mark2] The USER is allowed to ADD CATEGORIES!!
Andy 9663 Sep 30, 2002, 1:47 AM
Thread Re: [Andy] The USER is allowed to ADD CATEGORIES!!
Mark2 9606 Sep 30, 2002, 7:11 AM
Thread Re: [Mark2] The USER is allowed to ADD CATEGORIES!!
SandraR 9322 May 20, 2005, 12:50 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9332 May 23, 2005, 2:40 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9249 Jun 7, 2005, 5:36 PM
Thread Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
pugdog 9228 Jun 9, 2005, 7:15 AM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
SandraR 9212 Jun 9, 2005, 7:56 AM
Post Re: [SandraR] The USER is allowed to ADD CATEGORIES!!
SandraR 9255 Jun 11, 2005, 1:53 PM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 9216 Jun 12, 2005, 4:51 PM
Thread Re: [webmaster33] The USER is allowed to ADD CATEGORIES!!
sangiro 9078 Mar 28, 2006, 12:58 AM
Post Re: [sangiro] The USER is allowed to ADD CATEGORIES!!
webmaster33 9036 Mar 28, 2006, 1:08 AM
Thread Re: [sangiro] The USER is allowed to ADD CATEGORIES!!
pugdog 9067 Mar 28, 2006, 9:57 AM
Thread Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 9039 Mar 28, 2006, 11:55 AM
Thread Re: [webmaster33] The USER is allowed to ADD CATEGORIES!!
pugdog 9018 Mar 28, 2006, 1:11 PM
Post Re: [pugdog] The USER is allowed to ADD CATEGORIES!!
webmaster33 9065 Mar 28, 2006, 2:12 PM