Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum css'

Viewing 25 results - 1,876 through 1,900 (of 2,740 total)
  • Author
    Search Results
  • #43863

    Topic: CSS Issue

    in forum Themes
    nadimvdr
    Member

    I’m sure I’m missing something obvious but I can’t seem to find the CSS that relates to the following problem – all my forum pages, and topic discussions appear to be shorter than the width of the table.

    I’m using a theme called Oxygen and the normal theme for bbpress.

    Here are some screenshots to help explain more clearly (if I’m allowed to post links).

    http://dl.dropbox.com/u/331861/Screen%20Shot%202012-04-02%20at%2012.57.20%20AM.png

    http://dl.dropbox.com/u/331861/Screen%20Shot%202012-04-02%20at%2012.51.40%20AM.png

    I realise it might be the theme and not bbpress but was hoping someone had an idea of whether this was handled in bbpress’ css.

    #112729
    Bluealek
    Member

    Ok, I’ll try to be clearer, and ask one question at a time. How exactly should I modify the default theme CSS if I want to have a latest replies list displayed before the forums list, at the root level?

    Please explain in terms “open this file and insert/change that”. I’m still a bit lost understanding what is where.

    #43846
    folgerj
    Participant

    Hi JJJ, I have an issue with my forum and I don’t see anything in the community (I may be searching for the wrong thing)

    My forum is http://jeff-foliage.com/fall-foliage-forum/ and I think it did great last season.

    Somebody asked me what shortcodes I used and when I went to the page in the dashboard it will only serve me the last created forum topic.

    So if under pages I click the page for the forum to view the codes it returns this http://jeff-foliage.com/wp-admin/post.php?post=735&action=edit (I hope I can’t be hacked by giving this out…

    This is a forum post topic that I created last year. If I trash this post it will return the next newest post topic for the forum.

    Can you or someone tell me if there is a simple solution? Is this most likely a plugin problem? (I know most are and I suppose I could go through and deactivate them and see if at any point see the page)

    Or is this a pure database problem, thoughts?

    Oh I’m getting nice comments about how mine looks and I don’t know if my forum looks all that great since I’m in compatibility mode using Weaver theme. But folks seem confused and feel I’ve done great pimping on the CSS when it’s all the theme for colors and what it looks like.

    Jeff “foliage” Folger

    #112744

    You are using 2.1, which is good.

    What you need to do is tweak the CSS, I don’t recommend editing core, I would use this instead https://wordpress.org/extend/plugins/bbpress-custom-css-file/

    bbpress.css, line 48 is what you need to change, ie

    #bbpress-forums .status-closed, #bbpress-forums .status-closed a {
    color: #CCC;
    }

    #112485

    In reply to: Change forum color

    DELETE ME
    Member

    Hi Sharq219,

    Before I post, I must say, I am no code-maestro rather a novice at it all. However this is what I did –

    In FTP Panel,

    • Followed this page – %Root Folder of the website in question%wp-contentpluginsbbpressbbp-themesbbp-twentytencss

    • Edited the file bbpress.css (attached the edited version)

    • You’ll notice in top few lines and bottom few lines I changed the background colour hexademical code from #efefef to #0B0808

    • Be careful though, do not change it at all places. I practically changed one place at a time and saved and refreshed to check until I got the results. Best to compare the file I am sending you with your file and see if you can relate & make changes in right places.

    • I suggest to start from the bottom up in the file, you are likely to see it resolve in the end.

    Here is the code of the file I edited – – –

    /**
    * bbPress specific CSS
    *
    * @package bbPress
    * @subpackage Theme
    */

    /* =bbPress Style
    */

    #content hr,
    #container hr {
    margin: 0 0 24px 0;
    }
    #entry-author-info {
    margin: 10px 0 0 0;
    border-bottom: 1px solid #fff;
    }

    #content table.bbp-topics,
    #content table.bbp-forums,
    #content table.bbp-replies,

    #container table.bbp-topics,
    #container table.bbp-forums,
    #container table.bbp-replies,

    #main table.bbp-topics,
    #main table.bbp-forums,
    #main table.bbp-replies {
    clear: left;
    table-layout: fixed;
    width: 100%;
    }

    /* =Breadcrumb and Tags
    */

    div.bbp-breadcrumb {
    float: left;
    }

    div.bbp-breadcrumb,
    div.bbp-topic-tags {
    font-size: 12px;
    }

    #content div.bbp-breadcrumb p,
    #content div.bbp-topic-tags p {
    margin-bottom: 10px
    }

    div.bbp-topic-tags {
    float: right;
    }

    /* =Tables
    */

    #content table tbody tr.even td {
    background-color: #0B0808;
    }
    #content table tbody tr.odd td {
    background-color: #0B0808;
    }

    #content table tbody tr.status-trash.even td,
    #content table tbody tr.status-spam.even td {
    background-color: #0B0808;
    }
    #content table tbody tr.status-trash.odd td,
    #content table tbody tr.status-spam.odd td {
    background-color: #0B0808;
    }

    #content table.bbp-topics tbody tr.status-closed td,
    #content table.bbp-topics tbody tr.status-closed td a {
    color: #ccc;
    }

    table.bbp-topic tbody tr td,
    table.bbp-replies tbody tr td {
    background-color: #0B0808;
    }

    table.bbp-forums th, table.bbp-topics th,
    table.bbp-topic th, table.bbp-replies th {
    background-color: #0B0808;
    }
    table.bbp-forums th span, table.bbp-topics th span,
    table.bbp-topic th span, table.bbp-replies th span {
    float: right;
    }
    #content th.bbp-topic-author,
    #content th.bbp-reply-author {
    text-align: center;
    width: 120px;
    }
    #content th.bbp-topic-content,
    #content th.bbp-reply-content {
    text-align: left;
    padding: 9px 10px 9px 15px;
    }
    #content table.bbp-forums tfoot td, #content table.bbp-topics tfoot td,
    #content table.bbp-topic tfoot td, #content table.bbp-replies tfoot td,
    #content table.bbp-replies tr.bbp-reply-header td,
    #content table.bbp-topic tr.bbp-topic-header td {
    background-color: #0B0808;
    color: #888;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    padding: 4px 10px;
    }

    span.bbp-author-ip {
    font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #aaa;
    }

    #content .bbp-forum-info {
    width: 55%;
    text-align: left;
    }
    #content .bbp-forum-topic-count,
    #content .bbp-forum-reply-count,
    #content .bbp-topic-reply-count,
    #content .bbp-topic-voice-count,
    #content .bbp-topic-action {
    width: 10%;
    text-align: center;
    padding: 6px 0px;
    }
    #content td.bbp-topic-author,
    #content td.bbp-reply-author {
    padding: 20px;
    text-align: center;
    vertical-align: top;
    }
    .bbp-topic-title {
    width: 55%;
    text-align: left;
    }
    .bbp-topic-freshness,
    .bbp-forum-freshness {
    text-align: center;
    width: 25%;
    }

    #content tbody .bbp-topic-content,
    #content tbody .bbp-reply-content {
    vertical-align: top;
    padding: 15px 10px 10px 15px;
    overflow: auto;
    }

    #content .bbp-topic-content img,
    #content .bbp-reply-content img {
    max-width: 100%;
    }

    /* =Admin Links
    */

    span.bbp-admin-links {
    float: right;
    color: #ddd;
    }
    span.bbp-admin-links a {
    color: #bbb;
    font-weight: normal;
    font-size: 10px;
    text-transform: uppercase;
    text-decoration: none;
    }
    fieldset span.bbp-admin-links {
    float: left;
    }
    tr td span.bbp-admin-links a:hover {
    color: #ff4b33;
    }
    td.bbp-topic-admin-links,
    td.bbp-topic-counts {
    width: 50%;
    }

    a.bbp-topic-permalink,
    a.bbp-reply-permalink {
    float: right;
    margin-left: 10px;
    color: #ccc;
    }

    /* =Toggles
    */

    .bbp-topic-action #favorite-toggle a {
    text-decoration: none;
    padding: 0px 3px 1px;
    color: #7c7;
    border: 1px solid #aca;
    background-color: #dfd;
    font-weight: bold;
    font-size: 13px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    }
    .bbp-topic-action #favorite-toggle a:hover {
    color: #5a5;
    border-color: #7c7;
    background-color: #0B0808;
    }
    .bbp-topic-action #favorite-toggle span.is-favorite a {
    color: #faa;
    border: 1px solid #faa;
    background-color: #0B0808;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    }
    .bbp-topic-action #favorite-toggle span.is-favorite a:hover {
    color: #c88;
    border-color: #c88;
    background-color: #0B0808;
    }

    .bbp-topic-action #subscription-toggle a {
    text-decoration: none;
    padding: 0px 3px 1px;
    color: #7c7;
    border: 1px solid #aca;
    background-color: #0B0808;
    font-weight: bold;
    font-size: 13px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    }
    .bbp-topic-action #subscription-toggle a:hover {
    color: #5a5;
    border-color: #7c7;
    background-color: #0B0808;
    }
    .bbp-topic-action #subscription-toggle span.is-subscribed a {
    color: #faa;
    border: 1px solid #faa;
    background-color: #0B0808;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    }
    .bbp-topic-action #subscription-toggle span.is-subscribed a:hover {
    color: #c88;
    border-color: #c88;
    background-color: #fdd;
    }

    #content p.bbp-topic-meta {
    margin-bottom: 0;
    font-size: 11px;
    }

    #content p.bbp-topic-meta span {
    white-space: nowrap;
    }

    /* =Forums
    */

    #content table tbody tr .bbp-forum-description p {
    margin-bottom: 0;
    font-size: 13px;
    font-style: italic;
    }
    #content table tbody tr ul.bbp-forums {
    list-style: none;
    font-size: 12px;
    margin: 0 0 0 10px;
    padding: 0 0 0 10px;
    border-left: 1px solid #aaa;
    }
    #content table tbody tr ul.bbp-forums li {
    display: inline;
    }

    /* =Pagination
    */

    .bbp-pagination-count {
    float: left;
    }
    .bbp-pagination-links {
    float: right;
    }
    .bbp-pagination {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    }

    .bbp-topic-pagination {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 2px;
    }
    .bbp-topic-pagination a {
    font-size: 10px;
    line-height: 10px;
    padding: 1px 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    }

    /* =Forms
    */
    #content fieldset.bbp-form,
    #container fieldset.bbp-form,
    #wrapper fieldset.bbp-form {
    clear: left;
    }

    #content fieldset.bbp-form,
    #container fieldset.bbp-form,
    #wrapper fieldset.bbp-form {
    border: 1px solid #eee;
    padding: 10px 20px;
    }

    #content fieldset.bbp-form legend,
    #container fieldset.bbp-form legend,
    #wrapper fieldset.bbp-form legend {
    padding: 5px;
    }

    #content fieldset.bbp-form label,
    #container fieldset.bbp-form label,
    #wrapper fieldset.bbp-form label {
    width: 250px;
    display: inline-block;
    }

    #bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,
    #bbp-login fieldset label,
    #bbp-register fieldset label,
    #bbp-lost-pass fieldset label {
    width: 100px;
    }

    #content fieldset.bbp-form p,
    #container fieldset.bbp-form p,
    #wrapper fieldset.bbp-form p,
    #content fieldset.bbp-form textarea,
    #container fieldset.bbp-form textarea,
    #wrapper fieldset.bbp-form textarea,
    #content fieldset.bbp-form select,
    #container fieldset.bbp-form select,
    #wrapper fieldset.bbp-form select,
    #content fieldset.bbp-form input,
    #container fieldset.bbp-form input,
    #wrapper fieldset.bbp-form input {
    margin: 0px 0px 10px;
    }

    textarea#bbp_reply_content,
    textarea#bbp_topic_content {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    }

    .bbp-topic-form,
    .bbp-reply-form,
    .bbp-topic-tag-form {
    clear: left;
    }
    body.topic-edit .bbp-topic-form div.avatar img,
    body.reply-edit .bbp-reply-form div.avatar img,
    body.single-forum .bbp-topic-form div.avatar img,
    body.single-reply .bbp-reply-form div.avatar img {
    margin-right: 0;
    padding: 10px;
    border: 1px solid #ddd;
    line-height: 0;
    background-color: #efefef;
    }

    body.page .bbp-reply-form code,
    body.page .bbp-topic-form code,
    body.single-topic .bbp-reply-form code,
    body.single-forum .bbp-topic-form code,
    body.topic-edit .bbp-topic-form code,
    body.reply-edit .bbp-reply-form code {
    font-size: 10px;
    background-color: #f0fff8;
    border: 1px solid #CEEFE1;
    display: block;
    padding: 8px;
    margin-top: 5px;
    width: 369px;
    }

    #merge_tag,
    #delete_tag {
    display: inline;
    }

    div.bbp-submit-wrapper {
    float: right;
    }

    p.form-allowed-tags {
    width: 462px;
    }

    input[type="password"] {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    padding: 2px;
    }

    /* =Edit User
    */

    #bbp-your-profile fieldset {
    margin-top: 20px;
    padding: 20px 20px 0 20px;
    }
    #bbp-your-profile fieldset div {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    clear: left;
    }
    #bbp-your-profile fieldset select {
    margin-bottom: 0;
    }
    #bbp-your-profile fieldset input,
    #bbp-your-profile fieldset textarea {
    margin-bottom: 0;
    width: 400px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    padding: 2px;
    }
    #bbp-your-profile fieldset legend {
    display: none;
    }
    #content #bbp-your-profile fieldset label,
    #container #bbp-your-profile fieldset label {
    float: left;
    width: 150px;
    padding-right: 20px;
    text-align: right;
    }
    #bbp-your-profile fieldset span.description {
    margin: 5px 0 0 170px;
    font-size: 12px;
    font-style: italic;
    float: left;
    clear: left;
    width: 383px;
    padding: 5px 10px;
    border: #cee1ef 1px solid;
    background-color: #f0f8ff;
    }

    #content #bbp-your-profile fieldset fieldset,
    #container #bbp-your-profile fieldset fieldset {
    margin: 0;
    width: 260px;
    border: none;
    padding: 0;
    clear: none;
    float: none;
    }
    #bbp-your-profile fieldset fieldset span.description {
    margin-left: 0;
    margin-bottom: 20px;
    }

    #bbp-your-profile fieldset.submit button {
    float: right;
    }

    /* =Notices
    */

    div.bbp-template-notice {
    border-width: 1px;
    border-style: solid;
    padding: 0 0.6em;
    margin: 5px 0 15px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #ffffe0;
    border-color: #e6db55;
    color: #000;
    clear: both;
    }
    div.bbp-template-notice a {
    color: #555;
    text-decoration: none;
    }
    div.bbp-template-notice a:hover {
    color: #000;
    }
    div.bbp-template-notice.info {
    border: #cee1ef 1px solid;
    background-color: #f0f8ff;
    }
    div.bbp-template-notice.important {
    border: #e6db55 1px solid;
    background-color: #fffbcc;
    }
    div.bbp-template-notice.error,
    div.bbp-template-notice.warning {
    background-color: #0B0808;
    border-color: #c00;
    }
    div.bbp-template-notice.error a,
    div.bbp-template-notice.warning a {
    color: #c00;
    }
    div.bbp-template-notice p {
    margin: 0.5em 0 6px 0 !important;
    padding: 2px;
    font-size: 12px;
    font-color: #0B0808
    line-height: 140%;
    }

    /* =Stickies
    */

    .bbp-topics-front tr.super-sticky td,
    .bbp-topics tr.super-sticky td,
    .bbp-topics tr.sticky td,
    .bbp-forum-content tr.sticky td {
    background-color: #0B0808 !important;
    font-size: 1.1em;
    }

    /* =Revisions
    */
    #content .bbp-topic-revision-log,
    #content .bbp-reply-revision-log,

    #main .bbp-topic-revision-log,
    #main .bbp-reply-revision-log,

    #container .bbp-topic-revision-log,
    #container .bbp-reply-revision-log {
    border-top: 1px dotted #ddd;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 8px 0 0 0;
    font-size: 11px;
    color: #aaa;
    }

    /* =Widgets
    */

    .bbp-login-form fieldset legend {
    display: none;
    }

    .bbp-login-form .bbp-username input,
    .bbp-login-form .bbp-email input,
    .bbp-login-form .bbp-password input {
    padding: 5px;
    }

    .bbp-login-form .bbp-username label,
    .bbp-login-form .bbp-password label {
    width: 70px;
    display: inline-block;
    }
    .bbp-login-form .bbp-username,
    .bbp-login-form .bbp-password,
    .bbp-login-form .bbp-remember-me,
    .bbp-login-form .bbp-submit-wrapper {
    margin-top: 10px;
    }

    .bbp-login-form .bbp-remember-me {

    }

    .bbp-login-form .bbp-submit-wrapper {
    text-align: right;
    }

    .bbp-login-form .bbp-login-links {
    }

    .bbp-login-form .bbp-login-links a {
    float: left;
    clear: left;
    }

    .bbp-logged-in img.avatar {
    float: left;
    margin-right: 15px;
    }

    .bbp-logged-in h4 {
    font-weight: bold;
    font-size: 1.3em;
    clear: none;
    margin-bottom: 10px;
    }

    /* =Avatars
    */

    #content p.bbp-topic-meta img.avatar,
    #content ul.bbp-reply-revision-log img.avatar,
    #content ul.bbp-topic-revision-log img.avatar,
    #content div.bbp-template-notice img.avatar,
    #content .widget_display_topics img.avatar,
    #content .widget_display_replies img.avatar,
    #content p.bbp-topic-meta img.avatar,

    #main ul.bbp-reply-revision-log img.avatar,
    #main ul.bbp-topic-revision-log img.avatar,
    #main div.bbp-template-notice img.avatar,
    #main .widget_display_topics img.avatar,
    #main .widget_display_replies img.avatar,
    #main p.bbp-topic-meta img.avatar,

    #container ul.bbp-reply-revision-log img.avatar,
    #container ul.bbp-topic-revision-log img.avatar,
    #container div.bbp-template-notice img.avatar,
    #container .widget_display_topics img.avatar,
    #container .widget_display_replies img.avatar {
    float: none;
    margin-bottom: -7px;
    border: 3px double #ddd;
    }

    fieldset div.avatar {
    float: right;
    }

    /* =BuddyPress Activity Streams
    */

    .activity-list li.bbp_topic_create .activity-content .activity-inner,
    .activity-list li.bbp_reply_create .activity-content .activity-inner {
    border-left: 2px solid #EAEAEA;
    margin-left: 5px;
    padding-left: 10px;
    }

    hope this helps.

    Be Well, Do Well and Spread Smiles

    SzebastianOne

    #112739
    lmoon
    Member

    Hi there!

    Thanks for your reply.

    Yes I am OK with CSS, but what I couldn’t find the bbpress table’s css. Otherwise I would have put the cell width to “auto”.

    When I tried to find the css through firebug, I just found the style.css for any table I have on the site. When I set those cells to auto, nothing happened.

    #112738

    You should be able to just put a few CSS tweaks/overrides in your themes’s style.css.

    Are you familiar with CSS?

    #43802
    vbking
    Member

    See forum here:

    http://www.beecavenews.com/bee-cave-forum/

    1) How do I remove “Started By”?

    2) Why is “Voices” and “Posts” not aligned?

    3) Why is there so much vertical space?

    I used the bbp-single-forum id=$forum_id] code. This also looks the same when I use the standard [bbp-topic-index]. And it looks this way with and without my custom css to change look and feel.

    Thanks,

    Cory

    #43799
    lmoon
    Member

    Hello,

    I am having trouble trying to resize my forums table cells widths.

    The “topics” and “posts” cells that only contain a number don’t need to be the same width as the “forum” and “freshness” cells that contain words and wrap to the next line.

    When I look at the table through firebug I just see “.article th, .article td” which is part of my sytle.css and not bbpress.

    Any ideas how I can make the cells widths change?

    Here is an example of 1 forum I am talking about http://lifeafterlondon.com/forums-2/

    Many thanks :-)

    #112696
    kikac_nngk
    Member

    First of all sorry for bumping so often.

    I’m using the suffusion v4.0.4 theme as I mentioned above. I use wordpress version 3.3.1 along with bbpress 2.0.2 and buddypress 1.5.5.

    First I removed the <?php get_sidebar()?> from bbpress .php files, then in the style.css i added the proper components for the forum to be full width (i hope you get it), it was working fine.

    But then I went into the sidebar.php in the suffusion theme folder (i was just trying something) and when I went to the forum page the other widgets were gone, but the new one was standing right next to the forum container .. I think this happened after I upgraded buddypress.

    Then I tried to remove the bbpress plugin along with all his files, then again i re-installed bbpress, and done the same thing as before, but now all widgets are shown, not just only one. X_X

    Here’s the link to the forum http://www.poker.mk/forum/forum/

    #112479

    In reply to: Change forum color

    DELETE ME
    Member

    And I used this advice of yours …. nothing happened :-(

    https://wordpress.org/extend/plugins/bbpress-custom-css-file/

    My friend’s website is

    http://www.theReviveChallenge.com

    I have created a username and password for you to see the forum

    username jared

    password test123

    zofar143x
    Member

    It looks to me that your theme is unable to find the BBpress templates. You could try copying the files from the BBpress (twenty ten) theme to your current theme folder. Than make a page called “forum” or whatever you want and put [bbp-forum-index] in it. This is for 2.0.2.

    Furthermore, what you could also try is activating the bbPress (Twenty Ten) theme and put “template: Arras Classical Gamer” in it’s style.css (or whatever it’s actually called). I don’t know if that’s the right way of doing it, probably not, but that’s how I got it to work with my theme.

    #43740
    vbking
    Member

    See forum here:

    http://www.beecavenews.com/bee-cave-forum/

    1) How do I remove “Started By”?

    2) Why is “Voices” and “Posts” not aligned?

    3) Why is there so much vertical space?

    I used the bbp-single-forum id=$forum_id] code. This also looks the same when I use the standard [bbp-topic-index]. And it looks this way with and without my custom css to change look and feel.

    Thanks,

    Cory

    #43725
    GHC_33
    Member

    I almost have this forum completed, but the profile page just doesnt look good using WooThemes Canvas – Theme.

    Also the css for the original post is different than the reply posts. Its adding buttons to links, quotes, and the avatar.

    Any idea of how to solve this? Ive searched and searched all night, but I cant find a solution.

    Here is my test site.

    http://www.hireblogs.com/forums/topic/lorizzle-shizzle/

    Profile Page

    http://www.hireblogs.com/forums/users/jerry/

    Thanks in advance for any help.

    -GHC

    #110546
    harnold007
    Member

    My installation instructions.

    1. Installed plugin and activated in WordPress.

    2. Copied the contents of /wp-content/plugins/bbpress/bbp-theme-compat/ into my themes root folder /wp-content/themes/YOURTHEMENAME/

    3. Modified bbpress.css in /wp-content/themes/YOURTHEMENAME/css/

    4. Put in this line in my header.php <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>/css/bbpress.css”>

    5. Modified my page.php in /wp-content/themes/YOURTHEMENAME/ (please note if you have any other pages using page.php in your theme modifying this file will also modify those pages utilizing this wordpress page template). I modified it so my forum would be full width without the sidebar. This will vary depending on your theme.

    6. Created my forums in my wordpress admin panel under the forum section.

    7. Tested, everything is working great!

    #112536

    In reply to: Safari and Chrome CSS

    DarwinsDream
    Member

    I got it…. woah… Topic Resolved

    in bbpress.css (Line 109)

    #content th.bbp-topic-author,

    #content th.bbp-reply-author {

    text-align: center;

    width: 110px;

    }

    Sets the size of the container holding all the author info. Which the forum content aligns to. Mine was set too small it works now. With a little tweaks back and forth to adjust for cross browser continuity. hmmm

    Do you know what effects the update to 2.1 will have?

    btw you rock as a moderator !!! thanks

    and how the hell do i change my avatar on bbpress.org ? haha

    #112553

    In reply to: Hide underforums

    You don’t need to bump a thread you just posted. I mean seriously – it’s Sunday and you can’t wait longer than 30 mins?

    To answer your question you will either have to edit your theme or you can hide that stuff using CSS, eg

    .bbp-forum-info ul.bbp-forums { display:none; }

    #112521
    Millen
    Participant

    Here is two great sites to get you started:

    http://www.w3schools.com/

    http://css-tricks.com/

    #112520
    Richard
    Participant

    I want to make the corners rounder, more smooth. And make the bakground at the forumheader red.

    I’m not that familiar with CSS i’m afraid.

    #112519

    I’m not quite sure I understand.

    It’s all controlled through your CSS like was mentioned here https://bbpress.org/forums/topic/change-forum-color#post-100130

    #110621

    If you don’t know CSS it’s not going to be an easy task, however this should help you get started:

    https://bbpress.org/forums/topic/change-forum-color#post-100130

    #110542
    harnold007
    Member

    I changed bbpress.css in folder /bbp-theme-compat/ which I was able to get it they way I want it to look.

    However, it is using my wordpress default page theme. I would like it to use a full width page theme that I have.

    Example it is using:

    <div id=”main-wrapper”>

    <div id=”main”>

    <div id=”post”>

    <h3 class=”section-title”>testing 2</h3>

    <div class=”post-entry”>

    // Then it goes to the forums tag

    <div id=”bbpress-forums”>

    Also, under the default page theme it grabs the sidebar, which I do not want it to do.

    If someone can please point me in the right direction on changing the wordpress page theme that is being used for the forums. Thank you!

    #43498

    This is making me nuts. Set up forums, everything works great–except the Index page. The table is an absolute mess. See it here: http://salemwayne.netfirms.com/wp-content/uploads/Screen-shot-2012-03-16-at-9.40.57-PM.png

    I can’t find the appropriate php or css file to save my life. Does anyone have any idea what’s going on?

    #112474

    In reply to: Change forum color

    How familiar are you with CSS? This is something you will need to tweak in your theme’s CSS – essentially override the styles that bbPress is using.

    #43456
    Millen
    Participant

    I have run into some problems while theming bbp-twenty ten on my site. BBpress is installed, The forum fits within my custom theme after changing the template files. But some CSS does not seem to stick and my forum got issues with padding/margins and width or height at many places.

    Some guidance would be much appreciated!

    Here is my forum: http://www.fruitpickingjobs.com.au/forums

    I started with copying all files from bbp-twenty ten folder to my own wp theme folder. I have also changed all template files so the forum fits within my theme with sidebar.

    I have also added nesecery code to functions.php

    like instructed here: http://www.youtube.com/watch?v=lB2Oodx2GJw

    This is how my functions.php file looks like:

    // bbpress functions below this line

    add_theme_support( ‘bbpress’ );

    /**

    * Functions of bbPress’s Twenty Ten theme

    *

    * @package bbPress

    * @subpackage BBP_Twenty_Ten

    * @since Twenty Ten 1.1

    */

    // Exit if accessed directly

    if ( !defined( ‘ABSPATH’ ) ) exit;

    /** Theme Setup ***************************************************************/

    if ( !class_exists( ‘BBP_Twenty_Ten’ ) ) :

    /**

    * Loads bbPress Twenty Ten Theme functionality

    *

    * Usually functions.php contains a few functions wrapped in function_exisits()

    * checks. Since bbp-twenty-ten is intended to be used both as a child theme and

    * for Theme Compatibility, we’ve moved everything into one convenient class

    * that can be copied or extended.

    *

    * See @link BBP_Theme_Compat() for more.

    *

    * @since bbPress (r3277)

    *

    * @package bbPress

    * @subpackage BBP_Twenty_Ten

    */

    class BBP_Twenty_Ten extends BBP_Theme_Compat {

    /** Functions *************************************************************/

    /**

    * The main bbPress (Twenty Ten) Loader

    *

    * @since bbPress (r3277)

    *

    * @uses BBP_Twenty_Ten::setup_globals()

    * @uses BBP_Twenty_Ten::setup_actions()

    */

    public function __construct() {

    $this->setup_globals();

    $this->setup_actions();

    }

    /**

    * Component global variables

    *

    * @since bbPress (r2626)

    * @access private

    *

    * @uses plugin_dir_path() To generate bbPress plugin path

    * @uses plugin_dir_url() To generate bbPress plugin url

    * @uses apply_filters() Calls various filters

    */

    private function setup_globals() {

    global $bbp;

    // Theme name to help identify if it’s been extended

    $this->name = ‘bbPress (Twenty Ten)’;

    // Version of theme in YYYMMDD format

    $this->version = ‘20110921’;

    // Setup the theme path

    $this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;

    // Setup the theme URL

    $this->url = $bbp->themes_url . ‘/bbp-twentyten’;

    }

    /**

    * Setup the theme hooks

    *

    * @since bbPress (r3277)

    * @access private

    *

    * @uses add_filter() To add various filters

    * @uses add_action() To add various actions

    */

    private function setup_actions() {

    // Add theme support for bbPress

    add_action( ‘after_setup_theme’, array( $this, ‘add_theme_support’ ) );

    // Enqueue theme CSS

    add_action( ‘bbp_enqueue_scripts’, array( $this, ‘enqueue_styles’ ) );

    // Enqueue theme JS

    add_action( ‘bbp_enqueue_scripts’, array( $this, ‘enqueue_scripts’ ) );

    // Enqueue theme script localization

    add_filter( ‘bbp_enqueue_scripts’, array( $this, ‘localize_topic_script’ ) );

    // Output some extra JS in the <head>

    add_action( ‘bbp_head’, array( $this, ‘head_scripts’ ) );

    // Handles the ajax favorite/unfavorite

    add_action( ‘wp_ajax_dim-favorite’, array( $this, ‘ajax_favorite’ ) );

    // Handles the ajax subscribe/unsubscribe

    add_action( ‘wp_ajax_dim-subscription’, array( $this, ‘ajax_subscription’ ) );

    }

    /**

    * Sets up theme support for bbPress

    *

    * Because this theme comes bundled with bbPress template files, we add it

    * to the list of things this theme supports. Note that the function

    * “add_theme_support()” does not /enable/ theme support, but is instead an

    * API for telling WordPress what it can already do on its own.

    *

    * If you’re looking to add bbPress support into your own custom theme, you’ll

    * want to make sure it includes all of the template files for bbPress, and then

    * use: add_theme_support( ‘bbpress’ ); in your functions.php.

    *

    * @since bbPress (r2652)

    */

    public function add_theme_support() {

    add_theme_support( ‘bbpress’ );

    }

    /**

    * Load the theme CSS

    *

    * @since bbPress (r2652)

    *

    * @uses wp_enqueue_style() To enqueue the styles

    */

    public function enqueue_styles() {

    // Right to left

    if ( is_rtl() ) {

    // TwentyTen

    wp_enqueue_style( ‘twentyten’, get_template_directory_uri() . ‘/style.css’, ”, $this->version, ‘screen’ );

    wp_enqueue_style( ‘twentyten-rtl’, get_template_directory_uri() . ‘/rtl.css’, ‘twentyten’, $this->version, ‘screen’ );

    // bbPress specific

    wp_enqueue_style( ‘bbp-twentyten-bbpress’, get_stylesheet_directory_uri() . ‘/css/bbpress-rtl.css’, ‘twentyten-rtl’, $this->version, ‘screen’ );

    // Left to right

    } else {

    // TwentyTen

    wp_enqueue_style( ‘twentyten’, get_template_directory_uri() . ‘/style.css’, ”, $this->version, ‘screen’ );

    // bbPress specific

    wp_enqueue_style( ‘bbp-twentyten-bbpress’, get_stylesheet_directory_uri() . ‘/css/bbpress.css’, ‘twentyten’, $this->version, ‘screen’ );

    }

    }

    /**

    * Enqueue the required Javascript files

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses get_stylesheet_directory_uri() To get the stylesheet directory uri

    * @uses bbp_is_single_user_edit() To check if it’s the profile edit page

    * @uses wp_enqueue_script() To enqueue the scripts

    */

    public function enqueue_scripts() {

    if ( bbp_is_single_topic() )

    wp_enqueue_script( ‘bbp_topic’, get_stylesheet_directory_uri() . ‘/js/topic.js’, array( ‘wp-lists’ ), $this->version );

    if ( bbp_is_single_user_edit() )

    wp_enqueue_script( ‘user-profile’ );

    }

    /**

    * Put some scripts in the header, like AJAX url for wp-lists

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses admin_url() To get the admin url

    * @uses bbp_is_single_user_edit() To check if it’s the profile edit page

    */

    public function head_scripts() {

    if ( bbp_is_single_topic() ) : ?>

    <script type=’text/javascript’>

    /* <![CDATA[ */

    var ajaxurl = ‘<?php echo admin_url( ‘admin-ajax.php’ ); ?>’;

    /* ]]> */

    </script>

    <?php elseif ( bbp_is_single_user_edit() ) : ?>

    <script type=”text/javascript” charset=”utf-8″>

    if ( window.location.hash == ‘#password’ ) {

    document.getElementById(‘pass1’).focus();

    }

    </script>

    <?php

    endif;

    }

    /**

    * Load localizations for topic script

    *

    * These localizations require information that may not be loaded even by init.

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses is_user_logged_in() To check if user is logged in

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses bbp_get_topic_id() To get the topic id

    * @uses bbp_get_favorites_permalink() To get the favorites permalink

    * @uses bbp_is_user_favorite() To check if the topic is in user’s favorites

    * @uses bbp_is_subscriptions_active() To check if the subscriptions are active

    * @uses bbp_is_user_subscribed() To check if the user is subscribed to topic

    * @uses bbp_get_topic_permalink() To get the topic permalink

    * @uses wp_localize_script() To localize the script

    */

    public function localize_topic_script() {

    // Bail if not viewing a single topic

    if ( !bbp_is_single_topic() )

    return;

    // Bail if user is not logged in

    if ( !is_user_logged_in() )

    return;

    $user_id = bbp_get_current_user_id();

    $localizations = array(

    ‘currentUserId’ => $user_id,

    ‘topicId’ => bbp_get_topic_id(),

    );

    // Favorites

    if ( bbp_is_favorites_active() ) {

    $localizations = 1;

    $localizations = bbp_get_favorites_permalink( $user_id );

    $localizations = (int) bbp_is_user_favorite( $user_id );

    $localizations = __( ‘favorites’, ‘bbpress’ );

    $localizations = __( ‘?’, ‘bbpress’ );

    $localizations = __( ‘This topic is one of your %favLinkYes% [%favDel%]’, ‘bbpress’ );

    $localizations = __( ‘%favAdd% (%favLinkNo%)’, ‘bbpress’ );

    $localizations = __( ‘×’, ‘bbpress’ );

    $localizations = __( ‘Add this topic to your favorites’, ‘bbpress’ );

    } else {

    $localizations = 0;

    }

    // Subscriptions

    if ( bbp_is_subscriptions_active() ) {

    $localizations = 1;

    $localizations = (int) bbp_is_user_subscribed( $user_id );

    $localizations = __( ‘Subscribe’, ‘bbpress’ );

    $localizations = __( ‘Unsubscribe’, ‘bbpress’ );

    $localizations = bbp_get_topic_permalink();

    } else {

    $localizations = 0;

    }

    wp_localize_script( ‘bbp_topic’, ‘bbpTopicJS’, $localizations );

    }

    /**

    * Add or remove a topic from a user’s favorites

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses current_user_can() To check if the current user can edit the user

    * @uses bbp_get_topic() To get the topic

    * @uses check_ajax_referer() To verify the nonce & check the referer

    * @uses bbp_is_user_favorite() To check if the topic is user’s favorite

    * @uses bbp_remove_user_favorite() To remove the topic from user’s favorites

    * @uses bbp_add_user_favorite() To add the topic from user’s favorites

    */

    public function ajax_favorite() {

    $user_id = bbp_get_current_user_id();

    $id = intval( $_POST );

    if ( !current_user_can( ‘edit_user’, $user_id ) )

    die( ‘-1’ );

    if ( !$topic = bbp_get_topic( $id ) )

    die( ‘0’ );

    check_ajax_referer( ‘toggle-favorite_’ . $topic->ID );

    if ( bbp_is_user_favorite( $user_id, $topic->ID ) ) {

    if ( bbp_remove_user_favorite( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    } else {

    if ( bbp_add_user_favorite( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    }

    die( ‘0’ );

    }

    /**

    * Subscribe/Unsubscribe a user from a topic

    *

    * @since bbPress (r2668)

    *

    * @uses bbp_is_subscriptions_active() To check if the subscriptions are active

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses current_user_can() To check if the current user can edit the user

    * @uses bbp_get_topic() To get the topic

    * @uses check_ajax_referer() To verify the nonce & check the referer

    * @uses bbp_is_user_subscribed() To check if the topic is in user’s

    * subscriptions

    * @uses bbp_remove_user_subscriptions() To remove the topic from user’s

    * subscriptions

    * @uses bbp_add_user_subscriptions() To add the topic from user’s subscriptions

    */

    public function ajax_subscription() {

    if ( !bbp_is_subscriptions_active() )

    return;

    $user_id = bbp_get_current_user_id();

    $id = intval( $_POST );

    if ( !current_user_can( ‘edit_user’, $user_id ) )

    die( ‘-1’ );

    if ( !$topic = bbp_get_topic( $id ) )

    die( ‘0’ );

    check_ajax_referer( ‘toggle-subscription_’ . $topic->ID );

    if ( bbp_is_user_subscribed( $user_id, $topic->ID ) ) {

    if ( bbp_remove_user_subscription( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    } else {

    if ( bbp_add_user_subscription( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    }

    die( ‘0’ );

    }

    }

    /**

    * Instantiate a new BBP_Twenty_Ten class inside the $bbp global. It is

    * responsible for hooking itself into WordPress where apprpriate.

    */

    if ( ‘bbPress’ == get_class( $bbp ) ) {

    $bbp->theme_compat->theme = new BBP_Twenty_Ten();

    }

    endif;

    ?>

Viewing 25 results - 1,876 through 1,900 (of 2,740 total)
Skip to toolbar