+ Reply to Thread
Results 1 to 1 of 1

Thread: Need Current login user Php code for joomla!

  1. #1
    medphoenix's Avatar
    medphoenix is offline x10 Lieutenant medphoenix is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    354

    Need Current login user Php code for joomla!

    Hello,
    Please If anyone know respond me with the code.
    What I want is, I need a PHP code for joomla CMS.
    This code should reveal the current login user (session).
    I need to put this for greeting the user like as follows:
    WELCOME XXXXX!

    When the user haven't login yet, It must show "WELCOME guest!"

    I especially need JOOMLA 1.5 Code, so I can put this one in index.php of any templates.
    Thank you In advance.

    PHP Code:
    <?php echo "Welcome!" ;
            
    xxxxxxxx;            ?>
    xxxxxxxx = your code
    Edit:
    Sorry...no answer on time...I got the answer from another one...So please close this thread
    Last edited by medphoenix; 02-17-2008 at 04:46 PM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. BB Code Guide
    By Jober68 in forum Tutorials
    Replies: 1
    Last Post: 01-10-2008, 05:12 PM
  2. Question with PHP code
    By dpogary in forum Tutorials
    Replies: 34
    Last Post: 08-12-2006, 04:13 AM
  3. User Panel Login
    By Prat92 in forum Free Hosting
    Replies: 2
    Last Post: 03-25-2006, 10:01 AM
  4. PHP login script
    By xunhandmex in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 05-26-2005, 07:56 PM
  5. php nuke login problem
    By oab in forum Free Hosting
    Replies: 7
    Last Post: 04-27-2005, 11:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers