Hi,
Have searched on the forum with no luck.
Can some of you help me to hide the "My Groups" button to standard users, and show only to moderators, or those who they membership says that he/she can create a group.
(I also have another module which is a copy of the groups, but if i learn one I can do the other.)
Thank you very much
K
|
Go to Administration, Builders, Navigation Menu then click on the menu item you want to hide. You can set it for members only http://towtalk.net ... Hosted by Zarconia.net! |
I was thinking the request was to remove the big button on the sub-menu bar. I recall a post that gave a mysql query to run to remove it from the database. Geeks, making the world a better place |
I was thinking the request was to remove the big button on the sub-menu bar. I recall a post that gave a mysql query to run to remove it from the database.
You are correct geek_girl.
With that query , do you remember if it was possible to make it visible for all non standard profiles?
|
I was thinking the request was to remove the big button on the sub-menu bar. I recall a post that gave a mysql query to run to remove it from the database.
You are correct geek_girl.
With that query , do you remember if it was possible to make it visible for all non standard profiles?
My apologies, I did not read clearly, I just saw the title. You will need to edit the code to check for the particular membership and then make a decision based on what is found. That button is not part of the builders menu.
"My Groups" is a button that a member can push to see all the groups that member has created. It does not make sense to hide it to certain memberships unless it is visible to members that can not create groups and you just want it done for aesthetics.
Geeks, making the world a better place |
try to check action manager mod. "Your future is created by what you do today, not tomorrow." @ www.dexpertz.net |
It does not make sense to hide it to certain memberships unless it is visible to members that can not create groups and you just want it done for aesthetics.
That is the problem. The "My groups" button it is visible for the members who don't have rights to create groups.
Has no sense at all/
|
I don't think this button can be edited by the actions manager mods in the market. I think you will need to do a database edit on this button. I suggest putting in a job request if you are unable to do the changes; which is checking for the current membership level of the member or checking for allowed action of the member. Jobs can be posted at http://boonex.com/jobs/ Geeks, making the world a better place |
Run the query below in your phpmyadmin and clear cache. It will make the button visible to only persons with permission to add groups.
UPDATE `sys_objects_actions` SET `Eval`='return ($GLOBALS[''logged''][''member''] && BxDolModule::getInstance(''BxGroupsModule'')->isAllowedAdd()) || $GLOBALS[''logged''][''admin''] ? _t(''_bx_groups_action_my_groups'') : '''';' WHERE `Order`=2 AND `Type`='bx_groups_title';
You could also use the Actions Manager module to manage this and other buttons (assuming you know the code to add).
You can also check out the Premium Groups module which adds tons of improvements to the Groups.
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Run the query below in your phpmyadmin and clear cache. It will make the button visible to only persons with permission to add groups.
UPDATE `sys_objects_actions` SET `Eval`='return ($GLOBALS[''logged''][''member''] && BxDolModule::getInstance(''BxGroupsModule'')->isAllowedAdd()) || $GLOBALS[''logged''][''admin''] ? _t(''_bx_groups_action_my_groups'') : '''';' WHERE `Order`=2 AND `Type`='bx_groups_title';
You could also use the Actions Manager module to manage this and other buttons (assuming you know the code to add).
You can also check out the Premium Groups module which adds tons of improvements to the Groups.
thanks a lot
I manage to hide it and placed the links on the top menu
|