Search Results for 'events template'
-
Search Results
-
I’m developing a plugin that adds a custom group home page (
groups/single/front.php
. The page will display the latest activity for each component that as active for the group. In the template, I’m checking withbp_is_active( {component} )
.The problem is that some of the components return false even though they are active, a tab is displayed for them.
Only xprofile, activity, docs and members return true.
global $bp;
returns["loaded_components"]=> ["loaded_components"]=> array(8) { ["forums"]=> string(6) "forums" ["members"]=> string(7) "members" ["profile"]=> string(8) "xprofile" ["activity"]=> string(8) "activity" ["groups"]=> string(6) "groups" ["settings"]=> string(8) "settings" ["events"]=> string(4) "bpeo" ["docs"]=> string(7) "bp_docs" }
["active_components"]=> array(6) { ["xprofile"]=> string(1) "1" ["settings"]=> string(1) "1" ["activity"]=> string(1) "1" ["groups"]=> string(1) "1" ["members"]=> string(1) "1" ["bp_docs"]=> string(1) "1" }
In the template:
<?php if ( bp_is_active( 'xprofile' ) ) : ?> <div class="buddypress-module xprofile intro">Intro</div> <?php endif; ?> <?php if ( bp_is_active( 'activity' ) ) : ?> <div class="buddypress-module activity">Activity</div> <?php endif; ?> <?php if ( bp_is_active( 'forums' ) ) : ?> <div class="buddypress-module forums replies">Replies</div> <div class="buddypress-module forums topics">Topics</div> <?php endif; ?> <?php if ( bp_is_active( 'blogs' ) ) : ?> <div class="buddypress-module blogs">Blogs</div> <?php endif; ?> <?php if ( bp_is_active( 'events' ) ) : ?> <div class="buddypress-module events">Events</div> <?php endif; ?> <?php if ( bp_is_active( 'bp_docs' ) ) : ?> <div class="buddypress-module docs">Docs</div> <?php endif; ?> <?php if ( bp_is_active( 'members' ) ) : ?> <div class="buddypress-module members">Members</div> <?php endif; ?>`
Confirmed with twentysixteen
WordPress 4.6.1
BuddyPress 2.7.2Topic: Full Width
Hi,
WP:4.5.3 BP:2.6.0 Theme:twentyfourteen
I currently have my main page with a primary sidebar and content sidebar, I’ve set all other pages to use the full width template which seems to be working for events etc but buddypress only follows this setting on the main groups and members pages. As soon as I navigate to a group or member page it no longer uses that template is this correct behaviour?
I have tried adding an if around the get_sidebar but this just leaves the area empty which I’m guessing is a css issue.
I also tried copying the page-templates\full-width.php file to a child theme and renaming to buddypress.php but this also has the same effect of the empty space at the side.
Any advice would be greatly appreciated.
Thanks
Hey everyone,
First of all, thanks so much for the work and effort you put into BP. It’s amazing what you all do.I recently updated to the latest BP and WP versions (the details you requested are below).
Issues #1 – when someone initially posts into a group, not a reply to a comment, users who have requested All Email option from the BP Group Email Subscription Plugin receive an email using that BP Group Email Subscription plugin’s email template vs. the new BP email templates. If someone replies to the comment, then the new BP email templates work perfectly.
Issue #2 – the email mentioned in #1 is from wordpress@mydomain.org. while the others are sent from mysite@mydomain.com.
Thanks for any advice you can send my way.
1. Which version of WordPress are you running? 4.4.2
2. Did you install WordPress as a directory or subdomain install? subdomain
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgrade from a previous version of WordPress? If so, from which version? From 4.3.3
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? Yes
6. Which version of BP are you running? 2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version? 2.4.2
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Advanced Cron Manager
Automessage
Black Studio TinyMCE Widget
BP Group Hierarchy
BP Profile Search
Broken Link Checker
BuddyBoss Wall
BuddyDrive
BuddyPress
BuddyPress Activity Plus
BuddyPress Global Search
BuddyPress Group Email Subscription 3.6.0
Select BuddyPress Groups Extras
Select BuddyPress Members Import
Select BuddyPress Message Attachment
Select CCL Salesforce Connector
Contact Form
Easy Google Fonts
Events +
Google Analytics by Yoast
Google Doc Embedder
Google Maps
HiFi
iframe
Invite Anyone
Page Builder by SiteOrigin
PHP Code Widget
PHP Snippets
PopUp Pro
Deactivate
Post Tags and Categories for Pages
Deactivate
Private Community For BP Lite
Redirection
Search shortcode
Shortcodes Ultimate
Simple Follow Me Social Buttons Widget
Simple:Press
UberMenu 2 – WordPress Mega Menu Plugin
User Role Editor
Wordfence Security
WordPress HTTPS
WP-FormAssembly
WPMU DEV Dashboard9. Are you using the standard WordPress theme or customized theme? BuddyBoss
10. Have you modified the core files in any way? Nope
11. Do you have any custom functions in bp-custom.php? Yes
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not running
13. Please provide a list of any errors in your server’s log files. None
14. Which company provides your hosting? BlueHost
15. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache