Customizing Forum Activity box on profile (userstats)
Last Post 27 Mar 2010 03:36 PM by Adam Jones. 9 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Smart-ThinkerUser is Offline
Customers
Smart-Thinker

Post Count:517





--
28 Feb 2010 04:23 PM  
I want to custom the Forum box on profiles - see http://www.pokerdiy.com/rod.aspx on left column at bottom.

In ProfileView it has this:

af:userstats userid="[DNN:PROFILE:USERID]" run at="server" /

How do I customize this view? I checked the forum templates (under AF) but I could not find a userstats template. It is not under ActiveSocial - how to do?

thanks
Rodney Joyce
PokerDIY.com - Connecting Poker Players
Tags: forum
kiranUser is Offline
Customers
kiran

Post Count:20





--
02 Mar 2010 01:13 PM  
Even  I am having the same problem.
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6271





--
03 Mar 2010 12:42 PM  
It's the same as the profile info template in active forums. Add your own template in between < template >

>af:userstats userid=""< you can complete the rest

<template>
whatever you want here.  
</template>
</af:userstats>
Will Morgenweck
Active Modules
Smart-ThinkerUser is Offline
Customers
Smart-Thinker

Post Count:517





--
03 Mar 2010 01:19 PM  
Thanks - where do I get the existing template from tho - currently in Profile View it is just
af:userstats userid="[DNN:PROFILE:USERID]" run at="server"

with no DisplayTemplate - I just want to tweak what is there already.
thanks
Rodney Joyce
PokerDIY.com - Connecting Poker Players
Caleb HansonUser is Online
Customers
Caleb Hanson

Post Count:69





--
08 Mar 2010 12:21 PM  
This is something I also need to do, has anyone found the default template yet?
Smart-ThinkerUser is Offline
Customers
Smart-Thinker

Post Count:517





--
21 Mar 2010 02:01 AM  
Will/Ben - can you please help with this - I am still no closer to figuring this out - we need to know where the existing template is please.
thanks
Rodney Joyce
PokerDIY.com - Connecting Poker Players
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6271





--
21 Mar 2010 08:34 PM  
There isn't an existing template. When a template isn't specified it loads a hardcoded default string. If you want to modify the template then you need to create it as indicated above. It uses the same tokens as you would find in the Active Forums postinfo template.

Go look at your postinfo template in Active Forums. Then go to your profile template and change the tag from

<af:userstats userid="[DNN:PROFILE:USERID]" runat="server" />

to something like this...

<af:userstats userid="[DNN:PROFILE:USERID]" runat="server" >
<template>
<span class="aslabelsmbold">Posts:</span> [AF:PROFILE:POSTCOUNT]<br>
<span class="aslabelsmbold">Rank:</span> [AF:PROFILE:RANKNAME]<br>
<span class="aslabelsmbold">Level:</span> [AF:PROFILE:RANKDISPLAY] <br>
<span class="aslabelsmbold">Last Activity:</span> [AF:PROFILE:DATELASTACTIVITY:d] <br>
<span class="aslabelsmbold">Member Since:</span> [AF:PROFILE:DATECREATED:d]
</template>
</af:userstats>
Will Morgenweck
Active Modules
Smart-ThinkerUser is Offline
Customers
Smart-Thinker

Post Count:517





--
21 Mar 2010 11:32 PM  
Ok, thanks - I will give that a go!
thanks
Rodney Joyce
PokerDIY.com - Connecting Poker Players
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6271





--
25 Mar 2010 03:27 PM  
correction. Use template instead of displaytemplate
Will Morgenweck
Active Modules
Adam JonesUser is Offline
Customers
Adam Jones

Post Count:329





--
27 Mar 2010 03:36 PM  
Rod, it looks great!! I just checked it out
Adam Jones http://www.JapanBases.com
You are not authorized to post a reply.

Active Forums 4.2
Who is online:
Active Modules