1

Topic: Help with Customization For Member Group

I need help with the following, not really sure whats wrong with it.

in my homepage.tpl i added this
<h1>
<!-- edit -->
Welcome, {session.username} (
<!-- IF loggedin_group_id == "2" -->
Unverified Member
<!-- ELSEIF loggedin_group_id == "8" -->
Verified Member
<!-- ELSEIF loggedin_group_id == "5" -->
Paid Member
<!-- ENDIF -->
)
</h1>

However none of the if statements works, any help greatly appreicated.

2

Re: Help with Customization For Member Group

Firslty i think theres no loggedin_group_id.

Try changing it to member_group_id smile

Last edited by Gukkie (2011-12-16 03:51:51)

3

Re: Help with Customization For Member Group

have a read here :
http://www.vldpersonals.com/docs/custom … _variables

Group ID.
{session.group_id}
this is for logged in user group id

4

Re: Help with Customization For Member Group

Thanks guys, it works now.