Forum Replies Created
-
In reply to: New Theme for Free
Cool theme! Will you be submitting to wordpress.org?
In reply to: Installing on SubdomainBuddyPress is a WordPress plugin so will need a copy of WordPress to run. Does that help?
In reply to: Changing the groups slugTry this plugin from @johnjamesjacoby:
In reply to: Table of BP releases with DB version has errorsThe page should be editable so if you come across information that is wrong or out of date, feel free to update.
In reply to: Theme to be ReleasedConsidering your plan is to make money from the theme, I’d go for 2. There are lots of outlets where you can list a theme for sale or if your own website has the capability you could list it for sale there.
In reply to: Enqueue styles and scripts to profile edit pageTry
bp_is_profile_edit()Hi @piyosuke
This isn’t easily done.
You will need to create a new sub menu item under Settings.
bp_core_new_subnav_item()is the function to use. Next, the Invite Anyone plugin will likely refer directly to the Send Invites menu item so you will need to then find a work around for that because you need plugin content to be displayed under your new sub tab.In reply to: Activity date off by one dayJust to add, Twenty Fifteen is a good theme to use for testing against. It will help determine if the issue is theme-related. Also try deactivating plugins one by one to try to find the culprit. Sometimes a plugin can cause an issue such as this.
In reply to: Activity date off by one dayDoes this happen with Kleo disabled? Perhaps try Twenty Fifteen
In reply to: Add number of new messages to messages in submenuTry
bp_total_unread_messages_count()In reply to: Accidentally deleted Activation pageIn the WordPress admin area go to Pages and then create the page. Then under BuddyPress you can assign that page as the activation page.
In reply to: Get all xprofile select field optionsYes,
xprofile_get_field_id_from_name()will get you the field ID 🙂In reply to: Get all xprofile select field optionsHi @mlcapulong
If you know the field ID, you can do this:
$field = new BP_XProfile_Field( $field_id ); $children = $field->get_children(); if ( $children ) { foreach ( $children as $child ) { // Do something here. // var_dump( $child ); } }In reply to: oEmbed video in site-wide activityThanks @danbp. I’ve added an example to the update you made.
In reply to: oEmbed video in site-wide activityUpdate from the Trac ticket
BuddyPress uses a different hook name, but it should do the same thing. Try:
bp_embed_oembed_html.Thanks to @r-a-y for the info.
In reply to: oEmbed video in site-wide activityoEmbed is supported by BuddyPress but maybe the
embed_oembed_htmlWP filter isn’t used?Can you open a Trac ticket for this?
In reply to: Solution to “buddyblock” alternativeI can’t be sure without seeing your full code but going on the PHP warnings you are getting it looks like you are treating a string as an array.
Try replacing the 3 instances of
$slug['slug']with$slugIn reply to: Solution to “buddyblock” alternativeBuddyBlock costs a ridiculous $29 to allow users to block other users.
The developer could have put 10s of hours into the plugin. Perhaps that’s the reason for the $29 cost?
In reply to: [Resolved] Filter for No Members TextThere isn’t a filter for that text but you can use the
buddypresstextdomain to add a translation.In reply to: New file notificationHi @sand06
Assuming the file is uploaded (and handled) by WordPress, you will need to hook to
wp_insert_posthttps://codex.wordpress.org/Plugin_API/Action_Reference/wp_insert_post
$postand$updatewill be passed to your custom function. You can use those to check if the post is a new file upload (attachment).In reply to: need simple means of uploading single videoHi @rglennnall
WordPress uses Plupload for file uploads, so you may want to check out that:
In reply to: Hook for Private Message ReplyTry checking if thread_id exists. If not then it’s the first message of a new thread.
Does this happen with Twenty Sixteen activated?
In reply to: Buddypress membership levels?BuddyPress doesn’t ship with membership “levels” but member “types” were introduced recently which are the same thing. Check out this article
In reply to: why there is no action for group photo upload?You can request one be added here