Search Results for 'code'
-
Search Results
-
Hello,
I’m using the standalone bbpress 1.1. I want to make a little modification to hide the thread replies from the non-logged users. So, the non-logged users can see only the very first post but can not see the replies to the topic. How can I do that?
I tried to remove following from the topic.php file in the theme, but it removes the first post as well. I’ll appreciate any help.
Code:<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<li id=”post-<?php post_id(); ?>”<?php alt_class(‘post’, $del_class); ?>>
<?php bb_post_template(); ?><?php endforeach; ?>
Topic: bbpress breaks my permalinks
I have a WordPress (v 3.4.1) site with a custom theme. I have my permalinks set to %postname% and my navigation is hard coded with relative urls (
<a href="about">About</a>)I have installed bbpress (v 2.0.3) and everything works great until I try to leave the forum page. From the forum page, when I click on any link in the nav, it adds /forum to all my urls resulting in a 404 error.
In the bbpress settings I have unchecked the “Prefix your forum area with the Forum Base slug (Recommended)” option, and that did not fix it.
Any help would be appreciated as this site is due to a client by the end of today and I don’t want to use a different Forum plugin.
I already have Buddypress installed on my wordpress theme. After I install bbpress, I can’t access my dashboard anymore. When I click on dashboard I get this message:
Server error
The website encountered an error while retrieving http://www.
. It may be down for maintenance or configured incorrectly.How do I fix this?!
Good Day,
Please forgive me for being a complete Village Idiot in regards to WP + bbPress…
I am working on a 2nd site, it’s in development right now. I have BuddyPress installed and inactive, bbPress 2.1 RC 2 installed and active (working well so far, I might add).
I am also using the Custom-Community-Pro theme by ThemeKraft because the young lady that will manage this site is even more clueless than I am and needs the easy CSS updates this provides.
Per the below (copied in the text I’m referring too at bottom of post), I thought with 2.1 we no longer needed to make child themes, etc., for bbPress to match our WP theme. Am I missing something (most likely)? Do I need to still create a child theme or follow the other directions below on making bbP match my site seamlessly?
Again, my apologies if this has been addressed elsewhere…
Thanks and Regards ~ Alisa
Codex Home → Theme Compatibility
As of 2.1, bbPress has built-in theme support. All required elements such as front-end editing are included. This means that all functionality will work, even when a theme has no specific bbPress coding.
All bbPress compat can be overridden using a theme or another plugin. Check bbp-theme-compat template wrappers for what a normal theme should include.
To customize bbPress::
Create a new directory within your theme root called ‘bbpress’ for example: wp-content/themes/YOURTHEME/bbpress
Copy any files from bbPress/bbp-theme-compat/ to the new directory within your theme
Edit the new files for complete control over bbPress display in the theme
You can completely disable the included front-end elements by adding the following to your theme’s functions.php:
add_theme_support( ‘bbpress’ );
Topic: Getting error
I have installed Buddypress and enabled Forums feature in my wordpress website (using NEWS child theme).
I’m getting following error:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 122880 bytes) in /home/travels/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php on line 922
— SoundManager 2 failed to load (security/load error) —
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: Verify that ./soundmanager2_debug.swf is a valid path.
soundManager: No Flash response within expected time. Likely causes: Loading soundmanager2_debug.swf may have failed (and/or Flash 8+ not present?), Flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash…
soundManager::initMovie(): Waiting for ExternalInterface call from Flash..
soundManager::initMovie(): Got EMBED element (created via JS)
soundManager::createMovie(): Trying to load ./soundmanager2_debug.swf
— SoundManager 2 V2.97a.20110123 (AS2/Flash
, normal polling —Can any1 help by this??
Regards,
Ankur
When I look at the topics page in the backend word press page, the only data column that shows up is “Freshness”. I tried to make some modifications to the code, and I must have messed it up. Does anybody know what file controls this page?
