-
r-a-y posted on the forum topic Add a new Tab in the group Miscellaneous: 13 years, 7 months ago
@tubruk – Check out bp-themes/bp-default/forums/index.php. In that file is a hook to add more tabs:
eg. Add this to your theme’s functions.php:
function my_new_fantabulous_forum_tab() { ?> <a href="YOUR LINK">Another Forum Loop </a> <?php } add_action( 'bp_forums_directory_group_types', 'my_new_fantabulous_forum_tab' );
If you want your tab to be…[Read more] -
r-a-y posted on the forum topic Hide default login section in the group Creating & Extending: 13 years, 7 months ago
You can override this by copying /bp-themes/bp-default/sidebar.php into your child theme and making the necessary edits there.
If you haven’t built a child theme, follow this guide:
https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ -
r-a-y posted on the forum topic Add custom metadata to forum topics for sorting purposes in the group Creating & Extending: 13 years, 7 months ago
bbPress also has built-in functions for adding meta:
bb_get_postmeta( $id, $key );
bb_update_postmeta( $id, $key, $value );
You can find these functions in:
bb-includes/functions.bb-meta.phpMake sure bbPress is run first with:
do_action( 'bbpress_init' );
-
r-a-y posted on the forum topic How to force Author pages for members with (0) zero published posts? in the group How-To and Troubleshooting: 13 years, 7 months ago
This is definitely a WordPress support thread, but I’ll answer it this time 😉 The author pages uses one of these templates in this order: https://codex.wordpress.org/Author_Templates#Which_Template_File_is_Used.3F You should be able to just use the
if ( have_posts() )
conditional in the author template and if a user has no posts, put the content…[Read more] -
r-a-y posted on the forum topic redirect to activity after login? in the group How-To and Troubleshooting: 13 years, 7 months ago
That works too, though I’m not sure how safe it is to use the $bp_unfiltered_uri global in future BP versions like 1.3.
Here’s the “login_redirect” filter method if interested (found the URL):
-
r-a-y posted on the forum topic Life Cycle of a Group? in the group How-To and Troubleshooting: 13 years, 7 months ago
Hmm… this is an interesting idea. I would propose maybe building a group extension plugin that asks the super admin when the group should be closed. If the group is closed, remove access to the activity entry form and the group forum form. Off the top of my head, not sure if there are any filters […]
-
r-a-y posted on the forum topic Switch language plugin in the group How-To and Troubleshooting: 13 years, 7 months ago
WPML free version:
https://wordpress.org/extend/plugins/sitepress-multilingual-cms/ -
r-a-y posted on the forum topic Buddypress.org Features Theme in the group Creating & Extending: 13 years, 7 months ago
FYI, the bp.org theme will never be publicly released.
The frontpage is just made up of a few floating divs and a little bit of positioning for the labels.
-
r-a-y posted on the forum topic redirect to activity after login? in the group How-To and Troubleshooting: 13 years, 7 months ago
shanebp’s solution will always redirect any logged in user to the activity directory. You cannot surf anywhere else on the site! 🙂
A better method is hooking into the “login_redirect” filter. Brajesh Singh has a plugin that uses this, but I don’t remember the URL off the top of my head.
-
r-a-y posted on the forum topic Send Private Static Message in the group How-To and Troubleshooting: 13 years, 7 months ago
You should also add some type of nonce verification:
https://codex.wordpress.org/Function_Reference/wp_create_nonceReason is in your function anyone can send a Bzzt even if you’re not logged in if they know the correct URL schema.
-
r-a-y posted on the forum topic Send Private Static Message in the group How-To and Troubleshooting: 13 years, 7 months ago
Right now, your function is coded so it runs whenever the function is called. You need to create an action listening function at a predetermined slug so your function should run; or if you’re feeling really up to it, use ajax to send the request. Check out any action function in BP for hints. Here’s […]
-
r-a-y posted on the forum topic Switch language plugin in the group How-To and Troubleshooting: 13 years, 7 months ago
If you read the blog article, it says the plugin is free:
https://wordpress.org/extend/plugins/buddypress-multilingual/ -
r-a-y posted on the forum topic Video Must Be Public on YouTube to Display in the group oEmbed for BuddyPress: 13 years, 7 months ago
When YouTube updates their oEmbed spec to include their new, unlisted video feature , then this could become an option for you, @mariapeagler. mercime also lists Vimeo Plus as an option. Supposedly, their oEmbed spec includes support for their domain level privacy option, which will allow you to embed private videos on your domain only. Costs $60…[Read more]
-
r-a-y posted on the forum topic Forum Reply Button in the group How-To and Troubleshooting: 13 years, 7 months ago
-
r-a-y posted on the forum topic How to delete Forum Topic Tags? in the group How-To and Troubleshooting: 13 years, 7 months ago
In the DB, topic tags are stored in BuddyPress under:
– wp_bb_terms
– wp_bb_term_relationships
– wp_bb_term_taxonomyTo be extra cautious, back up these tables before you purge the data.
-
r-a-y posted on the forum topic Switch language plugin in the group How-To and Troubleshooting: 13 years, 7 months ago
Try the newest version of BuddyPress Multilingual:
-
r-a-y posted on the forum topic Member registrations not showing up in activity stream in the group How-To and Troubleshooting: 13 years, 7 months ago
Are you using the Block Activity Types plugin by chance?
Could also be an object caching problem if you have such a plugin activated.
-
r-a-y posted on the forum topic Embedding works in Activity streams, but not in Forums. in the group oEmbed for BuddyPress: 13 years, 7 months ago
Plugin does support forums.
If you’re having trouble, try the 0.6-beta for now until the next official release drops.
-
r-a-y posted on the forum topic Allowing Users to Customize Their Background Image in the group How-To and Troubleshooting: 13 years, 7 months ago
@virtuali- Yeah I have a link to where it’s being developed. It’s called http://localhost/ 😀 @gregfielding- I’ve decided not to add colors because every theme is different and the plugin has to be generic enough to suit each theme; FYI, my own theme is going to expand on this and add colors for text, border […]
-
r-a-y posted on the forum topic facebook like video resizing? in the group oEmbed for BuddyPress: 13 years, 7 months ago
Most likely the same week as when BP 1.3 drops.
- Load More
@r-a-y
Active 4 months, 4 weeks ago