Search Results for 'buddypress'
-
AuthorSearch Results
-
November 6, 2015 at 2:44 pm #246432
In reply to: Breaking Media and a few other things: error message
ikanaspencer
ParticipantTwenty Fifteen Theme and only BuddyPress activated and I still get that message.
… Disable BuddyPress the error is gone. Custom Taxonomy and Post types were made via the functions.php, as of my testing with the Twenty Fifteen these customizations were not enabled at all. Now I think I did forget to mention this is a multisite setup with only 1 site currently.
Can you give me some clues of what hooks might have been used? I can do some investigating.
November 6, 2015 at 12:48 pm #246427In reply to: Custom Hook Help
Henry Wright
ModeratorTake a look at the source where the hook appears. See here. You should see
do_action( 'bp_after_registration_confirmed' );.This invokes all functions hooked to
bp_after_registration_confirmed. So for example:function test() { // The code here will be run. } add_action( 'bp_after_registration_confirmed', 'test' );In this particular case, nothing is passed to
test(). So to answer your question:how do I retrieve registration data from the hook?
If an argument is supplied to
do_action()like this:do_action( 'bp_after_registration_confirmed', $user_id );, then that argument is passed to your custom function. You can receive that argument like this:function test( $user_id ) { // Do something with $user_id here. } add_action( 'bp_after_registration_confirmed', 'test' );So the short answer is if you want to use
$user_idin your custom function, thenbp_after_registration_confirmedisn’t the right hook to use, because it comes with no arguments. This isn’t always the case because sometimes you may have request variables available but I won’t get into that.Hope this helps!
November 6, 2015 at 12:14 pm #246426In reply to: Buddypress groups styles
jessicana
Participantmercime and @hnla I would appreciate any insights from your part as I need to finish my project and buddypress groups page is reading the home page customized styles.
Thanks
November 6, 2015 at 2:00 am #246416In reply to: Custom Hook Help
Henry Wright
ModeratorCan someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress?
Updating WordPress or BuddyPress won’t overwrite anything you have added to your theme, but updating your theme will do. The way around this is to create a Child Theme.
November 6, 2015 at 1:00 am #246414In reply to: Custom Hook Help
happymunkee
ParticipantThanks for your responses. Plugging in the same code into functions.php inside the theme itself seems to resolve the problem. I put the snippet in wp-content/themes/klein/functions.php. Can someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress? I know updating BP will overwrite the register.php page.
November 5, 2015 at 11:58 pm #246412In reply to: Activity Stream
dhscratch
ParticipantThanks @venutius, but I’m really hoping to get a solution that maintains full functionality of buddypress native activity stream page (e.g., ability to @users and toggle between mentions, friends, groups)… really would love to know how to access and edit the html structure of buddypress pages I guess…
Thanks again!
November 5, 2015 at 11:23 pm #246408In reply to: Breaking Media and a few other things: error message
shanebp
ModeratorHow are you creating the custom taxonomy pages?
re: ‘We get this annoying error’ – yes it is annoying.
It also indicates that something is calling BuddyPress or a WP user function too early in the load process – usually via a hook.
Unfortunately, many themes and plugins do that and there is no warning – but BP will issue the warning.
Tracking down the culprit can be difficult.That warning notice will not appear if you are only using WP and BP with a standard WP theme like 2015.
November 5, 2015 at 7:12 pm #246401In reply to: Front-end Dashboard
Mrdanielclarke
ParticipantHi danbp,
Apologies, maybe I wasn’t clear initially.
I have Buddypress and yes my users can already change the profile picture from the front end, as well as upload files, etc.On my site, users can update their profile, change their avatar, upload various types of files, etc. as well as post on 2 other pages. I want a front-end dashboard where the user can make all the changes from there, so they don’t have to navigate around the site for different changes.
Hope that makes more sense.
Thanks
November 5, 2015 at 6:00 pm #246396In reply to: Front-end Dashboard
danbp
ParticipantIf you use BuddyPress, each user can change/modify his profile picture on frontend !
Try yoursite/members/username/profile/change-avatar/
To share files, you have some plugins like BuddyDrive which comes also with a frontend editor.
November 5, 2015 at 5:57 pm #246395In reply to: Buddypress groups styles
November 5, 2015 at 5:54 pm #246394In reply to: Changing page title for single member
danbp
ParticipantHi,
if you’re comfortable with php, see here:
Here, an example:
https://buddypress.org/support/topic/how-to-change-tags-order/
Another use case here:
https://buddypress.org/support/topic/how-to-get-notification-count-code/Hope this help !
November 5, 2015 at 12:09 pm #246381In reply to: Deafult Group page
Venutius
ModeratorI found this tat might help:
November 5, 2015 at 11:28 am #246377In reply to: Deafult Group page
Venutius
ModeratorYou might want to look at BuddyPress Group Extras. This allows you to create and extra page and set it as the landing page.
November 4, 2015 at 8:04 pm #246365r-a-y
KeymasterPuffyjoe’s example should work in BuddyPress 2.4.0.
BP 2.4.0 will pass all activity update form data, so you can save custom activity data a little bit easier.
If you want to test, v2.4.0 is currently in release candidate status. Read the announcement post here:
November 4, 2015 at 7:57 pm #246364r-a-y
KeymasterIt’s a little bit of both.
Please post a ticket on Trac as I experienced a similar issue just this week. (Not emoji-related, but still!)Update – There is already a ticket:
https://buddypress.trac.wordpress.org/ticket/6346#comment:16November 4, 2015 at 9:42 am #246354In reply to: change the registration page text
danbp
ParticipantHi,
this can be done by template overload and a child-theme.
November 4, 2015 at 9:24 am #246351In reply to: Limit Signups to Age (18)
danbp
ParticipantBuddyPress doesn’t handle the register process, it only show it and add some custom field via xprofile component.
Search on WP’s Plugin Repository or “wordpress age verification” with google. 😉November 4, 2015 at 9:14 am #246349In reply to: Uploaded translations not working
danbp
ParticipantAre you sure that the translation exist ? Have you a buddypress-xx_XX.mo file ? Where xx_XX is the iso of your language (eg en_US).
mois a compiled format and the only file that php need to translate your strings.To get such file, you need to use a language compilator like poEdit. Changing strings in only buddypress-xx_XX.po has no effect on the translation. This format is a simple text format intended to be used by the translator.
And the buddypress.pot (note the final T) is also a text format file which contains the list of all strings you can translate.
Where do you add your copy and which language do you use ?
November 4, 2015 at 9:07 am #246348In reply to: A lot of forums for a group
danbp
ParticipantHave you correctly set up group forums ? Please read here(if you read french), ensure anything is correct and apply what i explained above.
Main reference is here
November 4, 2015 at 9:03 am #246347In reply to: Karmas and Credits
danbp
ParticipantYes i understand what you want to do, but you’re on a BuddyPress help forum. Your questions are not related to BuddyPress but to myCred. For such custom usage, please user the myCred help support.
November 4, 2015 at 6:48 am #246342In reply to: A lot of forums for a group
Lacod
ParticipantThanks
But for me, on the “parent forum” choice, there’s only forums, there is any buddypress group ?
November 3, 2015 at 10:24 pm #246335In reply to: Feature Request – Group invites – invite all
Henry Wright
ModeratorKeep an eye on this ticket:
November 3, 2015 at 7:08 pm #246323karlosdpm
ParticipantDo you know a wordpress o buddy press function i can use to grab all current wp user avatars and assign them to the corresponding buddypress profile? After that, I am planning to have the users change the avatar only from buddypress profile not from front end registration form.
Please help,
thank you!November 3, 2015 at 6:26 pm #246321shanebp
ModeratorThat info is out-dated.
Look in the BP files for examples of writing a class that extends BP_Component.
For example:class BP_Notifications_Component extends BP_Component {inbuddypress\bp-notifications\classes\class-bp-notifications-notification.phpNovember 3, 2015 at 6:03 pm #246319Ryan Bickett
Participant -
AuthorSearch Results