Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 24,876 through 24,900 (of 64,518 total)
  • Author
    Search Results
  • #135882

    In reply to: SMF Import to bbPress

    NeilJ
    Participant

    Hmmm something odd going on and I beginning to think it is to do with the number rows being processed for the replies. Running a test where I have set processing of 100 rows at a time it is showing in the status box as the following:

    Converting replies (1500 - 1599)

    Looking at the number of wp_posts where the post_type is equal to reply it shows 1652:

    mysql> select count(*) from wp_posts where post_type = "reply";
    +----------+
    | count(*) |
    +----------+
    |     1652 |
    +----------+
    1 row in set (0.00 sec)
    

    I was checking the processlist whilst the import was running and the inserts just completely stopped with no errors.

    #135881

    In reply to: SMF Import to bbPress

    NeilJ
    Participant

    Been giving this a try today and yeah there seems to be a problem with importing replies (which we know is not working yet). So to help out the OP I give an example of replies not importing. For instance, this is the total number of SMF messages on SMF database I wish to convert to BBPress:

    mysql> select count(*) from smf_messages;
    +----------+
    | count(*) |
    +----------+
    |     2663 |
    +----------+
    1 row in set (0.00 sec)

    Running the importer it seems to get stuck and stops importing:

    mysql> select count(*) from wp_posts where post_type = "reply";
    +----------+
    | count(*) |
    +----------+
    |     2252 |
    +----------+
    1 row in set (0.00 sec)

    I am doing this on my own machine and looking at the apache logs I don’t see any errors related to the import. I also checked if there was a query stuck so I checked the process list and it was empty.

    Going to debug the relevant scripts and see what I can find.

    #135880

    Probably best directed at @johnjamesjacoby, any suggestions welcome!

    Already read your post here (love the concept, makes sense) and have a question : http://bbpress.org/forums/topic/roles-and-capabilities-in-bbpress-2-2/

    I’m the developer of Events Manager and in this plugin you can assign custom capabilities to existing roles. Unfortunately your recent update regarding caps is preventing our plugin from adding custom caps to your roles.

    I’ve figured out a way around this, but this requires at least 1 extra database query each instance since I can’t load wp_user_roles via get_option due to your hooks.


    function em_bbp_get_caps_for_role( $caps, $role ){
    global $em_capabilities_array, $wpdb;
    //get the non-dynamic role from the wp_options table
    $roles = maybe_unserialize($wpdb->get_var("SELECT option_value FROM {$wpdb->options} WHERE option_name='wp_user_roles'"));
    //loop through the original role if it exists and add our em caps to the bp role
    if( !empty($roles[$role]) ){
    foreach($roles[$role]['capabilities'] as $cap_name => $has_cap ){
    if( array_key_exists($cap_name, $em_capabilities_array) ){
    $caps[$cap_name] = $has_cap;
    }
    }
    }
    return $caps;
    }
    add_filter('bbp_get_caps_for_role', 'em_bbp_get_caps_for_role', 10, 2);

    What it does is load our caps into your caps by referencing the original wp_user_roles array

    So, my questions are:

    • Is there a better way to do this, preferably avoiding extra DB queries?
    • Since you seem to be assigning a second role to the user, would an alternative solution be to prevent EM from assigning caps to bbpress user roles and let the primary/secondary role inherit the relevant caps?

    thanks for reading!

    #135879

    Topic: Private Messaging

    in forum Plugins
    ZachMatthews
    Participant

    I’ve read all the support threads. I know the current advice is to activate BuddyPress.

    That’s not a very clean solution. BuddyPress, with all due respect, is kind of a mess. I’ve worked and worked with it and I cannot get it to integrate with my theme (Pinboard–which incidentally wasn’t easy to integrate with BBPress either).

    I now have a fully capable copy of BBPress. I’ve got a very long set of CSS amendments in my theme page, but it works.

    If I activate BuddyPress I get major issues; initially it was breaking the whole site, then I built it a separate copy of the CSS file in a /css/ subdirectory and it at least ran. Theme integration was a disaster but I spent the time and got the profile pages looking ok. Then I tried to send a PM: fail. Fail on multiple levels, mostly in the PHP files — this is beyond theme integration. This is broken functionality.

    What we sorely need is a simple set of plug ins that do two things:

    (1) Allow private messaging. This really does not have to be complicated.

    (2) Allow moderators to customize profile fields.

    That’s it. No need to lay a very heavy second plugin over everything. (And BuddyPress takes up as much load time as BBPress itself per the Performance Profiler plug in).

    Are there any plug in developers out there with the knowledge to pull this off? Maybe we could pool some money and get someone started?

    Thanks,
    Zach

    #135872

    In reply to: SMF Import to bbPress

    koawinter
    Participant

    I have SMF version 1.1.16 and am very curious to see how far you get and if it could then work for my version. Forum has lots of users and posts and it would be a shame to lose it all when moving over. Would like to see if it is at all possible to get this working.

    #135871
    Benjamin
    Participant

    Hi,

    I’m currently trying to adjust the styles of my bbpress install and am running into a bit of difficulty. I’m running bbPress 2.3.2 and WP 3.6, using my own theme which is based on “Twenty Twelve.”

    I noticed some big spaces in the header on each page and went to reduce the space. It turns out there are a bunch of different paragraph tags in the header for each “topic” on my site, but these tags do not appear on example sites listed on bbpress.org.

    This first snippet is the code I’d like to have so I can style it (taken from http://www.dalluva.com/member-area/forums/topics/resources-where-to-get-your-sommelier-certification/):

    <li class=”bbp-header”>
    <div class=”bbp-reply-author”>Author</div><!– .bbp-reply-author –>
    <div class=”bbp-reply-content”>Posts</div><!– .bbp-reply-content –>
    <!– .bbp-header –>

    This is what my site is generating:

    <li class=”bbp-header”>
    <div class=”bbp-reply-author”>Author</div><p><!– .bbp-reply-author –></p>
    <div class=”bbp-reply-content”><p>Posts</p></div><p><!– .bbp-reply-content –></p>

    Why is my site putting paragraph tags around the comments, as well as the word “Posts”? Any help is greatly appreciated.

    Benjamin

    #135868
    Bencuri
    Participant

    I installed BBpress, the newest version to the newest version of WordPress. So I used this plugin version of BBpress. The forum installs, I can load the XML export file that is an export of a recent forum that I have to manage elsewhere, it is accepted by the new installation. From the dashboard, if I click view the Forum in tha forum management section, it takes me to the forum, everything is visible, cathegories, posts, member. But, the only problem is that the forum is not accessible on any link from my WordPress frontpage. Why is it so? How can I make it visible on the front page? I just want to make this new site to be a forum, so the forum frontpage should be ont he WordPress core site frontpage, but it is not there. Also if I type /forum after my domain name, the browser reports error, as if the forum doesn’t exsist. But from the dashboard, I can open the forum. What can be the problenm?

    Tux Kapono
    Participant
    #135866
    Seanerin72
    Participant

    Hello all, I am currently setting up a website for my classroom (school starts in a month). I would LOVE to set up a class forum for each class. If you look at my site (http://www.blackboarddreams.com) you will see that I have forum links under my sophomore and human condition classes. I can post with no problems! But a couple of issues beyond that:
    1. I see in “menus” there is a bbpress sidebar. I have no idea how to actually make that show up on my webpage (ideally homepage).
    2. Giving up on the above, I can post the bbpress login widget (currently have it in a footer). Yet, when I logout and simply visit my page, upon clicking the register link I am taken to the wordpress login page with the following in red: “User registration is currently not allowed.” How can I allow registration? Further, this registration is simply to allow my students to access the forum, correct?
    Thank you so much!

    #135865
    Stephen Edgar
    Keymaster

    Introduce Forum Importer template for use with importing from AEF (Advanced Electron Forum) v1.0.x (Tested on v1.0.9)

    http://codex.bbpress.org/import-forums/ & ​​http://codex.bbpress.org/import-forums/aef

    Working: Forums, Topics, Replies & Users
    Not Working Yet: User Passwords & Custom BBCode for Topic & Reply Content

    Attached to bbPress Trac Ticket #2384 is the 1st pass patch for AEF importing into bbPress.

    To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.

    I hope to get the remaining outstanding items done ASAP.
    (User passwords will be a little trickier and will take a bit more time)

    Any feedback and/or testing that you can provide will help me out tremendously.

    Cheers,

    Stephen 🙂

    #135864
    Stephen Edgar
    Keymaster

    Introduce Forum Importer template for use with importing from Phorum v5.2.x (Tested on v5.2.19)

    http://codex.bbpress.org/import-forums/ & ​​http://codex.bbpress.org/import-forums/fluxbb

    Working: Forums, Topics, Replies & Users
    Not Working Yet: User Passwords & Custom BBCode for Topic & Reply Content

    Attached to bbPress Trac Ticket #2383 is the 1st pass patch for FluxBB importing into bbPress.

    To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.

    I hope to get the remaining outstanding items done ASAP.
    (User passwords will be a little trickier and will take a bit more time)

    Any feedback and/or testing that you can provide will help me out tremendously.

    Cheers,

    Stephen 🙂

    caruso94
    Participant

    Hello everyone I’m new in the forum and I do not speak English well, I hope you understand what it means, I speak Italian. I wanted to ask if it was possible to hide the plugin bbPress forum categories to unregistered users. I also needed to know if it was possible to make sure that if a user opens a discussion in the category (example doctor) the email notification arrives only to the doctor. Another example if a user opens a discussion administrator can ‘to get the notification only to administrators (example admin@namesite.it)

    #135857
    jzn123
    Participant

    I am using this version, but it’s not working with bbPress v1.1

    Has someone a clue?

    <?php
    
    /*
    
    Plugin Name: Target Blank
    
    Description:  append target="_blank" to all links
    
    Plugin URI:  http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/
    
    Author:  _ck_
    
    Version: 0.04
    
    */
    
    //add target=_blank to post links
    
    function bb_target_blank( $text ) {
    
    $text = preg_replace('|<a (.+?)>|i', '<a $1 target="_blank">', $text);
    
    return $text;
    
    }
    
    add_filter('pre_post', 'bb_target_blank');
    
    ?>
    #135856

    In reply to: problem

    KorvinM
    Participant
    #135855
    KorvinM
    Participant

    I’m having the same problem as kiagua and Andy Smith
    WordPress 3.6
    bbPress 2.3.2

    exactly the same error message, referencing line 1199. Interestingly the warning shows up twice.

    Anyway, here’s the whole function which contains that line:`/**
    * Adds ability to include or exclude specific post_parent ID’s
    *
    * @since bbPress (r2996)
    *
    * @global DB $wpdb
    * @global WP $wp
    * @param string $where
    * @param WP_Query $object
    * @return string
    */
    function bbp_query_post_parent__in( $where, $object = ” ) {
    global $wpdb, $wp;

    // Noop if WP core supports this already
    if ( in_array( ‘post_parent__in’, $wp->private_query_vars ) )
    return $where;

    // Bail if no object passed
    if ( empty( $object ) )
    return $where;

    // Only 1 post_parent so return $where
    if ( is_numeric( $object->query_vars[‘post_parent’] ) )
    return $where;

    // Including specific post_parent’s
    if ( ! empty( $object->query_vars[‘post_parent__in’] ) ) {
    $ids = implode( ‘,’, array_map( ‘absint’, $object->query_vars[‘post_parent__in’] ) );
    $where .= ” AND $wpdb->posts.post_parent IN ($ids)”;

    // Excluding specific post_parent’s
    } elseif ( ! empty( $object->query_vars[‘post_parent__not_in’] ) ) {
    $ids = implode( ‘,’, array_map( ‘absint’, $object->query_vars[‘post_parent__not_in’] ) );
    $where .= ” AND $wpdb->posts.post_parent NOT IN ($ids)”;
    }

    // Return possibly modified $where
    return $where;
    }`

    line 1199:`
    if ( in_array( ‘post_parent__in’, $wp->private_query_vars ) )
    return $where;`

    This might sound like a wild hack in the dark but I thought I’d have a go at simply making the second parameter an array, like so:

    // Noop if WP core supports this already
    	if ( in_array( 'post_parent__in', array($wp->private_query_vars) ) )
    		return $where;

    and much to my surprise this seems to have solved the problem in as much as the error warning is gone and as far as I can tell so far, the two (private) fora I have set up seem to be running as normal.

    #135851
    Stephen Edgar
    Keymaster

    Introduce Forum Importer template for use with importing from Phorum v5.2.x (Tested on v5.2.19)

    http://codex.bbpress.org/import-forums/ & ​​http://codex.bbpress.org/import-forums/phorum

    Working: Categories, Forums, Topics, Replies & Users
    Not Working Yet: User Passwords & Custom BBCode for Topic & Reply Content

    Attached to bbPress Trac Ticket #2382 is the 1st pass patch for Phorum importing into bbPress.

    To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.

    I hope to get the remaining outstanding items done ASAP.
    (User passwords will be a little trickier and will take a bit more time)

    Any feedback and/or testing that you can provide will help me out tremendously.

    Cheers,

    Stephen 🙂

    stevie77n
    Participant

    Hi,

    I was hoping that someone could tell me if there is there a way to display a list of child forums for specific parent using a shortcode?

    For example, I have a number of private member forums that visitors need to login to view. I want to have a page that they visit to logon with the list of private forums below.

    http://www.blueclouditsolutions.com/asap/
    Wordpress version: 3.6
    bbpress version: 2.3.2

    Thanks for your help.

    Steve.

    #135846
    Tanya
    Participant

    I would like some help on how to improve the pagination for my bbPress forum. At the moment, on the latest posts on my forum, it goes:

    1 2 …. 1963 ->

    Which is not entirely useful if you want to skip to page 3 straight away. Really, the numbers are not very useful since you can only skip one ahead.

    Latest

    #135845
    johni33
    Participant

    No, it’s still doing it, no response from bbpress.

    #135843
    Ushuri
    Participant

    Hi sorry for my bad english

    I have a problem, i have reset my bbpress settings in –>tool –> Forum
    Now i can’t access my setting in plugin –>bbpress it say haven’t permissions to access.

    How can i got my permission? My forum is ok but can’t configure.
    –>tool –> Forum doesn’t appears!
    Thanks for help

    Bonjour

    J’ai un problème, j’ai remis a zéro mes réglages de bbpress dans outils –> Forum
    Maintenant je ne peux plus accéder a mes réglages dans extensions il me dis: Vous n’avez pas les droits suffisants pour accéder à cette page.

    Comment puis-je récupérer mes permissions? Je n’ai plus acces aux outils –> forum. Ils n’existent plus.

    #135841
    PureLoneWolf
    Participant

    Hi there

    I am building a gaming community page and would like to setup an application form for people to apply to join.

    However, to make things easier, it would be better if it was usable as a guest and, when submitted, generated a post in a private forum so that members could comment on it.

    I have seen something like this being used with Xenforo, but I really want the features of bbpress and buddypress.

    Does this sound like something that could be done?

    abyrd58
    Participant

    I’m working with bbpress 2.3.2 on a site at http://www.dmtutor.com. For some odd reason, my font changed on the forum index page from an arial font like on all the other pages in bbpress to a new times roman. I’ve not edited any files that would affect such a change. What file controls the font on that page?

    Thanks,
    Alan

    #135836
    Stephen Edgar
    Keymaster

    I downloaded a trial of Social Engine and I have now set it up to test with…

    I am using Social Engine v4.6.0, what version do you have/using???

    I may have missed it but I was unable to select a table prefix for the MySQL database during install so all the Social Engine v4.6.0 database tables all have a common prefix of ‘engine4_’ and here is a pic of the MySQL DB structure for the forum tables.

    With your importer I noticed that with your ‘from_tablename’ for each section you are using multiple table names in each section. eg. In the ‘forum section’ you have used ‘se_forums’, ‘se_forumtopics’ & ‘forum’ for ‘from_tablename’, you can really only use a single database table for each section unless you have a valid set of ‘join_tablename’, ‘join_type’ & ‘join_expression’.

    In my updated import script that I will link to below I used ‘forum_forums’ for each field in the ‘forum section’ and on the bbPress import screen I used a table prefix of ‘engine4’ thus the query during import will use all the forum info from the ‘engine4_forum_forums’ database table as per my image above.

    I started with the copy of your import script you linked to which was a great help in getting up and running quickly and I have updated it with as many fields as I can find and things ‘appear’ to be working quite well at my end though some more testing is still needed.

    Anyway, you can take a look at the update I did which also brings some code tweaks and formatting inline with the other bbPress Importers.

    As long as you are using Social Engine v4.6.0 I think this should help a great deal, if your using an old v3 version we will have to see if I can get my hands on a copy of that.

    One more thing… What about users? Do you need tom convert/import them???
    (I will end up adding the user import to this for when others need to)

    Without further ado…. Check it out here:
    https://gist.github.com/ntwb/cefe6fe20b1a652a50fc
    (It still needs a few more tweaks and checks, but it is close)

    #135833
    Developer ICAN
    Participant

    Hi,

    I’m getting this same error ..

    Wordpress 3.6
    BBPress 2.4

    Warning ..

    Warning: in_array() expects parameter 2 to be array, null given in [PATH]/wp-content\plugins\bbpress\includes\common\functions.php on line 1205

    Anyone able to help or suggest a fix?

    Thanks

    #135831

    In reply to: SMF Import to bbPress

    ricov4
    Participant

    Thanks for putting so much work into this, Stephen!

    I’m really hoping to move everything from SMF to bbPress soon with the launch of a new WordPress site. Let me know how I can help, whether it be testing or anything else. Eagerly awaiting for the rest of the forum aspects to work in your import 🙂

    With lots of appreciation,
    Ryan

Viewing 25 results - 24,876 through 24,900 (of 64,518 total)
Skip to toolbar