-
rich! @ etiviti posted on the forum topic Displaying Content of Custom Field in Activity Stream in the group How-To and Troubleshooting: 15 years, 3 months ago
get_post_meta( bp_get_activity_secondary_item_id(), ‘thumbnail’, true)
but have a read about this – if you have pull info from a user’s blog post. so to switch, you’ll need to pass in bp_get_activity_item_id() (which is the blog_id)
https://codex.wordpress.org/WPMU_Functions/switch_to_blog -
rich! @ etiviti posted on the forum topic Adding topic tags after topic creation? in the group How-To and Troubleshooting: 15 years, 3 months ago
https://trac.buddypress.org/ticket/2281
FWIW – the bbpress function name is bb_add_topic_tags (look at tag-add.php and functions.bb-template.php tag_form() )
-
rich! @ etiviti posted on the forum topic Buddypress Admin Bar shows Notification when someone replies to a Forum Topic in the group How-To and Troubleshooting: 15 years, 3 months ago
Possible but needs to be coded in, the notification class has a simple api to use for adding/deleting but all those triggers need to be setup (via a plugin)
-
rich! @ etiviti posted on the forum topic Displaying forum topic tags in the group How-To and Troubleshooting: 15 years, 3 months ago
quickly looking around in the bbpress code – i don’t see any forum level tag heat maps – only for top_tags and topic_tags.
have a look at the code that powers this bbpress plugin, though it may take some reworking for buddypress
https://bbpress.org/plugins/topic/hot-tags-plus/ -
rich! @ etiviti posted on the forum topic Adding topic tags after topic creation? in the group How-To and Troubleshooting: 15 years, 3 months ago
forgotten oversight in the templates/bp – sure it is possible if you dig deep into bbpress code for the proper function
-
rich! @ etiviti posted on the forum topic Show group members blogs in the group Creating & Extending: 15 years, 3 months ago
just a general theory what about hooking on the action “bp_directory_members_item” in members-loop template then within that hooked function – call “bp_blogs_get_blogs” (see bp-blogs.php line 279) which accepts a few arg params (user_id, per_page,page – but set those to so you do not paginate) Use the templatetag bp_get_member_user_id() for the…[Read more]
-
rich! @ etiviti posted on the forum topic Displaying Content of Custom Field in Activity Stream in the group How-To and Troubleshooting: 15 years, 3 months ago
passing the wrong values
https://codex.wordpress.org/Function_Reference/get_post_meta -
rich! @ etiviti posted on the forum topic Displaying Content of Custom Field in Activity Stream in the group How-To and Troubleshooting: 15 years, 3 months ago
very close! – use the template tags
bp_get_activity_item_id()
bp_get_activity_secondary_item_id()but as a side note – i don’t know about get_post_meta and realm of MS (you might have to switch the current blog) which is why i pulled out the blog_id info
-
rich! @ etiviti posted on the forum topic Displaying Content of Custom Field in Activity Stream in the group How-To and Troubleshooting: 15 years, 3 months ago
$post->ID would not be valid in that case – for a blog post:
‘item_id’ => $blog_id,
‘secondary_item_id’ => $post_id, -
rich! @ etiviti posted on the forum topic New Plugin: Blocking activity stream types (ie new member registered, friendship created, joined gro in the group BuddyPress Block Activity Stream Types: 15 years, 3 months ago
this plugin is not that granular and only targeted at types stored in the activity table
-
rich! @ etiviti posted a new activity comment 15 years, 3 months ago
there is a doc on creating child themes on here – basically you need to create a child theme for for forums/index.php template and move one line of code. Should be 107 and move it above 103
-
rich! @ etiviti posted a new activity comment 15 years, 3 months ago
looks like the bp-default theme changes for forums/index.php as the hook “bp_directory_forums_content” is now below the forums-loop.php
you can edit your theme and move that trigger above
-
rich! @ etiviti posted on the forum topic Functions to display moderators and forum activity of a certain group in the group How-To and Troubleshooting: 15 years, 3 months ago
bp_forums_get_forum_topicpost_count( $forum_id ), where forum_id is groups_get_groupmeta( $bp->groups->current_group->id, ‘forum_id’ );
depends on the group_id – if you are within the group context then $bp->groups->current_group->id
-
rich! @ etiviti posted a new activity comment 15 years, 3 months ago
this was suppose to be fixed in buddypress 1.2.5
can you add a patch to this trac ticket?
https://trac.buddypress.org/ticket/2264 -
rich! @ etiviti posted on the forum topic Forum Attachment for Buddypress issue: Thumbs are not loading in the group Third Party Components & Plugins: 15 years, 3 months ago
nope – that would be @boonebgorges 😛
-
rich! @ etiviti posted on the forum topic Functions to display moderators and forum activity of a certain group in the group How-To and Troubleshooting: 15 years, 3 months ago
groups_get_group_mods( $group_id )
groups_get_group_admins( $group_id ) -
rich! @ etiviti posted a new activity comment 15 years, 3 months ago
the number is wrapped in a span class
-
rich! @ etiviti posted on the forum topic mysql_get_server_info() Error~~ in the group How-To and Troubleshooting: 15 years, 3 months ago
please post the details on your server configuration
-
rich! @ etiviti posted on the forum topic Hide Comments from Non Members in the group How-To and Troubleshooting: 15 years, 3 months ago
here is some code for removing activity reply comments from non-logged in users
http://etivite.com/groups/buddypress/forum/topic/quick-tip-hide-activity-updates-andor-replies-by-types-for-non-logged-visitors-in-users/#topicnot sure about blog comments – different template (and depending if MS)
-
rich! @ etiviti posted on the forum topic Buddypress forum photo upload nightmare.. in the group How-To and Troubleshooting: 15 years, 3 months ago
buddypress forum attachment is the only plugin that would allow local uploading to the server
group forum extras allows some bbcodes/shortcode for external hotlinking
- Load More
@nuprn1
Not recently active
I didn’t really understand (maybe because I have absolutely no php skill). Could you be more precise please ? Thank you so much.
there is a doc on creating child themes on here – basically you need to create a child theme for for forums/index.php template and move one line of code. Should be 107 and move it above 103