to create groups,is this a good method?

Author Message

kevin wei

Thursday 05 January 2006 3:33:31 am

i want to do such thing:

registered user can create a group, actually is a folder . any user can submit posts under this folder,and any user can reply it,just like a forum.

there is a button, other user can join this group, just click it. i create a new datatype: Jion.include field: user name,group id,

when a user click button, system will create a node of 'Jion',user name is current_user, group id is the forlder id.

so next time, when this user enter in to this group, i will check if there a join recorder under this group, if yes,show a button "quit this group", else show "join this group"

when he click 'quit this group', system will delete the join recorde in backend.

and in this group ,i will show the number of joined by statics the count of 'Join' .

more, maybe these are 100+ groups, and this user join 10+ groups, there are one page called 'My group', will show latest post in these 10+ groups which he joined.
(Question: how to figure out which group he attended? )

i have a method, when a user register, the system automatic create a forder under member(this was created by me before),the name is the user_id, then everytime he join a group, the same 'join' recoeder is post to Group and the forlder: member/user_id/

so just statics the recorder user member/user_id/, we can know how many group he attend, and to list the latest post under these group easily.
(Question, how to post to 2 folder at the same time)

is there good suggest to implement this idea?????

thx!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.