Search Results for 'buddypress'
-
AuthorSearch Results
-
October 6, 2014 at 4:11 pm #204604
In reply to: Change "Groups" page title
danbp
ParticipantOctober 6, 2014 at 1:07 pm #204305In reply to: Report Abuse Button next to Photo
Henry Wright
ModeratorCheck out this thread that recently discusses some of the options available:
https://buddypress.org/support/topic/report-user-report-abuse-flag-something/
October 6, 2014 at 3:24 am #204303In reply to: [Resolved] buddypress.pot is OK?
oshimamasara7
ParticipantOctober 5, 2014 at 6:56 pm #204299In reply to: Register and Activate pages not working
ecrip
ParticipantNor is mine
WordPress 4.0 running Cosmic Buddy theme
BuddyPress 2.1
bbPress Version 2.5.4
http://lifeplusstyle.com/site/Registration, signup, Activate don’t work. Takes me to a blank page http://lifeplusstyle.com/site/register/
Neither does the vast majority of the drop-downs in the upper right corner; also takes me to a blank pages.
I have tried testing in several themes including Twenty-Twelve and Twenty-Fourteen. The same issues are present using these themes too.
~Ecrip
October 5, 2014 at 6:07 pm #204295r-a-y
KeymasterTo be sure, did you edit
/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php?.If that didn’t work, run your browser’s web inspector and see what javascript errors pop up.
For example, here’s how to do this in Firefox:
https://developer.mozilla.org/en-US/docs/Tools/Web_ConsoleOctober 5, 2014 at 1:27 pm #204291In reply to: Remove all Profile / Member Links
shanebp
ModeratorFind the template for each situation and follow the code.
For example, for groups, create an overload of
buddypress\bp-templates\bp-legacy\buddypress\groups\single\members.phpIn that file, remove the href on the avatar.
Replace bp_group_member_link() with a call to a custom function that you write in bp-custom.php.
In that function, add a check for the user’s role.Example, untested, return link only if member is an admin
function ourweb_bp_group_member_link() { echo ourweb_bp_get_group_member_link(); } function ourweb_bp_get_group_member_link() { global $members_template; if( is_super_admin( $members_template->member->user_id ) ) return apply_filters( 'bp_get_group_member_link', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $members_template->member->display_name . '</a>' ); else return $members_template->member->display_name; }October 5, 2014 at 1:14 pm #204289Henry Wright
ModeratorTry this function:
function bp_set_notification_default( $user_id ) { $keys = array( 'notification_activity_new_mention', 'notification_activity_new_reply', 'notification_friends_friendship_accepted', 'notification_friends_friendship_request', 'notification_groups_admin_promotion', 'notification_groups_group_updated', 'notification_groups_invite', 'notification_groups_membership_request', 'notification_messages_new_message', 'notification_messages_new_notice' ); foreach ( $keys as $key ) { update_user_meta( $user_id, $key, 'no' ); } } add_action( 'bp_core_signup_user', 'bp_set_notification_default', 100, 1 );Ref: http://premium.wpmudev.org/forums/topic/how-can-i-disable-buddypress-notification-email
October 5, 2014 at 11:11 am #204284Tom
ParticipantI added the javascript fix to my buddypress functions which didnt fix it
https://buddypress.org/support/topic/buddypress-2-1-known-issues/Then I remembered I had BuddyPress Template Pack installed separately, if I deactivate this then the slider works, but then Half my website breaks! So still broken.
October 5, 2014 at 10:29 am #204276In reply to: Modifying The Member List
1a-spielwiese
ParticipantThe basic issue is resolved.
Regarding the two persting problems I have started more specific topics:
https://buddypress.org/support/topic/age-for-each-user-instead-of-age-for-logged-in-user/
and
https://buddypress.org/support/topic/addressing-profile-fields-with-complex-names/
Therefore, for my point of view, this topic could be closed.
October 4, 2014 at 8:13 pm #204265In reply to: Cannot activate Components
danbp
Participantread here first please.
-have you enough php memory on your server ?
-are you on a local install ?
-is site language english ?
-which theme do you use ?
-do you use other plugins ?October 4, 2014 at 6:57 pm #203984In reply to: Cannot activate Components
danbp
Participanthi @reuldereut,
have you activated “groups” component in BP settings ?
Have you a page for “groups” ?
https://codex.buddypress.org/buddypress-components-and-features/groups/October 4, 2014 at 6:53 pm #203983In reply to: ***** Unable to create Groups – fail on STEP 2
danbp
ParticipantSorry, no idea, but some similar issues in the past days/weeks.
https://buddypress.org/support/topic/group-creation-settings-blank/
https://buddypress.org/support/topic/group-edit-dashboard-broken/
https://buddypress.org/support/topic/managing-group-creation-urgent-help/
https://buddypress.org/support/topic/having-problems-creating-groups/October 4, 2014 at 12:26 pm #203974In reply to: Splitting the member list into two part
1a-spielwiese
ParticipantHow can I delete the text, which is striked within the screeshots:
(More or less) resolved; the solution you can find there:
http://dontdream.it/support/topic/reshaping-the-search-result-pages/#post-3042 (regarding ‘löschen’)
http://dontdream.it/support/topic/reshaping-the-search-result-pages/#post-3043 (regarding member-search)
https://buddypress.org/support/topic/which-files-create-the-page-titles-site-wide-activity-members-and-groups/#post-203963 (regarding the page-title).
—-
I abstained from deleting ‘All member’ + number; instead I re-designed it:
http://dontdream.it/support/topic/reshaping-the-search-result-pages/#post-3044 (3rd section)
—-
The result is:
http://1a-spielwiese.de/mitglieder/?field_124=Team&bp_profile_search=326
and
http://1a-spielwiese.de/mitglieder/?field_124=Fan&bp_profile_search=326
October 4, 2014 at 12:01 pm #2039731a-spielwiese
Participant@danbp / https://buddypress.org/support/topic/which-files-create-the-page-titles-site-wide-activity-members-and-groups/#post-203971:
Nobody told you to put bp-loader in the child theme !
My question was:
Where I would have to place my bp-activity-loader.php-Copy?
And your answer was:
If you want to modify template files, you do that with a child-theme and by respecting the same directory structure
So, if your answer was not an answer on my question – what would be then the answer on my question?
—–
However:
Changing words with the translation file is best practice, so you haven’t to modify anything in a core file.
Of course, this would work; but I would not call this a ‘best practice’ – because ‘Neuigkeiten aus dem 1a-Spielwiese-Netzwerk’ is clearly not an a translation of ‘activity’.
And anyway: The page title ‘Members’ and ‘Groups’ are correctly translate within the Decker-translation, which I use:
http://1a-spielwiese.de/wp-content/uploads/2014/10/Members-Page-Title_translated.jpg
and
http://1a-spielwiese.de/wp-content/uploads/2014/10/Groups-Page-Title_translated.jpgNevertheless I got displayed in the Frontend ‘Members’ (not: ‘Mitglieder’) and ‘Groups’ (not: ‘Gruppen’), before I changed the core files today:
http://1a-spielwiese.de/wp-content/uploads/2014/10/Page-Titles.jpg
And other users have the same problem:
Ich möchte die Seite gerne komplett in deutsch gestalten, aber egal welche “.mo” Dateien ich ins buddypress/plugin/language Verzeichnis lade, alles ist auf deutsch, nur nicht die Überschriften “Sitewide Activity” “Members” etc.
http://forum.wpde.org/buddypress/58502-bp-1-1-sprache-nicht-komplett-deutsch-2.html#post575160 (09.09.2014, 20:52 h)
October 4, 2014 at 11:25 am #203971danbp
Participantthis is bp jargon… and i wrote
bp-loader.php is a core file
and a template file is a file in or from bp-legacy/buddypress/Therefore, placing the my bp-activity-loader.php inside my reddle-child/buddypress/bp-activity-folder would not ‘respecting the same directory structure’, rather changing it!
Nobody told you to put bp-loader in the child theme !
If you need to modify a core code, you generally use a custom function to add/remove/modificate the originla function, with help of a action hook for example. Or other technique. This depends for what and where to apply a modification.
October 4, 2014 at 10:54 am #203969In reply to: Scripts to footer
Henry Wright
ModeratorThe problem with loading scripts in the footer by default is dependency. Take jQuery for example, if WordPress were to load jQuery in the footer by default and a WordPress theme developer then loaded some jQuery-dependent code in the header or body then that jQuery-dependent code wouldn’t work. It’s these considerations the BuddyPress core developers have to make.
October 4, 2014 at 9:51 am #2039641a-spielwiese
Participant@danbp / https://buddypress.org/support/topic/which-files-create-the-page-titles-site-wide-activity-members-and-groups/#post-203962
‘by respecting the same directory structure as in bp-legacy/buddypress/…/file_name.php:’
But the EXAMPLE-loader.php-files are not inside the bp-legacy-folder!
The structure is:
- on the one hand, e.g.: buddypress/bp-actitvity/bp-activity-loader.php
- and on the other hand: buddypress/bp-legacy/buddypress/bp-activity – but there isn’t any bp-activity-loader.php
Within my child-theme-folder the equivalent for buddypress/bp-legacy/buddypress/bp-activity is simply buddypress/bp-activity (!) – or, as you explained there, regarding the members-loop.php:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php
To modify this file, you make a copy of it and put it into your child-theme
/your-child-theme/buddypress/members/members-loop.phpTherefore, placing the my bp-activity-loader.php inside my reddle-child/buddypress/bp-activity-folder would not ‘respecting the same directory structure’, rather changing it!
October 4, 2014 at 9:28 am #2039631a-spielwiese
Participant‘Members’ I found in the buddypress/bp-members/bp-members-loader.php
The relevant line there is:
'directory_title' => _x( 'members', 'component directory title', 'buddypress' ),With
' '(instead of ‘members’) I’m able to delete the text; but''(instead of ‘members’) suprisingly produces ‘Mitglieder Verzeichnis’ (in German!) in des Frontend…—
And the page title ‘groups’ is in the buddypress/bp-groups/bp-groups-loader.php
October 4, 2014 at 9:26 am #203962danbp
ParticipantChanging words with the translation file is best practice, so you haven’t to modify anything in a core file.
If you want to modify template files, you do that with a child-theme and by respecting the same directory structure as in bp-legacy/buddypress/…/file_name.php:
wp-content/themes/your_child_theme/buddypress/…/file_name.php
1000 times explained and detailed on this forum and documented on Codex.
October 4, 2014 at 9:15 am #2039591a-spielwiese
ParticipantThank you, @danbp!
I opened the .pot-file finally not with poedit (there I didn’t found any aside-information), rather with an editor. There I got the information, that I can find, e.g., ‘Site-Wide-Activity’ in the buddypress/bp-activity/bp-activity-loader.php.
I changed ‘Site-Wide-Activity’ into ‘Neuigkeiten aus dem 1a-Spielwiese-Netzwerk’ – and it works: 🙂
http://1a-spielwiese.de/activity/
I changed the original file at it’s original place. – Would it work with my child-theme-folder as well? If yes: Where I would have to place my bp-activity-loader.php-Copy?
On the highest level of my child-theme-folder? Inside my buddypress-folder there or inside my buddypress/bp-activity-folder there? Or anywhere else?
October 4, 2014 at 9:10 am #203958In reply to: Scripts to footer
danbp
Participantsorry to reply this, but all answers to your query are in the links i provided.
i have buddypress who put his scripts not to the footer (wtf ??)
perhaps because BP devs consider it is not necessary ? 😉
If you think it is dummy practice or better to get anything to footer by default, open a ticket and provide some patches. Maybe you can than discuss directly with a dev around the pro and contra for footer scripts.October 4, 2014 at 8:51 am #203955danbp
Participantthe best, fastest and easiest way to check for a word used in buddypress is to open the pot file, where you find it aside the file(s) and line number where it is used.
October 4, 2014 at 3:34 am #203951In reply to: [Resolved] buddypress.pot is OK?
oshimamasara7
ParticipantThank you,everyone.
It’s a difficult problem…
I changed the above keywordlist manually.
buddypress-ja.po
buddypress-ja.mo
But I don’t know that how to check “the header informations”.
like this.
I’m not a computer programmer..
Please tell me ,if you like.
I don’t get Japanese BuddyPress yet.
Thank you.October 4, 2014 at 1:00 am #203950In reply to: Scripts to footer
JibsouX
Participanthi thanks for the rapid response,
so i’m a god dev on wp but i start to bp ant in wp i can put simply the script to the footer with the handlethen what i want to do is to minify and concatenate all js css then gzip it for cache and put all the string in deferer (js)
i have made it in an other web site : http://preuves-par-images.fr/
but now in an other i have buddypress who put his scripts not to the footer (wtf ??) coding dummy put the css in head and js to footer… so my simple question is hos can i put them in the footer ??
thanks in advance ! 🙂
October 3, 2014 at 4:24 pm #203936In reply to: Scripts to footer
danbp
ParticipantWhy do you want to do this ? 😉
Adding js to footer maybe best practice, but is intended for heavy scripts. So be carefull before modifying buddypress. If you have load time issues or if you consider your site to slow, first trackdown the culprit. In most case, it is only because of to many or bad written plugins on a poor server.https://codex.wordpress.org/Using_Javascript
https://codex.wordpress.org/Function_Reference/wp_enqueue_scripthttp://blog.cloudfour.com/getting-all-javascript-into-the-footer-in-wordpress-not-so-fast-buster/
-
AuthorSearch Results