Calling the Drigg User Stats

Hey all,

I am trying to create custom user profile pages and I want to keep the Drigg User Stats in my users' Profile page. Anyone know what code I would use to call that info back in myuser_profile.tpl.php file? I found it in the drigg_users.module and I have been playing around with it but everything I try gives me an error.

I am going to keep working on this myself but I was hoping to get the profile pages up soon and this is the only thing holding me back. Any help would be much appreciated.

Regards,

John

http://www.designbump.com

Which error?

Hi,

What errors are you getting john?
The functions to get the stats are quite straightforward. I will be able to tell you what's wrong if you tell me what the errors are!

merc.

I have no idea

I have been basically copying and pasting the code from the drigg module into my custom profile and it tells me I already have something defined. I have almost no knowledge of PHP and I am sure this should be easy enough for me to figure out I just haven't been able to.

I wish I could go into more detail right now but I am away from my computer and won't be back for a while. I will try to post the exact error messages along with the code I have been trying to use when I get back.

In the meantime, what code should I have pasted into the custom profile to render the users Drigg stats correctly.

Sorry for the hassle but thanks Merc.

Regards,

John