Code

Discussion on Sabai Discuss - Q&A forum plugin for WordPress

Discussion on Sabai Discuss - Q&A forum plugin for WordPress

By
Cart 3,410 sales

onokazu does not currently provide support for this item.

2203 comments found.

Hello, it looks like that when CSS Minify is enabled in W3 Total Cache plugin, the wp-content/themes/my_theme/sabai/style.css file is not taken into account anymore…

Any thoughts about this css issue ?

The plugin seems to have an option to set CSS files that should not be minified. Does using that option help?

yes, you’re right. We loose a bit the benefit of minifying this css file but it is just one afile nd it works now. So… good :-)

Where are the 19 themes in the plugin please ?

This is a plugin, so no themes are included. The plugin has 19 template files in PHP and HTML for you to customize the output. The files are located under plugins/sabai-discuss/lib/Questions/templates.

http://sabaidiscuss.com/documentation/customizing-sabaidiscuss/#Customize_Template_Files

Hey, i accidentally deleted the page, the one that is not named Sabai. Now is is not working, and i can’t create a new page. So, what do i do now?

You will need to create a new page and add a custom field with a field name “sabai_wordpress_menu_id” (you should be able to select this from the dropdown menu) and its value “questions”.

This will no longer be required from the next version.

Hey there, this maybe a silly question, I’m not sure how long my purchase code entitles me to product updates.

I bought the plugin about a month ago, and I can see that there are updates available. (I’ve updated once before) but it won’t update it says my code is invalid? Has my license just expired?

No, your license shouldn’t expire. Could you send me your purchase code if possible? You can use the contact form here: http://codecanyon.net/user/onokazu

I have purchased the script but i guess I am logged in with photo dune login or something

I need to change the label on the one text box on the ask page from “title” to something else

which file do i change?

Hi cat77,

You would need to modify the language file of the plugin. Please take a look at the documentation: http://sabaidiscuss.com/documentation/localization/

I looked in those files, not sure what I am missing found one instance of “Title” and changed it but it did not effect the label on the form

I am just trying to change the label on the textbox on the ask page, it is labeled “Title *” but it should be like “Question”

Sorry, I almost forgot… all fields are editable from the backend. Go to Questions -> Manage Fields and hover over to the “Title” field and press the little Edit button that appears on the right. A form should appear and there you can change the field label (default: Title) to anything you like.

Hello, I would like to request a feature expansion. Would you please add the category number count to the category widget as well? For those who do not want to see it, you can put a checkbox, or setting to show or hide.

Do you mean post counts for each category? If so, the category widget should already have that option to show or hide.

Hello, for some reasons I deleted the CAPTCHA at the end of the question form and I just tried to put it back in the ../wp-admin/admin.php?page=sabai/questions&q=%2Fquestions%2Ffields but I get the error message “The Really Simple CAPTCHA plugin must be installed and active.” How to fix it ?

The Captcha field is not active when you installed SabaiDiscuss. As the error message says, you must have the Really Simple CAPTCHA plugin installed and active to add a Captcha field. http://wordpress.org/extend/plugins/really-simple-captcha/

gloups :-) Thank you and sorry for this question. I thought I had CAPTCHA and I never had…

Hello, I’m using the Research Sabai widget. On the results page, the searched words are not displayed. Possible to change that ? Thank you.

The search page is going to be revamped. I cannot give you any timeframe but very soon.

Thank you.

