What URL should I use to point to a users own profile...? This is for use in an HTML block. Any ideas?
What URL should I use to point to a users own profile...? This is for use in an HTML block. Any ideas? |
Hello, you can use link like this: '<a href="' . getProfileLink( getLoggedId() ) . "'">' . getNickName( getLoggedId() ) . '</a>'; PS: If possible do not write me personally, please try to ask on the forum first |
Thanks, that would work perfectly in a PHP block, but this is for an HTML in the Avatar section to encourage users to check their own profile page. Any ideas for simply directing them to their profile in an HTML context? |
Thanks, that would work perfectly in a PHP block, but this is for an HTML in the Avatar section to encourage users to check their own profile page. Any ideas for simply directing them to their profile in an HTML context? You can't do this with a HTML block. You can add a link to member.php, which will take users to their dashboard page. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
That's what it's pointing to right now, member.php but it'd be great to have it link to the actual profile. I guess a PHP block is the only way for this to work as intended. |