1. Derivation of the user ID in the profile

Derivation of the user ID in the profile

  |   1
Derivation of the user ID in the profile


How to add User ID in userinfo.tpl:

Installation:
1. open the file engine / modules / profile.php and find:
$tpl->set( '{lastdate}', langdate( "j F Y H:i", $row['lastdate'] ) );

Add bellow:
$tpl->set( '{usrid}', $row['user_id'] );  

2. open the file userinfo.tpl in the place where you want to display a user ID, insert:
{usrid} 


Derivation of the user ID in the profile


How to add User ID in profile_popup.tpl:

Installation:

1. open the file engine/ajax/profile.php and find:
$tpl->set( '{lastdate}', langdate( "j F Y H:i", $row['lastdate'] ) );

Add bellow:
$tpl->set( '{usrid}', $row['user_id'] ); 

2. open the file profile_popup.tpl in the place where you want to display a user ID, insert:
{usrid} 


Demo: bouncemixtapes.com
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Details

+5

Comments 1

tbenmcp
tbenmcp
DLE TEAM
Commented By tbenmcp on March 8, 2012 (3:05 pm)
thanks for hack...short and simple.
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.