How to remove links from profile_menu.tpl
Using Jamroom
I menat to add that code (profile_quota_id="{$profile_quota_id}"
to the template NOT inside the jrProfile_menu function. Just put it before the function and see what gets printed to the page - kind of like a poor man's debug - you see jsut the variable you are interested in.Make it more obvious by putting it in a h1:
<h1>profile_quota_id="{$profile_quota_id}"</h1>BUT, if your quota id is 2, that might be something now working quite right in the code. As far as I can see you should only get that error message if $profile_quota_id is not a number.