Welcome Guest [Log In] [Register]
Add Reply
friend levels
Topic Started: Jan 22 2009, 01:07 AM (157 Views)
bustya
Member Avatar
The Master Bitchslapper
I've been kicking around this idea for a while now, I'm almost ready to start working on it so I thought I'd post and see what you guys thought. I've been thinking of applying "userlevels" to friends and allowing each user to designate one or more "friendlevel" for each content item and each friend they add. The way I see it, friendlevels is the only reason to have a friendlist unless your purpose is to provide the user with a quicklist of links to friends.

Perhaps I can explain this concept best with an example...

K, so let's say I have two friends. John and Jane. John and I talk like guys do, adult humor and we also send each other porn. Now, let's say Jane is a girl I'm interested in... I don't want her to see the hardcore porn I share with John, instead, I want her to read my crappy poetry. Of course, I know John will give me shit if he reads my crappy poetry. So what do I do?

I add an ID to the user table. The userid won't work, I need an incremental ID which begins with the first user and is unique to each.

Next, I build a friends table, something like so:

Username | level2 (friends) | level3 (family) | level4 (mates) | level5 (dates)

Now when I add a friend, let's say John, I designate to insert his ID into Level2 and Level4. Let's say his ID is "2" because he was my first member (besides myself). Now, I add Jane, her ID is "3" and I add her to Level2 and Level5. Now, as for how this is done, I seperate each ID with a coma. So my row in the friends table looks like so:

bustya | 2,3 | (empty in this example) | 2 | 3

Now, time for the content... I upload a porn pic I want to share with John. I'm prompted to designate one or more level for this pic.

My options are:

  • 0 (public: the entire internet, non-members)
  • 1(members, aka: $session->logged_in )
  • 2 (friends)
  • 3(family)
  • 4(mates)
  • 5(dates)


I select "4(mates)" only. Next, I post a new blog, it's really whine and awful, I only want Jane and other girls who might join later to read it. So I designate it's level at "5(dates)" only. Next, I upload a pic of me snowboarding. I really don't care who sees it so I designate at a level of "0", this means I can give the link to this page to anyone in the net, even non-members. I'm also thinking I could allow multiple levels per content item. So my next pic could be for "Family" and "Dates"... so I designate it to have the levels "3" and "5".

This can also be applied to sections of profiles.


Anyway, that's the idea. What do you guys think?







Edited by bustya, Jan 22 2009, 01:14 AM.
Offline Profile Quote Post Goto Top
 
php-coder
Member Avatar

Hey,

Rather than having friend level's How about user groups like they have on MSN such as, friends, family, work, other.. same idea just a different approach, possibly make it drag and drop so you dont have to select a user level for each friend ? this is something that would be favoured in a big way i think.

~Pc
Offline Profile Quote Post Goto Top
 
Admin
Administrator
The orginal creation of the code was for a quick list of freinds. I do plan on adding a section to add a short comment about the friend, and also sort the friend into categories, show when they were online last, ect ect.
Offline Profile Quote Post Goto Top
 
stevecode

Hmm
What about the friends system that you guys made,

Just add a table like |username| |Friendname| |friendrank|

Then on your for example userpaage

Where $friend rank is what you have in your friends list, which can easily be edited via process.php using a simple update query

<? if($friendrank==Bestbro){
echo"PORN =D";
}else
echo"poetry";
} ?>

I could go into detail but I think anyone could get the general idea from here

Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create your own social network with a free forum.
« Previous Topic · Friends System · Next Topic »
Add Reply