Search Results for 'code'
-
Search Results
-
Topic: Forum is missing
Hello guys. I don’t know what i did wrong 🙁 I had the forum working a previous version of my website, but since the theme change, i can’t get it set up for my life.
It might be important to note that there was a situation during the instillation of bbpress. I was at the last step of the instillation, when my website crashed. One of my folders was duplicated or something. I removed the file from my file manager and got my site back. BBpress is now installed, alongside buddypress but when i go to my forum page there’s nothing there.
I think i need step by step instructions. When i make a page named “Forum” and assign that page to the bbpress pages tab, nothing happens. I have a code to make my forum fancy and thats not working either.
I am using the newest wordpress, and the newest bbpress.
My website is at http://www.goodpoker.ca
This is the code i need to put somewhere…
ID, ‘sidebar_value’, true);
do_action( ‘bp_before_directory_forums_page’ ); ?>
<div class="padder contentbox “>
<option value="”>
<input type="submit" name="submit_topic" id="submit" class="none" style="opacity:0;" value="” />
<input type="button" name="submit_topic_cancel" id="submit_topic_cancel" value="” />
<?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not create a new group? Once you have joined or created the group you can post your topic in that group’s forum.”, ‘buddypress’ ), site_url( bp_get_groups_root_slug() . ‘/create/’ ) ) ?>
-
<a href="”><?php printf( __( 'All Topics %s’, ‘buddypress’ ), bp_get_forum_topic_count() ); ?>
-
<a href="”><?php printf( __( 'My Topics %s’, ‘buddypress’ ), bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) ); ?>
When I upgrade bbPress 2.1 to 2.2, all logged in users cannot connect to any forums(bbPress) but super-admins. ( 404 not found page )
I’ve searched this support forum and they say “It’s related to Role Plugins…”
But I don’t have any Role Plugins 🙁Did a hard back trace for this error and found capabilities of bbPress dynamic roles applied after ‘bbp_template_redirect’ so bbp_forum_enforce_blocked() blocked any users not having ‘spectate’ cap – maybe all users.
Then… we should manualy apply capabilities of bbPress role to current user.
Here’s a temporary patch for this error.
(Make a plugin or put these codes to your theme’s functions.php)`
function bbp_fix_dynamic_role_cap() {
$current_user = wp_get_current_user();
$current_user->get_role_caps();
}
add_action( ‘bbp_template_redirect’, ‘bbp_fix_dynamic_role_cap’, -2 );// before bbp_forum_enforce_blocked()`
Topic: Forum URL
Hello,
I am a new user of Bbpress. Currently I have the latest version of WordPress as well as Bbpress. But I am facing an irritating problem. I have created a forum for my site: http://realestateconnectionplace.com/forums/forum/forum/ .I like the url to be http://realestateconnectionplace.com/forum/ . I searched everywhere and found that many a one tried to provide a solution. They made plugins and code for .htaccess file. But all of them make some issues like admin link’s working issue and extra slash in the url.
In a nutshell I am very depressed. Because I am not an expert and found no perfect help anywhere. So I would like to request to John James Jacoby, please consider spending a little time to give us instruction about how to stop Archive Slugs and Single Slugs appearing in the url.
Looking forward to hearing from you.
-