Search Results for 'wordpress'
-
AuthorSearch Results
-
August 14, 2014 at 5:45 pm #186927
In reply to: Problem with Geotheme 3.3
mohammad-mursaleen
ParticipantI think to avoid conflict you can add
add_theme_support( 'buddypress' );in your child theme function.php file.
For more info visit the following link.
BP Theme Authors: make sure your theme registers 'buddypress' support
Hope this would help others in the community.
August 14, 2014 at 12:17 pm #186569In reply to: Where is bp_after_member_header defined
Henry Wright
ModeratorHi @becks-star
bp_profile_after_headerisn’t a function. It’s an action hook. You would usually write a function of your own and ‘hook’ it tobp_profile_after_header.For example:
function my_callback() { // Do something amazing... } add_action( 'bp_profile_after_header', 'my_callback' );You can read more about hooks here: https://codex.wordpress.org/Plugin_API/Hooks
August 14, 2014 at 8:14 am #186564In reply to: [Resolved] Send users forgotton usernames ?
danbp
ParticipantHi @lerroy,
try this plugin
https://wordpress.org/support/plugin/forget-username-ajaxAugust 14, 2014 at 8:09 am #186563In reply to: members portfolio with video
danbp
ParticipantHi @brodskis,
there is an old plugin who may already work with 2.x (not tested)
https://wordpress.org/plugins/buddypress-portfolio/and this one, but as profile widget
https://wordpress.org/plugins/bp-profile-widgets/August 13, 2014 at 11:33 pm #186557In reply to: members portfolio with video
Henry Wright
ModeratorAugust 13, 2014 at 10:27 pm #186554In reply to: BP Default Cookie Usage
Henry Wright
ModeratorHi @packjazz,
One of the main uses of cookies within BuddyPress is in template message display. In this case, cookies are used to store generated error or success messages and display them after the page has been reloaded.
If you try searching the BP code base for
setcookie, you should find how else BP utilises cookies.Note: WordPress probably utilises cookies too.
August 13, 2014 at 7:52 pm #186549Never Settle
ParticipantWanted to mention here for the benefit of future searchers (or Michael if you’re still looking for a solution!) that we had the same need and built a plugin which does exactly what is described above.
The plugin is called the NS Cloner and is available for free in the wordpress.org plugins repository. It adds a network admin page where you can select a source site and then create a perfect duplicate complete with all content, plugin settings, etc.
August 13, 2014 at 7:08 pm #186545danbp
ParticipantOk the count seems to be only a cosmetic change for the member directory.
See an original picture of this here.
A bit strange to use this trick as it exist and can be alered with css, but authors are sometimes strange….What is the theme you use ? Maybe it contains some other “strange” things ? 😉
August 13, 2014 at 6:58 pm #186544In reply to: Buddpress courseware
Christian Wach
ParticipantPeople who are Teachers need to have the Editor WordPress role to upload media.
August 13, 2014 at 6:58 pm #186543danbp
ParticipantSeems not to be possible for the moment. If you read the ticket, Boone says:
It’s a nice thought, though I’m not sure if it’d be possible to make this work without refactoring the entire activity query class. Moving to Future Release for discussion.
Feel free to disccuss this on #4988 or try to create a patch.
August 13, 2014 at 6:10 pm #186542snarkypuppet
ParticipantHey @danbp Thanks for the response. I looked into that thread and that led me to this:
bp_has_activities to accept multi scope
This is an enhancement marked for future review… 14 months ago :\ – Looks like the only way to do it is to write a new class/function.
Is there anyone out there that has written something that includes multiple scopes? Is it possible?
August 13, 2014 at 9:40 am #186518danbp
Participantplease read here and provide more details and if possible give a site URL.
All of your topics are so far related to some weird settings of your wordpress/buddypress installation. So it is somehow complicated to help you if you don’t resolve this first.There is no shame to read the WP codex by the beginning: get started and to follow each step.
August 13, 2014 at 9:30 am #186516danbp
ParticipantHi @simpleone,
you can actually only hide xprofile fields. Hiding field groups is not possible, due to a bug.
But it is corrected for 2.1 and you’ll find a patch on the trac.You can already apply the patch to 2.0.2 bp-xprofile-classes.php and the above snippet will work. Add it to bp-custom.php or theme’s functions.php
To hide an xprofile group, use bp_parse_args like this:
function bpfr_make_profile_tab_members_only( $retval ) { // hide to non members if( !is_user_logged_in() ) { // exlude groups, separated by comma $retval['exclude_groups'] = '4,5'; // exclude fields, separated by comma $retval['exclude_fields'] = '1,39'; } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_profile_tab_members_only' );August 13, 2014 at 12:13 am #186505milosnikolic
ParticipantOk here I found this:
“Added new “hide_spam” parameter to the entire Activity template loop stack; defaults to true, except if specific activity items have been requested (for backpat reasons).”I found “hide_spam” in 3 files in buddypress but it’s already set to false? How can I disable this option?
Is it here in bp-activity-template.php:
// If a user is a spammer, their activity items will have been automatically marked as spam. Skip these.
if ( $comment->is_spam )
continue;$user_ids[] = $comment->user_id;
or here
@type string|bool $spam Spam status. ‘ham_only’, ‘spam_only’, or false
* to show all activity regardless of spam status. Default: ‘ham_only’.August 12, 2014 at 11:44 pm #186496milosnikolic
ParticipantWhen I turn on the debug mode in WP this is what shows up:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in public_html/wp-includes/functions.php on line 3245
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in public_html/wp-includes/functions.php on line 3245
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in public_html/wp-includes/functions.php on line 3245
August 12, 2014 at 10:46 pm #186490milosnikolic
ParticipantIn phperrorlog I get this error:
WordPress database error Unknown column ‘spam’ in ‘where clause’ for query SELECT ID FROM lb_users WHERE ID=1 AND spam != 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Cinematix/bbpress.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/Cinematix/sidebar.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback
August 12, 2014 at 7:16 pm #186480In reply to: How to connect Buddypress to MySQL.
bp-help
Participant@onogbebor
You really need to be more clear in what you hope to achieve. If you have WordPress installed and have also installed and activated BuddyPress then there is already a connection with MySQL and the BP tables are already created.August 12, 2014 at 1:28 pm #186473In reply to: Need Help Setting up a new buddy press site
shanebp
ModeratorGoggle ‘wordpress membership plugin’.
There are several plugins that will allow you to set membership levels and assign members to them.August 12, 2014 at 2:37 am #186458In reply to: Pagination on buddypress.org broken?
bp-help
Participant@mrjarbenne
Done and thanks!
https://buddypress.trac.wordpress.org/ticket/5808#ticketAugust 12, 2014 at 2:26 am #186457In reply to: Pagination on buddypress.org broken?
mrjarbenne
ParticipantYou might want to post a trac ticket here:
https://buddypress.trac.wordpress.org/milestone/BuddyPress.org
August 12, 2014 at 2:10 am #186455In reply to: Buddypress.org – used Extensions/Theme ??
mrjarbenne
ParticipantThis is a complete custom job; but you can find out how it was made by looking through this trac Milestone that compiles all the details of the fixes and enhancements made to the site. Sadly it isn’t just a theme and a couple plugins you could easily activate on your own site.
https://buddypress.trac.wordpress.org/milestone/BuddyPress.org
August 11, 2014 at 5:16 pm #186432Joe
Participant@butlerweb Nice, thanks! I’m using whatever came with wordpress and buddypress, no extra plugin. I’m always afraid of slowing down the site speed when installing and activating plugins to be honest.
August 11, 2014 at 3:42 pm #186420In reply to: Problems with "loggedin_user_id()" in code
Henry Wright
Moderatorget_current_user_id()returns anint. Not sure if the type in this case will make much difference but perhaps your function is expecting a string?Try doing this:
$user_id = get_current_user_id(); $user_id = (string)$user_id;Ref: https://codex.wordpress.org/Function_Reference/get_current_user_id
August 10, 2014 at 9:54 pm #186402August 10, 2014 at 7:47 am #186383In reply to: Clarity on display in Dynamix theme
wp_maybe
ParticipantBuddypress does not “create” its own sidebars. It uses the theme’s.
Maybe it will be a good idea for you to try it out with a couple of free themes. The default wordpress theme (twenty fourteen) comes with two sidebars, you can probably play around with that a bit.
It should work the same way with a paid theme as far as Buddypress goes.
-
AuthorSearch Results