|
|
|
|
![]() ![]() |
Apr 27 2005, 07:30 PM
Post
#1
|
|
|
Bursting with vegany goodness! Group: Members Posts: 342 Joined: 8-April 05 From: Norwich, UK Member No.: 3,753 myCENTs:10.76 |
Since everyone here are geniuses and I'm a bit of a n00b, this should be easy...
All i need is some PHP that will find the current logged in user's username and put it in a textbox. I need to be able to apply formatting, etc to the textbox, and the textbox will be used as part of a form. Could you help me? Please? |
|
|
|
May 4 2005, 04:12 PM
Post
#2
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 myCENTs:84.36 |
Try searching for PHP-Nuke mods - there surely are plenty of them which does this job.. Other than than most details about users are available in the form of variables like {username}, {gender} etc - that's how it works out in Mambo CMS too.. you can insert these directly into text and the values will dynamically change depending upon the current user...
Regards, m^e |
|
|
|
May 4 2005, 07:05 PM
Post
#3
|
|
|
Bursting with vegany goodness! Group: Members Posts: 342 Joined: 8-April 05 From: Norwich, UK Member No.: 3,753 myCENTs:10.76 |
Okay, thanks Earthling. I'll have a looksie.
|
|
|
|
Jun 4 2005, 10:38 PM
Post
#4
|
|
|
Super Member Group: Members Posts: 572 Joined: 25-April 05 From: Nashville Tennessee Member No.: 4,340 |
I am no genius, but I do know where to find certain things about PHP-Nuke ever sice I was a NewBee I wanted all I could find out about the CMS.
Here Is some themes from Nuke Resources and you can go to this site also, they love making themes at this site for PHP-Nuke Nuke Code Theme Preview Page. Hope that helps you in a search for themes and if you want some MODs that work with your forums my site NukeXtra offers MODs that work with the PHP-Nuke Version of phpBB2. You can also try Ported Mods |
|
|
|
Jul 16 2007, 12:55 AM
Post
#5
|
|
|
Premium Member Group: Members Posts: 257 Joined: 29-November 04 From: Marietta, GA Member No.: 1,561 |
All you have to do is is use the following code to get the textbox:
CODE <?php global $cookie; echo($cookie['1']); ?> That is all you have to do for PHP-Nuke to display the currently logged in user name!!! |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 03:34 PM |