Jul 6, 2008

Creating Communities/groups In Php ?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Creating Communities/groups In Php ?

itssami
for example , if on my website, i have made some kind of members area.that the users can join.i want to learn that , they can create the groups...and then others can join their groups...
for example , some one creates the group "fun" , and the others existing users can join that ... etc ? can some one give me some idea about it ?? if possible some kind of tutorial/Script/ url link etc ?? thanks..

Reply

jlhaslip
If you have a decent Forum script like phpbb installed, they have this feature for use in the Forum. I am sure there are log-in scripts which will assign members to groups and segregate the pages they are allowed to see and all those things, but, sorry, I don't have any scripts or links. It will involve some pretty heavy changes to your site since every page will require authentication of each user and setting cookies or session variables and a couple of other things. It isn't something for the beginning coder is what I am indicating here. Why not install a Forum and adjust the 'groups' so they can assign themselves and join various groups? It won't require that you adjust your site too much, just to add the Forum into it. Otherwise you are looking for a full Authentication script. And that'll take some Major work.

Reply

beeseven
What I would do is to create a new table in the database that stores the names of the groups and a list of members. For example (assuming mySQL for data types):
CODE
______________________________________________________
| group_name VARCHAR(#) | members BLOB               |
|-----------------------|----------------------------|
| cool group            | personA, personB, personC  |
|-----------------------|----------------------------|
| not as cool =(        | personR, personD, personQ, |
|                       | personF, personJ           |
|-----------------------|----------------------------|
| etc.                  | etc.                       |
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Then when you need to access the members of the group, you could get the blob and explode it at ", "
You could also have a cell in the members table that keeps track of which groups each member is part in the same fashion.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : creating communities groups php

  1. Evilboard (forum Software) - Multiple Categorys - Don't Work :( - I am creating a forum and i can't fix more then 1 category. (6)
    I am at the moment trying to program my own forum, but i need more then a single category, here is
    my source: CODE function cat () { include("functions/functions.php");
    echo '<table width="100%"  border="0" cellspacing="0">
    <tr> <td class="eb_top" colspan="3" style="border-bottom-width:
    0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
    </tr>';      global $catid;   $db = new db;   $db->connec...
  2. Creating Profiles In Php/mysql ? - (7)
    i've started to learn php..im familiar to basics of php and mysql now.Now for example i want
    that some user can register to my website , and after that he can Login and log out , and he can see
    his profile.is there any tutorial about this ? or any helping url .. or any helping answer please
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />...
  3. Creating Something With Co-ordinates With Php. - Something like you see in those web-based php games, like a map or som (12)
  4. Php And Flash Image Gallery - Need some help in creating or editing an xml file while viewing some o (5)
    Hello there and thanks for the helping hand you are offering. PHP newbie here! /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> So here is my problem:
    On my website I have a flash image gallery.The way the gallery works is by uploading pictures in a
    folder and editing? an xml file.(pics.xml) where it adds the following code when you upload a
    picture: CODE <pictures>     <image location="nameofpicture1.jpg"
    desc="" />     <image location="nameofpicture2.jpg" desc="" /&#...
  5. Creating A Login Box That Links To My Phpbb Forum - Have my phpBB Forum Intergrated with my Website (4)
    Can someone please give me a code that I can use to put a login box on my website, that will login a
    user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
    so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
    alt="angel.gif" /> Ex. ...
  6. Php Programmers, How Long To Finish Your Scripts? - time spent on creating php scripts (23)
    Hello. I am currently working on kShoutBox 0.5 which has many new features. Now I realize that
    it's really really and i mean really difficult to create a PHP script because it really do takes
    your time. Example when I don't know what to do or what function to use, i check out the php
    manual, and you know, i use the old tradition "Trial and Error"....



Looking for creating, communities, groups, php

Searching Video's for creating, communities, groups, php
advertisement



Creating Communities/groups In Php ?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE