it's working!!! Thanks a lot Cherie.
So here is the complete solution.
Show message A if user member is still pending
Show message B or nothing if membership is activated
Step 1:. In file
include/check_useraccount.php
I added at the the end of the source code:
Quote:
$smarty->assign("user_membershipid",$user_account['membershipid']);
|
Step 2:
In file 2-columns/customer/main/welcome.tpl
Add the code
Quote:
{if $user_membershipid eq 6} eq 0}
<p> MESSAGE A </p>
{else}
<p>MESSAGE B </p>
{/if}
|