Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 55,376 through 55,400 (of 64,431 total)
  • Author
    Search Results
  • #68104
    chrishajer
    Participant

    It’s not a secret, it’s just not bbPress specific, it’s PHP. You need to loop through the array that is returned by that function. If you’re not comfortable learning enough PHP to accomplish that with the function, maybe you’d be better off the the widget. That’s why WordPress created widgets in the first place. It’s for people who don’t want to mess with PHP code. It’s drag and drop. Maybe enabling widgets in your theme would be easier than learning the proper way to loop through this array.

    #68103
    patung
    Member

    Ok, so it’s a secret… ;)

    This is what I tried <?php bbpress_live_get_topics(); ?>

    and also <?php bbpress_live_get_topics("1"); ?>

    Don’t know if they are right, but anyway I just noticed it says it needs 2.6.2 and I just use 2.6.

    Also, would this plugin make any special claims on cpu and load average, because I suspect it might, just by activating, not even using it on a page?

    #68199
    Bharat Karavadra
    Participant

    Hi,

    Installed a zip package of alpha 2 and it went OK and as I couldn’t quite get the logins to work for WP and bbP and tried installing it again.

    I saw a few messages about install packages not being complete so I downloaded this second one.

    Now when I try to install it, on the final screen it give the following PHP error – but the install seems OK.

    Warning: chmod() [function.chmod]: Operation not permitted in /home/1295/htdocs/www.example.com/public_html/forums/bb-admin/class-install.php on line 1021

    Warning: Cannot modify header information – headers already sent by (output started at /home/1295/htdocs/www.example.com/public_html/forums/bb-admin/class-install.php:1021) in /home/1295/htdocs/www.example.com/public_html/forums/bb-includes/functions.php on line 2902

    I tried a few times but got the same thing, then I comared my first and second packagas and saw that bbpress/bb-admin/class-install.php is very slightl different from line 264

    The file in the first package has 2 if statements and the second has 1 if statement as follows:

    class-install.php from package 1:

    if (!defined(‘BB_INC’)) {

    // Define BB_INC

    // Tell us to load includes because bb-settings.

    php was not loaded

    // bb-settings.php is generally not loaded on

    steps -1, 0 and 1 but

    // there are exceptions, so this is safer than

    just reading the step

    $this->load_includes = true;

    define(‘BB_INC’, ‘bb-includes/’);

    }

    if (!defined(‘BACKPRESS_PATH’)) {

    define(‘BACKPRESS_PATH’, BB_PATH . BB_INC . ‘

    backpress/’);

    }

    class-install.php from package 2:

    if (!defined(‘BACKPRESS_PATH’)) {

    // Define BACKPRESS_PATH

    // Tell us to load includes because bb-settings.

    php was not loaded

    // bb-settings.php is generally not loaded on

    steps -1, 0 and 1 but

    // there are exceptions, so this is safer than

    just reading the step

    $this->load_includes = true;

    define(‘BACKPRESS_PATH’, BB_PATH . BB_INC . ‘

    backpress/’);

    }

    But the weird thing is that when I put back the first class-install.php I still get the error. I’m not too fussed as the install goes OK but it could be quite off putting if users get this PHP error.

    #68262

    In reply to: Cannot Log In

    chrishajer
    Participant

    What version of bbPress are you using, and are you integrated with WordPress?

    #68139
    chrishajer
    Participant

    According to the text in this plugin’s comments, the “remember me” is supposed to change the cookie expiration to 2 weeks out. Does that happen to the cookie when you check the box?

    https://bbpress.org/plugins/topic/year-long-cookies/

    #68261

    In reply to: wordpress Header

    chrishajer
    Participant

    Follow the instructions in the last section of this page:

    https://bbpress.org/documentation/integration-with-wordpress/#func

    You want access to the WordPress functions get_footer() and get_header() so you need to include WordPress in your bbPress.

    Radium
    Member

    There is a problem with cookie sharing mainly in that WordPress fails to (because it doesn’t know it has to) set a cookie required for access to the bbPress admin area.

    But wordpress seems to set a cookie that both bbpress and wordpress recognize (other than not being able to log out via bbpress), and bbpress sets a cookie that only bbpress recogizes. Does bbpress delete/overwrite the wordpress cookie, thus causing wordpress to be logged out after logging in with bbpress?

    Sam Bauers
    Participant

    There is a problem with cookie sharing mainly in that WordPress fails to (because it doesn’t know it has to) set a cookie required for access to the bbPress admin area.

    I’m pretty sure that the only way to fix this is with a plugin for WordPress. I’ll have to work one up. When I do I’ll post it to the WordPress plugin repository and announce it on the forum here.

    #68247
    Sam Bauers
    Participant

    The required contents of your htaccess file should be here…

    http://www.midnightedition.com/buzz/bb-admin/rewrite-rules.php

    #68102
    Sam Bauers
    Participant

    Read the faq I pointed to, it contains the arguments you can use with the functions.

    The functions return arrays, so you need to loop through those to get the data out. If you don’t know how to do that, then you need to learn some rudimentary PHP first : )

    The sidebar widgets were created for people without PHP knowledge.

    #3981
    sawndiddle
    Member

    Where is the language file for “Enter a few words (called tags) separated by spaces to help someone find your topic: “?

    I need to change spaces to commas. Also, I think this needs to be updated in the new bbpress, but the default setting I got was separated by commas, but spaces is misleading to those who post.

    patung
    Member

    Same here for the logout issue…

    #68101
    patung
    Member

    “It’s in the readme.txt file too….”

    What is in there is this:

    * bbpress_live_get_forums() – Provides an array of forums

    * bbpress_live_get_topics() – Provides an array of the latest topics

    But I mean what do I actually put in the theme template file, like sidebar.php. I mean bbpress_live_get_forums() has to be wrapped in some kind of php doesn’t it?

    Radium
    Member

    Well, at least I’m not alone in this issue.

    I haven’t made a version of the theme available anywhere yet. I modified the Kakumei theme just for this site. Maybe when BBPress 1.0 comes out I will make a neutral version of the theme for everyone. I could do the same for the WordPress theme as well.

    jonkristian
    Member

    Same issue here. Btw, is this theme of yours available anywhere?

    #4120
    agitainment
    Member

    Hi.

    I recently installed bbPress on my WordPress site here at http://agitainment.com/ics/forum/.

    I’ve built a theme based on 1col_fixed 1.1 (I believe it’s kakumei with most of the CSS stripped out). In any case, when I go to my forums I can see my Gravatars and default avatars in kakumei, but when I switch on my theme they disappear.

    Is there a php file I’m missing or a block of code somewhere I need to copy over from the kakumei theme to get these to work? If so, where should I put the code?

    Thanks!

    #67945
    nekita
    Member

    So I just deleted the entire forum folder (but for bb-config.php) and replaced it with the original content from bbpress-1.0-alpha.zip. Problem persists.

    That means that I can only think of three scenarios:

    1. The problem is a general problem with 1.0-alpha

    2. It has something to do with my DB and it’s implementation with WP/bbP

    3. A problem with bb-config.php? (though unlikely given the nature of the issue)

    #68230
    restivz77
    Member

    sambauers, yeah I tried everything in that document, step by step. I’m going to try a fresh install

    #4119
    ebizdude
    Member

    In just installed BBpress on http://www.midnightedition.com/buzz and it looks so beautiful and elegant. Its simply the best forum I have seen till date. I prefer this over vbulletin and all others. All junk is out. Simple Elegance.

    I am however facing 1 problem.

    http://www.midnightedition.com/buzz/ is the place forum is on.

    BUT if i click on any link its leading to 404 error

    http://www.midnightedition.com/buzz/forum/midnightedition-community

    or on any profile even

    http://www.midnightedition.com/buzz/profile/puneet

    In all probabaility its a .htaccess file I need to add something. Can someone please tell me what I shd add to my .htaccess file to make this work.

    Or any other suggestions.

    I love BBPRESS. its simply SUPERB.

    #4116
    Edward
    Member

    WordPress 2.6.2 + bbPress 1.0 Alpha 2. I have done the cookies config, auth_salt, logged_in_salt, etc.

    When I log in WordPress, I am also log-in in bbPress, but cannot open bbpress’ control panel, and also cannot log out in bbPress; When I log in bbPress, it seems normal, I can open bbPress’ CP, but not log-in in WordPress.Only when I log out WordPress, I can also log out bbPress.

    How to resolve?

    #68198
    Sam Bauers
    Participant

    The installation bug is now fixed in the release packages on the download page.

    https://bbpress.org/download/

    #68222
    Sam Bauers
    Participant

    The release on the download page is now updated, use that instead.

    https://bbpress.org/download/

    #68099
    Sam Bauers
    Participant
    #68229
    Sam Bauers
    Participant
Viewing 25 results - 55,376 through 55,400 (of 64,431 total)
Skip to toolbar