Search Results for ' . default . '
-
Search Results
-
Hello,
I think this may be a new issue, but, on line 134 of the default template bbpress-functions.php, and on line 141 for RTL, the script is loading with a relative path and therefore not adding https when necessary.
Of course, when accessing site via https, this is giving a “insecure content” warning.
I made a quick edit which is replacing line 134 with:
'file' => get_home_url() . '/wp-content/plugins/bbpress/templates/default/css/bbpress.css',
Keep in mind that may not work with every single install, but likely 99%. (those who have a custom wp-content or plugins dir)
Thanks.
The codex page for this is outdated and a lot of the threads are for older versions so here is a version for WP 3.8, bbPress 2.5.2.
Resources
Here are the pages from which I pieced this together.
http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/
http://codex.wordpress.org/Child_Themes
http://op111.net/53/
http://perishablepress.com/bbpress-theme-template-files/
http://www.hongkiat.com/blog/wordpress-child-themes-dev/Initial Setup
Install WordPress and bbPress.
Step #1: Create a child theme of your WordPress theme.
Even though what you’re wanting to change is bbPress and not your WordPress, there are not separate themes for plugins, so you need to create a child theme of whatever WordPress theme you are using to have a place to put the bbPress plugin child theme files. This will ensure that any updates to bbPress or your WordPress theme will not overwrite your changes. Here is how you create a child theme:
1. FTP to your website
2. Go to ../wp-content/themes
3. Create a new folder for your child theme. Name it yourtheme-child for the sake of organization.
4. Create a new file called style.css and add the below, changing the valuesto the value for your child theme. The critical fields are Theme Name, Template, and the the parent theme directory name (which should be the same as “Template”) in the @import. Everything else is used by wordpress.org for categorizing templates so don’t stress if you don’t know what to put there:/* Theme Name: Your Theme Name Child Theme URI: Your website if you don't intend to publish a separate site just for your theme Description: A brief description of your child theme Author: your name Author URI: your website Template: parent-theme-directory Version: 1.0.0 Tags: whatever tags you might want to use for your child theme */ @import url("../parent-theme-directory/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */
5. FTP your newly created style.css to ../wp-content/themes/yourtheme-child
Step #2: Add your bbPress Child Theme files to your WordPress Child Theme
1. Create a folder called “bbpress” on your local machine.
2. FTP to ../wp-content/plugins/bbpress/templates
3. Download the contents of the “Default” folder to the “bbpress” folder on your local machine
4. Edit the files you want to change for bbPress (see bbpress-theme-template-files link under resources above).
5. Delete any files you haven’t changed. You can skip this step if it’s confusing, but you should try to only upload files you’ve changed.
6. FTP to ../wp/content/themes/yourtheme-child
7. Create a folder called “bbpress” inside yourtheme-child
8. Copy the contents of the “bbpress” folder in your local machine to the “bbpress” folder inside your child theme folder.Step #3: Activate your Child Theme
Once you have created your child theme and made changes to the bbPress files in the child theme, you need to activate the child theme in order to see the changes on your site.
1. Log into your WordPress admin panel
2. Go to Appearance -> Themes
3. Find your child theme. It would be the same as the “Theme Name” you gave it in the first line of the style.css you created in Step 1.
4. Click “live preview” and make sure nothing has gone horribly wrong.
5. Activate the child theme.Since you didn’t change any files from your wordpress theme, the theme for the site will be inherited from the parent theme so the only changes you should see are the changes you made to the bbpress files that you uploaded to your child theme. The only problem I encountered was that because it was a new theme, my custom “header top menu” was not associated with the theme, so I just had to go into the menu and check the box to tell it to use that custom menu as the header menu.
Topic: Dashboard and "Cheatin’ uh?"
First of all. New to WordPress and bbPress as of yesterday.
I am liking it very much over all. Different, but good.Anyways,
When regular users login into WordPress and goto the dashboard
The Panel “Right now in forums”
User can click on “Topics” or “Replies”
They will end up going to this
http://mysite.com/wp/wp-admin/edit.php?post_type=topic
And page just comes up with
“Cheatin’ uh?”
Doing searches of similar issues I ended up doing these different steps.
Ive deactivated a member list plugin.
Ive deactivated and reactivated the forum.
Under Tools>Forums I ran “Remap existing users to default forum roles” without issue.
Under Settings>Forums>Auto Role has been checked on and set to “Participant”
I unchecked and rechecked Auto RoleSo far no go. Only my admin user can click on these.
Any help for a newb?
Topic: User Roles Editor
Hi
I want to to reset all user roles to default in User Roles Editor, but I don’t see that option anywhere.
Where is it that button?
Picture is in the link:
http://postimg.org/image/z8kh43zpt/Thanks.
Jonas
I have WP 3.8 installed.
Using child theme of Watson ThemeI created a page for the forum index: http://songandfilm.com/community/
This page is not the theme’s default page, it’s the full-width page. Default page is centered.
Index page looks great – no problems.When you click a forum it now goes to the theme’s default page: http://songandfilm.com/Community/forum/helpful-tips/
Is there a way I can have all forum pages use the full-width page?
Thanks!
JZHi…Hopefully someone can help me figure this out…i am fairly new, so please bare with me. 🙂
I have researched this heavily & come across a few topics – yet there has been mixed opinions on a solution….I am trying to figure out how to create different Forum Sections to my site…a perfect example of this is: http://loreschool.com/forums/ and http://teamoverpowered.com/forums/
By default, it seems BBPress only allows you to create (1) forum index…but, how can I create another section to split up the forum into categories – such as in those examples above?
I noticed a Ticket for this feature was created 15 months ago…but unfortunately it keeps getting bumped & not included into BBPress….this is such a common & familiar feature in popular forums, I am surpised it is not already part of BBPress..
Any help & response would be greatly appreciated…Thank you!
Hi, i need some help!
I run my mainsite with frontend registration and frontend user profiles like: xxxxxxxxx.com/user/anyusername
I also installed bbpress and ONLY ALLOW USERS TO REGISTER FROM THE MAINPAGE – mentioned above.
I show the Forum in a page wiht the shortcode… the forum url is: xxxxxxxxx.com/forum/
SO far it works great!My setting for the forum user profile slug is like that:
xxxxxxxxxx.com/forum/mitglied/anyusername (“mitglied” is for “user” in german)My Question 🙂
In the users FORUM PROFILE page i have on the left site under the users Profile the menu links. The first of them links to the users FORUM PROFILE like:xxxxxxxxxx.com/forum/mitglied/anyusername
Now i need the same URL LINK to the users MAINSITE PROFILE wich should be like:
xxxxxxxxxx.com/user/anyusername
IN …..bbpress/templates/default/bbpress/user-details.php it calls the url for the USERS FORUM PROFILE with this line of code:
<a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php printf( esc_attr__( "%s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>" rel="me"><?php _e( 'Profile', 'bbpress' ); ?></a>
How can i get the users MAINSITE PROFILE URL? (xxxxxxxxxxx.com/user/anyusername)
I cant find anything in the bbpress and wordpress docs 🙁 or im not intelligent enough to find a solution… i think to remove the slugs from the url is not possible to get a desired url structure for the link. I think there must be a other filter function for the users MAIN SITE PROFILE url…???I think i must mention this:
I already managed to show the USERS AVATAR from the MAINSITE in the forum page with this code:<?php $user_info = get_user_by('id', $wp_query->query_vars['author']); echo get_avatar($user_info->ID, '150'); ?>
The avatar call works great – hope it is possible to get the USERS PROFILE URL too 🙂
Thank you so much!