Yeah, it might have been a dns propagation issue, I didn’t think of that. It didn’t work, then you disabled bbpress and then it worked a couple of hours later (I did check a few times) then wasn’t working the next morning.
Do you have bbpress-functions.php in your WP theme folder? You could try editing that to give the correct path.
OR what you could do is just ignore the 404 and add them in separately. So workaround rather than fix. I’m guessing all your css and js files in your template directory are not getting included. But they’re there – I can see them.
This isn’t pretty and will stop working if you change themes or hosts, it’s like fixing trousers with duct tape, but it might work – you can and should keep trying to fix things in the meantime.
It goes into functions.php but don’t add using the admin area editor as if something goes wrong and you don’t have another way of editing files, you’re in deep trouble. I say that because I’m not really convinced it’s completely right, there’s no conditional logic for the js files so you need to be prepared to fix it if needs be (or ask, that’s fine, too!).
add_action('wp_enqueue_scripts', 'mjj_readd_scripts');
function mjj_readd_scripts(){
wp_register_style( 'ifuture-styles', '/ifuture/plugins/bbpress/templates/default/css/bbpress.css' );
wp_register_script( 'ifuture-editor', '/ifuture/plugins/bbpress/templates/default/js/editor.js' );
wp_register_script( 'ifuture-reply', '/ifuture/plugins/bbpress/templates/default/js/reply.js' );
wp_register_script( 'ifuture-topic', '/ifuture/plugins/bbpress/templates/default/js/topic.js' );
wp_register_script( 'ifuture-user', '/ifuture/plugins/bbpress/templates/default/js/user.js' );
wp_enqueue_script( 'ifuture-editor' );
wp_enqueue_script( 'ifuture-reply' );
wp_enqueue_script( 'ifuture-topic' );
wp_enqueue_script( 'ifuture-user' );
wp_enqueue_style( 'ifuture-styles' );
}
You’re looking for a:hover – that’s the style for a link when someone is hovering over it. So I think if you add the following it will all work as you’d like and be the same colour as your other links. This changes the default link hover colour. There might be something somewhere tucked away that overwrites it in certain circumstances but this should work on the forum index page at least.
a:hover{
color: #31485a;
}
Hi I’m really keen on this layout rather than the default Forum index layout in bbPress.
I have created the loop-forums.php with the code and placed it in the bbpress folder of my child theme (I am using Buddyboss)
However having done that, my Forum index page still remains unchanged
The page just has
[bbp-forum-index]
Advice much appreciated
presume you mean the topic form?
If so, then
wp-content/plugins/bbpress/templates/default/bbpress
and look for the templates that deal with forms, starting with form-topic.php
Basically in the root of your theme/child-theme, create a directory called bbpress ie
wp-content/themes/your-theme-name/bbpress
and copy across any templates you wish to alter. bbPress will then use them instead.
you’ll also find some js scripts in the default folders.
ok, lets work out where the problem lies.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
then come back
Ok, so suffusion has added some specific files in your theme, which bbPress is now using NOT changed your forum entries.
So I think all you need to do is go into
to /home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic and you should see a bbpress folder
ie
/home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic/bbpress
copy these files to your pc as a backup, and then just delete this folder. bbPress will revert to using the default ones, and you should be working.
i am getting 404 error for this two files.
plugins/bbpress/templates/default/css/bbpress.css
plugins/bbpress/templates/default/js/editor.js
any hope for solution ?
I thought it did – are you using the default bbpress template? There is every chance I’m confused.
So I have been running bbpress for the past month now. Today I had some free time and decided to try and make it look more appealing. So I searched for wordpress bbpress plugins and suffusion bbpress pack come up. I installed, activated, and went to its settings. So in the settings was the following:
(RE)BUILD BBPRESS FILES
If you are starting out afresh with bbPress on Suffusion or Suffusion on bbPress, this is the first thing you should do. Since the default bbPress HTML markup is different from Suffusion’s markup, this step will help (re)create your templates. You should be using a child theme of Suffusion before you start using this theme. Otherwise if you update Suffusion from the WP themes repository you will lose all the bbPress-specific files.
Please note that all your template files will be written to /home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic.
So I clicked “rebuild bbpress files” and looked at the forum to see the changes. Once I looked at the forum I noticed that all it did was expand the forum layout horizontally and removed the (right) sidebar. I need the sidebar so removed the suffusion bbpress pack plug in and now there is no forum whatsoever. If I re install the suffusion plugin, the forum reappears.
I tried doing a full restore through my hosting company to no avail. If there is a way that I could backup all of the topics and forums. Re install bbpress, then import topics and forums…. unless there is an easier way.
The role shows by default, so something must have turned this off.
Can you post a link to your url?
and what plugins are you running?
Hey guys i have a little problem. Actually i installed wordpress on my server and created a standard clean theme. Here is the Screen:

