Welcome, Guest. Please Login or Register.
May 10, 2025, 06:24:21 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Difference between membergroup and memberGroup? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Difference between membergroup and memberGroup?  (Read 543 times)
bully
Noobie
*
Posts: 7


I'm a llama!

Difference between membergroup and memberGroup?
« on: March 16, 2003, 10:29:16 PM »
Reply with quote

so, in the table yabbse_members, there is a column "memberGroup", and in the table yabbse_membergroups there is a column "membergroup" which saves the different groups and the different names I can even change in the forums settings.

- What is the difference of those two columns, and where is the connection?
- And why is this splitting up necessary?
- Why not just use membergroup as foreign key in yabbse_members, just storing the GROUP_ID there?
- Where are the standard names for the membergroups stored?

Thx for the help
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Difference between membergroup and memberGroup?
« Reply #1 on: March 16, 2003, 10:44:04 PM »
Reply with quote

Quote from: bully on March 16, 2003, 10:29:16 PM
- What is the difference of those two columns, and where is the connection?
- And why is this splitting up necessary?
- Where are the standard names for the membergroups stored?
the difference is, in members table, an admin will always show as: 'Administrator', and gmod as 'Global Moderator'
these are used for validating permissions in the code
the ones stored in membergroups table is for the name display, like if u change the admin rank title into 'Super Admin' to display in the post display, profile, etc

Quote- Why not just use membergroup as foreign key in yabbse_members, just storing the GROUP_ID there?
i agree with this solution, its better, but a lot of changes will have to be made in the code
u'll probably get this in YSE 2
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
bully
Noobie
*
Posts: 7


I'm a llama!

Re:Difference between membergroup and memberGroup?
« Reply #2 on: March 16, 2003, 11:04:20 PM »
Reply with quote

Ok, I already thought of sth. like that, but are these two tables interconnected in any way?

They have to be somehow, because the new added Membergroups have to be transferred into the members profile.
Or is the membergroups just used to setup the drop down menu for membergroup in membersettings, which then is delivered as a variable into the membersprofile?
So there actually is no connection of those two tables in sql?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Difference between membergroup and memberGroup?
« Reply #3 on: March 17, 2003, 04:03:03 AM »
Reply with quote

Yes that's all it's used for.

yabbse_members now uses ID_GROUP in my secret project, by the way. 8)

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Difference between membergroup and memberGroup? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.091 seconds with 20 queries.