Skip to content

Theme & Youzify Integration

Youzify is a popular BuddyPress theme and user profile plugin that replaces parts of the BuddyPress activity UI with its own template. When Youzify is active and the Hashtag Following feature is enabled, BuddyPress Hashtags adds a “Followed Hashtags” tab to the Youzify-rendered activity tabs on member profiles.

Youzify renders activity type tabs (Recent Activity, Posts, Comments, etc.) using the bp_activity_type_tabs action hook. The plugin hooks into this at priority 80 and outputs a <li id="activity-hashtag"> tab item. Clicking this tab loads the member’s followed hashtag activity feed — the same content shown by the standard BuddyPress Nouveau sub-tab.

  • Youzify must be active (the plugin checks class_exists('Youzify'))
  • “Enable Hashtag Following” must be turned on in General Settings

The Youzify tab is registered automatically when both conditions above are met. There are no additional settings for it.


BuddyPress Hashtags does not override any theme template files. All hashtag output is injected through content filters, so hashtag links inherit whatever link styles your active theme applies.

Reign Theme is developed by Wbcom Designs and is built to complement BuddyPress plugins. Hashtag links in Reign receive the standard .hashtag CSS class, which is styled in the plugin’s own stylesheet. No Reign-specific configuration is needed.

For other BuddyPress-compatible themes, the same rule applies: hashtag links use the .hashtag class. If your theme’s link styles do not look right, you can override the class in your child theme’s CSS.


Points Plugins (Wbcom Points / GamiPress / myCRED)

Section titled “Points Plugins (Wbcom Points / GamiPress / myCRED)”

BuddyPress Hashtags does not have a built-in points integration. If you want to award points when members use hashtags, you can do so through a custom hook on bp_activity_after_save, which fires after every activity is saved.

Example pattern (add to your child theme’s functions.php):

add_action( 'bp_activity_after_save', function( $activity ) {
// Check if the activity content contains a hashtag
if ( strpos( $activity->content, '#' ) !== false ) {
// Award points using your points plugin's API
// e.g. mycred_add( 'using_hashtag', $activity->user_id, 5 );
}
} );

Refer to your points plugin’s documentation for the exact function to call.


If you are using a custom theme that does not use BuddyPress Nouveau or the BuddyPress Legacy template, you may need to verify:

  1. That the bp_ajax_querystring or bp_dtheme_ajax_querystring filter is called when AJAX loads activities — this is how hashtag search filtering works.
  2. That your theme renders bp_activity_new_update_content or bp_get_activity_content_body — these are the filters that convert #words into links.

If either of these is missing, see Hooks & Filters Reference for a list of every hook the plugin registers, so you can determine where to add compatibility code.