Author Topic: How can I show the member login id....  (Read 4848 times)

0 Members and 1 Guest are viewing this topic.

Offline ma3foos

  • Newbie
  • *
  • Posts: 27
    • View Profile
How can I show the member login id....
« on: March 01, 2008, 02:24:06 PM »
hello all


welcome to my message :)



I created 'order.php' so in the template ---> 'order.html' i tried to show the member nick name in the order form

I triad '{lang_loggedin_msg} ' but it didn't work.


so please tell me how can i show member nick name.....



ENG PLZ hehehe :)

Offline ma3foos

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: How can I show the member login id....
« Reply #1 on: March 02, 2008, 05:56:24 PM »
Urgent PLZ...


Thanks all...

Offline ma3foos

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: How can I show the member login id....
« Reply #2 on: March 04, 2008, 05:54:49 AM »
Please help me I really need this code


without it I can't start my site...


I now its an easy code just "{bla bla bla}"



Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: How can I show the member login id....
« Reply #3 on: March 04, 2008, 08:51:52 AM »
hi,

show us the url to get what you exactly means
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How can I show the member login id....
« Reply #4 on: March 04, 2008, 08:56:33 AM »
... try this in your 'order.php' or 'page_header.php'...
... add after ...
Code: [Select]
$site_template->register_vars(array(

... this ...
Code: [Select]
"loggedin_user_name" => ($user_info['user_level'] >= USER) ? format_text(trim($user_info['user_name']), 2) : "Guest",

... and use in your 'order.html' ...
Code: [Select]
{loggedin_user_name}
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline ma3foos

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: How can I show the member login id....
« Reply #5 on: March 04, 2008, 05:59:19 PM »
Thanks mawenzi It worked %100


And Extra thanks to you Nicky, the bad thing that the galley in Arabic so :)



Thanks all