![]() |
Hiding Membership dropdown from register.php
Hello ..
Is there a way in which i can hide the Membership dropdown combo from the 'Create Profile' page if there arent any membership levels created ? I'm looking at membership_signup.tpl which has the following code: Quote:
I know some smarty code is involved, but i'm not sure on how to achieve this this ? Any ideas ? Regards Shafiq :sK |
Just un-check the Moderated sign-up for membership: checkbox in General settings and it will go away.
|
Re: Hiding Membership dropdown from register.php
Hi,
Is there a way to display certain membership levels on the registration page but keep others hidden (only available in the admin side)? ie: on the registration page, I want only "retail" and "wholesale" to be available. But after someone registers, I want to be able to, on the admin side, change it to a specific membership designation that is only available on the admin side. Any thoughts? |
Re: Hiding Membership dropdown from register.php
Quote:
I too would like to achieve this. I don't want to the user to decide what level they are at, but instead should be left to the admin to determine what levels other than a standard user they are elevated to. Example is I created a level "Insider" which users would receive special dealas and notifications that standard users will not have ready access to. |
Re: Hiding Membership dropdown from register.php
I think I figured out a quick fix.
In the following section of /admin/main/membership_signup.tpl Code:
{foreach from=$membership_levels item=v} add the following if statement as follows: Code:
{foreach from=$membership_levels item=v} where the membershipid is equivalent to the ID of the membership level you would like to display in the drop-down (Hint: try experimenting with 1, 2, etc until you ahieve your desired options set) With this done, you will be able to create as many membership levels on the admin side, and designate a user to a particular membership level after they register without them having access to it on the registration page. Hope this helps! |
Re: Hiding Membership dropdown from register.php
Anybody try this yet?
|
All times are GMT -8. The time now is 12:33 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.