Topic: Remove Upgrade link afetr payment
Hi, how do i go about removing the Upgrade links if the user is a paying member?
Wat is the if statement like?
Cheers!!
You are not logged in.
Hi, how do i go about removing the Upgrade links if the user is a paying member?
Wat is the if statement like?
Cheers!!
<!-- IF member_group_id == "5" -->
<!-- ELSE -->
Your upgrade link
<!-- ENDIF -->
thanks rombest ![]()
Hmm, this only seems to work on the page i am redirected to after logging in which is account_home, when i click on other links, the upgrade link shows again, any ideas?
My upgrade link is in the header, i dont know why it still shows up on other pages apart from my account_home page..
Fixed it by using"session.group_id" instead ![]()
This is the link I have in my header.tpl for for upgrade
<!-- IF settings.enable_upgrades AND session.can_upgrade_account -->
<li class="upgrade">{anchor:url1="account/upgrade/",url2="index.php?m=account_upgrade",name="core|usermenu_upgrade"}</li>
<!-- ENDIF -->
Ho do I tell it to remove this link for paid members.??
Very simple no code needed,
In CP paid members can upgrade (no)