•  

Forum

Moderated by:
Forum: General
Post Reply in Topic: Extract User Info from opn Database
Go to: OpenPHPnuke International Support Forum Index


About posting: Anonymous users can post new topics and replies in this forum.
Nickname:
Message Icon:
                                                                                                                       

more...


HTML : On
BBCode : On
 
BoldItalicUnderlineStrike|SuperscriptSubscriptTypewriterMarquee|Preformatted TextLeft AlignCenteredRight AlignJustify|Horizontal Line
Insert PictureInsert EmailaddressInsert LinkInsert WikipediatermInsert Wikibookterm|Insert QuoteInsert Code|Insert unordered ListInsert ordered ListInsert Listitem|Insert DefintionlistInsert DefinitiontermInsert Defintion|Insert TableInsert TablerowInsert Tablecol|Smilies show/hide
 
Options:







 
Security Code
Security Code
reload

Topic Review

Author
cdpanic

Joined: October 01, 2004
Posts: 5
From: miami


Send private message to cdpanic Visit website from cdpanic
Extract User Info from opn Database

Posted: 2004-11-05 22:16

URL not in production yet. I'll report back when it goes live. The site is a US public high school band site for a very low-income neighborhood. We have absolutely no budget for web dev, and we just lucked out that I found this great cms. Thanks to everyone for their hard work, and thanks to the great production staff for the amazing support!!


Quote Printer friendly page upwards
xweber
Joined: April 14, 2003
Posts: 135


Send private message to xweber Visit website from xweber
Posted: 2004-11-05 10:36

Let's have a look - which url?

Alex


Quote Printer friendly page upwards
cdpanic

Joined: October 01, 2004
Posts: 5
From: miami


Send private message to cdpanic Visit website from cdpanic
Extract User Info from opn Database

Posted: 2004-11-05 03:06

thanks for the quick response. Works like a charm


Quote Printer friendly page upwards
xweber
Joined: April 14, 2003
Posts: 135


Send private message to xweber Visit website from xweber
Extract User Info from opn Database

Posted: 2004-11-04 23:12

You can get informations regarding the current user with:

$ui = $opnConfig['permission']->GetUserinfo();
$ui is an array with lots of information. Test is with:
echo print_array($ui);
and you will see the detail

You may also want to check if the current user is logged in:

$opnConfig['opnOption']['user_login']
it is "false" if the user is not logged in.

Alex


Quote Printer friendly page upwards
cdpanic

Joined: October 01, 2004
Posts: 5
From: miami


Send private message to cdpanic Visit website from cdpanic
Extract User Info from opn Database

Posted: 2004-11-04 20:34

I am looking for a way to insert the current user's name in a phpBox form(which manipulates a database). I'm sure I'll figure it out eventually, but if anyone has any suggestions...


What is the php code to produce the uid for the current user?


let me know if I haven't made my question clear.
thanks in advance.
chris


Quote Printer friendly page upwards
 
Page took 7.93516 seconds to load