bb-gian (@bb-gian)

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • @bb-gian

    Member

    @apam

    What I did to make images work with Allow Images plugin is to go in the plugin’s php file and comment out this chunk of code (at the bottom of the file):

    remove_filter( ‘pre_post’, ‘encode_bad’ );

    add_filter( ‘pre_post’, ‘allow_images_encode_bad’, 9 );

    add_filter( ‘pre_post’, ‘allow_images’, 52 );

    Like this:

    // remove_filter( ‘pre_post’, ‘encode_bad’ );

    // add_filter( ‘pre_post’, ‘allow_images_encode_bad’, 9 );

    // add_filter( ‘pre_post’, ‘allow_images’, 52 );

    That worked for me. Hope it does work for you as well.

    Bonus tip: with TinyMCE installed, if you try to “Edit” a post, you get <p>tags all over the text. To fix that go to this file:

    bb-includes/functions.bb-formatting.php

    Find this chunk of code:

    function bb_code_trick_reverse( $text ) {

    $text = preg_replace_callback(“!(

    |)(.*?)(
    |)!s”, ‘bb_decodeit’, $text);
    $text = str_replace(array(‘<p>’, ‘’), ‘’, $text);
    $text = str_replace(‘</p>’, “n”, $text);
    $text = str_replace(‘<coded_br />’, ‘’, $text);
    $text = str_replace(‘<coded_p>’, ‘<p>’, $text);
    $text = str_replace(‘</coded_p>’, ‘</p>’, $text);
    return $text;
    }

    And comment out this two lines:

    // $text = str_replace(array(‘<p>’, ‘
    ’), ‘’, $text);

    // $text = str_replace(‘</p>’, “n”, $text);

    You may now have a proper Editor.

    @bb-gian

    Member

    @technotip: apparently you got the same problem as me with images not working with TinyMCE and Allow Images installed. D you find a solution for it?

    If so, it’d be nice if you could share. I posted a specific topic, so in case you got a solution, you may want to post it there.

    Thanks a lot.

    @bb-gian

    Member

    Isn’t there anybody that was able to make images work with TinyMCE intagrated in bbPress? I can’t believe that such a basic funtion like images in posts is so coplicated with bbPress. I know it’s LIGHTWEIGHT, but basic feaures like that should not be considered luxuriuos options that are so hard to get and to make work.

    Can anybody tell if at least IS possible to have images to work with TinyMCE in bbPress?

    @bb-gian

    Member

    @ crashfirephoenix: I got the same problem. I deactivate some plugins and the problem was fixed.

    If you got the same plugins that I had installed, try deactivate them.

    They are: BBcode Buttons Toolbar, BBcode lite, Live Comment Preview.

    And if you got the TinyMCE as editor, you don’t need any of them, right?

    Let me know if it helped.

    @bb-gian

    Member

    crackpixels,

    In bbPress Comments are generally called Posts.

    I think the Posts column is set up by default.

    In the Latest Discussions table, look for this cell: <th><?php _e(‘Posts’); ?></th>, which is the title of the column, and this:<td class=”num”><?php topic_posts(); ?></td>, which is the content of the comuns, displaying the number of Posts (Comments).

    @bb-gian

    Member

    Ok, thanks for the update tomdebruin!

    Keep it up!

    @bb-gian

    Member

    Cool, Gautam! Thank you.

    I can’t go and test it right now, as I am too busy on a development, but will definitely install it tonight and let you know.

    Thanks!

    @bb-gian

    Member

    Fair enough _ck_, fair enough.

    Please, note that I was just asking for some quick advice, as I thought that previewing a post before actually posting it is a feature that everybody need and want, so I thought that a few plugins or solutions would out there, and maybe somebody could have answeared: You may want to check this one out!, and point it to the right direction as often happens here (or on any other forum).

    I spend more than a few minutes before asking questions. I am aware of the fact that bbPress is young and not all plugins are working in 1.0.1 as they are supposed to, but if I didn’t believe in the future of bbPress I would have just installed vBullettin or PHPbb. But I didn’t, and that it’s because of my belief in bbPress potential.

    Cheers.

    @bb-gian

    Member

    Thanks Ohna, tha worked!

    Thanks a lot!

    @bb-gian

    Member

    Ok, thanks CK, I’ll have a look.

    @bb-gian

    Member

    Oh, thanks, I just found it on my own and was about to post it here.

    But thanks a lot anyway, Ohna, I appreciate!

    ;-)

    In reply to: bbPress 1.0 released

    @bb-gian

    Member

    Thanks r-a-y, thanks Jason_JM…

    I am now convinced that I need to go straight to WP MU 2.7.1 instead of upgrading to regualr WP 2.8

    The thing is that I have a running site with bbPress alpha 6 integrated and didn’t figure out the best way to switch to a WP MU + BuddyPress + bbPress 1.0 configuration.

    Anyway, you’re right I should make another post for it, but where? WordPressforum? bbPress forum (here)? BuddyPress forum?

    ;-)

    The biggest trouble I am having now is to figure out how can I test all thenew configuration and set up leaving the existing site running and than switch to the new congfig, when I see that everything works properly. Copy the existing into a subfolder and with anew database? Mmmh…

    In reply to: bbPress 1.0 released

    @bb-gian

    Member

    Ok, yeah… The thing is that I am running a regular WP 2.7.1 and I wanted to upgrade to 2.8.

    Now, snce I know that in a couple of monthe I’ll need BuddyPress integration to my site, my question is: should I upgrade to regular 2.8 and than switch to WP MU 2.7.1 to integrate BuddyPress.

    Actually, I am confused by the fact that WP is now 2.8 while WP MU is 2.7.1, and don’t know if it’s a good idea to go from WP2.8 to WP MU 2.7.1.

    Otherwise, I post this here, because I got a bbPress forum up (alpha 6) with the current site, and wanted to upgrade to WP 2.8 and bbPress 1.0…

    I hope sometime soon WP, WP MU, bbPress, BuddyPress will install and work one in another in an easier way.

    In reply to: bbPress 1.0 released

    @bb-gian

    Member

    Considering that I need to upgrade my WP 2.7.1 site into WP MU in the near future, is it worth it to upgrade to WP 2.8 already?

    In reply to: bbPress 1.0 released

    @bb-gian

    Member

    Hi, I waited for so long for this version to be released!

    I got a running WP site and a bbBress integrated forumin it.

    WP is 2.7.1

    bbPress is 1.0-alpha-6

    In WP I use the bbPress Integration (1.0-rc-2) plugin

    Did the necessary integration routine (with AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, etc.)

    Now, I want to upgrade WP to 2.8 and bbPress to 1.0, what’s the best procedure?

    (Of course, I will backup files and database of both installation).

    Should I upgrade WP to 2.8 first or bbPress to 1.0? (About bbPress, don’t even seem to know HOW upgrading, since I guess there isn’t an upgrading button, right?).

    And what about integration? Now that those 2 version support seamlessly integration, should I delete the AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY in bb-admin.php?

    And should I also delete the bbPress Integration plugin, or is it still necessary?

    Well, I thought I’d ask before adventuring in the process.

    Thanks to anyone who will answer…

    ;-)

Viewing 15 replies - 1 through 15 (of 15 total)