Swashata Ghosh
Forum Replies Created
-
Forum: Plugins
In reply to: [bbPress Pencil Unread] PHP Notice for mark_as_read_single_forum_linkHi,
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:429and
[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:429PS: 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.
Forum: Plugins
In reply to: [Buddy-bbPress Support Topic] Targetting 2.0 !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-titlegoes before the title,admin-classgoes for the dashboard widget andsb-captiongoes 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.
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.
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/Forum: Reviews
In reply to: [WP Knowledge Base] Very nice themeThanks. I am glad you liked it.
Forum: Themes and Templates
In reply to: [WP Knowledge Base] Buddypress install (sidebar)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.phpand 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.
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Compatibility with a bootstrap themeLooks outstanding. Thanks 🙂
Forum: Plugins
In reply to: [Post Types Order] Filter to remove post ordering on some custom queriesHi,
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?
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Compatibility with a bootstrap themeHi,
Thanks for the clarifications. I will update the theme to use your newer APIs.
Forum: Plugins
In reply to: [Post Types Order] Filter to remove post ordering on some custom queriesHi,
Thanks for your response and kind words :). Can you tell me how can I detect if ‘autosort’ feature is turned on or off?
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Compatibility with a bootstrap themeHi,
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-iconCSS file, as thefloat: leftconflicts directly with default bootstrap behavior. About theupdate_optionwill 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 usewp_deregister_*.Thanks for your help.
Hi,
Thanks for the update. I will release some updates in near future.
Forum: Plugins
In reply to: [WP Category Post List Widget] AuthorsHi,
The two aren’t compatible I think. This one uses simpleget_author, if the other one doesn’t filter it, then it won’t work.Forum: Plugins
In reply to: [WP-PageNavi] Stopped showing older posts when clicking on next pageHi,
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();Forum: Plugins
In reply to: [WP Feedback & Survey Manager] Redirect Options are very crypticHi,
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” 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.