Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Using some member function.

Asked Modified Viewed 3,225 times
S
Sea123
S
Sea123 10
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
asked
Member

Hi. I want use some member function on other .php page.

I want do these:

 if (this user is site member )
echo(' Something');
else
echo(' Something');


And how i can get member information (name, e-mail, active=true or false)
0 replies

6 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

if (iGUEST) {
      echo "Code for Guest";
   } else {
echo "Code for member";
   }
0 replies
S
Sea123
S
Sea123 10
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
answered
Member

Thanks Fangree_Craig. And how i can get members inforation.
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

echo "Hello ".$userdata['user_name'];
0 replies
M
mawan
M
mawan 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Where can I get a complete list of all the variables (like $ userdata) and the explanation?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Try on the PHPFusion Codex Site.

[ PHPFusion Codex]
0 replies
S
starefossen
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
answered
Senior Member

Quote

mawan wrote:
Where can I get a complete list of all the variables (like $ userdata) and the explanation?


Complete list of variables and constants are coming to the PHPFusion Codex very soon, we are working on it :D
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
S
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
S
S
Sea123 10
  • Member, joined since
  • Contributed 52 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
M
M
mawan 10
  • Newbie, joined since
  • Contributed 3 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet