-
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
oh sorry, i forgot to include the register widget hook
function my_register_widgets_init() {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“Whatever_You_Named_It_Latest_Topics_Widget”);’) );
}
add_action( ‘bp_register_widgets’, ‘my_widgets_init’, 15 ); -
rich! @ etiviti posted on the forum topic Forum Posts Not Showing Up in the group How-To and Troubleshooting: 15 years, 5 months ago
regards to the drop down… the group loop (in theme forums/index.php) which only displays public groups needs another || check for: groups_is_user_member( $bp->loggedin_user->id, bp_get_group_id() ) but if you disable bbPress buddypress component you won’t be able to post any forum topics 😉 though, if a family site – why not lock down the entire…[Read more]
-
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
you have to activate the widget under wp-admin > appearance > widgets (drag it to the sidebar)
-
rich! @ etiviti posted on the forum topic Is bp dying a slow death? in the group Miscellaneous: 15 years, 5 months ago
Things have slowed up (trac-wise) and I have noticed less activity on the boards (from Andy too) but it is hard to assume what happens within a company and allocation of resources.
-
rich! @ etiviti posted on the forum topic Admin posts with unique css in forums in the group Creating & Extending: 15 years, 5 months ago
just like before – if you are within the topic loop the template will have the scope
$topic_template->post->poster_id
-
rich! @ etiviti posted on the forum topic Admin posts with unique css in forums in the group Creating & Extending: 15 years, 5 months ago
for group admin and group mod?
built into bp-core:
function groups_is_user_admin( $user_id, $group_id )
function groups_is_user_mod( $user_id, $group_id )BUT
those statements will ping the database each time and is not wp_cached -
rich! @ etiviti posted on the forum topic Forum Posts Not Showing Up in the group How-To and Troubleshooting: 15 years, 5 months ago
it seems you only have one group setup (which is private) so is the forum enabled for that group?
-
rich! @ etiviti posted on the forum topic List Specific Groups by ID or Name in the group How-To and Troubleshooting: 15 years, 5 months ago
what is available:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-groups-loop/but doesn’t seem to have the same include option as the other loops (where you pass a string of comma separated ids)
you may need to code something up and just call groups_get_group for each one
-
rich! @ etiviti posted a new activity comment 15 years, 5 months ago
mine only brings up a user’s profile stats – not the entire community. (though i’m sure can’t be too difficult to collect same info displayed here)
-
rich! @ etiviti posted on the forum topic topic.php so first post has unique css in the group How-To and Troubleshooting: 15 years, 5 months ago
works for me… in fact i style the first li on my sites: <li id=”post-<?php bp_the_topic_post_id() ?>” <?php if (my_forum_is_first_post() ) echo ‘class=”first”‘; ?>> buddypress does not use the same bbpress functions and overrides the majority of the features *i really hate we can’t post code here – @apeatling please add the functionality (or…[Read more]
-
rich! @ etiviti posted a new activity comment 15 years, 5 months ago
i can’t send you a DM on twitter but lets figure something out for the other plugins.
-
rich! @ etiviti posted a new activity comment 15 years, 5 months ago
nice!
-
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
wp-admin > appearance > widgets
-
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
i posted it here (easier to see the code)
http://etivite.com/groups/buddypress/forum/topic/quick-tip-widget-display-latest-topics-from-group-forums/#topic -
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
well the easiest way is to just extract the snippet and replace a line of code
open up
bp-forum-extras-index.phpplace this class BP_Forum_Extras_Index_Latest_Topics_Widget extends WP_Widget into the bp-custom.php file
then replace the line
if ( bp_forum_extras_blogs_component() )
with
if ( $bp->forums->slug == $bp->current_component ) -
rich! @ etiviti posted on the forum topic php code for output username in activity stream in the group How-To and Troubleshooting: 15 years, 5 months ago
well the “action” is where the username is displayed but that contains the entire “title” of the activity stream. ( thisuser posted an update: )
but you could use bp_get_activity_user_id() in the loop and reference one of the bp_core get username functions
-
rich! @ etiviti posted on the forum topic Link to first new post in forum in the group Requests & Feedback: 15 years, 5 months ago
i believe @3sixty created a plugin (or posted code – have to search for it) to record the user’s last viewed post
-
rich! @ etiviti posted a new activity comment 15 years, 5 months ago
nice! thank you very much
-
rich! @ etiviti posted on the forum topic Is there a latest forum topic widget? in the group How-To and Troubleshooting: 15 years, 5 months ago
correct, under the forum index sub-plugin. (you can set the max topics)
it calls bp_has_forum_topics so if viewed from a group page or profile page – it will filter for those components as well.
-
rich! @ etiviti posted on the forum topic Moving bb-config to a non web accessible directory (up a dir from the root) in the group Installing BuddyPress: 15 years, 5 months ago
IIRC within BP – the BB config file is also stored in the meta table ( $bp->forums->bbconfig = $bp->site_options; )
- Load More
@nuprn1
Not recently active
i can’t send you a DM on twitter but lets figure something out for the other plugins.