Forum Replies Created
-
Did you try using the repair tool?
This kind of magic… works! Thank you! 😉
Same here. With 2.5.1, even when switching to English language, still “situations” are not visible when add/editing emails.
Hi again,
you may follow these summarized steps to enable suggestions for @-mentions in the groups component, furthermore for group forums:
https://buddypress.trac.wordpress.org/ticket/5934#comment:description
Assume all will make it to the next release.
Best regards.
Hi Will,
as far as I see the patches discussed above are included in v2.1.1 completely.
Looks like you can enable suggestions for @-mentions in the groups component by just adding a condition bp_is_groups_component() in bp-activity/bp-activity-functions.php:62 – changing it to:
( bp_is_activity_component() || bp_is_groups_component() || bp_is_blog_page() && is_singular() && comments_open() || is_admin() );
I’m also wondering why that isn’t default and suggest this as improvement: https://buddypress.org/support/topic/enabling-suggestions-for-mentions-in-groups-component/
@willandmae You’re welcome! Took me a Sunday to figure out properly …
So… I opened my very first, corresponding ticket and pull request. Hope that helps.
Hi together,
looks as progress like @mentions were forgotten to get ported back to good ol’ bp-default.
In bp-activity/js/mentions.js you’ll find on what elements @mentions should work:
// Activity/reply, post comments, dashboard post 'text' editor. $( '<strong>.bp-suggestions</strong>, #comments form textarea, .wp-editor-area' ).bp_mentions( users );
Here’s how to get @mentions working for bp-default theme:
1) Prevent JavaScript errors occurring by inaccurate enqueued scripts – apply this patch: https://buddypress.trac.wordpress.org/ticket/5889#comment:6
2) Extend textareas by missing class ‘bp-suggestions’. Change bp-themes/bp-default/activity/post-form.php:30 to
<textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
and bp-themes/bp-default/activity/entry.php:100 to
<textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input bp-suggestions" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
@danbp How can we make sure this will considered for a 2.1.1 release?Thanks and regards
Thx a lot!
@apeatling So, is an overview of BuddyPress’ current default database tables available somewhere? Can’t find it neither in the codex nor elsewhere?
About to delete my old wp_user_*_activity tables now, finally. Have other tables become outdated/ obsolete relics since initial BP releases?
Thx in advance!
I have to confirm exactly that issue with WP 3.5 Multi Site, BP 1.6.2, bbP 2.2.3.
Only group forums are affected, not sitewide forums.
Also, I don’t have the bbPress Settings -> Theme Packages options as shown in https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/ ? So I’m using the BuddyPress Default theme.
Only advice I found so far: “Disable BuddyPress’s Forums component” – https://bbpress.org/forums/topic/version-2-2-fatal-error-creating-topic/ …
Dear Peter, the issue with the missing oauth_token in the URI still occurs. What a pitty
I totally agree with foxly. As I pronounced in another thread –
https://buddypress.org/forums/topic/bp-12-bppicture-album-plugin#post-36038
I understand developers want/ need their infrastructure and efforts paid. But it’s also in opposition to the open source idea founded with BP. A “small” webmaster like me, caring exclusively for private websites not about earning any monetary benefits, has to think twice about if he can afford a “premium membership”. Furthermore, which provider should be chosen? buddydev.com? premium.wpmudev.org? etc.
You’re right, sorry for the mistake.
@gregfielding : BP Gallery doesn’t match with BP 1.2’s Default theme. See:
https://buddypress.org/forums/topic/bppicture-and-buddypress-12rc3-problem
https://buddypress.org/forums/topic/bp-12-bppicture-album-plugin
@Peter: unfortunately I have to confirm the authorizing issue – failure to add the key to the url, landing on the “woah there” page about the token already being used …!?
My environment: PHP 5.1.4-Debian-0.1~sarge1, CURL support enabled (libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13), WPMU 2.9.2, BP 1.2.2.1
… is there a way to do authorization manually? How should an uri with “authorize?oauth_token=” look like?
Hi andrewsa,
you have to give a valid $user_id at least. I’m using this in my blog’s sidebar, have a look at http://spaces.nordblog.net/mark/ in the upper right corner.
I defined in blog theme’s functions.php:
function bp_author_info( $title, $user_id){
// Fetch some ...
// Get author's data BuddyPress style:
$author = new BP_Core_User( $user_id);
// Make output ...
echo "<!-- Status Updates -->
<h2>{$title}</h2>
<ul><li>
<span class=\"alignleft\">
<a href=\"{$author->user_url}\" title=\"Profil von {$author->fullname}\">{$author->avatar_thumb}</a>
</span>\n";
bp_activity_latest_update( $user_id); // contains echo with View link
echo "<span style=\"display: block; clear: both;\"><!-- clear --></span>
</li></ul>\\n";
}… and inserted in sidebar.php:
if( function_exists( 'bp_author_info')){
bp_author_info( $title = "Mensch", $userid = 2 );
}(but where to download?)
francescolaffi, what a great plugin! Finally a worthy successor for bppicture-album – working with BP 1.2. Thank you for your efforts.
… where, in which directory are pics stored?
@Dave: in v1.1.8.1, without adding/moving the plugin-template.php to the default theme, I still get a
Fatal error: Call to undefined function bp_chat_plugin_template() …wp-contentpluginsbuddypress-ajax-chatbp-chat.php on line 262
!? Even with adding plugin-template.php this occurs. I can’t get this plugin to work
Thanks Dfa327… but where to download? The repository at wordpress.org doesn’t seem to be updated?
@jittopjose : SI CAPTCHA works like charm with BP. It protects my site from spam registrations/ comments since about a year.
I recommend the SI CAPTCHA Anti-Spam plugin: https://wordpress.org/extend/plugins/si-captcha-for-wordpress/
Don’t know how BP_REGISTER_SLUG behaves, but have you tried
bp_core_redirect( $bp->root_domain . '/register' );
or
bp_core_redirect( get_bloginfo( 'siteurl') . '/register' );
?
Cozzie,
bp_core_redirect( get_bloginfo('siteurl') . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain . $_SERVER['REQUEST_URI'] ));
should work.
But, while testing this, I figured out that the redirect_to doesn’t result in any effect? Even if a valid rediret_to parameter is given, users are always forwarded to the frontpage!? What’s wrong with redirect_to?
Here’s a plugin to handle like Wildrot (and myself btw):
https://buddypress.org/forums/topic/plugin-force-login-for-member-pages