
When modifying or creating a page in PHP Nuke, you may need to get the user id and or username for the currently logged in user. This is easily done by using the cookiedecode function.
Your page must include the mainfile.php whether by using a module or creating a new page in the root of your site. The cookiedecode and other crucial codes are included in that file.
Once you page is ready to get the user id, we will then use the following code to get the information you need.
This was really simple uh? Now you can easily display logged in user information from your modules, blocks and other pages.

Marketplace Themes, scripts, icons and images
Themes site PHP Nuke themes preview site.
234
13,482