Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 6,651 through 6,675 (of 64,471 total)
  • Author
    Search Results
  • #196243

    In reply to: Custom Topic Statuses?

    krioteh
    Participant

    I’m forked Buddy-bbPress Support Topic in GitHub, now it works with 2.6.
    True, I do not fully understand what I did 🙂

    #196241

    In reply to: Custom Topic Statuses?

    krioteh
    Participant

    Buddy-bbPress Support The topic still works with bbPress 2.6, albeit with errors.
    You can return the form to the console settings of a specific forum using this code:

    
    add_action('add_meta_boxes', 'bbbp_support'); 
    add_action('save_post', 'bbbp_save'); 
    
    function bbbp_support() {
    	add_meta_box('bbbp_support', 'BbbPress Support', 
    	'bbbp_support_callback', 'forum'); 
    }
    // HTML код блока
    function bbbp_support_callback( $forum = falce ){
    		if ( empty( $forum->ID ) ) {
    			return;
    		}
    
    		$support_feature = bpbbpst_get_forum_support_setting( $forum->ID );
    
    		$mailing_list_style = '';
    		if ( 3 === (int) $support_feature ) {
    			$mailing_list_style = 'style="display:none"';
    		}
    
    		$support_only_style = 'style="display:none"';
    
    		if ( 2 === (int) $support_feature ) {
    			$support_only_style = '';
    		}
    
    		bpbbpst_display_forum_setting_options( $support_feature );
    		?>
    		<div class="bpbbpst-mailing-list" <?php echo $mailing_list_style;?>>
    			<h4><?php _e( 'Who should receive an email notification when a new support topic is posted ?', 'buddy-bbpress-support-topic' );?></h4>
    
    			<?php bpbbpst_checklist_moderators( $forum->ID );?>
    		</div>
    
    		<?php do_action_ref_array( 'bpbbpst_forum_support_options', array( $forum->ID, $mailing_list_style ) ); ?>
    
    		<div class="bpbbpst-support-guides" <?php echo $support_only_style;?>>
    			<h4><?php _e( 'New Topic form extras', 'buddy-bbpress-support-topic' );?></h4>
    			<label class="screen-reader-text" for="support-topic-intro"><?php esc_html_e( 'New Topic Guide', 'buddy-bbpress-support-topic' ); ?></label>
    			<textarea rows="3" cols="40" name="_bpbbpst_support_topic[intro]" id="support-topic-intro" style="width:100%"><?php echo bpbbpst_get_forum_support_topic_intro( $forum->ID );?></textarea>
    			<p class="description"><?php printf( esc_html__( 'Use this field to insert some instructions above the new topic form. Allowed tags are: %s', 'buddy-bbpress-support-topic' ), join( ', ', array_keys( (array) wp_kses_allowed_html( 'forum' ) ) ) ); ?></p>
    
    			<label class="screen-reader-text" for="support-topic-tpl"><?php esc_html_e( 'New Topic Template', 'buddy-bbpress-support-topic' ); ?></label>
    			<textarea rows="3" cols="40" name="_bpbbpst_support_topic[tpl]" id="support-topic-tpl" style="width:100%"><?php echo bpbbpst_get_forum_support_topic_template( $forum->ID );?></textarea>
    			<p class="description"><?php esc_html_e( 'The text added within this field will be used as a template for the content of new topics.', 'buddy-bbpress-support-topic' ); ?></p>
    		</div>
    		<?php
    
    		do_action_ref_array( 'bpbbpst_forum_support_options_after_guides', array( $forum->ID, $support_only_style ) );
    	}
    	function bbbp_save( $forum_id = 0 ) {
    		$support_feature   = false;
    		$is_forum_category =  bbp_is_forum_category( $forum_id );
    
    		if ( ! empty( $_POST['_bpbbpst_forum_settings'] ) ) {
    			$support_feature = absint( $_POST['_bpbbpst_forum_settings'] );
    		}
    
    		// Forum is not a category, save the support metas
    		if ( ! empty( $support_feature ) && ! $is_forum_category ) {
    			update_post_meta( $forum_id, '_bpbbpst_forum_settings', $support_feature );
    
    			if ( 3 === (int) $support_feature ) {
    				delete_post_meta( $forum_id, '_bpbbpst_support_recipients' );
    				delete_post_meta( $forum_id, '_bpbbpst_support_topic_intro' );
    				delete_post_meta( $forum_id, '_bpbbpst_support_topic_tpl' );
    			} else {
    				$recipients = ! empty( $_POST['_bpbbpst_support_recipients'] ) ? array_map( 'intval', $_POST['_bpbbpst_support_recipients'] ) : false ;
    
    				if ( ! empty( $recipients ) && is_array( $recipients ) && count( $recipients ) > 0 ) {
    					update_post_meta( $forum_id, '_bpbbpst_support_recipients', $recipients );
    				} else {
    					delete_post_meta( $forum_id, '_bpbbpst_support_recipients' );
    				}
    
    				if ( 2 === (int) $support_feature ) {
    					if ( ! empty( $_POST['_bpbbpst_support_topic']['intro'] ) ) {
    						update_post_meta( $forum_id, '_bpbbpst_support_topic_intro', wp_unslash( $_POST['_bpbbpst_support_topic']['intro'] ) );
    					} else {
    						delete_post_meta( $forum_id, '_bpbbpst_support_topic_intro' );
    					}
    
    					if ( ! empty( $_POST['_bpbbpst_support_topic']['tpl'] ) ) {
    						update_post_meta( $forum_id, '_bpbbpst_support_topic_tpl', wp_unslash( $_POST['_bpbbpst_support_topic']['tpl'] ) );
    					} else {
    						delete_post_meta( $forum_id, '_bpbbpst_support_topic_tpl' );
    					}
    				} else if ( ! empty( $_POST['_bpbbpst_support_topic'] ) ) {
    					delete_post_meta( $forum_id, '_bpbbpst_support_topic_intro' );
    					delete_post_meta( $forum_id, '_bpbbpst_support_topic_tpl' );
    				}
    			}
    
    			do_action( 'bpbbpst_forum_settings_updated', $forum_id, $support_feature );
    
    		// Check for support metas to eventually remove them
    		} else if ( $is_forum_category ) {
    			$support_feature = get_post_meta( $forum_id, '_bpbbpst_forum_settings', true );
    
    			if ( ! empty( $support_feature ) ) {
    				delete_post_meta( $forum_id, '_bpbbpst_forum_settings' );
    				delete_post_meta( $forum_id, '_bpbbpst_support_recipients' );
    				delete_post_meta( $forum_id, '_bpbbpst_support_topic_intro' );
    				delete_post_meta( $forum_id, '_bpbbpst_support_topic_tpl' );
    			}
    		}
    
    		return $forum_id;
    	}
    

    Unfortunately, I have not yet found a way to eliminate errors when editing themes in the console: (

    #196239
    Robin W
    Moderator

    @domeboys I have remove the error code as it looked like it contained the card details of one of your customers.

    I can only repeat that you had a working site a week or so ago, and something changed to create the issues you have now. bbpress has not changed, but something has caused an error.

    This could be down to many issues, including updates you have done, or database corruption.

    I appreciate that you are feeling very frustrated.

    In your position, I would be asking HostGator to revert my site to before the issue and see if that fixes. I would also suggest you turn on debug to see if that reveals a site error.

    bbpress runs on over 300,000 websites worldwide, but there are infinite combinations of themes, plugins and data that make it impossible to say that bbpress will work in all circumstances, but the fact that your was, should mean that it could be again.

    I wish you luck in resolving.

    #196238
    domeboys
    Participant

    Following is the note I received from HostGator Level 4 support (aka Admins). They are calling my problem a “script malfunction” attributed to bbPress.

    Please advise on what you recommend as next step.

    Thank you,
    Brian Walton

    Thank you for contacting Hostgator Support. I’ve dug through this issue a good deal. I found that the 500 error on thecardinalnation.com definitely appears to be the result of bbpress. I traced the loading of the site with system calls, and found a number of database queries, and then a segfault.

    =====================================================================
    =====================================================================

    After disabling bbpress, this behavior stops. I’ve tried a number of PHP versions and reviewed server settings but found no obvious configuration-level cause. While we are happy to help where we can, we are not developers, so our ability to assist with script malfunctions like these is limited. I would recommend working with a developer or the plugin developers more specifically. If you receive any information you believe we can assist with, please let us know and we will be happy to investigate further.

    Sincerely,
    David F.
    Systems Administrator II

    #196237
    Robin W
    Moderator
    #196231
    eviang
    Participant

    Hi there, I took a look at that article (https://codex.bbpress.org/getting-started/forum-moderation/common-tasks/#deleting-topics) and cannot see the Trash Admin Link referenced for deleting topics from the frontend.

    Could you please advise where this might be found?

    Thanks,
    Evian

    #196222
    cindyy
    Participant

    I was integrating the WPML for bbpress and it was going well until in the reply thread.

    #196220
    BrianHenryIE
    Participant

    I’ve been working on a converter to import our Invision v4 forum to bbPress. I’ve got the users, forums and topics all importing reasonably well.

    https://github.com/EnhancedAthlete/bbPress-Invision-v4-Converter

    I’m having trouble with the titles which are stored in a language table:

    core_sys_lang_words

    | word_id | ... | word_app | ... | word_key | word_default | word_custom | ...
    | 8379 | ... | forums | ... | forums_forum_2 | Generic Discussion | Generic Discussion | ...

    To retrieve a single forum title, I can use:
    SELECT word_default as forum_name FROM ipbforum.core_sys_lang_words WHERE word_key = CONCAT('forums_forum_', 2)

    or to retrieve them all, something like:

    
    SELECT word_default 
    FROM ipbforum.core_sys_lang_words 
    WHERE word_app = 'forums' 
    	AND word_key IN 
        (SELECT CONCAT(prefix, id)  FROM 
    		(SELECT 'forums_forum_' as prefix, ipbforum.forums_forums.id 
            FROM ipbforum.forums_forums) 
            AS t)
    

    Or all with the forum ids:

    
    SELECT ipbforum.core_sys_lang_words.word_default as forum_name, word_key_table.forum_id as forum_id 
    FROM ipbforum.core_sys_lang_words, 
    	(SELECT CONCAT(prefix, id) AS word_key, 
    					id AS forum_id 
    			FROM 
    				(SELECT 'forums_forum_' AS prefix, 
    								ipbforum.forums_forums.id 
    						FROM ipbforum.forums_forums) 
                            AS temp)
    	AS word_key_table
    WHERE ipbforum.core_sys_lang_words.word_key = word_key_table.word_key
    

    but I’m struggling to figure out how to write that in the BBP_Converter_Base extended class field_map[].

    I’ve looked at some other converters and don’t see anything similarly complicated so I’m assuming there’s a more straightforward way.

    Any pointers appreciated! Once this is figured, the converter should be good enough for most people’s use.

    #196216
    Robin W
    Moderator

    @frendeliko https://bbpress.trac.wordpress.org/ticket/3198

    it is sitting waiting for 2.5.15 or 2.6

    #196214
    filout
    Participant

    In this thread (see bottom) i found the code. I think is better to remove it…

    #196193
    Carlos Faria
    Participant

    6 months and the error still there. WP 4.9.8 and BBPress 2.5.14

    Is there a github repo to make a pull request?

    #196189
    Robin W
    Moderator

    this seems to be some custom code the function vvd is not a bbpress one. I presume you have added this to your functions file, or a plugin has it ?

    I googled and got this thread where the snippet is mentioned

    http://bbpress37.rssing.com/chan-7465926/all_p128.html

    function vvd_no_view_ip( $author_ip, $r, $args ){
    	return __return_empty_string();
    }
    add_filter('bbp_get_author_ip','vvd_no_view_ip', 10, 3 );

    is this the code you are using ?

    #196184
    pkruk
    Participant

    Hi
    I have a bbpress forum 2.6-rc-5 (WordPress 4.9.8, php 7.2)
    Google does’t index topics and replyies 🙁
    I moved content from another domain (phpbb2) – 3 months ago.

    I have 63k not indexed sites in Google console – condition: excluded
    12k – excluded: Page scanned but not yet indexed
    51k – excluded: Site detected – currently not indexed

    WTF with this script?

    My forum here -> https://mojakosmetyczka.pl/forum/

    Has anyone had a similar problem?
    Thx, regards
    Pawel

    #196181
    veroambroa
    Participant

    He instalado el bbpress en la web de un cliente y están muy entusiasmados con el resultado!
    Tengo unas cuestiones, que se refieren al control de los debates. Actualmente hemos dejado la suscripción en forma automática, pero estamos analizando como controlar los debates y las respuestas, ya que no hay nadie que este controlando aun

    1) Es posible avisar a los moderadores, de cada actividad registrada por correo electrónico? (nuevos debates o respuestas a existentes)
    2) Es posible derivar esos mensajes a dos o mas casillas de correo electrónico
    3) Recomiendan algun antispam en particular?

    Muchísimas gracias!
    Vero

    I installed the bbpress on a client’s website and they are very excited about the result!
    I have some questions, which refer to the control of the debates. We have now set up the subscription automatically, but we are analyzing how to control the debates and the answers, since there is nobody who is still controlling

    1) Is it possible to notify the moderators of each registered activity by email? (new debates or responses to existing ones)
    2) It is possible to derive these messages to two or more email boxes
    3) Do you recommend any particular antispam?

    Many thanks!
    Vero

    #196173
    filout
    Participant

    Hi,

    i get the error
    Too few arguments to function vvd_no_view_ip(), 2 passed in /home/sites/site64/web/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected.
    Users can create topics and write comments in it but when i want to see the topc and get this error

    Regards, Thomas

    I used WordPress v4.9.8 and bbPress v2.5.14.

    triemann
    Participant

    Hi there

    WordPress 4.9.8
    bbPress 2.5.14

    Sadly the URL is not able to be live at this time but I believe my question is actually more on the basic side of things.

    When I register for an account on my website that uses bbPress all works well. I can login and subscribe to a forum. If someone creates a new topic in that forum I get a notification letting me know. However I’m noticing that if someone answers a topic in the forum I’m subscribed to I don’t get the notification.

    I figured that if you’re subscribed to a Forum, that I would get notifications of replies on any topics in that forum. From what I can tell it looks like I only get a notification on new topic created.

    Do I need to subscribe to the forum as well as all the topics if I want to be notified of anything happening under that forum?

    Thanks,
    Tanya

    #196164
    domeboys
    Participant

    I tried several other tests.

    Test 1: I deactivated WP Super Cache and activated bbPress. I cleared cache. The white screen with 500 error occurred immediately.

    Test 2: I deactivated both WP Super Cache and bbPress. The home page comes up and articles can be viewed. The root page for the forums can be viewed, but the individual forums are not displayed.

    At this point, I reverted back to WP Super Cache active and bbPress not active.

    #196163
    domeboys
    Participant

    In WP Super Cache settings on the Advanced Tab, the area called “Accepted Filenames & Rejected URLs” includes a list of page types to exclude. However, forums is not an option. There is also an area called “Add here strings (not a filename) that forces a page not to be cached.”.

    In that area, I entered the path to the forums, which is “/forums/”. Based on help items I read on the WP forums, this appears to be the proper syntax.

    I saved the change in WP Super Cache, then activated bbPress. I cleared my browser cache and attempted to access my site’s home page. I got the white screen with the 500 server error, same as first thing this morning. At that point, I deactivated bbPress, cleared my cache and that restored access to the base site (without forums, of course).

    What do you advise from here, please?

    #196162
    Robin W
    Moderator

    ok, but something changed to create ‘today’s problem’, and that something wasn’t a change to bbpress, so bbpress is not the root cause. The root cause could still be the something that changed last week.

    I don’t have wp supercache, but there will be settings that allow you not to cache bbpress, forums topics or replies.

    Take a look and report back.

    #196161
    domeboys
    Participant

    Robin, I did not explain well.

    Last week’s problem was high CPU usage. Installing WP SuperCache was part of the recommended fix. The site seemed stable since.

    Today’s problem was 500 errors keeping anyone from being unable to access the site. Upgrading PHP and disabling bbPress were two of the actions taken. The site is stable except for the forums.

    All I am trying to achieve right now is to get my forums running again. If off the top of your head, you know how to exclude bbPress from WP SuperCache, that information would be helpful. If not, I will try to figure it out and test it.

    I appreciate your help.

    #196160
    Robin W
    Moderator

    ok,

    so basically your site was working fine. Then xxx something about updraft plus backup xxx and HostGator shut down your site.

    so the problem was caused by you(?) doing something with backups, but the resolution was upgrading php, installing a caching plugin, and disabling bbpress. This makes no sense.

    Hostgator’s aim is to get your site functioning, not resolve the issue, so they have done lots of things, and once working, just abandoned you.

    I suspect that you should exclude bbpress from wp-supercache and re-activate it, but without knowing what you were trying to achieve right at the start, I cannot say.

    #196159
    domeboys
    Participant

    I do not think that Zend Guard is running on my machine. I think it was being used by HostGator support for their diagnostics. They provided me the error information I pasted above via an email. But I get that ZG is not supported on PHP 7.0. I will pass that on to them, but it appears it will not fix my problem.

    Yes, there was a caching change made last Wednesday. Because of a high CPU usage situation caused by an Updraft Plus backup being uploaded to Google Drive during mid-morning, HostGator shut down my entire site.

    As part of the process for them to bring my site back up, they had me install WP SuperCache, with settings specified by HostGator. (I can find a link to that article if it would be helpful.)

    However, today the cookies error disappeared once bbPress was disabled. WP SuperCache is enabled currently and the log on errors are not present. In fact, all other plugins on my WP installation are active and the site seems to be operating normally – except for the forums, of course. Log ins are being processed normally.

    Is there some potential issue between WP SuperCache and bbPress?

    #196158
    Robin W
    Moderator

    ok – something must have changed on your site, as errors don’t just appear, and it is highly unlikely that bbpress just started erroring.

    disabling and re-enabling plugins is one technique (and one I recommend often), but it si not just a plugin, but combinations and outside factors.

    in your case I think you now have either one or two issues

    firstly ZendGuard does not work with php7, so you need to either revert to 5.4 or more probably get rid of zend guard – do you know where and why it is there?

    secondly are you using any caching plugin? – these often cause the “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” issue

    #196156
    domeboys
    Participant

    Thank you, Robin. I am new here, and wanted to ensure I was at the right place. I’ve had bbPress installed for the last 16 months with no problems until now.

    To answer your question directly, that earlier error description is all HostGator gave me when I asked them for documentation to provide you.

    Here is further background on the problem.

    Today’s issue began with all users presented with “500 Error. Internal Server Error.” when accessing the site, which is a mix of free and subscriber content and has both free and subscriber forums.

    By clearing browser cache, one could get on the site (both articles and forums) for about a 10 minute period before the 500 errors returned. However, during that window, one could only view the free forum, but could not enter replies, because being logged in first is a site requirement. For that same reason, one could not view subscriber articles or the subscriber forum.

    During that approximate 10 minutes, when trying to log in, one was presented with a message that said “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” This seemed to make no sense, since cookies were in fact enabled.

    I tested the problem with three different browsers and it was the same – MS Edge, Firefox and Chrome. I can get into my backend WP Dashboard to administer the site with no issue.

    HostGator support determined that by disabling all plugins, the problem would go away. Then the process of going through the plug-ins one by one led them to identify bbPress as the culprit. When bbPress is enabled, the 500 errors return. With it disabled, logins and both free and premium article access work normally. But both forums are down.

    If there is other information I can gather, please let me know what and how to get it. Or if you need backend access to my WP installation, I am happy to grant that.

    #196154
    Robin W
    Moderator

    yes this is the place for help, but it is free hep for a free product, and it is fellow bbpress users like myself that try and help, so we do this in our free time.

    I do not see how the error

    [Tue Nov 13 10:30:27 2018] [error] [client 192.185.1.20] Failed loading /opt/php54/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so: /opt/php54/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so: undefined symbol: zval_used_for_init, referer: http://thecardinalnation.com/login/

    you present is bbpress related – is this the only error that you had ?

Viewing 25 results - 6,651 through 6,675 (of 64,471 total)
Skip to toolbar