Forum Replies Created

Viewing 15 replies - 46 through 60 (of 125 total)
  • Thread Starter Swashata Ghosh

    (@swashata)

    Hi,

    Thank you for the prompt support. Also I see while submitting a new reply (and also topics), it produces the following errors (stack trace included)

    [05-Nov-2013 13:26:10 UTC] PHP Notice:  Undefined index: post_parent in D:\iPanelThemes\wordpress\wp-content\plugins\bbpress-pencil-unread\bbpress-pencil-unread.php on line 801
    
    [05-Nov-2013 13:26:10 UTC] PHP Stack trace:
    
    [05-Nov-2013 13:26:10 UTC] PHP   1. {main}() D:\iPanelThemes\wordpress\index.php:0
    
    [05-Nov-2013 13:26:10 UTC] PHP   2. require() D:\iPanelThemes\wordpress\index.php:17
    
    [05-Nov-2013 13:26:10 UTC] PHP   3. require_once() D:\iPanelThemes\wordpress\wp-blog-header.php:16
    
    [05-Nov-2013 13:26:10 UTC] PHP   4. do_action() D:\iPanelThemes\wordpress\wp-includes\template-loader.php:12
    
    [05-Nov-2013 13:26:10 UTC] PHP   5. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   6. bbp_template_redirect() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   7. do_action() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\core\sub-actions.php:313
    
    [05-Nov-2013 13:26:10 UTC] PHP   8. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   9. bbp_post_request() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  10. do_action() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\core\sub-actions.php:369
    
    [05-Nov-2013 13:26:10 UTC] PHP  11. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  12. bbp_new_reply_handler() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  13. wp_insert_post() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\replies\functions.php:366
    
    [05-Nov-2013 13:26:10 UTC] PHP  14. do_action() D:\iPanelThemes\wordpress\wp-includes\post.php:2954
    
    [05-Nov-2013 13:26:10 UTC] PHP  15. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  16. bbP_Pencil_Unread->new_reply_backend() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429

    and

    [05-Nov-2013 13:26:10 UTC] PHP Notice:  Undefined index: bbp_forum_id in D:\iPanelThemes\wordpress\wp-content\plugins\bbpress-pencil-unread\bbpress-pencil-unread.php on line 803
    
    [05-Nov-2013 13:26:10 UTC] PHP Stack trace:
    
    [05-Nov-2013 13:26:10 UTC] PHP   1. {main}() D:\iPanelThemes\wordpress\index.php:0
    
    [05-Nov-2013 13:26:10 UTC] PHP   2. require() D:\iPanelThemes\wordpress\index.php:17
    
    [05-Nov-2013 13:26:10 UTC] PHP   3. require_once() D:\iPanelThemes\wordpress\wp-blog-header.php:16
    
    [05-Nov-2013 13:26:10 UTC] PHP   4. do_action() D:\iPanelThemes\wordpress\wp-includes\template-loader.php:12
    
    [05-Nov-2013 13:26:10 UTC] PHP   5. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   6. bbp_template_redirect() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   7. do_action() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\core\sub-actions.php:313
    
    [05-Nov-2013 13:26:10 UTC] PHP   8. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP   9. bbp_post_request() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  10. do_action() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\core\sub-actions.php:369
    
    [05-Nov-2013 13:26:10 UTC] PHP  11. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  12. bbp_new_reply_handler() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  13. wp_insert_post() D:\iPanelThemes\wordpress\wp-content\plugins\bbpress\includes\replies\functions.php:366
    
    [05-Nov-2013 13:26:10 UTC] PHP  14. do_action() D:\iPanelThemes\wordpress\wp-includes\post.php:2954
    
    [05-Nov-2013 13:26:10 UTC] PHP  15. call_user_func_array() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429
    
    [05-Nov-2013 13:26:10 UTC] PHP  16. bbP_Pencil_Unread->new_reply_backend() D:\iPanelThemes\wordpress\wp-includes\plugin.php:429

    PS: Can you tell me the editor setup you used? After updating your plugin when I open it up with sublime, there are all extra line spacing. It wasn’t an issue before.

    Hi,

    It works excellent so far, just the MultiSite issue I opened on your GitHub repository. Also, I was going to ask you, but I guess I found the filter needed to extend status. I am using following code:

    function ipt_kb_support_new_status( $status ) {
    	$status['topic-not-resolved'] = array(
    		'sb-caption'   => __( 'New Request', 'ipt_kb' ),
    		'value'        => 1,
    		'prefix-title' => __( '<span class="glyphicon ipt-icon-info2 bstooltip" title="New Request"></span><span class="sr-only"> [New Request] </span>', 'ipt_kb' ),
    		'admin_class'  => 'waiting'
    	);
    	$status['topic-resolved'] = array(
    		'sb-caption'   => __( 'Resolved', 'ipt_kb' ),
    		'value'        => 2,
    		'prefix-title' => __( '<span class="glyphicon ipt-icon-checkmark-circle bstooltip" title="Resolved"></span><span class="sr-only"> [Resolved] </span>', 'buddy-bbpress-support-topic' ),
    		'admin_class'  => 'approved'
    	);
    	$status['topic-processing'] = array(
    		'sb-caption'   => __( 'Processing', 'ipt_kb' ),
    		'value'        => 3,
    		'prefix-title' => __( '<span class="glyphicon ipt-icon-history bstooltip" title="Processing"></span><span class="sr-only"> [Processing] </span>', 'ipt_kb' ),
    		'admin_class'  => 'waiting'
    	);
    	$status['topic-no-solution'] = array(
    		'sb-caption'   => __( 'No Solution', 'ipt_kb' ),
    		'value'        => 4,
    		'prefix-title' => __( '<span class="glyphicon ipt-icon-cancel-circle bstooltip" title="No Solution"></span><span class="sr-only"> [No Solution] </span>', 'ipt_kb' ),
    		'admin_class'  => 'spam'
    	);
    	return $status;
    }
    if ( class_exists( 'BP_bbP_Support_Topic' ) ) {
    	add_filter( 'bpbbpst_available_support_status', 'ipt_kb_support_new_status' );
    }

    From what I can understand, prefix-title goes before the title, admin-class goes for the dashboard widget and sb-caption goes for the selectbox title. Please correct me if I am wrong.

    Update: I updated the code snippet in case someone else also wants to use it.

    Theme Author Swashata Ghosh

    (@swashata)

    Hi,

    Personally I do not use and therefore do not understand buddypress. As far as I can tell from a quick look at the doc, it is a social networking plugin? If so, I do not see why I would integrate it’s support to the theme. It is meant for knowledge base after all, and now I am integrating bbPress for a fully functional support system (although, bbPress works good with the theme the way it is, just not inherits the styling).

    About 1, 2 and 3 I think you can use some plugin for that. That is not exactly a theme territory, rather a plugin territory. About 4, I will again be using bbPress for this. I will write up documentation when I am finished with the theme.

    Theme Author Swashata Ghosh

    (@swashata)

    Hello,
    Thanks for the nice words. Currently I am working on giving bbPress support. That is a work in progress, you might see the update within a week or so. The release is confirmed because I am moving my own phpBB based support forum to bbPress. Also, the theme documentation is available here: http://ipanelthemes.com/kb/wp-knowledge-base-theme/

    Theme Author Swashata Ghosh

    (@swashata)

    Thanks. I am glad you liked it.

    Theme Author Swashata Ghosh

    (@swashata)

    Hi,

    As @mercime has pointed, since the page of the theme has a full-width template only, so the buddypress pages will have no sidebar. You can create a child theme or (as mentioned by @mercime) buddypress.php and put the following code inside.

    <?php
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package iPanelThemes Knowledgebase
     */
    
    get_header(); ?>
    
    	<div id="primary" class="content-area col-md-8">
    		<main id="main" class="site-main" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', 'page' ); ?>
    
    				<?php
    				// If comments are open or we have at least one comment, load up the comment template
    				if ( comments_open() || '0' != get_comments_number() )
    					comments_template();
    				?>
    
    			<?php endwhile; // end of the loop. ?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I will push the next update to have sidebar pages by default and also a full-width template for creating simpler looking pages.

    Thread Starter Swashata Ghosh

    (@swashata)

    Looks outstanding. Thanks 🙂

    Thread Starter Swashata Ghosh

    (@swashata)

    Hi,

    Thanks, this is exactly what I needed. Also, I understand you have a pro version of this plugin. Do you recommend any other code changes for the same functionality (the one in the first post) with the pro version?

    Thread Starter Swashata Ghosh

    (@swashata)

    Hi,

    Thanks for the clarifications. I will update the theme to use your newer APIs.

    Thread Starter Swashata Ghosh

    (@swashata)

    Hi,

    Thanks for your response and kind words :). Can you tell me how can I detect if ‘autosort’ feature is turned on or off?

    Thread Starter Swashata Ghosh

    (@swashata)

    Hi,

    Thanks for your response (also I recognize you are from India, so a very happy Durga Puja 🙂 ).

    I understand the options concept and I am using bootstrap 3 only. Also I would need to dequeue the bootstrap-icon CSS file, as the float: left conflicts directly with default bootstrap behavior. About the update_option will it override the default plugin settings, or is it the plugin settings itself? Because, if it is plugin settings itself and some user chooses to host file from CDN then functionality will break. Unless there’s some foolproof way to ensure that no other bootstrap resources are loaded, I guess I need to use wp_deregister_*.

    Thanks for your help.

    Plugin Author Swashata Ghosh

    (@swashata)

    Hi,

    Thanks for the update. I will release some updates in near future.

    Plugin Author Swashata Ghosh

    (@swashata)

    Hi,
    The two aren’t compatible I think. This one uses simple get_author, if the other one doesn’t filter it, then it won’t work.

    Hi,

    Looking at the documentation, I think the following code would work:

    <?php
    
    // Get paged or page if available
    $paged = ( get_query_var('paged') ) ? get_query_var('paged') : get_query_var( 'page' );
    
    $my_query = new WP_Query (array(
    	'paged' => $paged,
    	'posts_per_page' => 3,
    	'order' => 'DESC',
    	'cat' => '-1077, -1076',
    	'post__not_in' => get_option( 'sticky_posts' )
    ));
    
    if ( $my_query->have_posts() ) :
    	while( $my_query->have_posts() ) : $my_query->the_post();
    		// Do other loop stuff here
    	endwhile;
    endif;
    
    // Now display pagenavi
    if ( function_exists( 'wp_pagenavi' ) ) :
    wp_pagenavi( array(
    	// Pass our own query variable
    	'query' => $my_query,
    ) );
    else :
    // Bring in default next/previous page links
    endif;
    
    // Avoid side effects
    wp_reset_query();
    Plugin Author Swashata Ghosh

    (@swashata)

    Hi,

    I think you are using the Pro version. When you select the Redirection type to Flat or Score, you will see something like this in the image:

    <img src=”https://dl.dropboxusercontent.com/u/129745839/FSQMPro2.1.4/RedirURL.png&#8221; alt=”Redirection URL” />

    Remove %TRACKBACK% with your URL. If you choose to use %TRACKBACK% to show the submission to the user, then make sure you’ve placed the [ipt_fsqm_trackback] on some page and selected that page from the settings.

    Please see the video tutorials on the documentation for more information. Also please use our dedicated support forum in future for getting prompt reply.

Viewing 15 replies - 46 through 60 (of 125 total)