`
so you move it to above `
`<div class="post" id="post-“>
I have a wordpress mu with buddypress 1.6.1 installed and was working perfectly. I made the mistake of activating sitewide forums and now my group forums throw the following error. Please advise/help someone….
Warning: require() [function.require]: Filename cannot be empty in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42
Warning: require() [function.require]: Filename cannot be empty in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42
Fatal error: require() [function.require]: Failed opening required ” (include_path=’.:/usr/local/php5/lib/php’) in /home/johny/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php on line 42
I did a lot of research on google to no avail
So I was having an issue with BuddyPress styles when using the WordPress https plugin (which normally works great with ssl pages). Since I also use s2member pro with paypal pro forms, I didn’t have a lot of time to really troubleshoot what is happening with the DOM when all three plugins are activated. Instead, I figured out fairly quickly that BuddyPress styles weren’t being loaded, though the call for them was being enqued properly. I noticed I was getting a 404 error for:
Get bp-template-packbp.css?ver=20110918
which, btw, also can be read as:
http://www.xxxx.com/wp-content/plugins/bp-template-packbp.css?ver=20110918
This is a dynamically built/added stylesheet that’s added to the header and associated with the following function in bpt-functions.php:
function bp_tpack_enqueue_styles()
Anyway, the first thing I did was disable the https plugin, so that I could capture the css normally added by the enqued stylesheet. I copied the css in that stylesheet (you can do that via Firefox or Chrome dev tools), and added pasted that css into my custom stylesheet (you can add it to your childtheme stylesheet, if you like).
Since I wanted to get rid of the 404 error that would occur when the https plugin is enabled, I also commented out the following in bpt-functions.php on line 127:
//wp_enqueue_style( ‘bp’, plugins_url( ‘/bp-template-pack/’ ) . $stylesheet, array(), $version );//
After I saved everything and re-enabled all the plugins, everything now looks fine in BuddyPress, S2member works the way it should, and I get nice padlocks in the browser address window on my ssl pages..
A few words of caution, and possible caveats:
You shouldn’t normally make any changes to the core or plugin files, and some folks (here) will yell at you if you do. Sometimes though, a plugin is only as good as the code in it. WordPress is constantly evolving and with those changes, come changes that are often required to maintain compatibility with the core as well as other (e.g.) plugins and themes. I often find myself having to make kludge like fixes just to keep up with all the changes that can and do occur. As a developer, I figure it comes with the turf.
Jan C.
P.S. There’s always the possibility that additional styles will have to added to my custom stylesheet moving forward. At least now though, if something does break, I’ve got a workaround that seems to do the trick.
Can anyone tell me what BuddyPress feature and/or plugin is being used on the BuddyPress Codex to generate the sidebar “Contents” section from headings? Is the process automatic (e.g., as with Mediawiki) or must the Contents section be created manually?
See, e.g., http://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/ (sidebar “Contents”).
Wordpress : 3.4.2
Buddypress : 1.6.1
Hello,
I’m trying to hide the content for non logged users, that they must redirect to a certain url that is the registration (called : /nouveau-membre),
I’ve tried with registered users only 2 , but it don’t let me tell what the URL it must redirect to …
Is there a solution ? or maybe something different that someone used to make the trick ?
Thank you for the time,
Oli
I have WordPress (not MU) installed on a site. It was installed with Fantastico. Is that a problem for BuddyPress? If I need to uninstall it, how do I do that? Do I have to use WPMU to use BuddyPress?
I would like to give the ScholarPress plugin a shot – looks very promising, but I haven’t been able to successfully use it yet.
I’ve created a fresh install using the default theme and the latest version of buddypress and wordpress with MU enabled (if that makes any difference). After installing and activating scholarpress, I created a new group, went to admin/courseware to enable courseware. Then, when I click on the ‘edit course’ button I get the page not found error – takes me to the following url:
http://salutations.wpengine.com/groups/teste/courseware/course/edit/
Am I missing something? Also, the handbook is missing:
http://scholarpress.github.com/buddypress-courseware/handbook.html
Any help would be greatly appreciated.
-Alexander
After updating to BuddyPress 1.6.1 (BP is on a secondary site on a sub directory 2 site network), the WordPress ‘Register’ link redirects to the BuddyPress blog creation screen and not the registration page. I updated BP from 1.5.6. WordPress is 3.4.2.
To try to find out what was happening, I installed two test sites on the server, both with virgin installs of WP and BP. I did not install any additional plugins so the sites are running standard basic installs. Both sites are running WP 3.4.2. On one site I installed BP 1.6.1 and the other BP 1.5.6. (Permalinks are set to Numeric).
The following is in the wp-config.php file:
define(‘WP_DEBUG’, true);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/test/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘sannyasnews.org’ );
define( ‘PATH_CURRENT_SITE’, ‘/test/’ );
define( ‘BP_ROOT_BLOG’, 2);
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );
The result you can see from these links:
http://sannyasnews.org/test/
http://sannyasnews.org/test2/
The first site (test) has BP 1.6.1, the second (test2) has BP 1.5.6 The sub directory were BP is active is called ‘now’ in both cases. If you follow the links above and then click ‘Register’ (under Meta) you will find that with the first site (test), the ‘Register’ link will redirect to http://sannyasnews.org/test/now/blogs/create/ whereas the second site (test2) will redirect to http://sannyasnews.org/test2/wp-signup.php.
It is possible that there is a bug with WordPress but this only manifested when I installed BP 1.6.1. I believe the same thing happens with BP 1.5.7
Any help greatly appreciated.
Wordpress : 3.4.2
Buddypress : 1.6.1
Hello,
I’m trying to set a buddypress site, Im quiet new to buddypress and don’t understand how to change the “join group” and “leave group” button to replace them with images (one for “join group”, one for “leave group”),
Ive reached some forum but dont really see what Im looking for, if someone can give me a hand please ?
Thanks in advance,
Oli