1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained [TH] Star Rating for Custom Fields (Custom Field XML) 1.1.0a

Add star rating fields to your threads, posts, resources or user profile.

  1. Jon W

    Jon W Well-Known Member

    time, erich37, Francesco V. and 2 others like this.
  2. 0xym0r0n

    0xym0r0n Well-Known Member

  3. karll

    karll Well-Known Member

    I have many questions ...

    In the screenshots it looks like the thread starter rates the thread, is that correct? That seems a bit strange. Who can rate the thread? Could it be restricted so that only those who have posted in the thread can rate it? Is an average rating displayed anywhere, assuming others than the thread starter can rate it also?

    Could this add-on work like a rating system? Let's say I start several threads for different products. Could the threads be displayed in order of highest to lowest rating? Is the rating displayed in the forum's list of threads?
     
  4. Jon W

    Jon W Well-Known Member

    No, this still requires the Custom Fields add-on. The new version (which supports this resource) will be released at midday today.

    This is not just for rating threads. It could be used, for example, for providing a review in a thread -- the thread starter could give a book, game, or anything else a rating in several different categories (i.e. price, enjoyability, etc.). It can also be used for resources, library articles and posts. In the case of posts, the person replying to the thread will also be able to give their rating (no screenshot for this yet).

    As for ordering threads from highest to lowest, the Custom Fields add-on would probably not be suitable for this.
     
    ManOnDaMoon and 0xym0r0n like this.
  5. 0xym0r0n

    0xym0r0n Well-Known Member

    Well if its like his original separated add-ons it was meant for more of review type situation rather than user(s) rating the thread.


    WHOOP.
    I got ninja'd by the man himself ;) good work waindigo
     
    Jon W likes this.
  6. karll

    karll Well-Known Member

    This sounds quite interesting... I think more screenshots would be useful! Or is there a demo site? Or does some other site have it installed already?
     
  7. Jon W

    Jon W Well-Known Member

    We will be setting up a demo of this on waindigo.com soon.
     
    karll likes this.
  8. Jon W

    Jon W Well-Known Member

  9. Arkshine

    Arkshine Active Member

    XML file seems to have some problem. Can't install it.
     
  10. Jon W

    Jon W Well-Known Member

    What's the error message? Make sure you are importing it as a custom field. It is not an add-on.
     
  11. Arkshine

    Arkshine Active Member

    It says the file is not valid.
     
  12. Jon W

    Jon W Well-Known Member

    The exact error message please. It is important.
     
  13. Arkshine

    Arkshine Active Member

    "The provided file is not an add-on XML file."
     
  14. Jon W

    Jon W Well-Known Member

    That's because the provided file is not an add-on XML file. It is a custom fields XML file.

    Please go to the appropriate page for importing a custom field.

    Admin CP -> Users -> Custom User Fields -> Import
    Admin CP -> Applications -> Custom Thread Fields -> Import
    Admin CP -> Applications -> Custom Post Fields -> Import
    Admin CP -> Applications -> Custom Resource Fields -> Import
     
  15. Arkshine

    Arkshine Active Member

    Yes, just seen that, my bad. I should have read the first. :p

    Now, when I'm trying to import it, I get :

    Server Error

    Mysqli prepare error: Unknown column 'display_callback_class' in 'field list'
    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 574
    5. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591
    6. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
    7. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
    8. XenForo_DataWriter->save() in Waindigo/CustomFields/Extend/XenForo/Model/UserField.php at line 275
    9. Waindigo_CustomFields_Extend_XenForo_Model_UserField->importFieldXml() in Waindigo/CustomFields/Extend/XenForo/ControllerAdmin/UserField.php at line 82
    10. Waindigo_CustomFields_Extend_XenForo_ControllerAdmin_UserField->actionImport() in XenForo/FrontController.php at line 310
    11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    12. XenForo_FrontController->run() in /srv/d_cs-amx/www/cs-amx.fr/htdocs/admin.php at line 13
    Hope not my fault again !
    I've of course Custom Fields (1.1.0) installed.
     
  16. Jon W

    Jon W Well-Known Member

    Now we're talking. That sounds like a real bug. :p

    I'll take a look now.
     
  17. Jon W

    Jon W Well-Known Member

    Have you run the update XML script for the 1.1.0 add-on? It seems that you are missing a column in the xf_user_field table that should have been added as part of the update.


    Did you receive any errors during install/update?

    Please could you try running the add-on update XML script again?
     
  18. Jon W

    Jon W Well-Known Member

  19. time

    time Active Member

    "The provided file is not an add-on XML file."

    :(
     
  20. Andrej

    Andrej Well-Known Member

    Read the installation instructions and posts above.
     
    Jon W and time like this.

Share This Page