Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,701 through 16,725 (of 32,503 total)
  • Author
    Search Results
  • #112002

    Got it working!!

    .bbPress #header {

    background-image: url(images/mspace-header.png)!important;

    background-repeat: no-repeat;

    }

    THANK YOU – YOU’RE a SUPERSTAR!! :)

    #112001

    It might be easier to use some of the bbPress body classes in addition to what you are using now.

    For example you might be using a custom body class called ‘my-header-image’.

    So if you wanted to use that on your bbpress portion of the site you would just add the bbpress body class to your css, such as

    .my-header-image,
    .bbPress {
    background: url(myimage.jpg);
    }

    There are other body classes available from bbPress, but you get the picture :)

    #112000

    Unfortunately nothing changed, its probably “operator error” since I am pretty new to genesis and bbpress. Maybe I didnt explain myself properly either. :/

    Some of my site’s pages use a custom body class where I specify an alternate header. It seems like all the pages I set up in the bbpress forum and topic areas are missing the Genesis Layout Settings Metaboxes where I can specify the custom body class….

    I dont know if I am making this more difficult than it is?? It seems all the deeper bbpress pages (except for the page showing the actual forum) are reverting to the default header and I would like to customize it to show the alternate one.

    Thoughts??

    #111999

    This is a total guess and not tested, but you should be able to put something like this in your theme’s functions.php file

    add_action( 'bbp_init', 'do_custom_body_classes' );
    function do_custom_body_classes() {
    add_filter( 'body_class', 'genesis_custom_body_class', 15 );
    }

    #89796

    This thread is waay old. Please start a new one :).

    #111972

    You’ll want something like this. And it should go in your theme’s functions file.

    add_action( 'bbp_ready', 'ja_login_detect' );
    function ja_login_detect() {
    include_once "/dap/dap-config.php";

    if ( !Dap_Session::isLoggedIn() )
    header( "Location: /dap/login.php" )
    }

    #111971

    We have tried working on this some more, but still not working. Would bbpress.php be the right script for these changes?

    <?php

    include_once “/home/@#$$$/public_html/dap/dap-config.php”;

    //the problem is get_post_type comes up empty..

    if((get_post_type() == ‘forum’) || (get_post_type() == ‘topic’) OR (get_post_type() == ‘reply’))

    {

    if( !Dap_Session::isLoggedIn() ) {

    header(“Location: /dap/login.php”);

    exit;

    }

    }

    Our problem is that get_post_type() comes up empty when used in bbpress.php.

    So maybe the whole check needs to go else where. I am not sure where.

    Also i don’t see a bb-config.php in our folders? Should this file exist?

    #111980
    MikeonTV
    Member

    Yes I did that and it fixed nothing :(

    #42412
    podcastlover
    Member

    I’m building a site to discuss podcasts. www. podcastlover.com

    I have built a forum for each of the podcasts I want to have discussed on my site, there are 124 currently.

    However, on my list of forums, I only see 60 of them listed.

    The permalinks to the non appearing forums work.

    I am wondering how I can get all of them to appear on the forum list.

    A trick to Alphabetize them would be awesome too :)

    #106472
    David Decker
    Participant

    You can also maintaining plugin and theme translations with the awesome “Codestyling Localization” plugin: https://wordpress.org/extend/plugins/codestyling-localization/

    “fi” is the correct locale for Finnish!!

    Placing the language files in /wp-content/languages/ is already prepared in bbPress 2.x but unfortunately it does not work yet (since 2.x branch!) – it would be nice seeing that fixed as overriding language files via updates is no fun at all!

    Thanx, Dave :)

    #111969

    You are going to have to wrap it in something that checks for bbPress.

    Similar to:

    if ( is_bbpress() ) {
    include_once "/dap/dap-config.php";

    if( !Dap_Session::isLoggedIn() ) {
    header("Location: /dap/login.php");
    exit;
    }
    }

    However it’s going to likely take more polish than that.

    #111844
    micropat
    Member

    Thank you for your kind [over the top] words. :) I appreciate it.

    FYI the version I mentioned above has been released. Please write back how that goes, and stay tuned for more updates.

    #111937

    I looks like this issue is due to a CSS conflict in your theme’s CSS. Specifically line 733 which reads:

    .reply {
    float: left;
    margin: 0;
    }

    You are going to have to play around with it. I’d start with adding something like this to your theme’s CSS:

    .bbp-replies .reply {
    float: none;
    }

    .bbPress #content .single-entry-content {
    float: none;
    }

    #111967

    Well from your code above, it seems that if a user isn’t loggedin via DAP then they would get redirected to /dap/login.php.

    #42338
    websquatters
    Member

    Hello I am new to BBPress and I have installed it successfully. I have been trying to edit the missing image tag that you see when you view the forum index at the following url.

    I’m not sure where to find the code to remove it.

    http://websquatters.com/dcoutlaws/forums

    #111941

    You can create a login form though various methods (widgets, shortcodes, etc) and have them redirect to the site.

    So unless your users specifically know to go to /wp-admin there are ways to keep WP from sending them there.

    #111930

    Create a ‘Homepage’ page. Use one of the bbPress shortcodes on that page. Now go into Settings->Reading and set the homepage to a static page (in this case, the ‘Homepage’ you just created).

    #42400
    MikeonTV
    Member

    While developing a site I had then entire wordpress framework in a hidden folder (ie http://mysite.com/wp/index.php)

    I have developed many site this way but never with bbPress included. Now when I changed the path of the wordpress directory and move the file the forum is a blank page.

    The shortcode is still visible in the post and all permalinks are functioning the same.

    Why did this happen?

    #42378

    I’m trying to protect my forum from non-members. I’m using Digital Access Pass. Their support has told me: “to add custom code at the top of forum.php (under bbpress installation) to look for logged-in state before allowing view access”

    Something like this:

    < ?php

    include_once "/dap/dap-config.php";

    if( !Dap_Session::isLoggedIn() ) {

    header(“Location: /dap/login.php”);

    exit;

    }

    ?>

    Problem is i don’t have a forum.php? They said that “when you access the forum, what’s the first script that gets accessed… that’s the script you need to update” Anyone have any clue where this would go?

    Thanks

    #111924

    In reply to: How to setup users?

    dosch
    Participant

    ;-)

    There are some nifty plug-ins you might want to look at so you can send new members custom welcome emails and redirect them on their first-sign on to their own profile page as so to encourage them to complete their profile.

    Also adding custom fields to the profiles of members can be a great way to get them to share more information about themselves and relevant to the community of the forum.

    #110440
    David100351
    Participant

    Lol. Well, code or poetry aren’t my strong points, but I AM persistant.

    #111705

    Not everyone has the luxury of working for free. The best part of OSS is being able to look at the code, learn from it, and contribute fixes upstream. Someone that needs this badly enough will keep it alive.

    theap
    Member

    I would like to list comments by most recent on the Home page of my Forum.

    At the moment only Topic with the latest comment entry comes up fist, but I would like to have list of comments, like here for example:

    http://www.iii.co.uk/investment/detail?code=cotn:UKX.L&display=discussion&it=li

    i guess what I need is similar to bbpress forum where you can click to view latest topics or latest posts, but I’d like to have latest comments listed by default.

    Many thanks in advance!

    #111875
    ianhaycox
    Participant

    Got a link to the page ? It’s tricky debugging a screen shot :-)

    #111851

    Is a bump acceptable? I really want to use this software :)

Viewing 25 results - 16,701 through 16,725 (of 32,503 total)
Skip to toolbar