Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,901 through 15,925 (of 32,503 total)
  • Author
    Search Results
  • Jarret
    Participant

    How do you have your navigation configured? Looking at the source code, the News tab has a class of current_page_parent when trying to view the Events/Forums pages.

    Are the Events/Forums pages child pages of the News page?

    #114426
    Jarret
    Participant

    Well you could use the Custom Menus feature (Appearance->Menus) and setup custom links to URLs for your forum. Then use the custom menu to display somewhere in your theme and the links would take you to specific subforums.

    Unless I’m totally not understanding what you mean and if that’s the case, please let me know :)

    Jarret
    Participant

    It is all good, maybe sometime in the future somebody will have this issue and find this thread and it will help them :)

    Miniflowers
    Member

    Yeah, we were never able to get things up and running as we had hoped, so we said “screw it” and migrated over to Ning. They seem to have everything we were looking for and it was set up in about 30 minutes. :)

    #113204
    Lynq
    Participant

    It looks like bbPress is checking if the current theme is compatible with bbPress.

    On line 357 of your twenty ten them does it have: add_theme_support( 'bbpress' ); by any chance?

    Good luck!

    terence.milbourn
    Participant

    Hi guys.

    This is the first time I have tried to get bbPress working and I can’t get this combination to show the actual Forums or Topics although it does work on on this website http://www.essentialoils.coop/community when I switch the theme to bbPress (Twenty Ten).

    If I use [bbp-forum-index] on a page or even just the bbP native URLs it will show my entire forum index, but when I click on any forum, I just get a blank page from the Pixel Theme Studio’s “Zen Theme”.

    So far I have created a new directory within my theme root called ‘bbpress’ and copied the files from bbPress/bbp-theme-compat/bbpress/ to this new directory. I have also moved the root files out of /bbpress/extras into the root of my theme. Plus I have added add_theme_support('bbpress'); to my functions.php, but still nothing.

    My theme just seems to see the page at http://www.essentialoils.coop/community as an un-ordered list.

    What did I do wrong? What haven’t I done? What is it that Zen Theme needs to make it work with bbPress?

    Any help at all would be much appreciated.

    #114391

    In reply to: Small column

    LabSecrets
    Participant

    Try adding this to the end of your style.css or child theme custom css stylesheet:

    body.bbPress .hentry {width:575px!important;}
    td.bbp-reply-content {width:575px!important;}

    Cheers!

    spence

    http://LabZip.com

    http://LabSecrets.com

    #114254
    LabSecrets
    Participant

    ok,

    well, that confirms my suspicion. The myriad theme and child, unfortunately, have all the bbPress files coded-into them… ;-(

    You will need to contact that theme author to ask them to include a unique body class in the “mysite_head” function so that you can target your CSS and style the pages accordingly.

    Alternatively, you can ask them to include an update to all the various bbPress template pages that have the appropriate wrapper around the bbPress content areas so that it can be styled as such.

    Last choice, you are welcome to choose from over 120+ woothemes, elegant themes, or Responsive by ThemeID, that are all ready to use with bbPress.

    Wish I could be more helpful, but this is one for your theme author… unless you can accept some global styling as suggested in my earlier answer

    #114250
    LabSecrets
    Participant

    Shep,

    If you want some further help…probably would be best if I saw what you have in your theme code.

    I don’t see the function in that file either.

    Drop a line to help@labsecrets.com with an admin login I could use temporarily and I’ll have a peek.

    Cheers,

    Spence

    http://labzip.com

    http://labsecrets.com

    The URLs do follow the same structure as WordPress, exactly actually.

    Keep in mind that WordPress has never needed to have a mixed post-type URL structure, except for the case of attachments (which don’t really count.)

    None of the words in the URL are ‘useless’ since they’re all indicative of where the content lives.

    bbPress and WordPress are designed to allow those with specific needs and wants to customize the codebase, and contribute the changes they needed up-stream to the parent project. If this is something multiple people would like, I suggest you group up and build it. If it works, and more people want it, we absorb it into bbPress core.

    Boom. :)

    #114373
    Lynq
    Participant
    #114364
    Jim R
    Participant

    It would be super if there was a way to have layout options. :-)

    How tough would it be to port over the layout? Is the code similar enough in terms of functions?

    Pixeldrum
    Member

    Now I am getting confused. I could have sworn that I replied to your post John a few days ago… but I don’t see it.

    Here it is again then, my apologies, I didn’t mean to transgress a forum convention. Still, if at all possible, I’d like some direction as to how I can block access via direct URL to user profiles. From user profiles someone can track back to posts attributed to the user and use and post via that ‘back door’.

    I have bbpress installed and protected (I thought) behind the membership wpmudev.org membership plugin and want the forum area available for specific members only including the profile information. What files need to be customized to make this possible?

    I can block posts and content in pages with short-codes from the membership plugin, but I don’t know where I would place those within the structure of bbpress. Is there a way, please? I am not a coder, but have friends who are I just need to be pointed to the files that are involved in getting this done. Thanks for ANY help with this matter.

    #114246
    LabSecrets
    Participant

    You posted what appears to be the bbPress functions.php, which is not what I would need to see. I would need to see the functions.php from myriad parent, child, or perhaps any includes that have the function below:

    In sum: your myriad parent has a function, on line 24 of the header.php

    <body class="<?php mysite_body_class(); ?>">

    This function (mysite_body_class()) is what is generating the body class tags. It needs to be modified to allow for the creation of the necessary bbPress body tag for pages that contain bbPress.

    #114001
    #114244

    Can you replace your big code-dumps with links to pastebin, or some other place? Thanks! :)

    #114332
    Lynq
    Participant

    You will probably need to add a counter to check if it is the first reply, something like this:

    <?php i == 0; ?>

    <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>

    <?php if(i == 0) { ?>
    <li id="post-<?php post_id(); ?>"<?php alt_class('post'); ?>>
    <?php } else { ?>
    <li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
    <?php bb_post_template(); ?>
    <?php } ?>
    <?php i++; ?>

    <?php endforeach; ?>

    #114242
    AAShepAA
    Participant

    Spence – I really do appreciate you trying to help me on this.

    I am using a child theme >themes>>myriad-custom with myriad being in the same directory. There is no header.php in the child theme but this is the content of the header.php of “mother” theme myriad:

    <?php

    /**

    * Header Template

    *

    * @package Mysitemyway

    * @subpackage Template

    */

    ?><!DOCTYPE html>

    <!–[if lt IE 7]> <html class=”ie ie6 lte9 lte8 lte7″ <?php language_attributes(); ?>> <![endif]–>

    <!–[if IE 7]> <html class=”ie ie7 lte9 lte8 lte7″ <?php language_attributes(); ?>> <![endif]–>

    <!–[if IE 8]> <html class=”ie ie8 lte9 lte8″ <?php language_attributes(); ?>> <![endif]–>

    <!–[if IE 9]> <html class=”ie ie9 lte9″ <?php language_attributes(); ?>> <![endif]–>

    <!–[if gt IE 9]> <html> <![endif]–>

    <!–[if !IE]><!–> <html <?php language_attributes(); ?>> <!–<![endif]–>

    <head>

    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />

    <title><?php mysite_document_title(); ?></title>

    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />

    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />

    <?php mysite_head(); ?>

    <?php wp_head(); ?>

    </head>

    <body class=”<?php mysite_body_class(); ?>”>

    <div class=”multibg”><div class=”multibg”></div></div>

    <div id=”body_inner”>

    <?php mysite_before_header();

    ?><div id=”header”>

    <div id=”header_inner”>

    <?php mysite_header();

    ?></div><!– #header_inner –>

    </div><!– #header –>

    <?php mysite_after_header();

    ?><div id=”content”>

    <div id=”content_inner”>

    <?php mysite_before_main();

    ?><div id=”main”>

    <div id=”main_inner”>

    <?php mysite_before_page_content(); ?>

    As far as the setup pf bbPress – it is standard – all of the >plugins>bbPress>bbp-themes>bbp-twentyten “contents” copied over to the child theme of myriad-custom.

    I hope that helps you enough to help me :)

    Grateful!

    Shep

    #114241
    LabSecrets
    Participant

    To make your forums full width, please add this to css:

    .right_sidebar #main { width: 100%;}
    .right_sidebar #main_inner {margin-right: 0;}
    .right_sidebar #content {padding:10px;}

    The bigger issue, unfortunately, is that you don’t have the proper body class (the way you setup bbPress on this theme) to allow you to limit these css modifications to only bbPress pages. So these mods will apply on ALL pages of your site. This is the ideal way to ensure your mods won’t effect other template pages.

    To get around this small issue, you should add some logic to your header.php to generate the proper class which you can then prefix on to your css above. For example, when done properly, you would have css of:

    body.bbPress .right_sidebar #main { width: 100%;}
    body.bbPress .right_sidebar #main_inner {margin-right: 0;}
    body.bbPress .right_sidebar #content {padding:10px;}

    and this would limit all your styling to only bbPress pages. I don’t see any other body class tags that are limited to bbPress pages which we could use ;-(

    Since I cannot see your header.php or functions.php, my guess is that you have some logic in there now which is generating the body classes, but filtering out the native .bbPress class (I can’t tell from outside how you setup your bbPress installation)

    See: https://img.skitch.com/20120703-8m1xdyam239qxprwrfenry4qtk.jpg

    Cheers!

    Spence

    http://labzip.com

    http://labsecrets.com

    #114343
    LabSecrets
    Participant

    First suggestion:

    I would add this css to give your topic title some breathing room:

    th.bbp-forum-info {width:50%;}

    Cheers!

    Spence

    http://labzip.com

    help@labsecrets.com

    #114063

    In reply to: Magazine Basic

    LabSecrets
    Participant

    We have turnkey child-themes that make it simple to get bbPress, BuddyPress and WooCommerce running beautifully on your site. If you want some help, drop us a line at help@labsecrets.com.

    It is possible, with some CSS and minor PHP experience, to make bbPress look great on just about every theme ;-)

    Cheers!

    Spence

    http://labzip.com

    #46512
    billa3
    Member

    Hello,

    I’m using the standalone bbpress 1.1. I want to make a little modification to hide the thread replies from the non-logged users. So, the non-logged users can see only the very first post but can not see the replies to the topic. How can I do that?

    I tried to remove following from the topic.php file in the theme, but it removes the first post as well. I’ll appreciate any help.

    Code:
    <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <li id=”post-<?php post_id(); ?>”<?php alt_class(‘post’, $del_class); ?>>
    <?php bb_post_template(); ?>

    <?php endforeach; ?>

    #114319

    look in the code, or in the settings menu

    #114122
    html_guru
    Member

    Is there somewhere to download a file of version 2.1? I see the code on the download page, but no folder that I can just copy and paste.

    #114276
    enderandrew
    Participant

    I do think bbPress was setting the posts to Pending before putting them through moderation, but this may not be a bbPress bug.

    I’ve been trying most any troubleshooting step I can find.

    I turned off EnableSendfile in Apache, and every forum post has come through successful since then. But since the issue was intermittent and only a few people are testing the forums right now, it’s hard to tell.

    http://httpd.apache.org/docs/2.0/mod/core.html#enablesendfile

    My memory utilization is still pretty high, but I cranked down my Apache settings considerably (using recommended settings for a 256MB VPS on my 2GB VPS) and I turned off eaccellerator in PHP as well.

    If I get a few more successful test posts from users, then I’ll close the ticket in Trac.

    Memory utilization could really be any bad piece of PHP code on my site, and I’m not sure where that is coming from yet. But if no one else reports it, then my case is anecdotal.

Viewing 25 results - 15,901 through 15,925 (of 32,503 total)
Skip to toolbar