Search Results for 'forum css'
-
AuthorSearch Results
-
December 23, 2010 at 9:13 am #98425
Anonymous User
InactiveOk – here is a small “solution”
For a specific forum you can use this code.
Put this in the front-page-php:
id="forum_<?php echo get_forum_id()?>"_________________________________
Here is the example with the standard theme kakumei
<?php if ( bb_forums() ) : ?>
<h2><?php _e('Forums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e(‘Main Theme’); ?></th>
<th><?php _e(‘Topics’); ?></th>
<th><?php _e(‘Posts’); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class(‘bb-category’); ?> id=”forum_<?php echo get_forum_id()?>”>
<td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?> id=”forum_<?php echo get_forum_id()?>>
<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>
<td class=”num”><?php forum_topics(); ?></td>
<td class=”num”><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; // bb_forums() ?>
So you can style with CSS the background and the font-color.
eg.
#forum_1 {background-color: #ddd; color: #333}December 23, 2010 at 9:13 am #103525Anonymous User
InactiveOk – here is a small “solution”
For a specific forum you can use this code.
Put this in the front-page-php:
id="forum_<?php echo get_forum_id()?>"_________________________________
Here is the example with the standard theme kakumei
<?php if ( bb_forums() ) : ?>
<h2><?php _e('Forums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e(‘Main Theme’); ?></th>
<th><?php _e(‘Topics’); ?></th>
<th><?php _e(‘Posts’); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class(‘bb-category’); ?> id=”forum_<?php echo get_forum_id()?>”>
<td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?> id=”forum_<?php echo get_forum_id()?>>
<td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><?php forum_description( array( ‘before’ => ‘<small> – ‘, ‘after’ => ‘</small>’ ) ); ?><?php bb_forum_pad( ‘</div>’ ); ?></td>
<td class=”num”><?php forum_topics(); ?></td>
<td class=”num”><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; // bb_forums() ?>
So you can style with CSS the background and the font-color.
eg.
#forum_1 {background-color: #ddd; color: #333}December 22, 2010 at 6:44 pm #98420Anonymous User
InactiveHi Softinfo,
i think it is possible to write a small php script to use the forum-id or the forum-name as css class.
From the standard theme:
<tr class="bb-category bb-parent bb-follows-niece bb-root alt "></tr>
Here you can add the new class. Then you can use the CSS class analogous to the standard class “alt”.
Greets Markus
black-forever
December 22, 2010 at 6:44 pm #103520Anonymous User
InactiveHi Softinfo,
i think it is possible to write a small php script to use the forum-id or the forum-name as css class.
From the standard theme:
<tr class="bb-category bb-parent bb-follows-niece bb-root alt "></tr>
Here you can add the new class. Then you can use the CSS class analogous to the standard class “alt”.
Greets Markus
black-forever
December 20, 2010 at 10:54 pm #36572Topic: Highlight specific forum in the flow of other forums…
in forum ThemesPomy
ParticipantI want to highlight background and font properties for a specific forum in front page, with the flow of other forums by css control.
If you are user of freelacer site. you can easily understand this question.
See the example – Screenshot
It would be also great if possible to highlight specific post or topic.
in my case what I need – See the other Screenshot
Thanks
advent1
MemberI’m pretty sure I messed this forum up by doing the li tag…let me see if i can fix it
anyway it wont let me style it, and I cant seem to find why, but I can change other things, just not the list-style-type property. I took out all list-style-type: none; from the style.css and it still wont.
Is there a work around?
Thanks for listening.
advent1
MemberI’m pretty sure I messed this forum up by doing the li tag…let me see if i can fix it
anyway it wont let me style it, and I cant seem to find why, but I can change other things, just not the list-style-type property. I took out all list-style-type: none; from the style.css and it still wont.
Is there a work around?
Thanks for listening.
December 12, 2010 at 10:28 pm #94739In reply to: bbPress 2.0 – Updates
citizenkeith
Participantthis is something that other forum software has had for years and something we can do pretty easily.
Yes, this is something I’ve wanted in bbPress… in my install of 0.9.0.6, I edited my CSS file so that I can at least have posts numbered… it’s easy to say “See post number 24” rather than cut and paste or re-explain something in a topic. Glad to see this functionality in the plugin.
December 7, 2010 at 10:24 pm #98086In reply to: Stylesheet not recognized
cyberquill
MemberYes, it really is there, but it gives a 404 error.
forum/bb-templates/kakumei/style.css works.
forum/bb-templates/kakumei/screenshot.png works.
etc.
forum/my-templates/my-theme/style.css –> 404 error.
forum/my-templates/my-theme/screenshot.png –> 404 error.
etc.
Basically, all the URLs in forum/bb-templates/kakumei/ work, and all the files in forum/my-templates/my-theme/ produce a 404, even though bb-templates and my-templates are located on the same level in the hierarchy tree, so either both should be 404, or neither.
I don’t understand.
December 7, 2010 at 10:24 pm #103186In reply to: Stylesheet not recognized
cyberquill
MemberYes, it really is there, but it gives a 404 error.
forum/bb-templates/kakumei/style.css works.
forum/bb-templates/kakumei/screenshot.png works.
etc.
forum/my-templates/my-theme/style.css –> 404 error.
forum/my-templates/my-theme/screenshot.png –> 404 error.
etc.
Basically, all the URLs in forum/bb-templates/kakumei/ work, and all the files in forum/my-templates/my-theme/ produce a 404, even though bb-templates and my-templates are located on the same level in the hierarchy tree, so either both should be 404, or neither.
I don’t understand.
December 7, 2010 at 10:08 pm #98085In reply to: Stylesheet not recognized
Rich Pedley
Memberhttp://forum.cyberquill.com/my-templates/my-theme/style.css
is in the header, but it can’t find the file(404). So double check it really is there.
December 7, 2010 at 10:08 pm #103185In reply to: Stylesheet not recognized
Rich Pedley
Memberhttp://forum.cyberquill.com/my-templates/my-theme/style.css
is in the header, but it can’t find the file(404). So double check it really is there.
December 7, 2010 at 9:34 pm #36431Topic: Stylesheet not recognized
in forum Themescyberquill
MemberI just installed bbPress and I’m trying to create my own theme to match my WP Blog theme.
So I created a new Folder under my-templates called “my-theme” and I copied all the files from the kakumei default theme into my-theme, the expectation being that my-theme would now look the same as kakumei (since it contained the same files), and I could go about tweaking those files to my liking. (I’ve used the same process to tweak the WP Default theme on my blog, and now it looks like this, the very look I intend to create for my bbPress Forum).
Problem is, my-theme does not recognize style.css, so it comes out like this. It simply refuses to apply the styles in my-templates/my-theme/style.css.
I’m assuming the code line ‘<link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />’ should hook up with style.css in the my-templates/my-theme folder, just as it does in bb-templates/kakumei.
Why is the stylesheet not being recognized?
December 1, 2010 at 9:17 pm #94688In reply to: bbPress 2.0 – Updates
Rich Pedley
MemberIt’s fairly easy to do

check the style.css in the included twentyten child theme and you’ll see this:
/**
* Theme Name: bbPress - Twenty Ten
* Theme URI: http://bbpress.org
* Description: Adds bbPress forums to Twenty Ten theme
* Author: The bbPress Community
* Version: 0.1
* Template: twentyten
* Tags: bbpress, black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/The template denotes another available theme that you are making this the child of. If you include the main style sheet, you don’t need to re-reference everything. eg.
@import url("../twentyten/style.css");So create a new theme directory by including that, and copy all the other files(ie not style.css) from plugins/bbpress/bbp-themes/bbp-twentyten (not forgetting to rename the Theme name)
However you might want to copy in the default style, this start’s with:
/* bbPress Style
*/Then you need to check where the get_header(), get_sidebar() & get_footer() are in your parent theme.
If they are in this order:
get_header();
/* Content */
get_sidebar();
get_footer();you don’t have to do anything.
However if they are in a different order you may need to adjust, currently they reside in the following files:
page-bbp_form.php
author.php
taxonomy-bbp_topic.php
single-bbp_topic.php
single-bbp_reply.php
single-bbp_forum.php
page-bbp_topics.php
page-bbp_front.php
and I think that is all that’s needed! (untested though)
November 29, 2010 at 8:28 am #95942Corsari
Member@ Ashfame: I thank you, but in the mean time I suppose your answer is directed to all the readers, ’cause obviously that one is the first site I’ve found while searching for bbPress themes.
The issue is that none of the two themes bundled with bbPress and none of the themes you can find out there is structured and logical as the one that any new potential bbpress user finds on the bbpress.org forum.
Two columns https://bbpress.org/forums/
on the left forums like a navigation menu
in the middle, recent topics
on the left bottom the rest
At least, for non-gurus, the staff should provide the instructions on how to customize the position of those “areas” (if they don’t want to share their theme – and I warn them that this is against any product-spreading-logic)
The best is to provide a really similar layout maybe with other colors and fonts.
To give you an idea, if you goto phpbb community forum, “what you see is what you get” and this is the correct approach… meant as prevent yourself hurting who will try out your product.
I hope you understand this is a kind suggestion to bbPress staff.
And again @ kevinjohngallagher, you should consider that those who may spread your product, most of the time, are not coders nor html-css-php experts. So, no layouts available and no easy customization instructions means no spreading, that as obvious consequence, could lead to no success of bbpress.
Robert
November 29, 2010 at 8:28 am #101042Corsari
Member@ Ashfame: I thank you, but in the mean time I suppose your answer is directed to all the readers, ’cause obviously that one is the first site I’ve found while searching for bbPress themes.
The issue is that none of the two themes bundled with bbPress and none of the themes you can find out there is structured and logical as the one that any new potential bbpress user finds on the bbpress.org forum.
Two columns https://bbpress.org/forums/
on the left forums like a navigation menu
in the middle, recent topics
on the left bottom the rest
At least, for non-gurus, the staff should provide the instructions on how to customize the position of those “areas” (if they don’t want to share their theme – and I warn them that this is against any product-spreading-logic)
The best is to provide a really similar layout maybe with other colors and fonts.
To give you an idea, if you goto phpbb community forum, “what you see is what you get” and this is the correct approach… meant as prevent yourself hurting who will try out your product.
I hope you understand this is a kind suggestion to bbPress staff.
And again @ kevinjohngallagher, you should consider that those who may spread your product, most of the time, are not coders nor html-css-php experts. So, no layouts available and no easy customization instructions means no spreading, that as obvious consequence, could lead to no success of bbpress.
Robert
November 28, 2010 at 7:15 am #95940Corsari
Member@ kevinjohngallagher and @ the rest of the bbpress staff.
I landed on bbpress searching for a nice forum, and i’ve found it because I do use wordpress.
Well, as any other person, I’m impressed by the apperiance and because I found it really attractive, I decide to download and mess myself up to install it and get it working (not much hard to be true).
When at the end I find that the look and mainly the page setup is totally different… you should understand @TheNet (who started this topic).
Anyway, I think that bbPress staff, should at least release such kind of three columns layout for the main page.
This for the simple reason that there is a number of new bbpress users that would start using this forum because they like as they see it and also because it is more logic and readable such kind of layout.
The same % of people, and I suppose they are not the minimum part, is choosing wordpress and would choose bbpress, because they are simple and effective without being an html-css-php-GURU
This may potentially lead to have them to try bbPress out, see that this kind ot theme layout is missing, see that is not easy to find bbPress themes out there and f**k-bbPress-off
.Not realy a good idea in terms of bbPress spreading.
Hope bbPress staff will think about this.
November 28, 2010 at 7:15 am #101040Corsari
Member@ kevinjohngallagher and @ the rest of the bbpress staff.
I landed on bbpress searching for a nice forum, and i’ve found it because I do use wordpress.
Well, as any other person, I’m impressed by the apperiance and because I found it really attractive, I decide to download and mess myself up to install it and get it working (not much hard to be true).
When at the end I find that the look and mainly the page setup is totally different… you should understand @TheNet (who started this topic).
Anyway, I think that bbPress staff, should at least release such kind of three columns layout for the main page.
This for the simple reason that there is a number of new bbpress users that would start using this forum because they like as they see it and also because it is more logic and readable such kind of layout.
The same % of people, and I suppose they are not the minimum part, is choosing wordpress and would choose bbpress, because they are simple and effective without being an html-css-php-GURU
This may potentially lead to have them to try bbPress out, see that this kind ot theme layout is missing, see that is not easy to find bbPress themes out there and f**k-bbPress-off
.Not realy a good idea in terms of bbPress spreading.
Hope bbPress staff will think about this.
November 23, 2010 at 9:36 pm #94654In reply to: bbPress 2.0 – Updates
LPH2005
MemberDidn’t realize that the movement of theme files was no longer necessary.
Update:
Site #1
I see that the forum theme files are present in the plugin directory. The site is using the bbp-twentyten them on that site.
Site #2
Copied files to the child theme for buddypress to work properly. Modified as described above so that the theme understood the css properly.
PS. Why is my previous post about css marked as spam? I can remove the link to the site but otherwise, thought the information was helpful.
November 23, 2010 at 5:58 pm #94652In reply to: bbPress 2.0 – Updates
LPH2005
MemberDid a little install on a “new” site. WP 3.0.1, BP 1.2.6, child theme with nothing but the style sheet pointing to the default so I could add the styles from the bbpress. Copied the bbpress template files into the child theme.
Now, things worked except they looked awful. Looking at the template code for all the files that started with page (page-bbp_front.php, page-bbp_topics.php, and page-bbp_form.php)
<div id="container">
<div id="content" role="main">This causes a problem because container is also used by bp-default, therefore any child theme would fail to look good.
Changed html code to:
<div id="bbp-forum-container">
<div id="bbp-forum-content" role="main">Then added css styles for the new ids within the styles.css for the child theme:
Looks OK. But needs work:
http://www.tuxreports.com/discussions/
Hope this helps.
November 19, 2010 at 3:41 pm #94616In reply to: bbPress 2.0 – Updates
Rich Pedley
MemberCouple of things:
sub forums currently don’t list on the main forum page – intentional?
currently the default order position for forums is 0, unless you are going to add in a better method for organising these, could I suggest a default order value slightly higher – or is this better served by a plugin.
style.css
would it be better to have an additional forum.css imported into this to keep the style for the forum separate, and making it slightly easier for people to copy the whole thing (minus style.css) to an existing theme?
Normally I’d also suggest importing the standard style.css from twentyten, but that may be difficult.
November 9, 2010 at 5:43 pm #94334In reply to: post width + category count
VirtualityStudio
Memberah! thank you! I was able to figure out where that little stinker was hiding.. I had changed it in the bbpress css file, but for some reason it was reading off the wordpress one for that little piece.
Messed up my blog a bit, would be nice if those two were separate… but at least the forum isn’t hanging off the end anymore.
thanks!!!!!!!!
November 1, 2010 at 7:34 am #97035In reply to: registration disabled?
ortixia
ParticipantAll right, i think it is the theme, peacemaker.
my theory…
see:
https://bbpress.org/forums/topic/peacemaker-bbpress-theme-is-incomplete#post-66135
and:
i think the original theme must have been posted onto the theme site before it was fully ready, therefore some of the files needed to be updated..
hmmm..
and the guy is no longer building the themes.
any suggestions of what i can do, in lieu of these files.. i really like this theme for a base to work upon, css wise.
November 1, 2010 at 7:34 am #102135In reply to: registration disabled?
ortixia
ParticipantAll right, i think it is the theme, peacemaker.
my theory…
see:
https://bbpress.org/forums/topic/peacemaker-bbpress-theme-is-incomplete#post-66135
and:
i think the original theme must have been posted onto the theme site before it was fully ready, therefore some of the files needed to be updated..
hmmm..
and the guy is no longer building the themes.
any suggestions of what i can do, in lieu of these files.. i really like this theme for a base to work upon, css wise.
October 28, 2010 at 6:41 am #35906Topic: Customizing Posts
in forum ThemesEdhead
MemberWell I’ve been trying to customize a theme and I ran into a little snag…
I’m currently trying to customize the posts, but the only problem is they are auto generated and each post has a unique id…
How could I go about applying css to the posts?
The site I’m working on is here:
-
AuthorSearch Results