Search Results for 'forum css/'
-
Search Results
-
Topic: $40: Fix my CSS..
I have a wordpress site ( soviettruck.com ), and would like like to add the bbpress forum plugin. The theme I have (Adventure Photography WordPress Theme 2.0) does not have the necessary template/CCS file for bbpress. This means the forums do not display properly. This needs fixing. Also soviettruck.com/forums gives a ‘Not Found’.. maybe needs some additional config?
Offering $40 by paypal if someone can fix this ASAP, should be pretty quick. Send me an email at davidzweig at hotmail dot com, and I’ll send you the SSH/FTP/Wordpress passwords. Site is hosted by Webfaction.
Once the CSS/template file is fixed, I’ll then use shortcodes to integrate the forum into the rest of the site.
I have version 2.0 but can’t for the life of me get my theme to be picked up. I have followed the guide here: bbpress.org/forums/topic/bbpress-20-theme-compatibility as best I could but there are some things not well explained. This is what I have done so far:
1. Copied all the files from /bbpress/bbp-themes/bbp-twentyten/ and placed into the root of my theme (wp-content/themes/mytheme/)
2. Copied the .js and .css files from the /bbpress/bbp-themes/bbp-twentyten/css/ and /bbpress/bbp-themes/bbp-twentyten/js/ folders into the root of my theme (wp-content/themes/mytheme/)
3. I also copied the content of style.css from the bbp-twenty-ten theme into my own css file, which also sits in wp-content/themes/mytheme/
4. I copied the entire contents of functions.php from the bbp-twenty-ten folder to my own theme functions.php, which also sits in the root of my theme folder.
All that displays is the ‘Forums’ header but no content.
What am I doing wrong? Have I placed something wrong somewhere? Should I have copied the whole bbp-twentyten folder itself into the root of my theme folder? What is that first page that gets served up when hitting http://www.mywebsite.com/forums/? Is it page-front-forums.php and should that be sitting in the root of my theme as it is currently?
I’m also confused my the functions.php where it says:
// Setup the theme path
$this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;
// Setup the theme URL
$this->url = $bbp->themes_url . ‘/bbp-twentyten’;
Following this, I’ve tried copying bbp-twentyten folder into the root of my theme, but still nothing.
Yours, quite confused.
Starting a new topic as I don’t wish to clutter the VERY USEFUL threaded discussion here:
http://bbpress.org/forums/topic/bbpress-20-theme-compatibility
I’ve been over this topic a few times and can’t for the life of me get what I desire to work, or maybe it’s working and I’m missing something.
My current setup:
WordPress 3.2.1 (single site setup
**Child Theme**
BuddyPress 1.2.9 (disabled forums)
bbPress 2.0-RC-4
My goal is simple: I wish to use a different sidebar within my forum pages to display information that is forum specific, rather than my default sidebar’s contents and widgets.
I’m pretty fluent in WordPress, customizing things and the like. I understand how to display different sidebars and such within WordPress, depending on pages, etc..
My issue:
When I activated bbPress and navigated to my forum, everything displayed a treat. It was PERFECT (minus some CSS for colors and width, etc). I figured I would be cracking into the code just to get it to display correctly within my theme, but it put it right where it belonged within my theme.
When I decided I would like to take advantage of a different sidebar, things started to go out of place.
Following along with the discussion at http://bbpress.org/forums/topic/bbpress-20-theme-compatibility, I:
1. Copied the files within wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/
into my child theme folder:
wp-content/themes/%child-theme-dir%/ – minus fuctions.php and style.css.
2. I added add_theme_support( ‘bbpress’ ); into my child theme’s fuctions.php file.
Upon uploading and refreshing, my theme was broken. The forums were being displayed above everything. At the time, this wasn’t much of an issue, as I figured I could modify the files I copied within wp-content/themes/%child-theme-dir%/ much the same way I modified BuddyPress templates to work within my child theme, but alas, these modifications did not work. In other words – any modifications I made to files from plugins/bbpress/bbp-themes/bbp-twentyten/ into themes/%child-theme-dir%/ did not work.
3. Instead of “merging” bbPress functions.php and css/bbpress.css with my child theme files, I copied bbPress’s functions.php, created a new file within my child theme, copied the contents of bbPress’s functions.php into this file and included it from my functions.php file. I used an @import clause within my child theme CSS file to import bbpress.css. This all seemed to work, as using Firebug confirmed bbpress.css was imported.
Again I uploaded and refreshed, but the theme is still broken, much the same way it already was.
So for now I’ve reverted everything back to the “vanilla” install of bbPress, and everything is back to normal, minus a unique sidebar.
Any and all help is greatly appreciated!
Thanks!
A few people have expressed concerns about the growing number of template files included with the bbp-twentyten theme. Not counting CSS/JS/Images, we’re up to 32 individual template files to handle forums, topics, replies, loops, forms, users, and pagination. These concerns are totally valid, but mostly unavoidable.
The goal for bbp-twentyten is for it to be as simple to understand as possible without tons of proprietary functions or complex logic to figure out. To do that, we’ve split some of the files into ‘parts’ that focus on specific functionalities. Some of this doesn’t make a whole lot of sense right now because of lack of documentation, and it uses functions that are new to WordPress as of 3.0, but I’m confident it’s the best way to go.
When I think back to my beginning days of learning WordPress, a lot of what I did was butcher Kubrick and make my own frankentheme. I’m trying to keep that in mind here. Since the first place people naturally make changes is on the front end of their site, this theme should make that really easy to do.
We also have an empty folder for a theme named ‘bbp-default’ which will more than likely be a full-featured theme that flexes a bit more bbPress muscle.
I think when bbPress has more eyes on the code and more developers start integrating forum files into their themes, we’ll see some really neat things start to happen.
Topic: BuddyBar in bbPress
Hi gerikg,
i saw your post about your problems with the integration of the BuddyBar in bbPress – (http://bbpress.org/forums/topic/buddypress-default-theme-for-bbpress). I found it after a short research in Google – because I’ve the same problems yesterday.
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid call
But … I think I have an “hack” for you – I changed a few lines of code in my installation and now it seems to work.
These was “myWay”:
1. Deep Integration between WordPress and bbPress
2. Plugins on bbPress: buddybar-in-bbpress
3. Edit bp_buddybar.php – I only comment out the following lines
/* add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_head', 'bp_core_add_js', 1 );
add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );
add_action( 'bb_admin_head', 'bp_core_add_js', 1); */
4. Edit bp-core-adminbar.php
Here I’ve a error code because auf “$wpdb” – so I commet out:
/* $blog_prefix = $wpdb->get_blog_prefix( $current_blog->id );*/
5. header.php in my theme
I put the Stylesheet-Link to my header.php file.
<link rel=”stylesheet” href=”http://www.mysteria3000.de/wp/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css” type=”text/css” />
…
No the best solution – but it works for me.
Greetings
Markus
Topic: Premium Theme's and Plugins
I was hoping that someone could point me towards BBpress or Automattic’s official stance on this. From what I’ve read, the PHP code that interacts with WordPress/BBpress should all be released under the GPL, but HTML/CSS/JavaScript/Images are not.
I bring this up, because a fellow developer (an old Bbprogress contributor), pointed me towards this piece by Jeff Chandler: http://weblogtoolscollection.com/archives/2010/02/08/where-is-the-line-drawn/
The main thing that caught my attention was the comment of Chip Bennet , who states that:
[a] plugin uses a separate library – and it is that library (presumably not released under GPL) that requires purchase if it is used on a commercial site.
This practice is perfectly acceptable under the GPL. Whether or not it is acceptable under the double-secret probation, unwritten, subjective rules of the plugin repository is anyone’s guess.
Can anyone shine some light on this from a BBpress perspective?
I’m going to quote Matt here:
…that themes link and use lots of internal WordPress functions, which make them linked under the GPL and subject to being a GPL-compatible license.
If a theme (or a plugin) used no internal WP functions or APIs, then it could probably be considered independent, but that would be really really hard for a theme.
Basically, I’m asking because BBpress, probably more than WP (at least if you’re only using WP as blog platform) has potentail for premium theme’s and plugins at this moment in time. Getting some clarification would make things alot simpler.
My real concern here is one that won’t go down well…
BBpress forums have 1 current/active moderator
I ask for two reasons.
Should a premium theme/plugin be created and sold, and given that BBpress currently has 1 active Moderator, what is there to stop someone posting the code here or reusing the code that is NOT under GPL?
Not a huge concern of mine just now, but it seems like a likely question of anyone supporting premium BBpress additions.