Displaying number of items for each user

manderly

Joined: 2008-04-04
Posts: 71
Posted: Mon, 2012-10-01 19:11

Hi,

I would like to make a minor modification to the code but know absolutely nothing about this language...

Would it be possible to change the UserPreferences.tpl to display the number of items added by the user, in addition to already showing his/her full name, email address, etc...?

If it is possible, what line of code should be used?

Thank you so very much for your help!

manderly

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2012-10-01 20:11

Possible but you will need to to query the database and display the results.

Not particularly difficult but then, not a trivial task at the same time ... that is, it is not a task likely to be done by a line of code.

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-10-01 20:30

The members module does some of this already

-s
All New jQuery Minislideshow for G2/G3

 
manderly

Joined: 2008-04-04
Posts: 71
Posted: Mon, 2012-10-01 23:48

Thank you for your help...I'll take a closer look at the Members module!

manderly