Forum Replies Created
-
In reply to: Converting parts of admin bar into page menus
I think that @mercime tried to explain this on another post but I have had no luck finding it.
In reply to: Remove sitewide activityAhh bummer, i’m stumped. Try @ one of the experts here, that way they’ll most probably reply to you as soon as possible.
In reply to: Remove sitewide activityAre you using the original buddypress theme, or a child theme?
In reply to: Personal CalendarsOh, how much searching I’ve done for something like that! Unfortunately I have found absolutely nothing. Right now i’m just hiring someone to make me one.
In reply to: Remove sitewide activityYou will find that inbetween “
and
“
Only down side is that not even you can see the sitewide activity. There is probably some other way to do it. But it works for meIn reply to: Remove sitewide activityHmm, I highly suggest you make a backup of the file I want you to alter. I’m not sure if your using wordpress or not but in any case what I did was..enter buddypress–>buddypress themes–>bp default—>activity–>index.php. (so yea make a back up of your index.php file) Then edit the index.php file by deleting the following
<li class="selected" id="activity-all"><a href="" title=""><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() ); ?></a></li>In reply to: [Resolved] Link to current user profile ”My Profile”Same as mrguythornton, I still don’t know how @ktrusak resolved the issue.
In reply to: custom theme..Try themeforest.net and see if any themes interest you. Or else post what you want your website design to look like on vworker.com
In reply to: Customize Buddy PressAs for search bar…a website said
From what I could find you can’t actually remove that search box. You can however, hide it with a bit of CSS.
Add this to your functions.php or a custom plugin;
`function hide_admin_bar_search () {
echo ‘
#adminbarsearch {
display: none;
}
‘;
}
add_action(‘admin_head’, ‘hide_admin_bar_search’);
add_action(‘wp_head’, ‘hide_admin_bar_search’);`In reply to: Customize Buddy PressIn reply to: [RESOLVED]Hide pages from non-membersYes, it finally works. Thank you so much for that! I do have more questions, but i’ll leave that for another day. Feel guilty constantly asking. But yea good advice, thanks again.
In reply to: [RESOLVED]Hide pages from non-membersIt’s frustrating because that’s almost it. I leave the Header navigation as blank because my buddypress/wordpress pages automatically fill in that menu. So when I am logged in all the pages I want to see are there. I only made my homepage and about page available to the nonmembers, and that works fine too. However, when a user is logged off, they can still see all the pages available to a logged in user aswell as the pages which are available to them. So instead of having one smooth menu for the non member, theres the members menu and below it a non members menu. Note this is only for logged out members everything is fine as far as signed in users are concerned.
In reply to: [RESOLVED]Hide pages from non-membersOK alternative menu etc is all set up on menus page. I am using the Elbee Elgee child theme at the moment. Do I still have to do the first step of implementing that code in the headers menu (<?php
// https://codex.wordpress.org/Function_Reference/wp_get_current_user
$current_user = wp_get_current_user();……In reply to: [RESOLVED]Hide pages from non-membersWhich should result in a nonmember/non logged not being able to see my activities page.
In reply to: [RESOLVED]Hide pages from non-membersfor example wp_nav_menu( array( ‘container’ => false, ‘100’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
} else {In reply to: [RESOLVED]Hide pages from non-membersJust buddypress original for now. So in the ‘menu_ID’ do I just replace that with a ‘(then my page ID’ then im guessing a comma, then ‘(page Id)’ right?
In reply to: [RESOLVED]Hide pages from non-membersI am guessing that I need to make a change in the wordpress-includes pluggable.php
In reply to: [RESOLVED]Hide pages from non-membersI prefer the first option of serving different menus whether the user is logged in or not. Should I put that code into the themes header or funtion.php? Do I need to add to the given code it to specify which pages I want to hide from logged out users. Using latest version of wordpress and buddypress