Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 2,401 through 2,425 (of 11,589 total)
  • Author
    Search Results
  • #180509
    Robin W
    Moderator

    @rajaindian – great let me cut a version for you – I’ll do a minimum of testing and then come back

    #180503

    Hey everyone! Guess what?

    bbPress 2.6, Release Candidate 3, is now available for testing.

    Download it from here: https://downloads.wordpress.org/plugin/bbpress.2.6-rc-3.zip

    Why is this cool? For starters, @jeffr0 may finally climb down off my back and stop giving me grief for how long it’s been since we shipped a major release.

    bbPress 2.5.0 in 2014, 3 years ago.

    Most people wouldn’t be proud to say that, but… I am. The 2.5 branch of bbPress has been so stable & well received, we were able to take our time with 2.6 and double-down on upstream improvements to WordPress.

    bbPress 2.6 will come with:

    * Per-forum moderators
    * Improved favorites & subscriptions management
    * Improved BuddyPress integration
    * Performance improvements across the board
    * UX improvements to meta-boxes and admin-area tools
    * Tighter integration with WordPress’s Dashboard
    * Template tweaks & clean-up
    * About 110 other things

    If you’re going to test 2.6 on a live site, maybe don’t just yet. It runs a database upgrade routine to migrate favorites & subscriptions from usermeta to postmeta, and for large forums that may take a while or possibly lock things up for a bit.

    We are already running 2.6 here and on bbPress.org, so enjoy the speedier new posting experience, and we’ll let you know when the next beta is ready!

    #180494
    iprg
    Participant

    Hello,
    is there a possibility of bulk closing old topics? Eg doing it from dashboard? At the moment, I am only able to do it in a very slow way (open every single topics and close it)…
    Or can I set some time limit for automatic closing?

    Thank you for any insight!
    Best,
    Jan
    (BBpress, WP – latest versions, site: http://www.fotoguru.cz/foto-forum/)

    #180492
    rajaindian
    Participant

    @robin-w yes I can test it

    Robin W
    Moderator

    ok, so

    create a directory on your childtheme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your childtheme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-reply.php
    bbPress will now use this template instead of the original
    and you can amend this

    so amend this file – copy it to your Pc and use norepad or similar

    around line 70 you will see

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>

    replace this with

    <?php
    	$user_id = wp_get_current_user()->ID;
    	$topic_id = bbp_get_topic_id() ;
    	$topic_author = bbp_get_topic_author_id( $topic_id ) ;
    	$is_topic_author = ($topic_author == $user_id ? true : false) ;
    	if ( bbp_allow_topic_tags() && current_user_can('assign_topic_tags' ) && ($is_topic_author || bbp_is_user_keymaster() ) : ?>

    This is untested, and if it doesn’t work – do come back !

    #180470
    Robin W
    Moderator

    untested, but this should do it, come back if not

    change line 3 to

    if ( is_user_logged_in() && is_bbpress() ) {

    and line 6 to

    elseif ( !is_user_logged_in() && is_bbpress() ) {

    #180463

    In reply to: bbpress link error

    DolZikoo
    Participant

    I keep getting errors.
    http://korear.net/?forum=test_forum2

    Robin W
    Moderator

    ok, I’ve just loaded your code to my test site, and I can set a user to member and it holds

    Suspect either theme or other plugins

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180440
    DanaJoy2008
    Participant

    Hello,

    I am getting the following errors:
    Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 394

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 407

    I cannot log in as an admin. My site is artintheblood.net. I should have the latest update of WordPress, but I cannot confirm because I cannot enter the site. Any advice you can offer is greatly appreciated.

    Robin W
    Moderator

    you would need to know how to copy a bbpress template, modify it and then load it to your child theme

    so you would need FTP access to your site

    If that sound possible, the come back and I’ll try to help further

    posting this untested code in here just so I don’t lose it !

    <?php
    					$user_id = wp_get_current_user()->ID;
    					$topic_id = bbp_get_topic_id() ;
    					$topic_author = bbp_get_topic_author_id( $topic_id ) ;
    					$is_topic_author = ($topic_author == $user_id ? true : false) ;
    					if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) && $is_topic_author ) : ?>
    
    #180426
    soundboy
    Participant

    Hi, I’ve been working on migrating my large Drupal site to WordPress. I’ve managed to do the majority of the site but now I’m stuck on the forum.

    I’m using Drupal 6 and Advanced Forum, I have 26K topics and 700K replies.

    I’ve tried running the script on a couple of different local machines, and on my VPS server where I’ve had the most success; the script does the 26K topics smoothly but then hangs pretty early in the replies, around the 700th row. Locally, it gets stuck before. Weird thing is that a couple of times I’ve left it running for longer, eventually it manages to go past that sticking point and just continues extremely slowly.

    Also: I’ve read the troubleshooting instructions, which make sense but I don’t understand how to pinpoint the line numbers within the database, specifically these points:

    • “Now drop all the rows in the database that are not in the range of rows that failed during import”
    • “Once you have your list of offenders and the import has finished delete these rows from the database and test again to make sure it completes without hanging

    So question #1: if I look at my database in phpMyAdmin for example, and I know the problem is in rows 700-799 of my replies, how do I locate these rows?

    Question #2: Is there a way to know for sure if the problem is performance/memory related or if it’s an encoding issue in a specific row? I don’t know if I should be directing my efforts to solving performance issues or pinpointing problem rows.

    And finally question #3: Does anybody here have experience with these issues and would be willing to be hired to do this migration? Contact me if you do please!

    Thank you very much for any help you can provide 🙂

    #180414

    In reply to: bbpress link error

    DolZikoo
    Participant

    me too.
    http://korear.net/?forum=test_forum2

    click ‘test_forum2’, http 500 error

    #180392
    Robin W
    Moderator

    yet unbelievably there seems to be no-one who has a solution after all the years of BBpress being around.

    I suspect that this is because it is the symptom of many problems.

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180386

    In reply to: bbpress link error

    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180381
    Robin W
    Moderator

    @rajaindian – I have done some coding, but do you have the ability to test this first on a test site to make sure it works?

    #180351
    King-Nothing
    Participant

    I totally forgot about this thread.

    I fixed it with css:

    nav .menu li a span {
    display: none;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.6;
    }

    But I guess it would be better to edit some code instead?

    Url is: http://testsentralen.no/nyfotoblogg2/

    maxc246
    Participant

    When I first set up my BBPress forum at libertydebater.com, I was the keymaster of the forum. I could see options to edit posts, trash them, move them and a number of other options.

    At some point (I’m not clear when) I lost the ability to do practically anything as the keymaster on my forum. When I try to reply to a post, I get an error that says “ERROR: You do not have permission to create new topics.”

    Also, where I used to see moderating options above each post, I no longer see those. I’ve spent the last 3 days searching for a fix and trying everything I’ve found. So far I’ve tried:

    – disabling all plug-ins, testing, then re-enabling them and testing. The problem persisted even when all plugins were disabled.

    – Running every tool under Tools > Forums.

    – Changing the Forum roll of that user to Participant and then back to Keymaster.

    – Changing my theme (currently Tortuga) to the default 2014 theme. It made no difference so I changed it back.

    – Restoring the database back to the oldest copy I had available.

    – I made a test user account. The test user can post and reply, even as Keymaster, but didn’t have the ability to Edit, Move, Trash posts.

    I have also seen suggestions of getting rid of the Yoast plug-in as a solution, but I don’t have that plug in.

    This was all working fine and then one day it wasn’t. I’m a total newb to Word Press, so please go easy on me. If you have any suggestions, some guidance on how to implement them would be most appreciated.

    Thanks!

    #180284
    reedy
    Participant

    I am having a number of issues with slow posting times. Posts are taking up to 30 seconds to submit in many cases.

    I spoke to my webhost who offered the following details:

    We have reviewed your case in details. As you probably know the BBPress plugin saves each forum new topic or post to a topic as a new post in the WordPress database. Due to this reason your WordPress’ posts database table and its meta data is getting quite big.

    I believe that the main reason for your slow performance is the size of the _posts and _postmeta database tables.

    Decreasing their size will speed your website up.

    I did actually try the fix suggested at the end of this forum topic by editing the functions.php file.

    This way I have managed to post a test topic for about 12 seconds instead of the previous 30-35 seconds time frame.

    My forum contains 500,000+ posts, so I accept that the database will be getting large. Is there nothing that can be done to improve the awful performance I am seeing until the much rumored bbPress 2.6 is released?

    #180265
    kevindevette
    Participant

    Several people posting to a topic with there mobile but then we get HTML tags like <p>Test</p>. The strange thing is it happend with several people on the same browser or OS.

    Does anybody knows this problem?

    #180241

    In reply to: Can not open Forum

    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180215
    Wilbur
    Participant

    Sure it does make sense. With WP V2 API, if you want to list the ten latest posts, you use this url http://MY_SITE.COM/wp-json/wp/v2/posts. Please how do you do this to return that of forum topics?

    #180212
    Robin W
    Moderator

    The below is offered as potential help, and in an effort to help, so if it is rubbish, then please come back, and I will try to help further.

    bbpress uses the standard wordpress posts, but with post types of ‘forum’, ‘topic’ and ‘reply’ instead of ‘post’ and ‘page’, and bbpress code itself basically uses wp_query to access the database.

    The glossary for wordpress api says

    GET /wp-json/wp/v2/posts to get a collection of Posts. This is roughly equivalent to using WP_Query.

    so I’d imagine that you would just use the same sort of call, and use wp_query parameters to return what you wanted.

    So if for wordpress you had a command that gave you say the latest 5 posts, then this same command would work but just changing whatever that code has for post_type=’post’ to post_type=’topic’

    If you wanted topics from a particular forum, you would add the equivalent of post_parent = ID where ID was the forum ID

    In essence if you can tell me what you want, I can give you the wp_query, and you could hopefully translate this into json.

    Does any of that make sense? 🙂

    #180210
    Gilbert
    Participant

    Hi,
    WP 4.7, latest BBpress. I have a multisite: swissinformatic.org, magazine.swissinformatics.org, [other stuff]swissinformatics.org. My mail server is @swissinformatics.org and the plugin picks up $_SERVER['SERVER_NAME'] to create the no reply address.
    COULD YOU HELP US with a setting box to supersede this value?
    Meanwhile I replaced it with my site name in the functions.php code, but mind the next plugin update!
    $sitename = strtolower( ‘swissinformatics.org );
    Always beware of “Educated guess’ I’m not going to buy a mail server for each subdomain and with the present security of providers,…
    I also created a no reply alias of my administrative e-mail address.
    Everything is fine now

    Subscriptions ***********************************************************/

    /**
    * Get the “Do Not Reply” email address to use when sending subscription emails.
    *
    * We make some educated guesses here based on the home URL. Filters are
    * available to customize this address further. In the future, we may consider
    * using admin_email instead, though this is not normally publicized.
    *
    * We use $_SERVER['SERVER_NAME'] here to mimic similar functionality in
    * WordPress core. Previously, we used get_home_url() to use already validated
    * user input, but it was causing issues in some installations.
    *
    * @since bbPress (r5409)
    *
    * @see wp_mail
    * @see wp_notify_postauthor
    * @link https://bbpress.trac.wordpress.org/ticket/2618
    *
    * @return string
    */
    function bbp_get_do_not_reply_address() {
    $sitename = strtolower( $_SERVER[‘SERVER_NAME’] );
    if ( substr( $sitename, 0, 4 ) === ‘www.’ ) {
    $sitename = substr( $sitename, 4 );
    }
    return apply_filters( ‘bbp_get_do_not_reply_address’, ‘noreply@’ . $sitename );

    #180195
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180186
    moni
    Participant

    Hi I am using a custom short code to show about 10 latest replies on my reply dash board.
    I get shortcode from this link by applying this code : http://www.daggerhart.com/bbpress-recent-replies-shortcode/

    what I want is to add paging (nav) at the bottom to show more then 10 replies on other pages. please suggest solutions.

Viewing 25 results - 2,401 through 2,425 (of 11,589 total)
Skip to toolbar