Than i created a child theme connected it with my parent theme via the style.css
And now i thought i have to put the bbpress folder into my child theme. Is this correct? The question is just which folders? Just copy all from default in my child theme or just the content of bbpress?

The same problem with buddypress i want to put it in my child theme but i dont know what. All folders copy paste? Or just the content of my bp_template or maybe bp_theme folder?

PS: I tried a bit on my local server at the plugin folder and want would change 2 things at my bbpress forum. 1) Is there a solution that i can upload images when using the editor? I think its very uncomfortable to put a link from another server in the editor. I want to handle it like facebook just upload it on my server and its in the post. 2) How can i delete the /forums in my url? i want my url like http://www.myurl./forumname but actually its http://www.myurl.de/forums/forumname.
Hope you can help me i want to start with this awesome plugin but 🙂
Try
rewrite rules
This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.
and if that doesn’t work try
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
If you take a look at a single users profile and the ‘edit’ section:
If you look in content-single-user.php you’ll see:
<?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>
Open the form-user-edit.php template:
<?php do_action( 'bbp_user_edit_before_role' ); ?>
<?php bbp_get_template_part( 'form', 'user-roles' ); ?>
<?php do_action( 'bbp_user_edit_after_role' ); ?>
(I removed some of the multisite network user role code for readability above)
Open up the form-user-roles.php template:
<?php bbp_edit_user_forums_role(); ?>
The role that will be the default when you add this to your ‘New User Form’ will be the default ‘participant’ if that is what you have set the default role as in bbPress settings.
Hello,
I am trying to place the forum Roles section, like the section that appears in Edit user, on the new user form. My site is private, so any new users are created by the admin. I’d very much like the admin to only have to go to this screen for user permissions. I’ve managed to get my other plugin and custom fields on the page, but I haven’t figured out how to do it with bbPress. Could someone help me out? For all general purposes, I am using the add_action hook user_new_form then setting the values with update_user_meta in my theme’s function.php page. I see that bbPress sets values in the clr_usermeta database, but I’m unclear on what to set and how. Also, I always want the default value for the role field to be participant. I have search reasonably thoroughly for a clear answer to this and haven’t had much luck. I welcome any help you may have.
try the following
rewrite rules
This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
come back and let us know if any of the above fixes
This cannot be achieved at this stage with bbPress, the only option is to ‘Opt-In’ and there is no availability to have the defaults the other way around.
Is there any chance of this being changed at some time? Perhaps as a config option? Being subscribed by default is the most requested feature by users on my forum.
Not a buddypress expert, but suggest you try with all plugins except bbpress and BP deactivated. If that fixes, re-enable one at a time to find the problem.
If plugins doesn’t fix, switch to a default forum such as twentytwelve, and test again.
Come back and let us know if any of that helped.
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
wordpress uses gravatar as it’s avatar system
http://en.gravatar.com/
so you change the gratatar there.
If you want to change the default
Dashboard>settings>discussion and at bottom of that page
If you want to use local avatars
https://wordpress.org/plugins/simple-local-avatars/
If this challenge I am having is beyond the scope of help in the bbpress forums, then I understand. The below code is a function that allows the user to submit a search request for a book title via the google books api. When the user clicks “search”, the function works great and returns results in a Jquery window. The problem I am having; it triggers a submit of the bbpress topic, and I get the errors “cannot submit a topic with the subject line blank.”
If there is a simple fix I am not seeing, can someone please help me?
function book_search_google () {
//set API version for Google Book Search API
$v = isset($_POST['v']) ? $_POST['v'] : '1';
//set user API key for Google Book Search API
$key = isset($_POST['key']) ? $_POST['key'] : 'key goes here';
//set user IP for Google Book Search API
//$ip = isset($_POST['ip']) ? $_POST['ip'] : $_SERVER['REMOTE_ADDR'];
//set default value for query to Google Book Search API 0307387941
$query = isset($_POST['q']) ? $_POST['q'] : '0307387941';
//set default value for search type to Google Book Search API
$type = isset($_POST['type']) ? $_POST['type'] : 'all';
//check and assign page of search results - are we on the first page?
$start = isset($_POST['start']) ? $_POST['start'] : 1;
//set default value for number of results
$limit = isset($_POST['limit']) ? $_POST['limit'] : '10';
switch ($type) {
case 'all':
$params = 'q='.urlencode($query).'&startIndex='.$start.'&maxResults='.$limit;
break;
case 'isbn':
$params = 'q=isbn:'.urlencode($query).'';
break;
case 'lccn':
$params ='q=lccn:'.urlencode($query).'';
break;
case 'oclc':
$params = 'q=oclc:'.urlencode($query).'';
break;
default:
echo '<p>You must specify a search type such as "all" or "book". Check the url to make sure "type=" has a value.</p>';
exit;
}
//set URL for the Google Book Search API
$url = 'https://www.googleapis.com/books/v'.$v.'/volumes?key='.$key.'&'.$params.'';
if(isset($_POST['q'])):
//build request and send to Google Ajax Search API
$request = file_get_contents($url);
//decode json object(s) out of response from Google Ajax Search API
$data = json_decode($request,true);
$totalItems = $data['totalItems'];
pagination mainHeading
if ($totalItems > 0) {
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Dialog - Default functionality</title>
<link rel="stylesheet" href="//whosgotbooks.com/jquery/jquery-ui-1.10.4.custom.css">
<script src="//whosgotbooks.com/jquery/jquery-1.10.2.js"></script>
<script src="//whosgotbooks.com/jquery/jquery-ui-1.10.4.custom.js"></script>
</head>
<body>
<div id="dialog" title="Google Books Search Results" style="display:none;">
<script>
$(function() {
$( "#dialog" ).dialog({
height: 550, width: 450});
$( "#returnvalues" ).click(function(){
$( "#dialog" ).dialog( "close" );
});
});
</script>
<strong><p style="font-size: 16px; text-align: center";>Top 10 Results for "<?php echo @$_POST['q']; ?>"</p></strong>
<strong><p style="font-size: 14px; text-align: center";>choose a book to select as your topic</p></strong>
<table style="width:400px">
<col width="325">
<col width="75">
<?php foreach ($data['items'] as $item) { ?>
<tr>
<td>
<strong><u><div style="font-size: 14px";><?php printf($item['volumeInfo']['title'])?></u></div></strong>
<strong>Author: </strong><?php printf( $item['volumeInfo']['authors'][0]); ?><br />
<strong>Published: </strong><?php printf( $item['volumeInfo']['publishedDate']); ?><br />
<strong>Page(s): </strong><?php printf( $item['volumeInfo']['pageCount']); ?><br />
<strong>Publisher: </strong><?php printf( $item['volumeInfo']['publisher']); ?><br />
<strong>Category: </strong><?php printf( strtolower($item['volumeInfo']['printType']).', '.strtolower($item['volumeInfo']['categories'][0])); ?>
<strong>ISBN: </strong><?php printf( $item['volumeInfo']['industryIdentifiers'][0]['identifier']); ?></td>
<td><p><input type="submit" name="submit" value="Select" id="returnvalues"/></p>
<img src="<?php printf( rawurldecode($item['volumeInfo']['imageLinks']['smallThumbnail'])); ?>" />
</td>
<tr><td style="width:420px"><p><strong>Description: </strong><?php printf( $item['volumeInfo']['description']); ?><br /></p></td>
</tr>
</tr>
<?php } }
else {
?>
<p><strong>Sorry, there were no results</strong></p>
<?php }
/* for testing purposes show actual request to API - REMOVE when finished
$apiRequest = $url;
echo '<p>API request: '.$apiRequest.'</p>'; */ ?>
</table>
</div>
</body>
</html>
<?php
else: //show form and allow the user to check for Google Book search results
?>
<p><form id="searchForm" name="searchForm" method="post">
<fieldset id="searchBox">
<label>Search for a Book:</label>
<input class="text" id="q" name="q" type="text" value="Powered by Google" onfocus="this.value=''; this.onfocus=null;" />
<select id="type" name="type" size="1">
<option selected value="all">Book Title</option>
<option value="isbn">Books by ISBN</option>
<option value="lccn">Books by LCCN #</option>
<option value="oclc">Books by OCLC #</option>
</select>
<input class="submit" id="submit" name="submit" type="submit" value="Search" />
</fieldset>
</form></p>
<?php
//end submit isset if statement on line 73
endif;
}
@batmanfan Instead of making this second user a ‘keymaster’ you should make them a ‘moderator’ and this will disable the backend access for you.
Look at the docs here on what each role can and cannot do by default
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
You can take out <?php bbp_forum_subscription_link(); ?> in content-single-forum.php . I have a bbpress directory in my theme (eg mytheme/bbpress/) where I’ve copied the entire default template and those files overwrite the default theme which I got from templates/default/bbpress in the plugin.
So you’d have something like yourtheme/bbpress/content-single-forum.php. I’m looking at this https://codex.bbpress.org/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/ and getting confused but I have a feeling you’ll work it out! Anyway, that’s where that code is.
Hi we have a new website and forum. The profiles for all forum participants include a picture found in our library. We haven’t been able to remove it and include a different picture. We have succeeded in choosing an avatar shown next to each user name on the forum, but a different one shows up when you click on the profile. Thanks for any help.
I didn’t know what “post on the forum” means – after 30 years in IT support it could mean anything from the battery has run out to a very very specific set of circumstances, and anything in between.
Therefore it was only an attempt to see if your user had a bigger issue, like she couldn’t get forum access. If you don’t think it will help, and you will know your moderator, then ignore it, I just got it from a google, and given that no-one else had come back, thought it was worth a try.
It would be worth you seeing if this is a theme or plugin issue.
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.