I'd wanted the user's package to be displayed in his/her pofile. My solution is a bit tacky but provides what I want:-

1. Using the admin GUI, modify the Video Limit of the packages to correspond to point #2.

2. Edit user.tpl to give ...





{if $pack.video_limit eq "0"} Membership Rank is Platinum {/if}

{if $pack.video_limit eq "500"} Membership Rank is Gold{/if}

{if $pack.video_limit eq "400"} Membership Rank is Silver {/if}

{if $pack.video_limit eq "300"} Membership Rank is Copper {/if}

{if $pack.video_limit eq "200"} Membership Rank is Steel {/if}




My Videos have been viewed {$user_info.video_viewed} times

My Profile has been viewed {$user_info.profile_viewed} times

I've watched {$user_info.watched_video} videos

{insert name=friends_count assign=frcnt uid=$user_info.UID}
I have {$frcnt} friends

</p>


Gives an output such as ...
Membership Rank is Platinum

My Videos have been viewed 267 times
My Profile has been viewed 49 times
I've watched 11 videos
I have 0 friends

I have uploaded 155 videos.
Space I have used 122.53 MB out of 1.95 GB
Bandwidth I have used 1.03 MB out of 800 MB

3. I did not want all the packages & prices displayed in the Sign Up page, I only wanted 'steel' to be displayed. So modified signup.tpl...


{if $enable_package eq "yes"}<tr><td colspan="2"></td></tr><tr><td colspan=2 bgcolor="#000000" align="center"><table width="100%" cellpadding=3 cellspacing=3 bgcolor="#F8F8FF" align="center"><tr><td colspan=2><font size="3px">Available Packages</font></td></tr>{section name=i loop=$package}{if $package[i].video_limit eq "200"}<tr><td valign="top" width=5><input type="radio" name="pack_id" value="{$package[i].pack_id}"></td> <td>{$package[i].pack_name}
{$package[i].pack_desc}

- I certify I am over 18 years old.
- I agree to the terms of use and privacy policy.



NOTE. I will tidy this up up with better info for prospective users. It has the added advantage that anyone who signs up will have to select that they have read Terms and Privacy policy.


I hope this is useful to someone.

VShare is just great!