User details

Support for ANY phpBB3 related issue.
- MOD Support requests should be asked in the specific MOD topic -
Any version of phpBB3 is supported.
Forum rules
READ: StarTrekGuide.com Board Rules

Users are requested to fill out the Support Request Template and include it in every support request.

As a general rule, Support for a Specific MOD should be requested in the specific MOD topic, as it would alert the MOD Author of the support request.
Please specify if you have any MODs installed on your board when asking for support.

phpBB support requests allowed
MOD Requests and Generic discussions not allowed

User details

Postby Argon » 19 Feb 2007, 11:07

I am now working on an system but ho do I need to ask for the user details, now I have done like for an topic (adding "user_name" and "user_colour" in the table, but what if the users color changes I thaught it was something in the acp when changing the users default group. But how I do it best because if i put the name and the colour code in the table and the users default group changes the color is wrong Cray So what can i do the best if I won't change so less as possible files in the ACP and my systems load time must be also so low as possible... Is it possible to easy ask all user details with an user_id orso or need i to make an resync module for the acp?
Argon
Cadet III
Cadet III
 
Posts: 31
Joined: 28 Oct 2006, 01:55
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: User details

Postby A_Jelly_Doughnut » 19 Feb 2007, 15:08

user_color in the phpbb_users table changes whenever the default group changes.

I'm not 100% clear on what your problem is, honestly.
A_Jelly_Doughnut
phpBB Team Member
phpBB Team Member
 
Posts: 543
Joined: 10 Feb 2007, 14:58
Location: 1- 800 - In - The - USA
Gender: Male

Re: User details

Postby Handyman » 19 Feb 2007, 15:15

The user_colour in the users table updates when the users color updates so you don't have to worry about it being updated.
To get all users details, just do this
Code: Select all
$sql 'SELECT * FROM ' USERS_TABLE " WHERE user_id = $user_id";

That will have all the users details.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: User details

Postby Argon » 19 Feb 2007, 15:31

:o Lol okey thats easy but I thought it must be done at an other manier becausse there is the field "colours" in the topics table :o
Argon
Cadet III
Cadet III
 
Posts: 31
Joined: 28 Oct 2006, 01:55
Gender: Male

Re: User details

Postby Handyman » 19 Feb 2007, 17:10

Yes, the user_colour in the topics table can become outdated.
I don't know what kind of resyncing they have on those? but I'll test it in a few minutes.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male


Return to phpBB3 Support

Who is online

Users browsing this forum: No registered users and 17 guests