Activity Modification, v3.00
for vBulletin 3.7.0
by WetWired the Unbound

This file contains reference information for people who want or need to change the default display of the activity mod. Users wishing to slightly alter the way the activity information by the postcount is displayed should edit the activity_statblock template. Users wishing to display the rank as an image should edit the activity_rankblock template. Users wishing to make more complicated postbit changes should study the Available variables section, which lists variables you can use directly in the postbit template.

Predefined templates

The following templates are added by the mod:
Template nameDescription
activity_headincludeContains the javascript used to do DOM modification of postbits. Appended to headinclude at runtime.
activity_navbarContains the navbar link for the Top Activity page.
activity_postbit_epilogueContains a JS call to the function in activity_headinclude for the current post. Gets added at the end of the visible postbit.
activity_rankblockContains the ranktext output wrapped in a DIV. You might want to change it to use a custom image, instead.
activity_statblockContains the image-version statblock, displaying activity, longevity, activity today, and postcount.
activity_statblock_textContains the text-version statblock, displaying activity, longevity, and activity today.
activity_topstatbitContains a row of the Top Activity page.
activity_topstatpageContains the main Top Activity page.
memberinfo_block_activityministatContains the Activity block optionally displayed in user profiles on the right side.
memberinfo_block_statistics_activityContains the Activity section optionally added to the Statistics tab in the user profiles.

Available variables

WhereUse this form
postbit templates$WWU002_XXXX
userinfo templates$userinfo[WWU002_XXXX]
anywhere (logged in user)$bbuserinfo[WWU002_XXXX]
activity_rankblock, activity_statblock$output[WWU002_XXXX]

Base variable nameDescription
Pre-formatted
WWU002_rankblockContent of the template activity_rankblock
WWU002_statblockContent of the template activity_statblock
Overall activity
WWU002_activitypercentActivity value as a percent
WWU002_activitylevel0-20 rating for use in an image name
WWU002_activityRaw activity
WWU002_maxpointsMax value for WWU002_activity
Overall activity breakdown
WWU002_activityfromvisitsActivity from visits value as a percent, only available for registered users
WWU002_activityfrompostsActivity from posts value as a percent, only available for registered users
Today's activity
WWU002_todaylevelToday's activity 0=no visit today or invisible 1=visted today values over one indicate a visit and $todaylevel-1 posts up to maximum
WWU002_maxtodaylevelMaximum possible value for WWU002_todaylevel
Longevity
WWU002_longevitylevel0-20 rating on the amount of time user has been a member compared to the time the first undeleted user in the database registered (usually userid 1)
WWU002_longevitypercentSame information as a percentage
Detailed info for tooltips
WWU002_activityinfoInformation to put in a title attribute for the activity line
WWU002_todayinfoInformation to put in a title attribute for the today line
WWU002_longevityinfoAs above, those cool details that on IE and NS should appear in a tooltip
Postcount
WWU002_postsd1 - WWU002_postsd9Used for images version of the templates. Nine digits of the postcount for imagization. $postsd1 is the most significant digit. Value for each will be either 's' for a space or '0'-'9'. Must be enabled in admincp.
Rank
WWU002_ranktextOutput of advance rank system for this user
WWU002_memberlevelNumber 1-3 indicating whether a member had reached the thresholds setup in the options
The availability of 'today' variables and/or their normal information is dependant upon several settings in the options. Displaying activity today causes significant SQL load and is thus disabled by default.

Manual postbit modifications

To manually alter your postbits, select from these instructions. For lightly modified styles with template hooks, you shouldn't need to use this section

postbit (default location)

find
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
below it, insert
$WWU002_rankblock
find
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
above it, insert
$WWU002_statblock

postbit (alternate location)

find
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
below it, insert
$WWU002_rankblock
find
</tr>
</table>
<!-- / user info -->
above it, insert
<td class="WWU002postbit">$WWU002_statblock</td>

postbit_legacy (default location)

find
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
below it, insert
$WWU002_rankblock
find
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
above it, insert
$WWU002_statblock

postbit_legacy (alternate location)

find
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
below it, insert
$WWU002_rankblock
find
<if condition="$show['avatar']">
  <div class="smallfont">
     <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
  </div>
</if>
below it, insert
$WWU002_statblock