Hello, I’m wondering if there is not a but about the functionnality comments. I do uncheck all the corresponding boxes in the Access Control tab both for questions and answers. However, the “Add comment” field is displayed both for the questions and answers of a connected users (basic role : subscriber). More, when the connected user actually adds a comment to his own question or answer, it works but plenty of error messages appear in a red popup on the right of the screen (see after where i replaced infos form my site by mydomaine.com, username and name of my user) : Failed parsing response: {"comment_html":"<li id="\"sabai-comment-4\"" class="\"sabai-comment-owner" sabai-comment-parent-owner=""><div class="\"sabai-comment-avatar\""><a href="\"http:\/\/www.mydomaine.com\/questions\/users\/username\"" title="\"nam" of="" my="" user="" class="\"sabai-user-thumbnail\""><img src="\"https:\/\/graph.facebook.com\/100002223803272\/picture?type=square\"" alt="\"\"" width="\"24\"" height="\"24\"" style="\"width:24px;" height:24px="" /><\/a><\/div>\n<ul class="\"sabai-comment-meta\""><li class="\"sabai-comment-author\""><a href="\"http:\/\/www.mydomaine.comt\/questions\/users\/username\"">Name of my user<\/a><\/li><li class="\"sabai-comment-date\""><span title="\"1" mars="" h="" min="">il y a 1 seconde<\/span><\/li><li class="\"sabai-comment-flags\"" style="\"display:none;\""><span><\/span><\/li><li class="\"sabai-comment-votes\"" style="\"display:none;\""><span><\/span><\/li><\/ul>\n<div class="\"sabai-comment-main\""><span>commentaire de username\n<\/span><\/div>\n<div class="\"sabai-comment-form\""><\/div>\n\n<\/li>","url":"http:\/\/www.mydomaine.com\/questions\/reponses\/19#sabai-comment-4","messages":[]} TypeError: 'undefined' is not a function (evaluating 'a.curCSS(b,d)')</div></span></div></span></li></span></li></span></li></a></li></ul></a></div></li>

I tied it with a browser of another computer with and without comments boxes checked or not for Questions in the Access Control tab and the result is the same : comments field is displayed and when the connected user add a comment to his question, plenty of errors are displayed in a red popup. As I don’t want comments on questions and answers, can you tell me what code to delete in the html templates or php files ? (it does not solve the problem in deep but at least – as I don’t want comments – it prevents my users to use it). Thank you. (by the way, I will send you a link to my web site, I hope today but still have some work to do on it).

I have tested on several sites and can not seem to reproduce the issue you are having. If you need support, please contact me directly with the URL to your site.

If you want to remove the comments feature, you can just remove the comments section from the questions_single_full.html and questions_answers_single_full.html templates:

<div class="sabai-questions-comments" id="<?php echo $id;?>-comments">
    <?php echo $this->Comment_RenderComments($entity, $id . '-comments');?>
</div>

Thank you very much. Before to delete tis comments code, I send you an email with my web site url. So, you can test this problem and the fact that the questions are always moderated even if the corresponding box (to avoidit for subscribers) is checked. Thank you.

Hello, questions asked (even by connected users) are always moderated by admin or there is a way to publish them without approval ? I’m asking that as I see “Add Questions (without approval)” checked for Subscribers in my Access Control tab but I just tried it with a user that was connected to my Web site through Facebook Connect (I’m using WP Social Login) and an approval is still requested for his question. (i checked if this user was listed in the list of Wordpress users and this is the case). Thank you.

Can I use the categories I setup already in Wordpress as my categories for the dicussion board? How do I tie this? Thanks

No that is not possible. You need to recreate them for SabaiDiscuss.

With the plugin total cache enabled pages are not displayed for non connected

Visitors do not have access to the questions page

The page is not displayed Error 330 (net :: ERR_CONTENT_DECODING_FAILED): Unknown error

Why ?

Is this related to the issue with the WP Total Cache plugin?

When is 1.2.x coming out?

Sorry, I cannot give you any timeframe, but should be soon.

Great work! I am having an issue getting the widgets to show up on interior pages. I have two instances of Sabaidiscuss set up, and the widgets show up fine on both landing screens, however, if I click in on anything (such as a question) I get the default Wordpress widgets. Thanks in advance for your assistance!

Hi, I replied just after receiving your mail. Did you get my mail?

Hey onokazu, all I got was your note to send a link and I sent it. Was there another message after that?

This is what I wrote:

I just checked your site and I do see the issue with the widgets. However, the demo site at http://demo.sabaidiscuss.com/ also has 2 instances of SabaiDiscuss installed but widgets seem to display just fine.

What plugin are you using to display different widgets on each page? Our demo site uses the Display Widgets plugin. Maybe you can try it out. http://wordpress.org/extend/plugins/display-widgets/

Hi there, i just wanted to know if you are still planning to include a file attachment to the questions? If so when do you think this might happen?

Thanks

David

Yes, we plan to add that to 1.2.x. There will be 2 new custom field types, i.e. File and Image field types. Since they are custom fields, you can add as many field as like to questions and answers, and even to categories and tags.

excellent!! any ideas when this might be available to us? Thanks again

Sorry, I cannot give you any timeframe, but should be soon.

Hello,

It seems like your plugin Title setting is overriding Wordpress SEO by Yoast link structure.

My homepage shows Questions >> Sitename instead of Sitename >> Questions or even Sitename >> tagline.

Something is wrong.

Can you confirm?

I replied to you via email

Hello, translation question : I do not find “Previous” in the 2 po files (bottom of http://demo.sabaidiscuss.com/questions/). Thank you.

You’re right, the phrase is missing in sabai.pot. I will add it in the next version but for now you can manually add them to your .po file.

Thank you. Good idea but how to do it ? (I’m using the Poedit)

You can add the following to your .po file so that it can be translated:

msgid "Previous" 
msgstr "" 

Anyone able to share a german translation file?

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey