Hide Allowed Actions

I want to remove the "View Allowed Actions" as it doesn't effect my site. Regardless of your membership (unless you're not a member) level, you still have the same permissions. I just don't want that feature available. How can I pull it out without changing my site to Free Mode?

Quote · 12 Dec 2009

Still need help with this one.

Quote · 13 Dec 2009

Any ideas?

Quote · 13 Dec 2009

explain more...

Quote · 13 Dec 2009

btw, for each membership level you can set permision...go to admin part of your site, Settings>Membership levels, for each membership you have settings, if that you want...

Quote · 13 Dec 2009

Simple. When you are NOT running in "free" mode, you see "View Allowed Actions" in "My Account". I want to remove that link. All memberships have the same functions - just a different title. I want anything mentioning the "Allowed Actions" removed or hidden.

Quote · 13 Dec 2009

Then check in Membership Levels "this site is running in free mode" . All user will have same privileges then and it will disapeared that...

Quote · 13 Dec 2009

I have it set up to where if you make a donation, or you refer enough people, you get a special title. Instead of being Member, I want it to be something like Contributor. Also, if you can verify your identity/age, you get the title of Verified. Which means you are who you claim you are. However, you can't do that in Free Mode right? So if the site isn't in Free Mode, how do you hide "View Allowed Actions"?

Quote · 13 Dec 2009

In Free Mode, you see this;

Profile status:   Active  (Explanation,Suspend) 
Last login:  12-13-09 06:52

In Paid Mode, you see this;

Profile status:   Active  (Explanation,Suspend) 
Membership: You are a standard member.
(View Allowed Actions)
Click here to upgrade. 
Last login:  12-13-09 06:52

I want to remove "View Allowed Actions and have it look like this;

Profile status:   Active  (Explanation,Suspend) 
Membership: You are a standard member.
Click here to upgrade. 
Last login:  12-13-09 06:52

I want to utilize the use of Membership titles so I can distribute them as rank within the site. I don't need View Allowed Actions as each level has the same allowable actions. Though I don't want to run in Free Mode as it hides "Membership" status.

Quote · 13 Dec 2009

Open file inc/profiles.inc.php

find this function: function GetMembershipStatus($memberID, $offer_upgrade = true, $credits = 0 )

find this code:

// Show colored membership name
if ( $membership_info['ID'] == MEMBERSHIP_ID_STANDARD )
{
$ret .= _t( "_MEMBERSHIP_STANDARD" ). $viewMembershipActions;
if ( $offer_upgrade )
$ret .= " ". _t( "_MEMBERSHIP_UPGRADE_FROM_STANDARD" );
}
else
{
$ret .= "<font color=\"red\">{$membership_info['Name']}</font>$viewMembershipActions";




Edit it to:

// Show colored membership name
if ( $membership_info['ID'] == MEMBERSHIP_ID_STANDARD )
{
$ret .= _t( "_MEMBERSHIP_STANDARD" ). "<br />";
if ( $offer_upgrade )
$ret .= " ". _t( "_MEMBERSHIP_UPGRADE_FROM_STANDARD" );
}
else
{
$ret .= "<font color=\"red\">{$membership_info['Name']}</font><br />";

Quote · 13 Dec 2009

Thank you, okweb.

Quote · 13 Dec 2009

Didn't work the way I expected. I recall members being able to view the membership level of other members. Was that disabled or am I just recalling incorrectly?

Quote · 14 Dec 2009

Okay, the "My Account" page, which is what you gave us as an example, is something that you see only when you look at your "My Account" page.  To have this on the profile is a different thing.  In that case, your stating you want your members to be able to see the Membership Level that each member has when they go to that profile?  Just want to make sure of this before anymore work is put into it.

 

 

Quote · 14 Dec 2009

The first part I wanted, was answered by okweb. What I failed to realize, is that the "membership level" isn't visible by other members. I want other members (not visitors) to be able to view the membership level of other members. Currently, I'm doing a work-around, but it's time consuming to do it that way. I need something direct such as the Membership Level in My Account. I only want the membership level accessible by other members. They don't need to see all the other information.

I am thankful for all of those who have helped me thus far. I appreciate the help.

Quote · 14 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.