Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 4,701 through 4,725 (of 11,589 total)
  • Author
    Search Results
  • #146587

    Topic: Text Justify

    in forum Installation
    Inv_Trdr
    Participant

    I am using the latest version of WP and bbPress. While writing in a topic how can you add colors to text and align the text? I did not see them while editing.
    Thank you.

    #146574
    Robin W
    Moderator

    You would need to cut some code, but basically you would be looking at

    using some code from the widget to find the latest topic

    then maybe using the shotcodes

    [bbp-single-topic id=$topic_id] – Display a single topic. eg. [bbp-single-topic id=4096]

    and if it has a reply

    [bbp-single-reply id=$reply_id] – Display a single reply eg. [bbp-single-reply id=32768]

    using the do-shortcode function https://codex.wordpress.org/Function_Reference/do_shortcode

    If you do this, please post the result here for the benefit of others !

    #146561
    Stephen Edgar
    Keymaster

    That is a little disappointing šŸ™

    If you look at the HybridCore 1.5.5 included with the Spine 2.0 theme there is full support for bbPress built into HybridCore and for whatever reason Spine is not taking advantage of that functionality.

    I just downloaded Spine and tweaked the index.php and bbpress.php files so bbPress will work with your theme, I haven’t the time to fully test if ‘everything’ works but it looks like it does. Both files go in and replace any files of the same name in the root of your theme folder e.g. /wp-content/themes/spine.

    https://gist.github.com/ntwb/1d884eb7bb889906285d

    You could also create a WordPress child theme to put them in which would be a little cleaner and save any pain during theme upgrades. I would expect themehybrid.com to have some tutorials on this so you can get some value for your $29 investment šŸ˜‰

    (Ignore some of the oddities you see in these pics,

    #146554
    Stephen Edgar
    Keymaster

    ‘It should work’ on a clean installation, I use a translation for approx half the sites I develop bbPress and it works perfectly. I just tested Slovak and is working as expected šŸ™‚

    I found the issue… You need to name the files bbpress-sk_SK.mo and bbpress-sk_SK.po using the _ underscore character not the - hyphen.

    I have never tried the ‘Polylang’ plugin and I had a quick look in their support forums but couldn’t find any information if they support bbPress or not, maybe posting a question in their support forums may get an answer from others who have tried and had success or not, at least that way you can find out if Polylang is compatible with bbPress.

    #146553
    inventor1
    Participant

    Just a quick update, spine is based on the hybrid core, I’ve tested 3 themes here: http://themehybrid.com/themes and they have the same issue šŸ™

    Yukon Cornelius
    Participant

    I spent so long trawling google for an answer to this question, so i am sharing what i came up with. It might not be beautiful code (i patched it together from a number of sources), but it works for me.

    Basically, i have a list of forums on my forum home page. I just wanted to show the latest post within each forum as a teaser below the forum description – not just the title, but the excerpt, too. I can’t believe there’s nothing out there explaining how to do this. It seems like a pretty obvious format for the forum index.

    The following snippet will output the latest reply, with post title and post link below the forum description. If there are no replies, it will output the latest topic instead.

    function jag_add_last_reply() { { 
     $jag_last_reply_id = bbp_get_forum_last_reply_id();
     $jag_last_topic_id = bbp_get_forum_last_topic_id();
    $new_args = array(
        'post_type'=> 'reply',
        'p' => $jag_last_reply_id
    );
    $other_args = array(
        'post_type'=> 'topic',
        'p' => $jag_last_topic_id
    );
     
    $nest_query = new WP_Query( $new_args );
    $another_nest_query = new WP_Query( $other_args );
     
       if ( $nest_query->have_posts() ) : while ( $nest_query->have_posts() ) : $nest_query->the_post();
         $this_post_id=$post->ID;
         $this_post_title= get_the_title();
         $this_post_content= get_the_excerpt();
         $this_post_permalink= get_permalink(); ?>   
                                 
         <a href="<?php echo $this_post_permalink; ?>"><h1><?php echo $this_post_title; ?></h1></a>
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile;
    elseif ( $another_nest_query->have_posts() ) : while ( $another_nest_query->have_posts() ) : $another_nest_query->the_post();
         $this_post_id=$post->ID;
         $this_post_title= get_the_title();
         $this_post_content= get_the_content();
         $this_post_permalink= get_permalink(); ?>   
                                 
         <a href="<?php echo $this_post_permalink; ?>"><h1><?php echo $this_post_title; ?></h1></a>
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile; 
       endif; 
        }} 
    // Hook into action
    add_action('bbp_theme_after_forum_description','jag_add_last_reply');

    Just put this in your theme’s functions.php and it should do the trick. Haven’t figured out how to spit out multiple posts and replies for each forum yet, but this is all i needed. Good luck.

    #146526

    In reply to: Freshness Date Format

    Robin W
    Moderator

    @morgensonne

    Interesting – I’ve just deleted and re-downloaded the plugin from wordpress and it activated with no problems.

    However I would be interested if your test server is a ‘local’ one using wamp or mamp? that might be the issue.

    Please come back either way, and I’ll try and resolve for you.

    #146517
    OwenR
    Participant

    Hi,

    I recently installed bbpress onto a newly created wordpress website, I’ve read through loads of different forums on 404 errors but can’t seem to solve this:

    When I click on any forum I have created the next page is a 404 page not found error.

    Any suggestions would be greatly appreciated.

    The error can be seen here:

    mk2.club/forums/

    just click on the test forum

    Thanks

    #146491
    Stephen Edgar
    Keymaster

    Firstly I only included the fields Robin had supplied, I do not have a copy of Snitz to test either. So I commented out but didn’t remove any of the code so that it would stand out and you could update any of these as needed which you have done.

    The forum ‘counts’ I think you may have incorrect in your post above:
    * _bbp_topic_count – The number of topics that are ‘publicly’ visible
    * _bbp_reply_count – The number of replies that are ‘publicly’ visible
    * _bbp_total_topic_count – The total number of topics (includes topics that are are unapproved or hidden)
    * _bbp_total_reply_count – The total number of replies (includes replies that are are unapproved or hidden)

    A clearer explanation of each of these would be helpful and also are each of these fields in the FORUM_FORUM database table:
    * F_TOPICS
    * F_COUNT
    * T_COUNT
    * P_COUNT

    The topic ‘counts’ is the same:
    * _bbp_reply_count – The number of replies that are ‘publicly’ visible
    * _bbp_total_reply_count – The total number of replies (includes replies that are are unapproved or hidden)

    A clearer explanation of T_REPLIES would be helpful and is this fields in the FORUM_TOPICS database table?

    Whilst you answer those I’ll add Topic Author IP, Stickies and Member Status šŸ™‚

    #146474

    In reply to: Freshness Date Format

    Morgensonne
    Participant

    Robin, hi again šŸ™‚

    I’m still working on my new bbPress and now I was looking for a solution to change the ‘freshness’ that bbPress displays to the date of topic. I’m excited because I found your posting here and read that there is a plugin now which does that. How great!!

    I’ve installed it right now, but still I have a problem to activate it.
    It is the message:

    Plugin can not be activated because fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in …..myTestWP/wp-content/plugins/bbp-last-post/includes/lp-widgets.php on line 224

    Do you have an idea, Robin, why it can not be activated at me?
    Link unfortunately I have not currently, I’m still on my test server.
    Would be glad to hear from you.
    Thank you!

    Morgensonne

    #146473
    Stephen Edgar
    Keymaster

    And just because I could and it was quick and easy, here is a copy of the Snitz.php based on the latest Example.php with Robin’s fields mappings.

    https://gist.github.com/ntwb/2f057071dd05f9758570

    You can also compare the revisions (Seeing the changes made from the source Example.php)
    https://gist.github.com/ntwb/2f057071dd05f9758570/revisions

    #146471
    Stephen Edgar
    Keymaster

    One more thing, when making a custom importer always base it of the Example.php importer, I keep that updated with examples and any other changes I make for bbPress.

    The latest (updated 3 days ago) is here:
    https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.php

    As Robin points out, you just delete/remove the sections or fields that are not applicable to your import e.g. ‘tags’ or if your database doesn’t include the ‘counts’ for topics in forums then remove that part in the forum section.

    Robkk
    Moderator

    on my site i have yoast breadcrumbs

    and everything is looking fine setting it up

    until i see that when im on any topic, it shows this

    https://drive.google.com/file/d/0B_Ue9ryY5cmYRE8xQl9QUVhvUm8/edit?usp=sharing

    Shouldnt it be

    Home | topics | test topic 3

    or

    Home | test forum | topics | test topic 3

    #146448
    gianjj
    Participant

    This script launched in QUERY ANALYZER of MsSQL server will generate a list of SQL to import in MySQL ; remember to select “Result in a File”

    Alla this script will not take effect on your database, but will help you to pre-generate all SQL to move your data….
    TEST IT BEFORE MOVE ALL DATA YOU ARE THE ONLY ONE RESPONSABLE OF YOURS WORK šŸ˜›

    
    
    --------------------------------
    --- Will Generate a List of INSERT INTO query
    --- Formatted for MySQL table: wp_users
    --- JUST ONE MEMEBR
    --------------------------------
    Select TOP 1
    'INSERT INTO ''wp_users''(''ID'', ''user_login'', ''user_pass'', ''user_nickname'', ''user_email'', 
    ''user_url'', ''user_registred'', ''user_activation_key'', ''user_status'', ''display_name'') 
     VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', '''+M_NAME+''', ''REMEMBER_TO_REST_ALL_PASSWORD'', '''+M_NAME+''','''+M_EMAIL+'''
     , '''+M_HOMEPAGE+''', '''+M_NAME+''', '''+
     	substring(M_DATE, 1,4)+  '-' + substring(M_DATE, 5,2)+ '-'+
    	substring(M_DATE, 7,2)+  ' ' + substring(M_DATE, 9,2)+ ':'+ 
    	substring(M_DATE, 11,2)+ ':' + substring(M_DATE, 13,2)
     +''','''',''0'','''+M_NAME+'''
     );'
    from dbo.FORUM_MEMBERS order by MEMBER_ID asc
    
    --------------------------------
    --- Will Generate a List of INSERT INTO query
    --- Formatted for MySQL table: wp_usermeta
    --- JUST ONE MEMEBR
    --------------------------------
    Select TOP 1
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''first_name'', '''+M_FIRSTNAME+''');',
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''last_name'', '''+M_LASTNAME+''');', 
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''nickname'','''+M_NAME+''');',
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''description'', '''');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''rich_editing'', ''true'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''comment_shortcuts'', ''false'');', 
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''admin_color'', ''fresh'' );', 
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''use_ssl'', ''0'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''show_admin_bar_front'', ''true'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''wp_capabilities'', ''a:1:{s:10:"subscriber";b:1;}'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''wp_user_level'', ''0'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''dismissed_wp_pointers'', ''wp330_toolbar,wp330_saving_widgets,wp340_choose_image_from_library,wp340_customize_current_theme_link,wp350_media,wp360_revisions,wp360_locks'');',  
    'INSERT INTO ''wp_usermeta''(''user_id'', ''meta_key'', ''meta_value'') VALUES ('+CAST(MEMBER_ID as nvarchar(10))+', ''default_password_nag'', ''1'');'  
    from dbo.FORUM_MEMBERS order by MEMBER_ID asc
    
    robgranholm
    Participant

    Hi,

    It’s easiest to show a visual of what’s going on, but when you click on “Forums” in the breadcrumb, you get a page showing a search of some sort, with no data…this is a fresh forum with some dummy threads, but not much else. Is this supposed to be what’s showing up? How do I fix or override.

    Also, there’s no spacing between the words in the breadcrumb, how do I make this better looking? I’ve already tried using a plugin to change the word “Home” to a – because I don’t want a home link, but the plugin didn’t help in terms of spacing.

    Using the latest version of BBpress and WP.

    Website: http://dev.mindbodycoachuniversity.com

    Picture of weird /forums page: http://take.ms/i5u3d
    Picture of breadcrumb: http://take.ms/6dov0

    #146389
    Stephen Edgar
    Keymaster

    Sorry my dump wasn’t successful in helping you out here…

    Your dump was fine, it was just for quicker for me to install the plugin and have the examples included, if I wasn’t so tired the other night I would have done that in the first place and not asked. šŸ˜‰

    Slug vs. stub, I missed that one, I tried your version on my test install and it works !! It converted forum / topics / replies. Thanks! Couple of issues, questions, comments…

    Awesome

    In WPS terminology, there’s one forum made of categories. They can be nested. Along with subforums, they may contain topics with replies. One of these cats may be made the ā€œdefault categoryā€ which users will be prompted with when posting in the forum frontpage, that’s ā€˜symposium_cats.defaultcat’. If not set, the first of the list will be the default. I’m not sure what happens if two or more cats are made default…

    Cool, for example per this picture is what you are saying if I understand correctly is that I could choose the ‘Sun Dreesses’ forum to be the default forum selected when clicking ‘New Toipic’ from the WPS forums hopme page it will default to showing the ‘Sun Dresses’ forum as the destination for my topic unless I select another forum?

    If that is the case then we can ignore this as we do not have that functionality in bbPress.

    ā€˜Allow new topics’ will basically close the category to new topics. Likewise, in a topic there’s a checkbox to allow new replies or close the topic.

    I already implemented this for topics and partially for forums, I will fix this for forums shortly.

    ā€˜remote_addr’ is for monitoring spammers, I don’t think it deserves much interest in importing forum content as it’s mainly a short-time asset.

    We do use IP addresses for Akismet and spam protection, we have some upcoming updates for this that will also take into account the users existing history on the site and from emory this can include the users IP address so I will take a look and see what can be done to add support for IPv6 as currently we only support IPv4.

    I’ll go through your callback functions tomorrow, but a quick comment about values in WPS: they are either ā€˜on’ or anything else, possibly not set, so it’s better to revert the switch and test against the ā€œcase ā€˜onā€™ā€ and any other ā€œdefaultā€ ?

    That is what I have done for closed topics and will do the same for closed forums.

    The group forum post from my demo install was converted. In the list of topics it is indicated as ā€˜no forum’ which is true (as per my previous post). We should either create a forum (named like the group itself for instance) or discard group forums topics altogether (WHERE symposium_topics.topic_group != 0).

    phpBB has a similar sceanrio for a special sticky post, it is not assigned a forum. bbPress supports topics not having a forum so this technically doesn’t break things but we don’t have a ‘view’ that can show us topic s that are not in a forum.

    I haven’t tried the WPS groups but I will create one and see what we can (or cannot) do with them.

    About importing users, you raise an interesting point. I’d like to understand if this tool is a converter or an importer. Being located in a folder called /converter/ I had assumed it should work within the same WordPress install and convert it from one plugin to another, but you seem to move it towards the import of data accross platforms. Incidentally, I have been wondering why I need to fill the ā€˜Database Settings’ with db name / user / password / prefix, while I’m converting an existing forum within the same base. I’m happy with both, although I would tend to consider that most WP-to-WP imports will be performed within the same site…?

    I would say it is more importer than converter though interchanging those terms is not much of a stretch as we do not only import stuff we also convert stuff then import :/

    In total aside from WPS the only other importers that are also plugins ontop of WordPress are Mingle and SimplePress, the other 23 in most sceanarios would be a seperate database from the WordPress database. To extend the same issue I stated previously on how to handle users the same case applies, you are not explicitly limited to adding the bbPress plugin to your existing WP/WPS install and importing your data, you can also create a fresh WordPress install with a fresh database and import your data into that. So in theory we could ‘hide’ the database settings IF we knew your intented scenario before the fact. It would be nice in a future iteration to make the importer a ‘step by step wizard’ and we could then do such things and many more things to make the process a little less daunting…

    The other topics I’d like to bring at some point in our discussion are the attachments and the avatars. I’m not sure yet how bbPress handles attachments, for WPS they are physically stored in a location set from the ā€œparamsā€ tab, and displayed either online or as links (depending on a setting). As far as avatars, once WPS is deactivated they are all gone, is anything possible or is this too dependent upon the plugin the admin may install for avatars ?

    There is a post in the Kunena importer thread where @cybnet has written an attachment importer with details on how to change it for your own Kunena forum. The source is here and no doubt could be adapted for WPS.

    Kunena converter for bbPress 2.4

    Kunena converter for bbPress 2.4


    https://github.com/cybnet/kunena-attachments-to-bbpress/blob/master/kunena-attachments-to-bbpress.php

    Edit: I should have added that bbPress does not include support for attachments, there is one or two plugins that do add support for attachments so I would look to using one of those and use that plugins architecture to facilitate how the attachments are handled. We’d like to support attachments in bbPress ‘one day’ though we have some bigger implementation details to work out before we have a crack at this.

    Avatars are a bit trickier as bbPress nor WordPress do not support custom avatars for user profiles out of the box. There are many plugins for this so at the moment this is not something we can support. We can’t make avatar import support the hundres of avatar plugins available.

    #146384
    lagrou
    Participant

    Sorry my dump wasn’t successful in helping you out here…

    Slug vs. stub, I missed that one, I tried your version on my test install and it works !! It converted forum / topics / replies. Thanks! Couple of issues, questions, comments…

    In WPS terminology, there’s one forum made of categories. They can be nested. Along with subforums, they may contain topics with replies. One of these cats may be made the “default category” which users will be prompted with when posting in the forum frontpage, that’s ‘symposium_cats.defaultcat’. If not set, the first of the list will be the default. I’m not sure what happens if two or more cats are made default…

    ‘Allow new topics’ will basically close the category to new topics. Likewise, in a topic there’s a checkbox to allow new replies or close the topic.

    ‘remote_addr’ is for monitoring spammers, I don’t think it deserves much interest in importing forum content as it’s mainly a short-time asset.

    I’ll go through your callback functions tomorrow, but a quick comment about values in WPS: they are either ‘on’ or anything else, possibly not set, so it’s better to revert the switch and test against the “case ‘on'” and any other “default” ?

    The group forum post from my demo install was converted. In the list of topics it is indicated as ‘no forum’ which is true (as per my previous post). We should either create a forum (named like the group itself for instance) or discard group forums topics altogether (WHERE symposium_topics.topic_group != 0).

    About importing users, you raise an interesting point. I’d like to understand if this tool is a converter or an importer. Being located in a folder called /converter/ I had assumed it should work within the same WordPress install and convert it from one plugin to another, but you seem to move it towards the import of data accross platforms. Incidentally, I have been wondering why I need to fill the ‘Database Settings’ with db name / user / password / prefix, while I’m converting an existing forum within the same base. I’m happy with both, although I would tend to consider that most WP-to-WP imports will be performed within the same site…?

    The other topics I’d like to bring at some point in our discussion are the attachments and the avatars. I’m not sure yet how bbPress handles attachments, for WPS they are physically stored in a location set from the “params” tab, and displayed either online or as links (depending on a setting). As far as avatars, once WPS is deactivated they are all gone, is anything possible or is this too dependent upon the plugin the admin may install for avatars ?

    #146363
    Robin W
    Moderator

    The approach should be to get to a ‘clean’ site – ie one that works, and then add back theme, and then plugins until you find which is conflicting with bbPress.

    Some plugins and themes delete database stuff when they are deleted, but many/most just leave it behind, so deactivating should do it.

    If you have a local dev, then I’d deactivate ALL plugins, and change to a default theme.

    Then test if this works. if it does then you have a good start point.

    Then add bbPress and see if this produces an issue.

    a) If it does, then come back with what theme, and confirm versions of bbpress, wordpress and theme and exactly what you are doing to test – ie user set to… go into… select…. and I’ll try to replicate.

    or

    b) If your base version above works, then add theme next. Don’t worry about the extend plugin, as you’re seeing if the issue is with a post, not bbPress !

    Then add extend and re-test

    Then each plugin and retest

    #146362
    rbbouman
    Participant

    OK, I get it šŸ™‚

    In your opinion, does it make sense to deinstall all plugins instead of deactivating them in order to test this? Or do I have to perform a new fresh install, since code already might have been overwritten and this is probably not undone by deinstalling plugins. I can do both on my local dev.

    #146356
    Stephen Edgar
    Keymaster

    I just checked the difference between the current version included with bbPress and that version you linked above. The version included with bbPress has quite a few enhancements, password support, forum categories, author IP, closed topics, sticky topics and topic tag slugs.

    The difference that you need is the BBCodes:

    // This is what is currently included with bbPress for YouTube:

    
    $vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    

    //And this is what we had in that custom linked version:

    
    // Replace '[video=youtube;$1]$2[/video]' with '$2"
    $vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    		
    // Replace '[video=youtube_share;$1]$2[/video]' with '$2"
    $vbulletin_markup = preg_replace( '/\[video\=youtube_share;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    // Replace '[SOUNDCLOUD]$1[/SOUNDCLOUD]' with '$1"
    $vbulletin_markup = preg_replace( '/\[SOUNDCLOUD\](.*?)\[\/SOUNDCLOUD\]/', '$1', $vbulletin_markup );
    

    So the addition of these two BBCodes:

    [video=youtube_share;$1]$2[/video] and [SOUNDCLOUD]$1[/SOUNDCLOUD]

    Do you know if both of these BBCodes are included with all vBulletin versions or are these custom BBCodes you manuallly created in your vBulletin install?

    Either way I just updated that gist with the above BBCode that you should be able to download and test as you did 8 months ago, it has ‘all the things’ above included in it. šŸ™‚

    https://gist.github.com/ntwb/513187363f36b56ec77d

    #146355
    Robin W
    Moderator

    ‘I might be missing something, but if deactivating the bbPress plugin solves the problem, the bbPress plugin is probably causing it.’

    Depends how you define ’cause’

    bbPress is tested against the default themes (twentyten, twentyeleven etc.) and latest versions of wordpress, and should be fully functional against that.

    Since bbPress is just a plugin, it ranks equally alongside all other plugins and all non core themes. All of these have the capability to conflict with each other as theme and plugin authors use tweaks and add-ons to WordPress. The ability for two authors of plugins/themes to try to change an element is actually quite large, and changes can have unexpected results.

    So if two authors both make a change and one overwrites the other, both can argue it is the other’s fault.

    So I cannot get bbPress with a default theme to have your issue for authors or above.

    If without any other plugins, and using a default theme, you get this issue, then please come back with what levels of access and I’ll look further.

    #146348
    Stephen Edgar
    Keymaster

    Turns out when I said it was late, it was, I downloaded and installed the plugin šŸ˜‰

    Firstly for most forum importers I use a set of categories and forums based on the ‘Nested Set Model’, this gives a great hierarchy layout to test with.
    https://en.wikipedia.org/wiki/Nested_set_model#Example

    First issue (question) is, why the converter doesn’t find forums. Or at least doesn’t convert them.

    For the ‘Forum slug’ you have slug it should be stub

    Does WPS ‘pretty permalinks’ even work? I am guessing that’s what these are?

    Once I changed that the forums imported fine with correct title, desc, parent, order, slug.

    We don’t need to worry about counts as the bbPress repair tools will do this for us

    Categories or Forums I am not sure of, to set a category in WPS I set the Allow new topics? field to no we can use this to decide if the bbPress forum will be a forum or category if this is indeed the intended purpose of this field.

    Cloudup nea52czefrz

    I’ll go take a look at the topics and replies now…

    #146343
    rbbouman
    Participant

    I might be missing something, but if deactivating the bbPress plugin solves the problem, the bbPress plugin is probably causing it.

    So I did some further tests. If I deactivate ALL plugins except for bbPress, the problem is still there. If I then deactivate bbPress as well, the problem doesn’t occur.

    I think this narrows it down to bbPress. Do you have any suggestions?

    #146332
    fasttimes
    Participant

    Hello,

    I am in the process of importing my current phpbb forum to bbPress. Most of the data seems to have migrated but Convert reply_to parents failed. So any topic with multiple pages is not formatting correctly or is missing posts.

    According to the sources the migration script does the following steps:

    STEP 1. Clean all tables.
    STEP 2. Convert users.
    STEP 3. Clean passwords.
    STEP 4. Convert forums.
    STEP 5. Convert forum parents.
    STEP 6. Convert topics.
    STEP 7. Stick topics.
    STEP 8. Stick to front topics (Super Sicky).
    STEP 9. Convert tags.
    STEP 10. Convert replies.
    STEP 11. Convert reply_to parents.

    The steps from 1 through 10 were successful. Migration script failed on the 11th step.

    Site that we are importing from is: http://www.ridingfeelsgood.com/forum/index.php

    The phpbb forums where resynchronized prior to import.

    Being imported to WP 3.9 on testing server with new theme.

    Can you please offer some help to correct this.

    Thanks,

    #146312
    lagrou
    Participant

    I’ve added a WPS install to one of my test sites. By default WPS has 3 forum categories, and one topic with two replies. I’ve added two topics, to populate all categories, and made one category child of another. So it should look like what you expect.

    I’ve also created a group. In WPS, groups can have a forum, with no category hierarchy, so they are not listed in the table symposium_cats. I wasn’t using groups myself, but my proposal is, if we can, to make the converter gather the content as a subforum in bbPress, then the admin may decide to delete or restrict its content ? So, I’ve also created a group on that test install, with a topic and a reply.

    As I’m not sure what you call a MySQL export I’ve dumped it using a page template where I perform a succession of queries, then var_dump( $wpdb->last_query, $result ); and copy/pasted the page content as a text file, added to my repository above. I hope it’ll be fine.

Viewing 25 results - 4,701 through 4,725 (of 11,589 total)
Skip to toolbar