Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:25 am EST
Geeklog Forums
Display username on site
smgizmos
Anonymous
Which file should I edit if I want to display the username on the site? Maybe at the top right hand side of the site.
Thanks.
Thanks.
5
11
Quote
ironmax
Anonymous
What is it that you are trying to accomplish? Displaying the currently logged in user of the person that is logged in on their own browser. Or are you trying to display all users?
Michael
Michael
9
11
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Text Formatted Code
<?= $_USER['username'] ?>-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
9
12
Quote
smgizmos
Anonymous
Thanks for the reply guys . I was trying to display the currently logged in user of the person that is logged in on their own browser. Managed to solve it by adding the welcome text to the header file.
Also is there an easy way to add captcha for the site. A short tutorial which might have steps I can run through.
Also is there an easy way to add captcha for the site. A short tutorial which might have steps I can run through.
9
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: smgizmos
Also is there an easy way to add captcha for the site. A short tutorial which might have steps I can run through.
There's a CAPTCHA plugin - search the Downloads area. You've been using it when you made your posts here on the forum, since you aren't logged in.
bye, Dirk
6
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: suprsidr
Text Formatted Code
<?= $_USER['username'] ?>Btw, a somewhat nicer way would be to call COM_getDisplayName(), since that function would also figure out whether to display the short username or the real name, according to the current settings.
bye, Dirk
7
8
Quote
smgizmos
Anonymous
Thanks for all the help!
8
9
Quote
All times are EST. The time is now 06:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content