Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 48,826 through 48,850 (of 64,452 total)
  • Author
    Search Results
  • #78797
    SharpMouth
    Member

    Yes I meant bbPress 1.0.2 and not 1.0.3.

    I downloaded a fresh bbPress and unzipped it into the directory. Installed anew, still nothing.

    Regarding php.ini its…

    ; allow_call_time_pass_reference

    ; Default Value: On

    ; Development Value: Off

    ; Production Value: Off

    #31674
    johnnydoe
    Member

    i’m looking for a way to use the same output like in wp for the comments like:

    <?php comments_popup_link('no comments', 'one comment', ' % comments'); ?> instead of <?php forum_topics(); ?> <?php _e('post(s) or comment(s)'); ?> .

    so is there a php pendant in bbpress to count comments or posts the wordpress way?

    thank’s in advance

    #74261
    Mark
    Member

    I know it’s only been 16 hours… but this thread is falling off the front page, and I’m still trying to find an answer. Bumpity bump bump bump.

    #77950
    Mark
    Member

    I could be wrong about this, but you should only have to delete the tables from your database and remove the bb-config.php file (you could remove the .htaccess too, but as long as it’s owned by the web server, shouldn’t be a problem for bbpress to rewrite it).

    #78806
    <?php if ( !bb_current_user_can('manage_options') ) : ?>
    GOOOOOGLE :)
    <?php endif; ?>

    or

    <?php if ( !bb_current_user_can('manage_options') ) { ?>
    GOOOOOGLE :)
    <?php } ?>

    bbPress/WordPress have a boolean function for pretty much everything

    #77666
    Mark
    Member

    It’s actually a pretty simple hack, though I caution you that I worked it out in the last five minutes.

    First, modify the following three lines of your bbpress .htaccess;

    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ /bbpress/ [R=302,L,QSA]

    change ^forum/ to whatever you want the permalink to be, such as ^sub/ or ^purplepolkadots/, whatever works for you. Then open functions.bb-template.php and go to line 711 inside function get_forum_link() (line numbers may vary). It should look something like:

    $link = bb_get_uri('forum/' . $forum->$column . $page, null, $context);

    …and change ‘forum/’ to whatever you put in your .htaccess – this seemed to work for me immediately, however as I mentioned, I haven’t done any thorough testing of it.

    #77949
    tecsbrain
    Member

    I had the same problem and indeed it was because that first forum wasn’t created, and indeed because my server runs php4 by default (but I can override to php5 via .htaccess). Of course, I didn’t see this thread until after the fact.

    My question: what are the three (or more, or less) files I need to *remove* so I can start the setup over again under php5 and get things working? I assume bb-config.php is among them, but what are the others? What files make bbpress realize it is already installed? Should I just drop everything and start over?

    #31680
    gerikg
    Member

    kiaspeed2.com

    I just need to get “forgot your password” to not look like WP login.

    #78722
    gerikg
    Member

    pixelgirl #1, I wrote a similar question but a user told me; if it’s deep integration then there is no difference between bbpress and wp

    I had to just write <a href=" it out without generating it, just plain html. and put the class=”selected” in the BB header. Since the header is not use for anything other than Forum it will always be selected, if that makes sense.

    #2, sorry I know it’s <?php bb_topic_admin(); ?> but exactly where it pulls it from beats me.

    #31576
    hpguru
    Member

    http://img32.imageshack.us/img32/9774/bbpress.png

    Some search links doesn’t work… Check picture.

    #78405

    If you’re trying to get the forum list on the front page visible without anything else, just put something like:

    <?php if( !isset( $_GET[ 'forumsonly' ] ) ) : ?> after <?php if ( $forums ) : ?> in front-page.php, then before <?php if ( bb_forums() ) : ?> put <?php endif; // forumsonly ?>.

    That would allow you to put ?forumsonly in the URL to turn off the extra bits of the front page.

    The other option would be to copy index.php into a new file and change the template it loads to something else and take out the parts you don’t want in there, but if bbPress changes anything in index.php in a new version, you’d miss out on the changes.

    #67527

    In reply to: Plugin suggestions

    QuickD
    Member

    How about an updated smilies that works in the new bbpress, maybe incorporate the barfing icon that you can have in skype

    #78721
    pixelgirl
    Member

    Problem 1: Might be a problem with cookies. The members link on the navi appears as selected, although I’m not on the members page, but the forums, which is not selected at all. Here’s a part of my header.php of the bb theme template:

    <?php if ( function_exists( 'bp_blogs_install' ) ) { ?>
    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a></li>
    <?php } ?>

    <li<?php if ( bp_is_page( 'forums' ) ) {?> class="selected"<?php } ?>><a href="/bbpress/" title="Forums">Forums</a></li>'

    I used the default template and moved some code around.

    Problem 2: I think a pic says more than a 1000 words here: http://yfrog.com/56screen1opj I want to get rid of those “[]” and I have no idea in which file to do that.

    pxlgirl.

    #31678
    HeroicNate
    Member

    I’ve been trying to install the latest version of bbpress, but every time it installs it’s giving an error it can’t create the forum. It makes no sense. And then whenever I try to reinstall it says bbpress is already installed and it won’t do anything.

    #76647
    kirpiit
    Member

    As we’re here, one might want to browse this thread as well

    https://bbpress.org/forums/topic/kin-kakumei-gold-kakumei

    There’s a focus on the “look” of the button there, which might well be a good complement…

    #78796

    The “Depreciated” error is caused by PHP complaining that the code is using an old-fashioned way of passing variables. The 2nd error is complaining that PHP has just output text when it shouldn’t have done (since it just gave error text).

    The short-term fix would be to look in your PHP’s php.ini and check allow_call_time_pass_reference is set to On, but I don’t know why your xampp would’ve shipped with it Off since mine came On or why it’s calling things like that in bbPress. So yep, re-download. That’s not an error caused specifically by a trunk build though ;)

    #31676
    InvTrdr
    Member

    I downloaded the zip file and it unzipped itself into a folder. When I tried to upload the folder in my root (html) directory it will not do so as a folder but as individual files. Is that ok and what will be the URL if I upload it into the root (html) directory to access the forums as admin?

    Also I am using WP 2.8.4, so do I need to use the WP Integration Plugin with it?

    Thank you.

    #78759

    Ah the plugin is intended for WordPress installs only I’m afraid.

    A quick way of doing it:

    In your bbPress directory, make a file called javascript.php containing:

    <?php

    // Taken from index.php
    // Load everything up

    require('./bb-load.php');

    do_action( 'bb_index.php_pre_db' );

    $forums = bb_get_forums(); // Comment to hide forums
    if ( $topics = get_latest_topics( false, $page ) ) {
    bb_cache_last_posts( $topics );
    }

    bb_load_template( 'html_include.php' );

    ?>

    then in your template directory, make a file called html_include.php containing:

    <?php if ( $forums && $topics ) : ?>
    <table id="latest_discussions">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <!-- <th><?php _e('Voices'); ?></th> -->
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php foreach ( $topics as $topic ) : ?>
    <tr>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; // $topics loop ?>
    </table>
    <?php else : ?>
    No discussions.
    <?php endif; ?>

    and finally, in the page where you want to load the list, put something like:

    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script>$.get("javascript.php", { rand: Math.random() }, function(data){ document.getElementById('latest').innerHTML = data; } );</script>
    <div id="latest"></div>

    Old-fashioned way of loading the HTML in there and use a local copy of jQuery or whatever library you use, but that’s the general idea really.

    html_include.php is just a cut down version of front-page.php so you can edit it the same as any other template. javascript.php doesn’t load in stickies, but that’s just how I felt like doing things, it’s a cut down version of index.php so it’s easy enough to put back.

    Even more cut down version of html_include.php (so you really do just get a list):

    <?php if ( $forums && $topics ) : ?>
    <ul>
    <?php foreach ( $topics as $topic ) : ?>
    <li><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></li>
    <?php endforeach; // $topics loop ?>
    </ul>
    <?php else : ?>
    No discussions.
    <?php endif; ?>

    #78795

    bbPress 1.0.3? you mean trunk. right?

    I would suggest downloading a fresh copy, then replacing bbPress files. Try again and come back.

    #78758
    kirpiit
    Member

    Instead, that /rss/topics thing looks promising: if I only could find the source of that page, and throw away most of the code, just to keep the last 5 or so entries with no formatting, that would be more than enough.

    There is a rss.php file inside the bbpress folder, but there is too much code and I get lost into it.

    #78757
    kirpiit
    Member

    They could surely be worth inspecting, if I only really knew anything about coding.

    :-)

    So, you mean that if I place this piece of php code [1] into any web page I’ll show a list of entries? I tried but it doesn’t seem to work at all.

    So, the idea of just swapping wordpress variables with bbpress ones is not enough.

    No. I’m afraid it would be beyond my skills.

    —-

    [1] https://bbpress.org/plugins/topic/wordpress-latest-post/

    #31677
    SharpMouth
    Member

    Hi, I can’t find a solution to the following errors. It’s after a pure install of bbpress 1.0.3

    First is:

    http://img190.imageshack.us/my.php?image=error1a.png

    And After I click log-in its:

    http://img190.imageshack.us/my.php?image=error2ig.jpg

    Thanks.

    #78776

    What bbpress integration plugin are you using? You should be able to integrate 2.8 and 1.0 without any plugins installed in either, just set the bbPress up with the same settings as WordPress under Settings -> WordPress Integration in the bbPress admin.

    #78755

    There’s the latest topics RSS feed at /rss/topics and the WordPress Latest Post plugin: https://bbpress.org/plugins/topic/wordpress-latest-post/, either of those help?

    #78251
    _asg_
    Member

    I believe there is some problem with https://bbpress.org/plugins/topic/bb-lightbox2/ . The slider in snowski functions properly when I disable it. It was the only thing I did yesterday and the slider didn’t open right after disabling the plug in, so I first thought it wouldn’t be the reason. Would it be possible to investigate the issue or could you recommend a replacement for bb-lightbox2?

    Thank you very much for your fast reply and your effort and time

Viewing 25 results - 48,826 through 48,850 (of 64,452 total)
Skip to toolbar