Search Results for 'buddypress'
-
AuthorSearch Results
-
June 16, 2016 at 5:07 pm #254688
r-a-y
KeymasterYou should only activate group extensions on the BuddyPress site whenever possible, not network-wide.
What happens when you activate the group extensions only on the BuddyPress site?
June 16, 2016 at 5:01 pm #254687sharmavishal
Participantif i deactivate BuddyPress Event Organiser By Christian Wach and wise chat the sub domain comes up
June 16, 2016 at 4:43 pm #254680sharmavishal
Participantrefreshed the page and strangely line number changed
Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 488
June 16, 2016 at 4:41 pm #254677sharmavishal
Participant@danbp thanks..yeah read that…
added the code…line number changes..
Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 486
June 16, 2016 at 4:30 pm #254672r-a-y
Keymaster@sharmavishal – Can you add the following in
wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php:if ( defined( 'WP_NETWORK_ADMIN' ) ) { echo get_called_class(); }Right before this:
// Usually this will work. $group_id = bp_get_current_group_id();This should print the names of the group extension classes that are being loaded right before the fatal error.
Can you copy and paste this info here?
Thanks!
June 16, 2016 at 4:12 pm #254667sharmavishal
ParticipantBuddyPress Groups Extras am using deactivated it…created a new site via add new same issue
June 16, 2016 at 4:04 pm #254662sharmavishal
Participant@r-a-y existing multisite site setup. bp activated network wide. added a new site via add new site in admin….the site added page comes up..but when u click on dashboard of new site or visit new site both dont come up….the error mentioned before….tested with rc1 bp also..following debug error with rc1:
Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484
June 16, 2016 at 3:46 pm #254647In reply to: Private messages isn’t working
r-a-y
KeymasterSjoerd – I think your issue should be fixed in BuddyPress 2.6.
BuddyPress 2.6 is going to be released next week, so if you can wait until then that would be great.
Or, you can test our release candidate version here:
BuddyPress 2.6.0 Release Candidate 1 now available for testing
June 16, 2016 at 3:44 pm #254646In reply to: Adding Sub-groups
r-a-y
Keymasterbut BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bpā¦
For BuddyPress 2.6, group types will not allow you to sort groups into sub-groups. It’s only a developer feature for organizing groups into different types (think tagging posts) at the moment. We hope to expand this feature in future versions.
Check out the codex article for more info:
https://codex.buddypress.org/developer/group-typesJune 16, 2016 at 3:35 pm #254644In reply to: BuddyPress 2.6RC Embeds for activity
r-a-y
KeymasterWe do not show the preview of the URL in the actual activity stream. It shows up in the activity embed when you want to share your activity update on other sites.
Check out the codex article for more info:
https://codex.buddypress.org/activity-embedsYour suggestion is something I’ve been thinking about as well, but this will be changing the default behavior of oEmbed items since BP v1.5. We might think about this for a later version of BuddyPress.
June 16, 2016 at 2:23 pm #254641Masoud
Participant@shanebp
hi. tnx for answer and patience. got 5 more minutes? š
i read and worked on what you said. and if i want to be honest, i could’t do anything special unfortunately.
now, i want to ask your opinion about this idea:
i’ve come up with the idea of hiding that field. (not email field), how?
with the use of if condition… (if it’s not empty show it. if it has data, hide it)!
——-
i’ve created a custom-meta with this code in theme functions:add_action( 'personal_options_update', 'my_save_extra_profile_fields' ); add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' ); function my_save_extra_profile_fields( $user_id ) { if ( !current_user_can( 'edit_user', $user_id ) ) return false; /* Copy and paste this line for additional fields. */ add_user_meta( $user_id, āperson_relationā, 30318 ); update_usermeta( absint( $user_id ), 'person_relation', wp_kses_post( $_POST['person_relation'] ) ); update_user_meta( $user_id, 'person_relation', $_POST['person_relation'] ); }and used it in my buddypress signup form, to get data from users. ok?
after what you said, i went to edit.php (copy to my theme buddypress folder…)
and added these codes. but it seems that they do not recieve/send data at all.
it looks like they are empty!! š
after<?phpat the start,
i added :global $user, $user_id; $person_relation = get_the_author_meta( 'person_relation', $user->ID ); $user_id = get_current_user_id();and in the
<form>,
i added this piece of code (not working)
then copied and changed the “save changes button”.
so there is 2 buttons. one is for my-custom-meta, and the other is for buddypress form.
buddypress edit page
if user writes the name and click save. the box/button, all should gone. and i have to see the data in Users admin panel.
but nothing is getting save… and i dont know where am i doing it wrong<?php if( $person_relation == '' ): ?> <tr> <th><label for="person_relation">Invitor's Name</label></th> <td> <input type="text" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" class="regular-text" /><br /> <span class="description">Please enter your invitor's name.</span> </td> </tr> <input type="hidden" id="userID" value="<?php echo $user_id ?>"/> <div class="submit"> <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Name', 'buddypress' ); ?> " /> </div> <input type="hidden" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" /> <?php add_action( 'personal_options_update', 'my_save_extra_profile_fields' ); ?> <?php add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' ); ?> <?php do_action( 'xprofile_profile_field_data_updated'); ?> <?php endif; ?>so sorry for long description. tnx for help.
any suggestions do you have?June 16, 2016 at 1:16 pm #254636valuser
Participantsee
BuddyPress 2.6.0 Release Candidate 1…
perhaps best, if not already, to leave a ticket at
https://buddypress.trac.wordpress.org/newticket
hope you get it sorted.
June 16, 2016 at 12:37 pm #254630In reply to: @mention notification not working on blog posts
danbp
Participantnotification not working on blog posts.
It’s not implemented. See why on #4046
But you can eventually try the one or other plugin actually available on WP repository.
Particulary Mentionable, Email Mentioned or Mention comment’s Authors
June 16, 2016 at 12:15 pm #254627In reply to: Problem with Private message
danbp
ParticipantPlease don’t double post. I answered you on this topic.
June 16, 2016 at 12:11 pm #254626In reply to: Private messages isn’t working
danbp
ParticipantPrivate message
A user must have friends to send private messages or visit the profile of another user to send him a msg.
To get it to work, you need also to enable following options in BP settings:
– Friend Connections
– Private messaging
Additionnally, if you want to be notified by email
– NotificationsWhatever the option you activate, best practice is to control how it works on your config. To do that, use only WP, BP and one of Twenty’s theme before activating a third party theme and any other plugin.
This will ensure you that BP is fully working on a standart WP config.Mention
@mention use AJAX which can in some case, mostly with sophisticated themes or frameworks, lead to conflict. In that case, the culprit isn’t BP or WP, but the theme or a plugin whose code (generally) use a different standart as WP.
If you get issues with mention or messaging, activate wp_debug in wp-config and check your browser JS console to track down errors. The one or the other can give you precious debug information. You can also use a debug tool like Firebug.
June 16, 2016 at 10:29 am #254625In reply to: Adding Sub-groups
sharmavishal
Participantgo to pull requests
https://github.com/ddean4040/BP-Group-Hierarchy/pulls
exampe: check christianwach request…you would get the files he would have modified….
you can see the latest one would be for BuddyPress 2.6 which would release soon…
dont think so this would be merged in bp…the moderators would have better idea on this…but BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bp…
June 16, 2016 at 3:29 am #254613Jonas
ParticipantHi,
you can control whether or not to show the alerts through their css classes.
I’m guessing you’ve copyied Buddypresses way of notification alerts to your own templateās custom header, something like this svn.buddypress.org/branches/2.0/bp-notifications/bp-notifications-adminbar.php
0 notifications is governed through the .no-alert class – and whenever more than 1 notification is shown, it’ll have the .alert class.
So you could do something as as simple as writing
.no-alert {display:none}in your css stylesheet.June 15, 2016 at 7:46 pm #254590In reply to: Solve Error 500
castresana
ParticipantI’ve checked. Nothing solves the issue.
After going back my own steps. I used the Buddypress Repair Tools. And one of the process got the Error 500. Maybe it was the beginning. I don’t remember which one, but it looks like it all comes from the DB.
Any ideas?
Thanks!r-a-y
KeymasterContact the authors of rtMedia:
https://wordpress.org/plugins/buddypress-media/June 15, 2016 at 5:35 pm #254584danbp
Participantadd this from within your child-theme style.css:
#buddypress .standard-form#signup_form div.submit { float: left!important; background-color: orange!important; height: auto!important; } #buddypress .standard-form div.submit input { margin: -12px 3px 3px 3px!important; }June 15, 2016 at 2:35 pm #254579In reply to: Solve Error 500
danbp
ParticipantIt’s a common issue but not directly related to BuddyPress. Some ideas and hints here.
June 15, 2016 at 1:03 pm #254577In reply to: Solve Error 500
castresana
ParticipantI’ve managed somehow to activate everything.
Basically all plugins (including Buddypress) are working.
The problem is that I cannot enter the wp-admin area. I get an Error 500 when I try to load that section.
The rest of the website (the real website) works without a problem.
Any ideas on how to solve this issue? Thanks!PS: Error from the errorlog.-
This is the error I'm getting: [Wed Jun 15 15:10:00.498556 2016] [fcgid:warn] [pid 11901] [client 188.32.118.119:42274] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/mydomain.com/httpdocs/wp-includes/wp-db.php on line 2352June 15, 2016 at 11:53 am #254573Topic: Blank notifications in Buddypress
in forum How-to & Troubleshootingmyndphunkie
ParticipantHi Guys,
BuddyPress v2.5.3
Wordpress v4.5.2
My own theme created with ArtisteerGetting blank notifications for every user. Seems to happen when something is triggered (ie: user is mentioned in the activity wall or something else).
Never used to happen, can only assume an update has caused it.
Has anyone else had this? Is there a log file I can check to see what’s going on?
Thanks
June 14, 2016 at 7:57 pm #254556danbp
Participantat the moment, /register leads to a 404 error (page not found).
I deleted that page and re created again.
– Did you also deleted it definetly from Trash ?
– Did you checked the existence of the page in BP pages settings ?
– It seems also that you don’t have an activation page.
– Once both pages are activated, go to permalinks, select any option except “default” and save.and inserted short-code
All BP pages should always stay blank without any content. If you need a shortcode on a BP page, you must add it to the template.
June 14, 2016 at 4:48 am #254536In reply to: WP User Avatar Not Showing in BuddyPress
r-a-y
KeymasterSo what you’re looking for is to use a custom user avatar instead of BuddyPress’?
Try the following code snippet in your theme’s
functions.phporwp-content/plugins/bp-custom.php:remove_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 6 );Update – That code snippet only reverts the avatar in WordPress posts and comments.
To override BuddyPress avatars in BuddyPress content with a custom avatar solution, you would have to hook into the
'bp_core_fetch_avatar'filter:
https://buddypress.trac.wordpress.org/browser/tags/2.5.3/src/bp-core/bp-core-avatars.php?marks=534-549#L534 -
AuthorSearch Results