Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: MrGrimey - joulukuu 02, 2005, 05:59:50 IP

Otsikko: Retreiving dateRegistered outside of smf
Kirjoitti: MrGrimey - joulukuu 02, 2005, 05:59:50 IP
Hey guys yet another question...I have been searching the dang forums for about 2 hours now...I guess my sm-fu needs to be stronger.

Heres the delima...I am using SSI I have based what is becoming a large site off of sfm as I believe a majority have done. I'm not having a problem calling SSI outside of the forum directory until I want info regarding a member other than the one currently logged on.

I have a script that is providing a feedback rating feature similar to ebay's feedback feature...Its on this page, outside of smf where the user has a second profile of sorts and I want to load the date that member registered....for instance I am account id 1 and I am looking at account 20...


Of course I can't load the date I registered either, but when it comes to the grabbing another users info and returning it I get nothing

Here is the code I used thus far.



global $memberContext;
loadMemberData($service_id);
loadMemberContext($service_id);
echo $memberContext['user']['registered'];



I have also tried



global $memberContext;
loadMemberData($service_id, false, 'profile');
loadMemberContext($service_id);
echo $memberContext['user']['registered'];



can someone help me with this? knowing how to retrieve members info aside from who is currently logged in via SSI would be awesome!

Thanks in advance
Otsikko: Re: Retreiving dateRegistered outside of smf
Kirjoitti: MrGrimey - joulukuu 06, 2005, 09:30:09 AP
can no one assist with this problem?