-
orpatech replied to the topic [Resolved] Display Settings options to admin only in the forum How-to & Troubleshooting 12 years, 6 months ago
Just add an the following IF Statement
if (current_user_can('level_10')){}
Add the above if condition around the following code in wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php
[Read more]
$main_nav = array(
'name' => __( 'Settings', 'buddypress' ),
'slug' => $this->slug,
'position'… -
orpatech.com replied to the forum topic Display Settings options to admin only in the group How-To and Troubleshooting 12 years, 6 months ago
Just add an the following IF Statement
if (current_user_can('level_10')){
}
Add the above if condition around the following code in […]
-
orpatech.com replied to the forum topic Add Group Name in Member-header in the group How-To and Troubleshooting 12 years, 6 months ago
I wrote some custom code which may help you out…..
`
$query = mysql_query(“SELECT * FROM bp_groups_members WHERE user_id = $user_id “);
$numrows = mysql_num_rows($query);
if ($numrows !=0 ){
$row = […] -
orpatech.com replied to the forum topic Lost Registration Page – Urgent help needed on Live site. in the group How-To and Troubleshooting 12 years, 6 months ago
Got it!
go to yoursite.com/wp-admin/admin.php?page=bp-page-settings (Or buddypress-> Pages in CMS)
There you will see an option of creating a new page for Registration…
just click on it and you will be sorted..
Thanks -
orpatech.com replied to the forum topic Lost Registration Page – Urgent help needed on Live site. in the group How-To and Troubleshooting 12 years, 6 months ago
And you are not sure about the correct location of that file ???
“Once Again” What were you trying to delete ??? Your theme or what ? -
orpatech.com replied to the forum topic Lost Registration Page – Urgent help needed on Live site. in the group How-To and Troubleshooting 12 years, 6 months ago
Do u know what you have deleted???
What files were you deleting?? Was you deleting your theme files ?? -
orpatech.com joined the group How-To and Troubleshooting 12 years, 6 months ago
@orpatech
Not recently active