FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Forum Integration
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Forum Integration [message #159386 is a reply to message #159384] Thu, 28 May 2009 18:02 Go to previous messageGo to previous message
bhavionline is currently offline  bhavionline   India
Messages: 5
Registered: May 2009
Karma:
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to search for attachments to messages
Next Topic: FudForum theme and template edition - probleme to have stable css
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:10:40 GMT 2024

Total time taken to generate the page: 0.04894 seconds