Limit Number of Create Category For Conversations per usergroup

  1. Realystic

    Realystic - Nov 5, 2015 New Member VIP Member

    Credit
    Point
    Limit Number of Create Category For Conversations per usergroup
    I'm interested in buying this but would like to be able to limit the number of categories a person can create per usergroup.

    aka regular account can create 5 categories, however premium user could have unlimited or say the ablity to create 10 Categories for conversations etc.
     
    Loading...
  2. Brivium

    Brivium - Nov 6, 2015 XenForo Services Staff Member

    Credit
    Point
    Hello,

    About the rest, I’m adding your comment into our todo list – great feedback! Anyway, If you make a purchase for this add-on, I can promise with you above features will be added after 2 days.

    Regards,
     
    #2
  3. Realystic

    Realystic - Nov 7, 2015 New Member VIP Member

    Credit
    Point
    I bought a license for it.
     
    #3
  4. nghienvt

    nghienvt - Feb 12, 2017 New Member VIP Member

    Credit
    Point
    Hello Brivium!

    I bought a license of this add on today and complete install with no error, but don't understand why this add-on not work in my site (using Xenforo v1.5.11). This is some details:

    1/ The link: localhost/index.php?conversations/br-categories&category_id=1 alway get error not found (when i click on All Categories in Conversation main page).
    2/ Cannot add new category for conversation even in Administrator (have set 2 permissions: Max category to 10 and Can use conversation category to Allow.
    3/ Server Error log:
    ErrorException: Fatal Error: Call to undefined method GFNClassifieds_Model_Category::getDefaultCategory() - library/Brivium/ConversationCategory/ControllerPublic/Conversation.php:32

    Stack Trace

    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State

    array(3) {
    ["url"] => string(84) "localhost/index.php?conversations/br-categories&category_id=1"
    ["_GET"] => array(2) {
    ["conversations/br-categories"] => string(0) ""
    ["category_id"] => string(1) "1"
    }
    ["_POST"] => array(0) {
    }
    }
    ----------------------

    4/ The words All Categories have no phrase to translator, please check again and add this phrase for can translator, please.

    Hope to get any hint to fix it.

    I have "GoodForNothing Classifieds" add on install already,
    and an uninstalled add on called "Conversation Folder" (it not work and uninstalled).
    Don't sure if this two add-ons make this Category Convesation not work.

    Thank you for support!
     
    Last edited: Feb 12, 2017
    #4
  5. Lisa Nguyen

    Lisa Nguyen - Feb 14, 2017 Brivium Tester Staff Member VIP Member

    Credit
    Point
    Hello @nghienvt,

    I noticed that this issue is caused by GoodForNothing Classifieds add-on. Please submit a ticket to Technical Department which contain GoodForNothing Classifieds add-on and then our developer can to give you a solution to your issue.

    Best regards,
     
    nghienvt likes this.
    #5
  6. nghienvt

    nghienvt - Feb 15, 2017 New Member VIP Member

    Credit
    Point
    Dear Lisa Nguyen!
    Thank you for support me.

    Sorry if i missunderstand, i'm thinking our developer need this source to trace the errors from where, so i upload it here. Very sorry if i missunderstand and make an illegal for that.

    Really, Categories for Conversation is "must have" add on for my site, almost all members need to use convesation everyday for they private jobs, and make category for convesation are the best of ways for manage easier. Thank you again for help!
     
    #6
  7. Lisa Nguyen

    Lisa Nguyen - Feb 15, 2017 Brivium Tester Staff Member VIP Member

    Credit
    Point
    Hello,

    I can to give you a temporary solution to your issue. You can open file in library\Brivium\ConversationCategory\ControllerPublic\Conversation.php and then find "getCategoryModel" and replace it with "getBrCategoryModel". In case you need any more help, feel free to contact us. Thanks for choosing Brivium.

    Regards,
     
    nghienvt likes this.
    #7
  8. nghienvt

    nghienvt - Apr 4, 2017 New Member VIP Member

    Credit
    Point
    Dear Lisa Nguyen!

    Please help me again, today i got new problem with this add on, it not work at same time with Conversation Essentials 1.11.3. Need one disabled for another work.

    Error details:

    1/ On Convesation page of user:

    Mysqli prepare error: Unknown column 'conversation_user.conversation_category_id' in 'on clause'
    1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
    5. Zend_Db_Adapter_Abstract->fetchAll() in ConvEss/Model/Conversation.php at line 1438
    6. ConvEss_Model_Conversation->getConversationRecipientsByConversationIds() in ConvEss/ControllerPublic/Conversation.php at line 117
    7. ConvEss_ControllerPublic_Conversation->_getConversationListData() in Brivium/ConversationCategory/ControllerPublic/Conversation.php at line 63
    8. Brivium_ConversationCategory_ControllerPublic_Conversation->actionBrCategories() in XenForo/FrontController.php at line 351
    9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    10. XenForo_FrontController->run() in /var/www/html/vi/index.php at line 14
    2/ On Error log (ACP):
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'conversation_user.conversation_category_id' in 'on clause' - library/Zend/Db/Statement/Mysqli.php:77
    #0 /var/www/html/vi/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n\t\t\tSELECT conv...')
    #1 /var/www/html/vi/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n\t\t\tSELECT conv...')
    #2 /var/www/html/vi/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n\t\t\tSELECT conv...')
    #3 /var/www/html/vi/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('\n\t\t\tSELECT conv...', Array)
    #4 /var/www/html/vi/library/ConvEss/Model/Conversation.php(1438): Zend_Db_Adapter_Abstract->fetchAll('\n\t\t\tSELECT conv...')
    #5 /var/www/html/vi/library/ConvEss/ControllerPublic/Conversation.php(117): ConvEss_Model_Conversation->getConversationRecipientsByConversationIds(Array)
    #6 /var/www/html/vi/library/Brivium/ConversationCategory/ControllerPublic/Conversation.php(63): ConvEss_ControllerPublic_Conversation->_getConversationListData()
    #7 /var/www/html/vi/library/XenForo/FrontController.php(351): Brivium_ConversationCategory_ControllerPublic_Conversation->actionBrCategories()
    #8 /var/www/html/vi/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 /var/www/html/vi/index.php(14): XenForo_FrontController->run()
    #10 {main}

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

    array(3) {
    ["url"] => string(56) "htp://mydomain/index.php?conversations/"
    ["_GET"] => array(1) {
    ["conversations/"] => string(0) ""
    }
    ["_POST"] => array(0) {
    }
    }

    Please give to me a hint to fix, thank you very much!
     
    Last edited: Apr 5, 2017
    #8
  9. Lisa Nguyen

    Lisa Nguyen - Apr 7, 2017 Brivium Tester Staff Member VIP Member

    Credit
    Point
    Dear @nghienvt,

    Please check your ticket which you sent to Technical Department.

    Many thanks
     
    #9