WikiturbineMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Writeup:Planning Members

From Wikiturbine

By: Dmitriy Vysotskiy

This page is meant for organizing the membership section of the site (via CakePHP or otherwise). Since I don't know programming terminology too well, some terms might be used wrong, but try to see past that. In retrospect, the information here might look better as a chart.

Contents

[edit] Important Points

Here are a few things to keep in mind:

  1. Levels of information access
    1. Public - only display simple info (name, pic, URL, location (?)) in the public profiles (everyone can see). This is to protect member privacy.
    2. In-network - consideration to restrict information availability to various user classes (ex: a new, entry-level member can't see much more with the log-in) or to the entire network (excluding admins)
  2. Security - protection against injections, unauthorized access, crawlers, bots, etc
  3. User classes (as mentioned in Neoturbine v5 - created to increase security and privacy. Suggested use: each user class has use of privacy settings, profile suicide, basic link to profile (neoturbine.net/user/***)
    1. User - new or limited access member. Has a profile and a public link to the profile
    2. Power user (User+) - established member with more privileges (such as domain redirection, server space) and higher network access (can see more profile info of others)
    3. Moderator - suggested subclass of admins with powers higher than that of a User+ but less than the top-level admins. May be redundant and unused.
    4. Admin - highest control of all user profiles (other than that of other admins), account deletion and editing, password resets, etc
  4. Flexibility - code for future expansions.

[edit] User Attributes (Variables and Constants)

Format: attribute (datatype) - description

[edit] Global

  1. user_name (string)
  2. pass (string) - hashed or whatnot
  3. irc_nick (string) - we could force users to use the same nick that they validated with nickserv for log in, or make this autoupdate on their profile. 1st options seems to give us some sort of name stability and channel moderation, and ties nicks with profiles
  4. real_name (string) - could be split into 1st and last names
  5. dob (int, float) - birthday (using UNIX time)? We will probably display age in profile.
  6. pic_location (string) - path to profile picture (whether uploaded and scaled/cropped or off-site). Should make sure this points to a jpg/gif/png file.
  7. css_location (string) - path to custom profile css
  8. location (string) - Town, Country Code (compiled syntax)
  9. home_site (string) - path to personal site (if not the current site)
  10. member_since (int) - join date
  11. user_class (int) - user's ranking class (user, user+, admin)
  12. is_online (boolean) - if user is on irc, links to showing an online icon
  13. various interger or boolean variables (array?) that indicate levels of privacy person uses for each of the above variables (public, in-network, off) excluding name, nick, pic and age.

[edit] Section Functions

Various functions we should code to deal with above data.

  1. Profile updaters - pass form fields to update profile, options, and settings
  2. isLoggedIn() - makes sure there is a php session open and the user is logged in before serving data
  3. renderProfile(string options) - returns specific rendering of profle info based on the passed var with options
  4. pictureFormat() - crops/scales uploaded photo


[edit] Implementation

On a side note, this may be worth looking at:

Retrieved from "http://wiki.neoturbine.net/Writeup:Planning_Members"

This page has been accessed 126 times. This page was last modified 02:50, 17 March 2008. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...