Jon W
Well-known member
Great. I'll fix that in the next update so that it ignores that file if it is still there. Thanks for letting me know about the bug.working now
Great. I'll fix that in the next update so that it ignores that file if it is still there. Thanks for letting me know about the bug.working now
Bug fixes:
- Fixes bug that cannot select Custom Resource Fields when creating a new Resource Category.
- Fixes error that cannot upgrade from previous version of Custom Fields without deleting Install.php file first.
- Fixes error that default values for post fields in library nodes with PHP callback are not stored correctly.
Bug fixes:
- Fixes error when un-removing forum with NoForo by Waindigo add-on, and now ensures that all tables are correctly re-built such that this add-on does not need then to be upgraded/re-installed to function correctly.
- Improved installer to enable better future compatibility with other add-ons that may wish to add new custom field types in future.
Bug fixes:
- Fixes a bug in the 1.1.0e installer shared file that stops some other Waindigo add-ons from being installed.
- Fixes bug that stops add-ons containing custom fields exported with this add-on from being installed if a custom field with the same ID is already installed. These fields will now be ignored on installation.
I can test and test... but I know that the bugs will never show themselves until I release it on XenForo, so might as well let them have their fun before I squash them!Again !
I ended getting it to work finally through the header template, I was trying to over-complicate things. Just want to say thanks , we'll try to get a donation to you, this has turned out better than we imagined. We setup a little review submission system with this addon and the star rating:
View attachment 36162
View attachment 36163
The only thing I'd like to do is show the star rating inside the thread_list_item template, is that possible?
<xen:if is="{$customFields.waindigo_star_rating.rating} == 1}">
IMAGES_FOR_1_STAR
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 2}" />
IMAGES_FOR_2_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 3}" />
IMAGES_FOR_3_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 4}" />
IMAGES_FOR_4_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 5}" />
IMAGES_FOR_5_STARS
<xen:else />
IMAGES_FOR_NO_STARS
</xen:if>
Well it's been awhile since I've had it set like that but... you'll need:
http://xenforo.com/community/resources/star-rating-for-custom-fields-1-1-x-by-waindigo.1596/
You can use this little tip to customize your thread_create:
http://xenforo.com/community/threads/custom-fields-by-waindigo.34093/page-7#post-435748
You can use something like this for the stars(not sure if this works for his latest)
Code:<xen:if is="{$customFields.waindigo_star_rating.rating} == 1}"> IMAGES_FOR_1_STAR <xen:elseif is="{$customFields.waindigo_star_rating.rating} == 2}" /> IMAGES_FOR_2_STARS <xen:elseif is="{$customFields.waindigo_star_rating.rating} == 3}" /> IMAGES_FOR_3_STARS <xen:elseif is="{$customFields.waindigo_star_rating.rating} == 4}" /> IMAGES_FOR_4_STARS <xen:elseif is="{$customFields.waindigo_star_rating.rating} == 5}" /> IMAGES_FOR_5_STARS <xen:else /> IMAGES_FOR_NO_STARS </xen:if>
So I literally just coded a div, that contained these elements and floated it to the right in the "header template" for his addon.
<xen:if is="{$customFields.waindigo_custom_rating} == 1}">
IMAGES_FOR_1_STAR
<xen:elseif is="{$customFields.waindigo_custom_rating} == 2}" />
IMAGES_FOR_2_STARS
<xen:elseif is="{$customFields.waindigo_custom_rating} == 3}" />
IMAGES_FOR_3_STARS
<xen:elseif is="{$customFields.waindigo_custom_rating} == 4}" />
IMAGES_FOR_4_STARS
<xen:elseif is="{$customFields.waindigo_custom_rating} == 5}" />
IMAGES_FOR_5_STARS
<xen:else />
IMAGES_FOR_NO_STARS
</xen:if>
<xen:include template="rating">
<xen:set var="$rating">{$customFields.waindigo_custom_rating}</xen:set>
</xen:include>
When trying to install the xml to XF 1.1.4, it fails. When I try to install the xml from the server, I get this error:
Server Error
String could not be parsed as XML
- SimpleXMLElement->__construct() in AddOnInstaller/Model/AddOn.php at line 0
- AddOnInstaller_Model_AddOn->getXmlType() in AddOnInstaller/ControllerAdmin/AddOn.php at line 33
- AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade() in XenForo/FrontController.php at line 310
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
- XenForo_FrontController->run() in /admin.php at line 13
How are you installing it? Are you uploading the zip file using Chris's add-on? Or are you typing in the URL from the Resource Manager? Or uploading the files manually by FTP and then just uploading the XML file?I am trying to install the custom fields addon downloaded from this thread:
addon-Waindigo_CustomFields-1.1.0f.1364657954
addon-Waindigo_CustomFields.xml
I have unzipped and uploaded the files to the server. Then tried to upload the xml through the admin panel. This failed.How are you installing it? Are you uploading the zip file using Chris's add-on? Or are you typing in the URL from the Resource Manager? Or uploading the files manually by FTP and then just uploading the XML file?
I have tried all three methods and am unable to replicate the issue.
An exception occurred: Mysqli prepare error: Table 'forum_xflive.xf_thread' doesn't exist in /var/www/vhosts/domain.com/httpdocs/forum/library/Zend/Db/Statement/Mysqli.php on line 77
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
XenForo_Model->fetchAllKeyed() in XenForo/Model/Thread.php at line 371
XenForo_Model_Thread->getThreads() in WidgetFramework/WidgetRenderer/Threads.php at line 100
WidgetFramework_WidgetRenderer_Threads->_render() in WidgetFramework/WidgetRenderer.php at line 421
WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 254
WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 192
WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 30
WidgetFramework_Listener::template_post_render()
call_user_func_array() in XenForo/CodeEvent.php at line 54
XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 119
XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 565
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
XenForo_FrontController->run() in /var/www/vhosts/domain.com/httpdocs/forum/index.php at line 13
Do you have NoForo installed? The error says that there is no thread table in your database.Just uninstalled this add-on and got this error.
Had to disable the Widget Framework add-on to get my site working again.
Server Error
Mysqli prepare error: Table 'forum_xflive.xf_thread' doesn't exist
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 825
Zend_Db_Adapter_Abstract->fetchOne() in XenForo/Model/Thread.php at line 392
XenForo_Model_Thread->countThreads() in XenForo/Model/Thread.php at line 455
XenForo_Model_Thread->countThreadsInForum() in XenForo/ControllerPublic/Forum.php at line 83
XenForo_ControllerPublic_Forum->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /var/www/vhosts/domain.com/httpdocs/forum/index.php at line 13
We use essential cookies to make this site work, and optional cookies to enhance your experience.