Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> PHP-Nuke Help, usernames
saxsux
post Apr 27 2005, 07:30 PM
Post #1


Bursting with vegany goodness!
Group Icon

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?
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post May 4 2005, 04:12 PM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

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
Go to the top of the page
 
+Quote Post
saxsux
post May 4 2005, 07:05 PM
Post #3


Bursting with vegany goodness!
Group Icon

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.
Go to the top of the page
 
+Quote Post
Houdini
post Jun 4 2005, 10:38 PM
Post #4


Super Member
Group Icon

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
Go to the top of the page
 
+Quote Post
wwheeler
post Jul 16 2007, 12:55 AM
Post #5


Premium Member
Group Icon

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!!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. PHP Nuke Database Help(13)
  2. What Is: PHP-Nuke?(11)
  3. Comparative Review Of Mambo And PHP-Nuke(9)
  4. PHP-Nuke(7)
  5. Need Help With PHP-Nuke Themes(5)
  6. PHP-Nuke(3)
  7. Porting Mods For Php-nuke/bbs Systems(1)
  8. PHP-Nuke 7.7.0.3: Newest Official Release(5)
  9. Glad To See The Sub Forum(0)
  10. Anyone Wanting Mods For PHP-Nuke?(1)
  11. Want PHP-Nuke With IPB Forums?(7)
  12. PHP-Nuke With IPB Forums(0)
  13. New PHP-Nuke In Fantastico Needs Patch!(6)
  14. China To Nuke USA(53)
  15. Is Port 8000 Or Shoutcast Port Blocked?(0)
  1. Hide Or Unhide Usernames In Logon Screen(1)
  2. Problem With PHP-Nuke Not Being Able To Mail Out(1)
  3. Is phpBB Jr Admin Mod Compatible With php-Nuke?(3)
  4. Criação De Banco De Dados(3)
  5. PHP-Fusion [mod Of PHP-Nuke](1)
  6. Dragonfly CMS(3)
  7. Online Timed Test In A Php-nuke Site.(2)
  8. How To Create An Online Timed Test With PHP?(18)
  9. How Do Can I Setup Usernames And Passwords?(3)
  10. Is PHP-Nuke Hard To Use?(5)
  11. PHP-Nuke Header Question(2)
  12. Need Phpbb To Nuke Help(2)
  13. Need Phpbb To Nuke Help Offering Cash(1)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 03:34 PM