Search Results for 'buddypress'
-
AuthorSearch Results
-
December 9, 2016 at 10:41 am #261922
In reply to: How to show groups user is an admin of?
danbp
ParticipantGet inspired from here:
https://buddypress.org/support/topic/list-groups-i-am-admin-of/#post-240213December 9, 2016 at 9:03 am #261919In reply to: /wp-admin/customize.php?return=wp-admin
danbp
ParticipantHi,
the only valid URL to theme customizer is:
../wp-admin/customize.php?return=%2Fwp-admin%2Fthemes.phpBuddyPress pages are not customizable like ordinary WP pages. BP pages have dynamic content and can be adjusted to any theme directly by CSS and a child theme. These page should only exist with a title, and nothing else.
Depending the theme you use, and his complexity, customize it to your need first. Once your WP works with the desired layout, you activate BuddyPress.
This should work flawless, out of the box generaly. If you estimate that some details, like a header width or an avatar size should be modified, you do that directly via CSS.
Read codex for more details about themes.December 9, 2016 at 12:39 am #261914In reply to: [Resolved] How to Hide Admin accounts 2016?
livingflame
ParticipantThis work okey –>: but, How I can Hide Admin from BuddyPress Widget??
—->
// Deny access to admins profile. User is redirected to the homepage function bpfr_hide_admins_profile() { global $bp; if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) : wp_redirect( home_url() ); exit; endif; } add_action( 'wp', 'bpfr_hide_admins_profile', 1 ); // Hide admin's activities from all activity feeds function bpfr_hide_admin_activity( $a, $activities ) { // ... but allow admin to see his activities! if ( is_site_admin() ) return $activities; foreach ( $activities->activities as $key => $activity ) { // ID's to exclude, separated by commas. ID 1 is always the superadmin if ( $activity->user_id == 1 ) { unset( $activities->activities[$key] ); $activities->activity_count = $activities->activity_count-1; $activities->total_activity_count = $activities->total_activity_count-1; $activities->pag_num = $activities->pag_num -1; } } // Renumber the array keys to account for missing items $activities_new = array_values( $activities->activities ); $activities->activities = $activities_new; return $activities; } add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 ); // Remove admin from the member directory function bpdev_exclude_users($qs=false,$object=false){ $excluded_user='1'; // Id's to remove, separated by comma if($object != 'members' && $object != 'friends')// hide admin to members & friends return $qs; $args=wp_parse_args($qs); if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])) $args['exclude'] = $args['exclude'].','.$excluded_user; else $args['exclude'] = $excluded_user; $qs = build_query($args); return $qs; } add_action('bp_ajax_querystring','bpdev_exclude_users',20,2); // once admin is removed, we must recount the members ! function bpfr_hide_get_total_filter($count){ return $count-1; } add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');December 8, 2016 at 5:58 pm #261901In reply to: bp-template-notice failure
melodies
ParticipantI have tried with Firefox, Internet Explorer, and the Microsoft Edge browser. They are all having the same issue.
You will need an account to be able to access the BuddyPress pages.
What is a good email address or any alternative to send you the URL and a user account password to use for logging in?December 8, 2016 at 3:29 pm #261894In reply to: How do I integrate BuddyPress?
modemlooper
ModeratorTry another browser, the zip from .org should not download to local. It could also be an issue if you installed BuddyPress from a one click installer. They sometimes create bad folder permissions.
December 8, 2016 at 11:45 am #261891In reply to: User profile links are broken
danbp
ParticipantCheck your forum settings and sync WP and BP users.
Usually on a local site, and standard setup, while you use BP group forum, the forum slug is:
http://localhost/groups/group_name/forum/
If you use wampp, you should have a list of virtual hosts (aka site names), where you installed wordpress. This means also that wp is at the site root. If your site is called mario, you install wp there and then you should havehttp://mario/Once BP is activated, you’ll gethttp://mario/members/orhttp://mario/groups/and so on…The link to the forum user/author/commenter is
http://localhost/members/member_name/When you use bbPress as standalone forum (aside or without BuddyPress), the link looks like
http://localhost/root_forum/single_forum/forum_name/
Link to user is the same as the one indicated previously.More details here
You can also follow the bbPress install guide if you use bbPress separately.
December 8, 2016 at 11:27 am #261890In reply to: Newbie questions
mohamedouqas
Participant@danbp thank you , i’m a beginner my self and that’s how i did it , can you please answer my question here Broken user Link
December 8, 2016 at 11:19 am #261889In reply to: Newbie questions
danbp
Participantif you want to change the labels for you theme you can go to your theme directory and search for these words and replace them. That’s a rough, dirty trick to avoid. 😉
Much more simple, and best practice by the way, is to use the language file shipped with your theme.
But as we’re talking here about BuddyPress, most of the items are in the BP language file.
“Follower” sounds more like used by another plugin. But again, you’ll find it in that plugin language file.
2) There is a plugin: https://wordpress.org/plugins/buddypress-login-redirect/
3) you’re right, this need some custom coding. Read here how to do that:
If you search the forum, you’ll find many examples too.
December 8, 2016 at 9:55 am #261884In reply to: Site Directory – add tagline site description
danbp
ParticipantHi,
basically, you can get it by using WP’s
get_bloginfo()function (read here).There is also this BP function
bp_blog_description(), which works when you’re in the blog loop.You have also several action hooks in the blog template (bp-templates/bp-legacy/buddypress/blogs/blogs-loop.php) you can use to insert a blog description to the blog list.
December 8, 2016 at 9:34 am #261882In reply to: Chat groups
December 8, 2016 at 9:28 am #261881In reply to: WordPress 4.7 breaks BuddyPress
danbp
ParticipantHi @archie22is,
thank you for your report. But when you write such information, it is of your responsability to give correct information.
Such alarming title can confuse any user. It is unfair and to be honest, it is only concerning you (it’s your install who has that issue, not WordPress or BuddyPress, in their globality). Especially that the error message has nothing to do with BuddyPress.
In other words, you annonce 2 wrong information on the wrong forum.
The error is related to bbPress. And there is already a topic about this warning on WordPress support.
Read it and try to repair or add your own opinion to that topic.
Open also – if none exist – a topic on bbPress support.December 8, 2016 at 3:19 am #261873In reply to: Core Pages not Populating
alliebells15
Participant..Right. It appears to be lazy programming to me. Instead of having Buddypress actually integrate with the website for the real page address, it creates its own links which is misleading. If Buddypress is just going to create its own pages, then why should I manually create pages that will not be used and offer no real utility?
I assume you meant to say this is a problem with Permalinks and not with ProfilePress, which is the link you sent me for support. Thank you for that piece of misinformation. I also presume that you are aware that Buddypress is creating its own links and this is why you presented those links to me as if resetting all my plugins actually achieved something…which it didn’t.
Well, this has been lovely. A person can learn to do anything courtesy of google and youtube. However, the ability to be respectful and considerate of other individuals doesn’t come as easily. You work for a support forum, honey. Be supportive.
December 7, 2016 at 10:46 pm #261863tergra
ParticipantFound the source of the issue. I had put the field (First name (Base)) in another group of fields, because it only makes the registration process longer and doesn’t bring anything valuable to the site. But when yo do so, it breaks the registration process for some reason. It no longers makes the required verifications.. I’m now implementing the solution of changing is_required described here by ModemLooper : https://buddypress.trac.wordpress.org/ticket/5373?cversion=0&cnum_hist=3
It seems to work, I only have a issue with the css (I put a big div with display none before xprofile fields and I’m closing it at the end, just before the submit button, but it puts the submit button on the right as if the xprofile field was there, weirdly/Buddypress should really have that in core as this required Xprofile field is really not user-friendly AT ALL. 😉
Thanks everyone ! 🙂
December 7, 2016 at 10:27 pm #261861In reply to: BuddyPress Profile Menu Tabs
danbp
ParticipantDecember 7, 2016 at 10:17 pm #261860In reply to: Core Pages not Populating
danbp
ParticipantPlease be serious,
why do you use index.php (it is a file), when i give you the correct path in my previous answer ?
Such URL‘s can’t work:http://eltconjunction.com/index.php/groups/You’re on buddypress support forum and your BP pages where correctly displayed, a few hours back when i visited your site.
The error you have now is related to ppress. If you have issue with it, you have to ask for help on the appropriate support.
I invite you to read any plugins documentation you want to use BEFORE using them. And encourage you to learn a bit about internet, wordpress and how to build a site…
December 7, 2016 at 5:40 pm #261847In reply to: bp-template-notice failure
melodies
ParticipantHello @danbp,
Below are the details, as requested:– The WordPress version was 4.6.1.
(upgraded to 4.7 to see if that will solve the problem, but it didn’t).
– The BuddyPress version is 2.7.2.
– The BbPress version is 2.5.11.
– The problem started when I upgraded from “WordPress 4.5.3” and “BuddyPress 2.6.1.1” to “WordPress 4.6.1” and “BuddyPress 2.6.2.”
– The theme I tested with is: Twenty Sixteen.
– I have not modified the core files.
– WordPress was installed as a directory, in both root and a subdirectory (Both are having the same problem).
– The only custom functions in bp-custom.php is define ‘BP_FRIENDS_SLUG’.
– The server is running on nginx, and there are no errors in the server log files for today.
I deactivated all non-BuddyPress related plugins, to make sure they’re not the cause of the problem.
This is the only notice that ever appears on the screen and in the source of the page:
<div id=”message” class=”bp-template-notice updated”>
<p>You successfully left the group.</p>
</div>
This happens when I click the “leave group” button on the Groups page, and then refresh the page. After that, if I click on a BuddyPress profile page, it will still display “You successfully left the group” on the profile page as well. Trying to create a new success or error notice by clicking the “Add Friend” button, making an “edit profile” change, or refreshing the page does not change or remove the notice either. No other notice will show except for “You successfully left the group.”
I do not use any cache plugins.
I contacted the host company to see if there is a problem with the install or the server, but they said they couldn’t find any problems on their end. They cleared the server cache and uploaded new WordPress files, but the BuddyPress problem is still there.
Why is “You successfully left the group” the only notice showing on all bp templates?
December 7, 2016 at 5:18 pm #261846In reply to: Core Pages not Populating
danbp
ParticipantJust checked your site… seems to work !
http://eltconjunction.com/register/ is ok
http://eltconjunction.com/members/ is ok
http://eltconjunction.com/members/Alliebells15/ (your profile is……. OK !)
http://eltconjunction.com/groups/ is ok (no groups, but the page is correctly displayed)So what is the problem ? Do you mean perhaps some missing buttons to access those pages ?
Please read here if it’s the case:
December 7, 2016 at 5:09 pm #261844danbp
ParticipantWhere is BP installed ? Where do you try to register a new user ? What is the registration URL ? And give more details about your install please.
December 7, 2016 at 5:04 pm #261841In reply to: BP Restrict Signup By Email Domain – not working
danbp
ParticipantHi,
BuddyPress doesn’t restrict signup by email domain. If you have issues with a third party plugin, please ask for help on their support. This is specially the case for premium plugins, as we have no access to the code.
December 7, 2016 at 4:48 pm #261839In reply to: Core Pages not Populating
danbp
Participantdeactivate all plugins but BP and restart BP’s setup
BP pages should be empty, without any shortcode or template assigned. Once created again, clear eventually the trash, your pages must be unique !
Once ok, go to permalinks, and choose any option but “default”.
In BP pages settings, you should have a page for:
members
activities
groups (if you use groups)
register &
activation (if you allow user registration)Reading the codex will help you to clarify how to proceed.
December 7, 2016 at 4:26 pm #261838In reply to: Core Pages not Populating
alliebells15
Participantyes, I did that first. i had this problem the first time I tried buddypress…there has got to be a workaround. I am on a new server and its still not cooperating. The profile page works as does the page to setup groups so I imagine some of the plugin functionality is intact…just this part….
December 7, 2016 at 3:45 pm #261837In reply to: Core Pages not Populating
Venutius
ModeratorYes it’s supposed to be automatic, have you gone to Dashboard>>Settings>>BuddyPress>>Pages an set the BuddyPress components to display on your pages?
December 7, 2016 at 3:11 pm #261836In reply to: Core Pages not Populating
alliebells15
ParticipantI returned to 2016, deactivated all my extra buddypress plugins and left just the main one and still no pages. Now in Ultimate Member, there are shortcodes inserted on that pages…is that what I needed to do here? Where do I get those shortcodes from or is it supposed to be an automatic thing…
December 7, 2016 at 2:15 pm #261835In reply to: Core Pages not Populating
Venutius
ModeratorBuddyPress does work with 2016, there must be something else stopping it from working. Have you tried deactivating any other plugins?
December 7, 2016 at 12:49 pm #261832In reply to: Creating Landing Page
Venutius
ModeratorHow about this:
-
AuthorSearch Results