UserID Variable? [found out ignore]

Discussion forum for MOD Writers regarding MOD Development.
Locked
Mousers09
Registered User
Posts: 6
Joined: Wed Dec 10, 2008 9:49 pm
Name: Chad

UserID Variable? [found out ignore]

Post by Mousers09 »

So I'm currently trying to work on my PHPBB Forum, and I'm writing a script, but what is the user_id variable? I've tried the following

$user_id
@userId
$user->data['user_id']

none of them have worked. I'd also like to state that I'm using the templates to retrieve the user_id by inserting php into the template (php is enabled)

User avatar
daroPL
Translator
Posts: 515
Joined: Tue Mar 27, 2007 11:58 am
Location: Poznan, Poland
Name: Darek
Contact:

Re: UserID Variable? [found out ignore]

Post by daroPL »

$user->data['user_id'] is correct.
Does another PHP code in that block work?

Locked

Return to “[3.0.x] MOD Writers Discussion”