Display User ID Number

How can I display a Member's User ID Number on their My Membership Index Page? Is there some code I can enter into an HTML block? Cheers, Callum.

Quote · 29 Apr 2022

For the member viewing their membership page, you can get the member ID from the session cookie.

$iMemID = (int)$_COOKIE['memberID'];

It would be easier to do it with a php block.

Geeks, making the world a better place
Quote · 7 May 2022
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.