Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,901 through 59,925 (of 64,515 total)
  • Author
    Search Results
  • #60529
    ganzua
    Member

    Well, more or less this is working but now bbpress goes to the last “else” statement and I don’t know why;

    <?php if ( is_page() )

    { ?>

    <!– one ad block –>

    <?php } elseif ( is_single() && !is_bbpress() )

    { ?>

    <!– two ad blocks –>

    <?php } else

    { ?>

    <!– no ads –>

    <?php } ?>

    I haven’t try your third option yet because I didn’t understand quite enough.

    #60528
    ganzua
    Member

    Thanks again fel64,

    I tried the second one because it seemed the easiest to me :) and I think it is working ok.

    This -> ‘ && !is_bbpress() ‘ means “exclude bbpress”, doesn’t it?

    The first one, ” elseif “, is quite interesting -> in my wp custom theme, I turned index.php into a cms which displays what’s new in the whole web, and I created a static page called “blog” to display the “blog” itself.

    Well, with this configuration, whenever you make a is_home statement , the function points to the static page I created and called “blog” and I can’t find the way to make the function to point to my custom index.php main page. Perhaps because the static page I called “blog” has the loop?

    #60527
    fel64
    Member

    Actually the function works just fine, you’re just expecting it to work differently. Try using different flow control or rewriting your logic.

    if( blah_is_true() ) {

    } elseif( foo_is_true() ) {

    } elseif( third_thing_is_true() ) {

    } else {
    // default
    }

    The elseifs mean that if a previous if statement was true, none of the successive ones will be tried. That way, if it is bb, it won’t even check if it’s single or a page.

    Alternatively,

    if( ( is_single() || is_page() ) && !is_bbpress() ) {

    }

    will work just fine.

    If you’ve integrated bb into wp that way, of course some of the WP template tags will work that way. If you wanted everything else to return false when you loaded bb, you’d have to do this:

    function adjust_flags_to_bb() {
    global $wp_query;
    $wp_query->init_query_flags();
    }
    add_action('bb_init', 'adjust_flags_to_bb', 999);
    //not sure if that's the right action, but meh

    but that’s really quite unnecessary.

    #60526
    ganzua
    Member

    “What’s the actual problem? How are you using it, what do you expect it to do, what exactly is it doing?”

    ->

    In my wp-bb integration, bbpress is integrated in wordpress and the forum uses the wordpress sidebar. I want to insert advertising blocks in the free space that I have in the bottom of the sidebar.

    I’m trying to use wp conditional tags to display different ad blocks because in some pages I have space enough for one block, and in other pages I have space for two or three blocks.

    In wp single pages I can display at least two 120×600 blocks so I’m using is_single() but I realized that these blocks are appearing in the bbpress forum too! and I just have no space enough for them so I want to change them for a 125×125 block when the forum is displayed or perhaps I could remove all ads when bbpress displayed.

    So “How are you using it” -> after copy/pasting your function in my theme functions file, I inserted this code in my sidebar;

    <?php if (is_bbpress()

    || is_archive()

    ) { ?>

    <!– 125×125 block –>

    <?php } ?>

    <?php if (is_single()

    || is_page()

    ) { ?>

    <!– 160×600 block –>

    <?php } ?>

    “what do you expect it to do” -> showing different ads blocks in the sidebar when bbpress displayed

    “what exactly is it doing” -> is showing the blocks I set for is_single ()

    kjted
    Member

    Yeah that’s right. It was long process. I worked on the backend while my colleague did all the Flash wizardry. I’ll do a full writeup as soon as I have permission :)

    #60525
    fel64
    Member

    What’s the actual problem? How are you using it, what do you expect it to do, what exactly is it doing?

    fel64
    Member

    You’re the one that asked about BB_Query a while back to achieve this, right? :) Looks good, nice concept. My only problem is that it feels unresponsive when you select a star.

    What all did you have to do to achieve this? If you could write up and post here or somewhere your general method, problems maybe and so on, that’d be great for other people that might want to do this.

    #60455

    In reply to: Advanced Search

    fel64
    Member

    It’s pre-1.0. What did you expect?

    > so you can not search by poster name, or a date range?

    Yes, you can. That is only the default.

    > Your search page may need a template change: https://trac.bbpress.org/ticket/694#comment:1

    #60524
    ganzua
    Member

    Hey fel64

    I tried and it seems to work until you make an is_single() statement because then, wordpress takes bbpress subpages; topics, profiles… as if they were wp single entries.

    Is it possible to catch the whole bbpress installation with your function?

    kjted
    Member

    We’ve built a flash site which uses bbPress as it’s backend for serving content. I think this might be the first time bbPress has been used in this way, as far as I know, and we’re pretty excited about it. Just goes to show how flexible bbPress is.

    http://www.foronemoreday.co.uk/

    The Create Star section is the best bit.

    Would love to read your thoughts on this.

    #60542

    In reply to: Error while posting

    jazia
    Member

    that’s the problem, the error appears while posting something with an ‘ character! :-)

    the error is:

    bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘fgdfh

    ‘,’2007-09-06 13:50:29’, ‘217.220.0.158’, ‘0’, 3)’ at line 4]

    INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (‘1′, ’21’, ‘1’, ‘

    hgjh ‘fgdfh

    ‘,’2007-09-06 13:50:29’, ‘217.220.0.158’, ‘0’, 3)

    Warning: Cannot modify header information – headers already sent by (output started at /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/db-mysqli.php:158) in /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/pluggable.php on line 168

    #60546
    chrishajer
    Participant

    I was able to log in, post, and log out. I did not have any trouble.

    That bb_online table is created by the Simple Onlinelist, IIRC, and that error happens one time, then goes away, since the table is created the first time you load the page with the call to the function. So, it probably fixed itself.

    Related?

    https://bbpress.org/plugins/topic/24?replies=19#post-264

    #2366
    jazia
    Member

    every time i try to log off of my forum i get this error:

    bbPress database error: [Table ‘disinformatiforum-660162.bb_online’ doesn’t exist]

    SELECT * FROM bb_online WHERE user_id = 2 LIMIT 1

    Warning: Cannot modify header information – headers already sent by (output started at /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/db-mysqli.php:158) in /misc/15/359/013/341/user/web/disinformati.org/wp-forum/bb-includes/pluggable.php on line 168

    what’s the problem? help!

    #56555

    In reply to: Strut Your bbPress!

    Roland Rust
    Member

    Hi there!

    I’ve started a new site hosting a couple of WordPress plugins, I did for my customers and wanted to publish: http://wordpress.designpraxis.at/

    The newest release is BackUpWordPress (http://wordpress.designpraxis.at/plugins/backupwordpress/), a must for all bloggers running WordPress. This Plugin is a Backup and Recovery Suite for WordPress, which was released 4 days ago and downloaded 447 times until now. I am not able to handle the support request via comments on the blog anymore so yesterday I decided to start http://wpforum.designpraxis.at/

    …powered by bbPress of course!

    #55930

    In reply to: Show off your Forum !!

    benbeltran
    Member

    http://temporadadepatos.net/foros/

    I use a lot of Plugins, some I’ve edited myself. I haven’t checked for new versions in some time, so I may be out of date :p.

    * Upload Avatar Plugin

    * Allow Images

    * Signature Plugin (edited to allow images)

    * Quote (edited to display who you’re quoting)

    * BB Emoticons (with tango emoticons)

    * Fix Auto-Close

    * No ?replies

    * Front Page Topics

    * BBCode for BBPress (We encourage use of regular markup, but we have this option available to our users).

    * Comment Quicktags

    * Show Post Count

    * Fix BBpress

    * Online List

    * Page Links

    * Indicate New Posts

    * BBPress Private Messaging

    * TDP Badges (A custom plugin I made to give out badges to our users depending on their taste in games and their accomplishments).

    I hacked some code to allow a color changing tag-cloud. I guess that’s it.

    #56918
    M
    Member

    I lost my marbles somewhere along the way. :D I did make one change to the forums – added smilies. Every bozo I’ve got now was using smilies.

    #60453

    In reply to: Advanced Search

    rashantha
    Member

    Why are so many basic functions of forums left out of bbpress?

    Will there be more development on this product?

    #2364
    verygood
    Member

    Hi there,

    I need to customise new process that involves the following:

    User’s management and permissions synch between WordPress blogs and BBpress

    New threads management and permissions synch between WordPress blogs and BBpress

    And all this get complicated when implemented on multiple blogs invoirment.

    Can anyone help when to search?

    p.s

    I’ve this one:

    http://trac.bbpress.org/ticket/438

    but the documentation is to poor…

    – do you know somebody to program my needs from scratch (paid by paypal / CC)

    Thanks

    #60479
    chrishajer
    Participant

    For future reference, the database password was wrong in the config.php.

    #60478

    Chris was very helpful in fixing the problems. This topic is RESOLVED.

    #60495

    In reply to: Unread Topics

    Sam Bauers
    Participant

    You should consider just tracking what the last time was each user viewed a topic. That will reduce the number of entries in your table to a maximum of one entry for each user on each topic, rather than one entry for each user on each post.

    As for the delay in getting plugin “approval”, you aren’t alone. I’ve waited a while at times and had to poke for it to get done, approval is less about the question of “is your code good enough” and more about weeding out spam/bozos etc. Also, from what I understand mdawaffe is pretty much the only developer doing significant work on bbPress at Automattic and he has other responsibilities there as well (including maintaining the WordPress plugin browser).

    The community here is growing, but small, and the few people who are regular contributors to this forum are really quite helpful, enthusiastic and generally pretty knowledgeable. I hope you feel more welcome as you get to know us and become more involved.

    #60511
    Jaithn
    Member

    actually i have found some more problems…

    after integration. my feeds don’t work anymore…

    the bbpress feed shows the following error:

    XML-Verarbeitungsfehler: XML-Deklaration nicht am Beginn von externer Entität

    Adresse: http://zuhause-weltweit.de/forum/rss.php

    Zeile Nr. 1, Spalte 3: <?xml version=”1.0″?><!– generator=”bbPress” –>

    –^

    and the wordpress feed:

    XML-Verarbeitungsfehler: XML-Deklaration nicht am Beginn von externer Entität

    Adresse: http://zuhause-weltweit.de/feed

    Zeile Nr. 1, Spalte 3: <?xml version=”1.0″ encoding=”UTF-8″?>

    –^

    sorry, its in german. but both only say, that the declaration is not at the beginning…

    how does that come? any ideas?

    thx,

    jaithn

    #56917
    M
    Member

    Funny, I just ran into this problem again within the past couple of days. Totally out of the blue, without any changes to the forum, a handful of my members posts are being marked as spam, and half of those users are marked as bozo. Because I have nothing to go on, I can’t offer up any useful info for a solution at this point.

    It’s not a huge problem since I can just check the spam every couple of days and send the posts to the forum. The last bozo solution worked so well that I don’t even check it anymore, but someone emailed me today to alert me and I found a stack of posts from the last 2-4 days marked as spam.

    #60523
    fel64
    Member

    Might have asked what you wanted straight away. :/ So open your theme’s functions.php and add this:

    function is_bbpress() {
    global $bb;
    return $bb ? true : false;
    }

    Off the top of my head, but should work anyway. Try it.

    #60522
    ganzua
    Member

    Hey fel64!

    Thanks for the answer. Do you know if is it possible to copy these functions in your wordpress theme functions file?

    In fact I only need to define one conditional tag; is_bbpress(), so I can display different advertising blocks in the wordpress sidebar when loading bbpress.

Viewing 25 results - 59,901 through 59,925 (of 64,515 total)
Skip to toolbar