Search Results for 'buddypress'
-
Search Results
-
Hello all,
I’m in the process of trying to rescue a failed project built using BuddyPress. It’s a media sharing platform for church organizations to be able to share all of the media content that they generated for their Sunday church services. Other churches could then search for content and reuse it.
One of the key challenges I have is trying to find a way to create a custom post which will display a subset of media items (videos, images, motion backgrounds, PDF docs, etc). Each collection of media items in its respective post would then be delivered via a cart “checkout” for use by church organizations.
These are going to be user-submitted media collections, so I have to idiot-proof the upload process (I’m currently looking at Gravity Forms for a multi-page form). My big problem is that I can’t rely on simple category tags in a custom taxonomy to permanently bind media items together in a collection. Once someone else uses that same category tag, the media collection would start to contain media items that aren’t related to the original upload.
Does anyone know of a way that a unique postmeta identifier could be automatically assigned to an upload form, in a way that wouldn’t require the uploading party to think of it themselves?
The fallback is that I can make each upload subject to my approval, and assign those postmeta identifiers on the backend. Either way, I’d still need to engineer a UI for me to be able to do that.
I am trying to fix my user activation page (see this forum post). Here are the errors on the site in debug mode:
Error shown throughout site:
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 /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Errors shown on Activation page (after user registers they are sent an email with an activation link, they click on it and are sent to this page. The page should have content, but for some reason it is completely blank):
Notice: update_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_update_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Notice: get_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_get_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245
Fatal error: Call to undefined function bp_xprofile_create_field_type() in /var/www/vhosts/thesitename.com/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 560
Any help would be appreciated 🙂
Topic: BP_DTheme is not defined
WP 3.9.1 BP 2.0.1
I am trying to deregister the javascript and then override it with custom javascript. I made a couple edits, mainly just making it so the whats-new post form doesnt animate on click. However, on certain activities (such as favoriting) I get the following javascript error: BP_DTheme is not defined
Below is the code I am using to override the buddypress javascript.
add_action( 'wp_print_scripts', 'de_script', 100 ); add_action( 'wp_print_styles', 'de_style', 100 ); function de_script() { wp_dequeue_script( 'dtheme-ajax-js' ); wp_deregister_script( 'dtheme-ajax-js'); wp_enqueue_script( 'dtheme-ajax-js', get_bloginfo('stylesheet_directory') . '/_inc/buddypress.js', array( 'jquery' ) ); wp_deregister_script( 'bp-legacy-js'); wp_dequeue_script( 'bp-legacy-js' ); wp_enqueue_script( 'bp-legacy-js', get_bloginfo('stylesheet_directory') . '/_inc/global.js', array( 'jquery' ) ); }Topic: Creating Profile Button
I see that Buddypress now has this extended menu system that allows you to put profile menu’s on the menu eg: my emails, my groups etc
Is it now (more easily) possible to create a button with the same characteristics.
I was looking to see if I could copy a link from the menu and put it in my button, but there is no link to copy.Is there any other simple solution that I am overlooking?
(on a side note, I have been using Buddypress Direct Links Plugin and although the new menu option are available, if nothing else the user menu option with integrated avatar is a lot more slick than the built in version, also emails,notifications and groups with “totals”!)