Search Results for 'buddypress'
-
AuthorSearch Results
-
December 13, 2013 at 5:59 pm #175488
In reply to: Display random member list
Sarah Lewis
ParticipantReplying well after the fact to help any other Google searchers who come across this page:
Add something like the following code to your theme’s
functions.phpfile:add_action( 'bp_members_directory_order_options', 'bp27845_add_random_order_option' ); function bp27845_add_random_order_option() { echo '<option value="random">' . __( 'Surprise me!', 'buddypress' ) . '</option>'; } // end bp27845_add_random_order_optionThis code takes advantage of the
bp_members_directory_order_optionsaction hook to insert a new option, which then setsbp_has_members()‘stypetorandom(the value we’re sending).A more in-depth tutorial: https://codex.buddypress.org/plugindev/add-custom-filters-to-loops-and-enjoy-them-within-your-plugin/#add-a-custom-filter-to-the-members-groups-and-blogs-loops
December 13, 2013 at 5:23 pm #175487In reply to: BuddyPress 1.8.1 and WPtouch 3 ??
BBIndikator
ParticipantHi modemlooper,
thanks for reply!
I think the content looks pretty nice with WPtouch on Smartphones and tablets. WPtouch has one cool feature: you can disable plugins that you don´t wanna use on mobile devices and if I understand it right, you can break down the content a little bit?
You say BuddyPress isn´t 100% responsive, but is it possible to fix the Layout issues just with css? I´m really good with css, but I´m not very familiar with php and javascript..
What´s up with BuddyPress Mobile? Can´t find it anywhere. Is this an alternative?
Do you have any experience with “WP Mobile Detector Mobile Plugin – Pro”?
December 13, 2013 at 4:14 pm #175479shanebp
ModeratorIt is possible.
I’m not aware of a plugin for that.
So it will require custom code.
You can hire somebody here:December 13, 2013 at 4:10 pm #175477In reply to: Sorting Private Message Threads
shanebp
ModeratorYou can’t override core files.
Undo the changes you made to /bp-messages-classes.php
Copy
bp-templates\bp-legacy\buddypress\members\single\messages\single.php
to your child theme so that the dir structure looks like this:
your-theme\buddypress\members\single\messages\single.phpThen in single.php, change
if ( bp_thread_has_messages() ) :
to<?php $args = array( 'order' => 'DESC' ); if ( bp_thread_has_messages( $args ) ) : ?>December 13, 2013 at 4:07 pm #175476In reply to: BuddyPress 1.8.1 and WPtouch 3 ??
modemlooper
ModeratorWPTouch doesn’t load anything less. It is essentially just another theme with a mobile UI. Also, the template files of BuddyPress are not 100% responsive and do not fit perfectly inside WPTouch. You would have to make them look proper.
If load times are slow then it could be that you are just loading too many files. This is an issue on even desktop browsers because more people visit websites from mobile browsers than from a pc now. I suggest you deal with making your regular site more data efficient in addition to serving up a better visual for small screens.
December 13, 2013 at 2:32 pm #175475craftersuniversity
ParticipantWith the new update of wordpress, i found out that this has nothing to do with BuddyPress or any theme, it is a bug in wordpress itself. The have tried to fix it, but its still not working well, the menu fills the screen and cannot be scrolled or hidden. I recommend hiding all buddypress menus until the bug gets fixed:
/* =Hide BuddyPress sub menu until it works in mobile phones
————————————————————– */
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
display: none !important;
}December 13, 2013 at 6:45 am #175467In reply to: Buddypress menu resizes automatically
Hugo Ashmore
Participant@4ella
This snipped section from the link mercime provided, as can be seen it states existing instals using the bp-default theme will still use it it’s not going to suddenly stop working but changing to the theme compatibility process is in best interests.If you are already using bp-default, either directly or as a parent theme, don’t worry. BuddyPress 1.9 will detect that you need bp-default, and will continue to register it with WordPress. Note that if you switch away from a bp-default theme (say, for testing), the theme will disappear from Dashboard > Appearance. If you need it back, add the following line to your bp-custom.php file:
add_filter( 'bp_do_register_theme_directory', '__return_true' );December 13, 2013 at 5:13 am #175463In reply to: After upgrade, I had an error about forum.
modemlooper
ModeratorEEK!
There have been many changes between these versions. Did you by chance backup your database before upgrade? You need to do an incremental upgrade. Also, current BP doesn’t use it’s own forum anymore and you have to install bbPress separately.
https://codex.buddypress.org/getting-started/upgrading-buddypress/
December 13, 2013 at 2:53 am #175460In reply to: Remove “are now friends” from activity stream
mrjarbenne
ParticipantThere is also a plugin that does this. It’s old, but it still works:
http://etivite.com/wordpress-plugins/buddypress-block-activity-stream-types/
December 13, 2013 at 12:22 am #175454In reply to: Buddypress menu resizes automatically
4ella
ParticipantThank you @mercime for your warning, I am not very happy with the fact that bp-default is going to be a past, I like that theme, I thought that I will avoid a lot of problems staying with default theme, but for sure developers knows what they do, so I will start to think about the different theme, and will do everything to be a responsive from the start, instead to continue to maintain and edit this one. I would welcome some expert’s recommendation which one should for buddypress fit best now.
December 12, 2013 at 7:40 pm #175443In reply to: Add Friends Slow Loading
Cidade Sonho
ParticipantHello Friend <3 Thank’s
OKay let´s go
BP – 1.6.4
WP – 3.5.1
Theme – BP Defaulthttp://www.cidadesonho.com <- buddypress site
Internet it´s normal 🙂
The slow loading it´s only when we hit to add friend.
December 12, 2013 at 7:22 pm #175442In reply to: [Resolved] BP_Group_Extension For Single Group?
coreymcollins
ParticipantI came across this post which helped a bit: https://buddypress.org/support/topic/conditional-bp_register_group_extension-how/
I updated my gist above to reflect that, and I now have new pages added ONLY to the specific group ID I specified. Awesome!
December 12, 2013 at 4:10 pm #175431In reply to: removing sidebar and making full-width
HajHaj
ParticipantI did everything but nothing happened. I use powermag theme. it have buddypress sidebar but I also try with default sidebar. nothing happens.
December 12, 2013 at 2:30 pm #175427In reply to: removing sidebar and making full-width
@mercime
Participant@hajhaj there are different ways to implement a new layout for all BuddyPress pages. Check out how it was done for the WP default themes at https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/
December 12, 2013 at 7:39 am #175417In reply to: Plugin Suggestions for Child profiles.
@mercime
Participant@craigola Do you mean you want to set up different account types and that one kind is that for children? If so, have you checked out https://wordpress.org/plugins/buddypress-user-account-type-lite/
December 12, 2013 at 12:37 am #175415shanebp
ModeratorUnfortunately, there don’t seem to be hooks to avoid recording such activity.
And unfortunately you can’t suppress the display of only some group activity stream items – it’s groups or no groups.
So you have to filter all activity stream items – they all use the same code.
Take a look at the filter hook at the bottom of
function bp_has_activities
in
buddypress\bp-activity\bp-activity-template.phpThis thread should give you some code to start with:
https://buddypress.org/support/topic/is-it-possible-to-hide-or-remove-activity-in-the-main-activity-stream-from-certain-groups-while-keep/December 11, 2013 at 7:39 am #175388In reply to: Where do I Change Page Titles?
Cassey’s Designs
ParticipantThank you streetprep!! That worked perfectly…
Since this is in the plugin files rather than the template files I assume that I will have to update this anytime I update buddypress, correct?
December 11, 2013 at 2:06 am #175382In reply to: [Resolved] Resetting a has_members query
Yukon Cornelius
ParticipantIn case anyone is having the same problem, the solution i came up with was to make a plugin using the buddypress members widget core code, as @danbpfr suggested. That widget was not breaking things, so once i had a plugin version i was able to add some of the extra things that were in my original loop.
December 10, 2013 at 10:59 pm #175381In reply to: Member counter on activity page not working
Anonymous User 7600456
InactiveI tried for months to get this worked out with no luck.
I still have no idea what caused it but I just upgraded to Buddypress 1.9 beta 2 and it fixed it. I have no idea why.
Thanks to those who did try to help.
December 10, 2013 at 10:09 pm #175379In reply to: add a column to BP_Groups_List_Table
shanebp
ModeratorThanks @r-a-y.
I figured as much, but was hoping I was overlooking something obvious.
December 10, 2013 at 9:06 pm #175377Tux Kapono
ParticipantI posted a note
– In the front end Activity feed at 3:40 pm (correct time)
– Dashboard > Activity shows 10:40 am (5 hours backwards)Someone posted a note
– In the BBpress forum at 10:59 am (correct time)
– Front end Activity feed shows 3:59 pm (5 hours forward)
– Dashboard > Activity shows 10:59 am. (correct time)BuddyPress 1.8.1
bbPress 2.4.1December 10, 2013 at 6:50 pm #175374In reply to: Filter Members List Based On Profile Field
shanebp
Moderatorexample:
December 10, 2013 at 3:53 pm #175368yoyoma1974
ParticipantKeymaster, thanks so much, that’s the exact article I needed. I’ve got it working by adding those 3 files to the child theme and making some CSS adjustments. You saved me a lot of time.
It’s a themeforest theme so I guess I can’t expect it to be compatible with buddypress. I would think the developer would want it to be but he wasn’t really interested when I brought it to his attention.
Tim
December 10, 2013 at 3:47 pm #175367In reply to: Account Activation Email
asieger
ParticipantThanks @mercime and others, users now receive activation emails in their boxes.
Please how do i make Activity Stream the Main Page once a user logs in? Currently on the site where i implemented buddypress, once a user logs in, it takes them back to the index page (home page) of the site.
your responses will be helpful.
Regards
Oladoye SamuelDecember 10, 2013 at 1:10 pm #175364In reply to: Buddypress menu resizes automatically
@mercime
Participant@4ella since you’re using the BP Default theme, please be aware of http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
Going back to the issue at hand, your main navigation links are showing up that way because of the responsive style included in the BP Default theme:
lines 43-50 https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/_inc/css/responsive.css#L43
lines 211-221 https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/_inc/css/responsive.css#L211 -
AuthorSearch Results