Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 2,751 through 2,775 (of 11,605 total)
  • Author
    Search Results
  • #175401
    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

    #175398
    Robin W
    Moderator

    ok, so you don’t have private groups and the error is not the same error as the issue above apart from the first 9 words which are generic 🙂

    sorry this is a totally different issue.

    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.

    #175388
    amaros
    Participant

    Hello all,

    I got some trouble with my latest project.
    Here what I need to do:
    I am managing a forum with a few hundred members, it is not public. Right now I am using “Members” to manage WP roles and “private groups” for 6 different private subforums. Now I want to give all members the ability to read 5 of the private subforums, while only the members of the groups should be able to create topics and replies. I thought about something like override the bbp roles with the wp roles and hiding the bbp-form for different roles or switching the bbp roles (participant – spectator) depending on the forum id.

    Any suggestions or ideas?

    #175370

    In reply to: Freshness URLs Broken

    Robin W
    Moderator

    ok, I’ve had a quick look.

    The page number is set by this line

    $reply_page = ceil( (int) bbp_get_reply_position( $reply_id, $topic_id ) / (int) bbp_get_replies_per_page() );

    I suspect that bbp_get_replies_per_page is not the issue, but that bbp_get_reply_position is.

    so this function is as follows :

    function bbp_get_reply_position( $reply_id = 0, $topic_id = 0 ) {
    
    		// Get required data
    		$reply_id       = bbp_get_reply_id( $reply_id );
    		$reply_position = get_post_field( 'menu_order', $reply_id );
    
    		// Reply doesn't have a position so get the raw value
    		if ( empty( $reply_position ) ) {
    			$topic_id = !empty( $topic_id ) ? bbp_get_topic_id( $topic_id ) : bbp_get_reply_topic_id( $reply_id );
    
    			// Post is not the topic
    			if ( $reply_id !== $topic_id ) {
    				$reply_position = bbp_get_reply_position_raw( $reply_id, $topic_id );
    
    				// Update the reply position in the posts table so we'll never have
    				// to hit the DB again.
    				if ( !empty( $reply_position ) ) {
    					bbp_update_reply_position( $reply_id, $reply_position );
    				}
    
    			// Topic's position is always 0
    			} else {
    				$reply_position = 0;
    			}
    		}
    
    		// Bump the position by one if the lead topic is in the replies loop
    		if ( ! bbp_show_lead_topic() )
    			$reply_position++;
    
    		return (int) apply_filters( 'bbp_get_reply_position', $reply_position, $reply_id, $topic_id );
    	}
    

    so given that you seem fine with accessing the database, and hoping you are fine with editing files and uploading these, let’s see what value are being set in this function. I presume you can edit files, and you say you have a ‘safe’ area in which to play.

    so lets start with

    $reply_position = get_post_field( 'menu_order', $reply_id );
    

    which is set on line 1742 of includes/replies/template.php

    Now we can filter and play with this function, but it is probably easier just to edit the file whilst we test – just take a copy of it before so you can restore at the end.

    So I’d add a line after 1742 saying

    update_option( 'encide', $reply_position ) ;
    

    save and upload, and then display a page which works and one that doesn’t and each time you can access wp_options in the database and look for the encide option name.

    That should tell you what it is set to.

    I’d suspect that it is not correct for the faulty ones, and is returning 1 or 0 – hence no pagination.

    Come back and let me know what it says, and we can progress from there.

    #175360
    randrcomputers
    Participant

    fuskeren i do have a dev site up test.vpinball.com Ive spent so much time trying to get normal speed im at a loss at this point.

    #175351
    randrcomputers
    Participant

    I have tried for months to speed up site but nothing is working. Submitting a post can take 20 sec. everything is slow. Cant find anything to help ive tried 3 host’s VPS, CDN Everything and still slow. Seems switching now wont be easy but im loosing members due to speed. Anyone have link to anyone who can help? or is switching to another forum software only answer? I tested regular forum software and is instant response but i see no easy way to convert the bbpress forums 🙁

    vpinball.com is the site

    #175343

    In reply to: Freshness URLs Broken

    timsilva_
    Participant

    Hmm, I also just noticed that some topics from the migrated database with only a few pages (4 pages in the one I just tested) don’t seem to have this issue.

    I designed some the forum topics to be long, ongoing threads. For example, we have a “Music” thread that currently has 7,674 replies (15 per page, so 512 pages total). Could the issue simply be that the thread is so large, that bbPress somehow doesn’t do the calculation?

    I have read in some support threads about issues with pagination on bbPress when dealing with large numbers, perhaps it is related to that?

    Some additional details that may be related: I have nested replies turned off (and they were never turned on). Also, all of my categories are set to hidden.

    littlemisslanna
    Participant

    When I use my test account, there’s no option for normal users to edit their posts, and there definitely used to be! I’ve disabled all my plugins one at a time, and it doesn’t seem to help. Any ideas, or thoughts on what I can add in where to make the edit button come back?

    #175339

    In reply to: Freshness URLs Broken

    timsilva_
    Participant

    @robin-w I do have access to phpmyadmin. I have been looking around, and the only thing that looks fishy is that the “guid” varchar(255) row has my old local environment in the URL instead of my live domain. So it is http://localhost/forum/topic/title/ when it should be http://example.com/forum/topic/title/ – But after I tried to correct that for the post and the postmeta of the thread’s latest reply (in a safe environment) it didn’t seem to fix the problem. I did notice that my old local URL was hardcoded over 220,000 times in my database though, I wonder if this is something that needs to be corrected for each topic/reply.

    I tried to get creative by changing the “Replies Per Page” in wp-admin > Settings > Forums to a different number. That successfully recalculated the correct number of pages required for the non-affected threads (I set it from 15 replies per page to 30 replies per page, so a thread with 10 pages was updated with 5 pages, and the latest reply link updated to point to page 5), but the affected threads still have no “/page/##/” segment in the URL.

    Robin W
    Moderator

    ok, thanks – sorry it’s sometimes hard to understand the obvious until you see it !

    so I’m presuming that there should be some content to that post?!

    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.

    #175327
    christopheran
    Participant

    Thank you both very much – I am testing this out right now!

    #175326
    Robin W
    Moderator

    Also I am not sure there is a visitor WordPress role.

    oops… no there isn’t – old code left on my test site !

    and who gets what were just examples 🙂

    #175320
    Robin W
    Moderator

    not tested, but the following in your functions file should do it

    you’ll need to edit the code for which role does what

    add_action('wp_login', 'rew_assign_role_on_login', 10, 2);
    
    //this function assigns user to bbp roles on login
    function rew_assign_role_on_login($user_login, $user) {
    	$user_id = $user->ID ; 
    	$role = get_role($use_id) ; 
    	if (empty ($role)) return ; //has no role in the database
    	if ($role == 'administrator' )  $new_role = 'bbp_keymaster' ;
    	if ($role == 'editor' )  $new_role = 'bbp_moderator' ;
    	if ($role == 'author' )  $new_role = 'bbp_moderator' ;
    	if ($role == 'contributor' )  $new_role = 'bbp_participant' ;
    	if ($role == 'visitor' )  $new_role = 'bbp_blocked' ;
    	if ($role == 'subscriber' )  $new_role = 'bbp_spectator' ;
    	bbp_set_user_role( $user_id, $new_role) 
    	}
    #175318
    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.

    #175296
    Fuskeduske
    Participant

    Hi all,

    On my forum, the latest Topic / freshest Topic sometimes shows the wrong topic as you can see here:
    http://imgur.com/E1Y9Bu9 newest post is about 1 day, 18 hours old.

    It always reverts back to the same thread, which was comverted from a phpbb forum.

    I have tried recounting using the integrated tools, but that does not seem to work, however when i post a new topic it will work as intended showing the right post for about a day or two, and then go back.

    #175295

    In reply to: Global Access

    sharmavishal
    Participant

    maybe this can help

    https://gist.github.com/sc0ttkclark/e5de9d9f2f13964bcecc

    and

    https://wordpress.org/plugins/multisite-bbpress-slave/

    i tested both and was not able to get it working on my setup

    Robin W
    Moderator

    just tested and bulk change isn’t working on my test site either

    #175280
    Brandon Allen
    Participant

    The unit tests are passing, so my guess is that it’s a problem with a plugin, or (less likely) your PHP setup. The $_SERVER['SERVER_NAME'] doesn’t include the protocol (http:// or https:// in most cases), so that shouldn’t be an issue.

    My guess is that there is some other plugin that’s filtering bbp_get_do_not_reply_address incorrectly. Maybe even some code in your theme’s functions.php file. Could provide a list of the plugins you’re using. Specifically, bbPress or email related plugins?

    #175223
    hivoltage316
    Participant

    Just installed bbPress on latest version of WordPress and the forum search feature does not work. When I do a search, it searches blog posts instead – actually only ever finds one blog post even if the search text does not exist. It does not search the forum.

    Whats going on?

    #175212
    kavehmovahedi
    Participant

    Hi,
    I have the latest version of wordpress running (4.5.2) and latest version of bbPress.
    Everything was working just fine before i moved my host from windows to Linux server.
    Now i can see the forums and topics in each forum. but when i open a topic the content and replies are not shown in the pages, only the reply form shows up.
    I can see the replies in the admin panel but clicking view from back end opens the front end reply to … without the reply content.

    I have already tried these :
    1) disabling all other plugins
    2) switching to wordpress default themes
    3) creating a new page with bbPress shortcode
    4) copying the php code provided in other forums
    5) removing and re-installing bbPress

    it’s driving me crazy ! i have tried all 2 links on google’s 2 first pages for search results of “bbPress content not showing up”, “bbPress topic content not showing”, “bbPress replies not shown”,…

    Best Regards,
    Kaveh

    giobby
    Participant

    Hi everybody,

    I’ve been trying as suggested bbpress 2.6 alpha but the PhpBB import fails right at the beginning.
    I’ve been already importing successfully by using the latest 2 versions and I’ve never faced this error before.

    Also take into account I am running the import in the same environment and against the same data set.
    Here the error:

    SELECT convert(users.user_id USING “utf8mb4”) AS user_id,convert(users.user_password USING “utf8mb4”) AS user_password,convert(users.user_form_salt USING “utf8mb4”) AS user_form_salt,convert(users.username USING “utf8mb4”) AS username,convert(users.user_email USING “utf8mb4”) AS user_email,convert(profile_fields_data.pf_phpbb_website USING “utf8mb4”) AS pf_phpbb_website,convert(users.user_regdate USING “utf8mb4”) AS user_regdate,convert(profile_fields_data.pf_phpbb_aol USING “utf8mb4”) AS pf_phpbb_aol,convert(profile_fields_data.pf_phpbb_yahoo USING “utf8mb4”) AS pf_phpbb_yahoo,convert(profile_fields_data.pf_phpbb_icq USING “utf8mb4”) AS pf_phpbb_icq,convert(profile_fields_data.pf_phpbb_wlm USING “utf8mb4”) AS pf_phpbb_wlm,convert(profile_fields_data.pf_phpbb_facebook USING “utf8mb4”) AS pf_phpbb_facebook,convert(profile_fields_data.pf_phpbb_googleplus USING “utf8mb4”) AS pf_phpbb_googleplus,convert(profile_fields_data.pf_phpbb_skype USING “utf8mb4”) AS pf_phpbb_skype,convert(profile_fields_data.pf_phpbb_twitter USING “utf8mb4”) AS pf_phpbb_twitter,convert(profile_fields_data.pf_phpbb_youtube USING “utf8mb4”) AS pf_phpbb_youtube,convert(users.user_jabber USING “utf8mb4”) AS user_jabber,convert(profile_fields_data.pf_phpbb_occupation USING “utf8mb4”) AS pf_phpbb_occupation,convert(profile_fields_data.pf_phpbb_interests USING “utf8mb4”) AS pf_phpbb_interests,convert(users.user_sig USING “utf8mb4”) AS user_sig,convert(profile_fields_data.pf_phpbb_location USING “utf8mb4”) AS pf_phpbb_location,convert(users.user_avatar USING “utf8mb4”) AS user_avatar FROM forum_users AS users LEFT JOIN forum_profile_fields_data AS profile_fields_data USING (user_id) WHERE users.user_type !=2 LIMIT 0, 100

    Not sure yet what the problem is.
    I’ll do my little investigation and I’ll let you know.

    Gio

    #175162
    nztestnz2016
    Participant

    I am very new to wordpress and installed bbpress, but I’ve noticed that I don’t have the option to delete a post I created. How can I generate a link for this on created posts?

    Update: I realise that you need to be a moderator. I was testing with a standard/ordinary account.

    #175138

    In reply to: code doesn’t work

    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.

    #175131
    laymission
    Participant

    Thanks!

    I’ll test these fixes out and see what happens.

    #175129
    dot
    Participant

    Yes! It turns out it’s a known issue with Learndash. That link goes to a support log-in for their FAQ, which provides a workaround. To be honest, I only found out about this after stopping using LearnDash, because the problem made the site essentially unusable. So I haven’t tested it for myself.

Viewing 25 results - 2,751 through 2,775 (of 11,605 total)
Skip to toolbar