|
|
|
|
|
|
|
Re: Forum Integration [message #159386 is a reply to message #159384] |
Thu, 28 May 2009 18:02 |
|
bhavionline
Messages: 5 Registered: May 2009
Karma: 0
|
Junior Member |
|
|
naudefj wrote on Thu, 28 May 2009 02:25 | Try this:
Logged in with uid = [ {DEF: __fud_real_user__} ], alias = [ {VAR: usr->alias} ]<br />
|
Well it is not working.
I am including a php file.
And if i put
<br/>
Logged in with uid = [ {DEF: __fud_real_user__} ], alias = [ {VAR: usr->alias} ]<br />
It prints as is without replacing the value.
I actually want to get the logged in users login name to be stored in a php variable so that i can check that against the user of my main site.
Please explain how to do that.
Secondly, i have user profile being set and updated on my main site, i also accept the user picture in the main site is it possible to integrate user profile in such a way that against a topic in the forum it will show the picture from the main sites corresponding user profile or is there any other way to accomplish this.
Lastly i have checked Cookie sessions in the forum and it works great, on my main site's user profile i need to show a user online or offline, i think there is a table in the forum database which tracks the logged in users sessions, so if i can find out the login names of the online users it should solve my problem, can u give me a query for this.
Thanks in advance.
|
|
|
|