Search Results for 'wordpress'
-
AuthorSearch Results
-
December 2, 2013 at 6:35 am #175029
modemlooper
ModeratorBuddyPress hijacks the WordPress loop and replaces content with component content. So, any posts returned are wiped out and replaced
You could try a custom second loop but there may be issues
December 1, 2013 at 6:57 pm #175014In reply to: Help with Buddy & bbpress
Asynaptic
ParticipantHi Barry, it sounds like you’re not clear on what bbPress and BuddyPress are exactly. So let me try to clarify it for you.
bbPress is a plugin for wordpress which provides you with forum functionality. And because it comes from the same folks who created wordpress, it works great with wordpress and other WP plugins.
BuddyPress is a plugin for wordpress which provides you with a social network functionality. What does that mean? Well, imagine facebook, myspace, or any other social media platform – they have profiles, people can create and fill in their userpages, people can message other people privately, they have an activity page which shows their activity on the site, etc.
bbPress and BuddyPress are two totally different plugins but they work together and can be integrated with one another. But if you want to use just one of them, you can. You do not need to run both.
I’ve tracked down the video I think you refer to:
http://labsecrets.com/buddypress-and-bbpress-forums-made-easy/And I can clarify that for you as well. BuddyPress used to have its own way of creating forums, called “BuddyPress Group Forums”. But that functionality is deprecated because the developers decided to rely on bbPress rather than duplicate it within BuddyPress. So the latest version of BuddyPress doesn’t have group forums but instead relies on bbPress.
It all depends on what you are trying to do. What you are seeing in “the two forum apps merging to become one” is simply a deep integration between them so IF people want to use both, they can do so with ease and get the fullest functionality out of that combination use.
It sounds like you want a forum. If that is the case, forget about BuddyPress and just use bbPress.
Hope that helps!
December 1, 2013 at 1:41 am #1750024ella
Participanthttp://wordpress.stackexchange.com helped me:
function bp_registrations_today($activated = false) { global $wpdb; $query = "SELECT COUNT(ID) FROM {$wpdb->prefix}users WHERE DATE(user_registered) = CURDATE()"; if ( $activated ) { $query .= " AND user_status = 0"; } return $wpdb->get_var($query); }To get the number of users registered today, call the function as
echo bp_registrations_today();To get the number of users registered today with activated accounts, call the function as
echo bp_registrations_today(true);November 30, 2013 at 12:22 am #174986In reply to: login form in header
@mercime
Participant@drgiz upcoming BP 1.9 now includes a BP log in widget. If you’re just starting to develop a new site, check it out at buddypress.1.9-beta1.zip.
November 30, 2013 at 12:11 am #174983November 29, 2013 at 11:45 pm #174980In reply to: Group mods bug in Beta 1.9
@mercime
Participant@macpresss I agree in the sense that any additional role for the Group Moderator should be configurable by Site/Group Admins.You can submit a ticket to enhance Mod role at https://buddypress.trac.wordpress.org/
November 29, 2013 at 10:31 pm #174978In reply to: Which Buddypress Default Data Plugin to use
mattg123
ParticipantI used https://wordpress.org/plugins/bp-default-data/ not long ago with the current bp version, so as far as I’m aware it still should.
November 29, 2013 at 9:58 pm #174975In reply to: cant translate timestamp
Paul Wong-Gibbs
KeymasterHi. Which theme are you using, what versions of WordPress and BuddyPress are you using, and where did you download the translation file from? Thanks.
November 29, 2013 at 9:51 pm #174973In reply to: Bulk edit xprofile field
Paul Wong-Gibbs
KeymasterNo direct way of bulk-editing profile fields; sounds dangerously powerful. If you are a PHP/WordPress developer, or know someone who is, I’d suggest writing a script to make these changes for you.
November 28, 2013 at 3:46 am #174914In reply to: Guys….. What is the point of including filters if…
modemlooper
ModeratorThere is a bit of discussion on this in a trac ticket https://buddypress.trac.wordpress.org/ticket/3856
November 27, 2013 at 5:21 pm #174893In reply to: Guys….. What is the point of including filters if…
alealealeo
Participant1- I do understand this, but if you change a filter and use it like that for a while, and then want to change it again, your existing data will stay unchanged. To me the solution is to not have a filter for things that won’t be able to be manipulated later on.
2- Building dynamic strings may be ever so slightly slower, but it’s the reason I love WordPress – To have the power to easily and dynamically change data.
The main reason I want to make changes to the code is because BuddyPress currently provides a specific way to output things, example:
“Author Name posted an update in the group [group avatar] Group Name, 14 hours, 00 minutes ago”
A: None of the links have a class set (except for the time) Meaning that I can’t add CSS to increase the size of “Author Name” without affecting “Group Name” and vice-versa. So I was trying to manipulate the filter to add a class.
B: I want to change the order of the output, for example if I increase the size of the group avatar I would want to move it from where it is completely. Not very flexible for people who want to make the line work/look a certain way.
Another example of this problem is the avatar sizes:
If you define the avatar sizes, example:
define ( 'BP_AVATAR_FULL_WIDTH', 300 );
any avatars from activity/groups previously created will still use the old avatar size.
So if you set it to 300, and then I want to change it in the future to 100 and change the design/CSS, all the existing activity will still show 300 and look bad with the new CSS.WordPress works this way to with image thumbnails, however, you can force a regeneration of them using a plugin.
In short, I am finding that BuddyPress is a great plugin but it seems to me that for the activity (the most important aspect of the plugin) you are stuck into using/showing it how the BuddyPress developers decided was the best format/look, because changing it via filters will result in headaches if I install my custom filters on a site with existing BuddyPress data.
If there were a way to regenerate the activity database to update everything with the filters/sizes set, that would solve most of the more obvious problems.
November 27, 2013 at 1:57 pm #174883In reply to: Sorting by xprofile field
lz430
ParticipantI do have the BuddyPress to WordPress profile syncing enabled. I did add the code above as you suggested, however it doesn’t list the correct profiles.
November 27, 2013 at 1:41 pm #174882In reply to: bp live notification plugin
Andrea Fercia
Participant@jigesh hi
you should never remove $wpdb->prepare, is there for a reason 🙂
The reason why the plugin doesn’t work with wordpress 3.6, 3.7 and later, it’s clearly explained here: https://codex.wordpress.org/Class_Reference/wpdb
see where they wrote:
“Please note: As of 3.5, wpdb::prepare() enforces a minimum of 2 arguments.”
more details here:
and the plugin code provides just 1 parameter, generating a PHP warning.
Basically, the json returned doesn’t contain a valid json but contains the error message:
<br /><b>Warning</b>: Missing argument 2 for wpdb::prepare()
being not valid json, it can’t be rendered in the “Bubble”.
The correct solution is to keep $wpdb->prepare but change the query in order to pass “1” as second argument:
instead of
AND is_new = 1″
do:
AND is_new = %d”, 1
that’s because you *have* to pass a minimum of 2 arguments. So you have to re-factor the query in order to pass at least 1 second argument: first argument is the query, where you use placeholder %d (digit) instead of 1:
“SELECT * FROM {$bp->core->table_name_notifications} WHERE id IN {$list_ids} AND is_new = %d”
second argument is: 1
If you have to pass a string instead of a digit, you would use %s as placeholder.
regards
AndreaNovember 27, 2013 at 6:59 am #174867In reply to: remove CSS underline from links (bp default theme)
@mercime
Participant@mehdi-w first of all, please be advised that the BP Default theme is going to be retired soon
per http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/ and I suggest that you find another theme as BP is now compatible with nearly all WordPress themes right after activation. You might need to tweak some styles in some WP themes but in general, should be good to go.Going back to your question, add that code at the very bottom of the default.css and
default-rtl.css files.November 27, 2013 at 3:28 am #174864In reply to: [Resolved] Help translating a string in .po file
danbp
ParticipantYou have %d new message from %sThis string is not in 1.8.1 but in 1.9 beta (pot file:4168).
You can see/compare that yourself from the trac:
https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-languages/buddypress.pot
https://buddypress.trac.wordpress.org/browser/tags/1.9-beta1/bp-languages/buddypress.potNovember 27, 2013 at 3:05 am #174862In reply to: Guys….. What is the point of including filters if…
@mercime
Participant@alealealeo suggestion: file new ticket at https://buddypress.trac.wordpress.org/
log in using WP username and password.November 27, 2013 at 2:20 am #174858In reply to: Music on Profile Page
Henry
Member@1missrodnee rtMedia uses mediaelement.js (which comes with core WordPress since 3.6). I do believe you can set
autoplay="true"on the mediaelement.js audio player. Have you tried asking the question in the rtMedia forum? their support is usually very good.November 26, 2013 at 9:39 pm #174851In reply to: Sorting by xprofile field
shanebp
Moderator>I have tried adding the “type=”alphabetical”
It should be
if ( bp_has_members( 'type=alphabetical' ) )When doing that, you should enable BuddyPress to WordPress profile syncing
via Dashboard > Settings > BuddyPress > SettingsNovember 26, 2013 at 7:11 pm #174840In reply to: User calendar
aces
Participant@formbi
https://wordpress.org/plugins/events-manager/ supports buddypress according to it’s feature list…. although I haven’t tried it.November 26, 2013 at 6:38 pm #174838In reply to: User calendar
Tammie Lister
ModeratorAs it’s users not groups you are looking for you can shift your search more towards WordPress. Perhaps something here would work: https://wordpress.org/plugins/search.php?q=calendar
November 26, 2013 at 9:06 am #174821In reply to: 1.9 Beta testing
Hugo Ashmore
ParticipantNot sure of the problem, but it sounds plugin related if only happens when posting to social networks, so may not necessarily be a BP issue, but with possible issues with BP betas please post to https://buddypress.trac.wordpress.org/ using your user account login with full steps to reproduce; posting in the support forum will just get lost.
November 26, 2013 at 6:54 am #174818In reply to: 2.0 top features – ideas
SK
Participant@boonebgorges talks about some of the ugly and unscalable joins here
November 26, 2013 at 6:45 am #174817In reply to: 2.0 top features – ideas
SK
Participanta fragment caching system
I totally agree with you, and would love to see fragment caching in BuddyPress (or more generally in WordPress)
That being said, if WordPress doesn’t include caching in core, it’s highly unlikely that BuddyPress would. If you created a ticket for this in Trac, it would probably quickly be closed as plugin territory.
The quickest way of getting this implemented would be to convince the author of FragmentCache or Fragment Cache or Redis cache to add support for BuddyPress.
November 26, 2013 at 3:59 am #174815In reply to: How to import previous blog activity
November 26, 2013 at 12:35 am #174810In reply to: Backend service /baas connection
modemlooper
ModeratorNot sure about kinvey but read up on installing WordPress on the cloud
-
AuthorSearch Results