Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 25,401 through 25,425 (of 26,836 total)
  • Author
    Search Results
  • #2092

    Topic: Punbb -> BBPress

    in forum Plugins
    annathea
    Member

    I took Bruno Torres’ converter script as a foundation, and re-wrote it to work with the Punbb database architecture. Also, added in a tiny bit of string clean up, since Punbb allows foreign characters in the username field, and BBPress does not.

    Here’s the code to look at:

    http://utopian.net/code/punbb-importer.phps

    And in a handy .zip for download:

    http://utopian.net/code/punbb-importer.zip

    A few important notes, since this is NOT at all pretty –

    1) It uses a lot of memory, so make sure PHP has access to at least 16mb in php.ini. If I had more than 20 minutes to devote to this, I’d look into that and try to improve it, but hey.

    2) If you’re importing a lot of data, you may need to split up the resultant sql file into smaller files less than 2mb in size. Add this to the list of things I would automate if I needed to use this script more than once.

    3) I am using BBPress integrated with WPMU and included lines for importing into the WordPress user tables. After I noted and fixed the problem converting Punbb’s lax, apostrophe-laden usernames to nice and sanitary WP-friendly ones, the script ran like a charm. Seriously, if I’d known it would be this easy I would have done this six months ago.

    4) The forum-parent to forum relationship imported correctly into the database, but displayed a little funny, so I manually re-ordered the forum items in the database and massaged the template a little bit to recognize forum parents a little bit differently, more PunBB style.

    5) A clean WPMU and BBPress install is ideal, but I already had ten existing WP users, half of whom had a user account in the PunBB data I was merging. For such a small data set, it was very easy to manually correct this by deleting the PunBB users and making sure that the imported topics and posts for those users pointed to their current id.

    Hopefully this will be a good start for those of us looking to move existing PunBB forums to BBPress & WordPress. Good luck, and let me know if you use it!

    #58998
    Trent Adams
    Member

    You will be able to find a link to the plugin off this page:

    http://www.silpstream.com/blog/

    It is really easy to install. Just read the readme.txt that is included for directions. If you plan on integrating WP and bbPress, it is best to have a running copy of WP up and going. Then just install your bbPRess in the same database as WP. WordPress will have the database prefix of wp_ and bbPress with bb_

    If you have WP running, just install bbPress in the same database.

    Trent

    #58997
    Inquirer
    Member

    Hi Trent:

    [You don’t have WP installed somewhere do you?]

    Actually, I installed WordPress blog 2.2 first. It installed on the first try.

    I have WordPress 2.2 installed in my public_html directory.

    I haven’t customized or begun blogging with WordPress blog 2.2 yet.

    I decided to use bbPress for my forum Discussion software, but the install failed.

    I want to set it up and implement it first.

    [There is a plugin that adds the newest phpMyAdmin as an admin page for WP. Lifesaver for me since I don’t like logging into my host admin and then phpMyAdmin and then working. I just login to WP and do what I want.]

    What is the plugin?

    Where is the plugin download?

    Is it tricky installing the phpMyAdmin plugin?

    If I go this route do I have to or should I integrate WordPress 2.2 with bbPress?

    Thanks.

    #2089

    Topic: Attchment Uploader

    in forum Plugins
    Jaithn
    Member

    Hey guys,

    wordpress already has an attchment uploader, doesn’t it? is there a chance to build a plug-in for bbpress using that code?

    grz,

    jaithn

    #58931
    fel64
    Member

    Prototype is being phased out in both wp and bb I think, in favour for jQuery (18 kB).

    I really like Ajax. o/ Where in bb is it being used where it’s not needed? If you’ve got a better implementation, make it and submit on trac (or just propose on trac).

    #57843
    _ck_
    Participant

    Apparently WordPress allows dots (periods) in usernames as well?! (it did at some point, not sure if it still does but I have users with nicknames like that)

    So I had to modify this plugin with a dot

    return preg_replace('/[^ ta-z0-9_.-]/i', '', str_replace("%20"," ",$raw));

    apparently php is very sensitive as to what order the pattern is in, that dot has to be right there in the sequence or it throws a shedload of errors.

    #58967
    _ck_
    Participant

    Fourth time is the charm? Ugh. Sorry!

    <?php
    /*
    Plugin Name: Admin Can Post Anything
    Plugin URI:
    Description: allows keymaster/administrators to post any content regardless of tag restrictions
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.04
    */

    function bb_admin_post_anything($text) {
    if (bb_current_user_can('administrate') ) {
    remove_filter('pre_post', 'encode_bad' );
    remove_filter('pre_post', 'bb_encode_bad' );
    remove_filter('pre_post', 'bb_filter_kses', 50);
    remove_filter('pre_post', 'addslashes', 55);
    remove_filter('pre_post', 'bb_autop', 60);
    $text=bb_autop(addslashes($text)); // I don't completely understand why this is necessary here but it is

    // the following two lines are untested code to allow compatibility with the allow images plugin
    // it's safe to remove it's filters because this only happens if admin are trying to post
    remove_filter( 'pre_post', 'allow_images_encode_bad', 9 );
    remove_filter( 'pre_post', 'allow_images', 52 );
    }
    return $text;
    }
    add_filter('pre_post', 'bb_admin_post_anything',8);
    ?>

    #58930
    _ck_
    Participant

    I’ve been studying to see if there’s anyway via plugins instead of hacking the code for both WP and BB to consolidate the common javascript routines they both use.

    Not only do they load half a dozen scripts at certain times, one of them, prototype.js is 50k in size. But they seem to be common for both.

    All we would need is choose a common script path.

    I guess it’s possible to

    remove_action(‘bb_head’, ‘bb_print_scripts’);

    and then plugin your own.

    But what kills me is bbPress doesn’t need ANY of those scripts except for thinks like deleting posts to forward correctly and the ajax actions.

    I really dislike ajax, especially when it’s used where it’s not needed.

    #58966
    _ck_
    Participant

    I posted v0.03 on my wp blog

    https://ckon.files.wordpress.com/2007/07/admin-can-post-anythingphp.doc

    (rename to *.php)

    Let me know if the allow images hack works?

    #2084
    _ck_
    Participant

    Been meaning to do this for awhile, didn’t realise how easy it was. This makes bbPress behave more like WordPress in that admin (keymasters/administrators) can post any content regardless of tag restrictions for the rest of members. This includes images, javascript, objects like flash video player, etc.

    <?php
    /*
    Plugin Name: Admin Post Anything
    Plugin URI:
    Description: allows keymaster/administrators to post any content regardless of tag restrictions
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.02
    */

    function bb_admin_post_anything($text) {
    if (bb_current_user_can('administrate') ) {
    remove_filter( 'pre_post', 'encode_bad' );
    remove_filter( 'pre_post', 'bb_encode_bad' );
    remove_filter('pre_post', 'bb_filter_kses', 50);
    $text=addslashes($text);
    $text=bb_autop($text);
    }
    return $text;
    }
    add_filter('pre_post', 'bb_admin_post_anything',9);
    ?>

    #58851
    retrospec
    Member

    Hello,

    The fault was found and suggested to me at wordpress forum and it is due to magic quotes runtime being turned on.

    I’d strongly recommend as an interim you modify your installation instructions to state clearly that magic quotes runtime should be turned off for the software to work.

    And for any future stable/svn release you should perform a check on magic quotes and code around this issue.

    Neil.

    #58919
    _ck_
    Participant

    I bet they mean like in wordpress where the cookie will be set for a year instead of a week?

    What’s the bbpress cookie default, I’ll have to go look at the code.

    I get around this problem by forcing the wp login from everywhere.

    There was another request for this feature here:

    https://bbpress.org/forums/topic/remember-me-option-at-login?replies=3

    #57841
    _ck_
    Participant

    I’ve yet to see forum software that makes it hard for members to use/post?

    My problem is not really spam but a bunch of pre-teens running around and posting massive, rapid, rabid chats with each other like it’s a chat room. bbPress completely lacks any management tools to deal with that. If you ban them, they can re-register with a different nickname in less than 30 seconds. If you ban their ip, they just use a randomizing proxy.

    On my wordpress side I have it completely programmed with stop-words, how fast each member can post and decent moderation tools. But the forum, which from the start needs those abilities the most, does not have them.

    _ck_
    Participant

    This is so simple I bet I am duplicating what someone else has already done. I am not sure why this isn’t in bbPress by default and it doesn’t even begin to address what I would consider basic moderation tools but it’s a start.

    Install and check under “content” submenu. Why the posts menu =deleted posts in bbpress’s default I have no clue.

    <?php
    /*
    Plugin Name: bbPress Recent Posts
    Plugin URI: http://bbpress.org/plugins/
    Description: shows most recent posts with (extremely limited) moderation options
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.01
    */

    function recent_posts_admin_page() {
    if ( !bb_current_user_can('browse_deleted') ) {die(__("Now how'd you get here? And what did you think you'd being doing?"));}
    global $bbdb, $bb_posts, $bb_post, $page;
    $bb_posts=get_latest_posts(0,$page);
    $total = bb_count_last_query();
    ?>
    <h2>Recent Posts</h2>
    <ol id="the-list">
    <? bb_admin_list_posts(); ?>
    </ol>
    <?php echo get_page_number_links( $page, $total );
    }

    function recent_posts_admin_menu() {
    global $bb_submenu;
    $bb_submenu['content.php'][] = array(__('Recent Posts'), 'use_keys', 'recent_posts_admin_page');
    }
    add_action( 'bb_admin_menu_generator', 'recent_posts_admin_menu' );

    #57838
    _ck_
    Participant

    Well akismet support can be added to virtually any forum or blog software so that’s not really a claim to fame. I tried installing the moderate posts plugin but it’s not working right and preventing all posts from being displayed.

    There’s also no way to tie any kind of “bad words” list into auto-moderation, and then how do you find any list of moderated posts? Sigh. All of this is already in wordpress so it’s really strange to me it’s not in bbpress by default.

    Well I’ll stop here and won’t tie up this particular topic with this further since you can’t move individual posts to other/new topics with bbpress (another missing moderation need).

    #57836
    _ck_
    Participant

    Ah thanks Trent, I thought I saw that list weeks ago but couldn’t find it again.

    I’m still not convinced bbpress’s “selling point” is speed or management as other forums seem just as lightweight and definitely more robust. But the biggest problem on any large forum is the sheer number of people doing searches at any given time.

    BBpress kinda cheats in this regard (keeping search overhead down) as it tries to enforce tags over searches (I’m not a big believer in user submitted tags when you have a lack of quality control over your members) and it’s search feature is so poor that no one will seriously use it right now (it cannot find whole words, limit by member, limit by forum, limit by subject, etc. etc. etc.)

    To me, I thought bbpress’s benefit was WP integration and I was familiar with the functions used after months of hacking wordpress. Wasn’t convinced the wordpress forum plugins were going to keep evolving or be flexible enough.

    I guess my problem is jumping in too soon, waited a year to add a forum to let projects like this mature but it’s still a bit early. By the winter the forum I setup should be as big as technorati – it definitely needs better management features.

    The advanced moderation and spam protection features of bbPress save the WP mod team tons of time.

    What advanced moderation features? Am I missing something? You have to actually go into each topic, go to each post and manually moderate. It kinda blows me away that there’s nowhere in the bbpress admin panel to see the last 50 posts like in wordpress. I’m coding the feature for myself right now…

    #57835
    Trent Adams
    Member

    The big ones:

    Examples

    As well, wordpress.com is a huge forum as well as the wordpress MU forum is getting there. Each of the wordpress forums have 2,000+ new registrations each day. Pretty large examples.

    Trent

    #57834
    _ck_
    Participant

    Wait, there are numerous people installing bbpress as their only website program without having WP installed? Why? It’s such an early, early beta and has virtually no administration features. Any mature forum program can blow it away right now. Are they masacists or just running really tiny, micro forums?

    Just out of curiosity, what are the largest known bbpress forums, other than the wordpress site and here? I suspect the forum I’ve integrated is probably in the top 10 since it has over 100 daily active users (with 800+ registered from the wordpress config).

    #58769

    In reply to: rebuilding topics DB

    _ck_
    Participant

    BBpress has no mass search/delete feature, unlike several wordpress plugins that are available. Even the upcoming search feature that was posting on the blog doesn’t seem to have an “action” ability, just search, which doesn’t make sense, so maybe there will be more to it.

    Trying searching and deleting 50+ posts by hand, not worth it.

    Recount will only update counts, not pointers.

    I am just about finished with a new function to do this however.

    Right now it only updates the last poster id and name, the trickiest part was figuring out the proper mysql expression to grab the last item while grouping by topic_id. Took an hour of research.

    But in fact my routine could be extended further to rebuild the entire topics database from scratch if need be since all the data is in the posts and it’s just kept in the topics table for speed.

    I just find it surprising there isn’t such a routine already and I am hoping I am not duplicating efforts already done.

    statusquo
    Member

    Hi all

    Can you people help me to make a simple link that directs users back to the homepage (wordpress blog). Or direct me to a plugin that does this?

    I would prefer a Navigation menu but I with bbpress in it’s early stages yet I don’t want to be coding each time a new version is released.

    #58929
    fel64
    Member

    An integration forum does sound pretty good.

    #2075
    _ck_
    Participant

    Just wanted to share that I’d had some success with integrating some simpler wordpress plugins into bbpress by creating some functions to mimic get_settings() and update_options()

    Since bbpress fortunately uses differently named functions for the same actions, I was able to make them point to the wordpress table instead of bbpress and fetch the proper options that the plugins were calling for.

    Not sure how useful this would be to anyone else and it’s not for novices since other little tweaks are usually necessary and admin menus are definitely not supported, but it’s nice to have the integration ability.

    ps. maybe we need a separate integration sub-forum

    #2074
    mjtaryan
    Member

    I followed the detailed steps in the documentation for installation and also those for integrating with wordpress. After changing the config-sample to config.php and uploading the contents of the unzipped bb folder to a subdirectory (‘forums”) in the main word press directory I attempted to load the install.php script. I use IE7 and I tried both opening the file using the option on the File menu and also calling the file through the http protocol. In both cases all I get is a blank page. I don’t get any error messages, not even from my server. Thus, I have no clue what to look for or where to look to solve the problem. I’d appreciate some help in the detective work. Thanks.

    Mike R.

    #49556
    statusquo
    Member

    I have recently installed bbpress and then created a new directory named my-plugins, where I have also placed bbpress integration.

    The problem is whilst I can SEE (thus activate bbpress integration plugin) I can NOT see display-name.php plugin under site management. I have definitely uploaded it.

    #57451

    Ok, solved that as well :D

    Now, for my next problem. What do I type so it knows when I’m browsing a forum page? If you look at my site I have highlighted tabs for my different sections. I need the forum tab to be highlighted while in the forum and for the start tab not to be! I use is_home for the start tab

    http://www.doublepeace.se/forum

    Please help!

Viewing 25 results - 25,401 through 25,425 (of 26,836 total)
Skip to toolbar