[TH] User Field Categories [Deleted]

That was fixed a little while ago. They show up correctly now, if they are set to do so (field options - you can control whether it's visible, editable, etc.).
Hm, not for me somehow. This is checked: "Viewable on profile pages"
 
The callback class 'Waindigo_UserFieldCats_Option_UserFIeldCategories' for option 'waindigo_userFieldCats_visitorTabs1' is not valid.
 
Hey @Jon W

It appears I may of found a bug related to your add-on. On a stock install of XenForo + your add-on, create just a normal custom user field under preferences, title it whatever I put mine as a dropdown with a few options.

If you go to edit a user, without your add-on installed:
Screenshot_2.webp

With your add-on installed:
Screenshot_1.webp


It shifts a lot of things into the privacy/extra tabs with your add-on enabled.
 
Whilst I understand this is an unsupported addon, does anyone else experience this issue when installing (On a Windows server with MySQL)?

Code:
Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `xf_user_field_category` DROP PRIMARY KEY , CHANGE `user_field_cate' at line 1

Zend_Db_Statement_Mysqli->_prepare() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Statement.php at line 115
Zend_Db_Statement->__construct() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Adapter\Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Adapter\Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 739
Waindigo_Install->_makeTableChanges() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 696
Waindigo_Install->_createTables() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 206
Waindigo_Install->_install() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 88
Waindigo_Install::install() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\Model\AddOn.php at line 214
XenForo_Model_AddOn->installAddOnXml() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\Model\AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\ControllerAdmin\AddOn.php at line 188
XenForo_ControllerAdmin_AddOn->actionInstall() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\FrontController.php at line 351
XenForo_FrontController->dispatch() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\FrontController.php at line 134
XenForo_FrontController->run() in D:\IIS_SITES\XenForo_BUILD\admin.php at line 13

I've checked and there doesn't seem to be any reserved words or misspellings, I'm not sure what else could cause a problem?
I'm not clever when it comes to MySQL.

Any help, pointers or alternative addon suggestions would be greatly appreciated!

Thank you,
Ryan.

EDIT: The addon HAS created the database entries, it just doesn't "install".
 
Whilst I understand this is an unsupported addon, does anyone else experience this issue when installing (On a Windows server with MySQL)?

Code:
Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE `xf_user_field_category` DROP PRIMARY KEY , CHANGE `user_field_cate' at line 1

Zend_Db_Statement_Mysqli->_prepare() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Statement.php at line 115
Zend_Db_Statement->__construct() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Adapter\Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in D:\IIS_SITES\XenForo_BUILD\library\Zend\Db\Adapter\Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 739
Waindigo_Install->_makeTableChanges() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 696
Waindigo_Install->_createTables() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 206
Waindigo_Install->_install() in D:\IIS_SITES\XenForo_BUILD\library\Waindigo\Install\20150107.php at line 88
Waindigo_Install::install() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\Model\AddOn.php at line 214
XenForo_Model_AddOn->installAddOnXml() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\Model\AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\ControllerAdmin\AddOn.php at line 188
XenForo_ControllerAdmin_AddOn->actionInstall() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\FrontController.php at line 351
XenForo_FrontController->dispatch() in D:\IIS_SITES\XenForo_BUILD\library\XenForo\FrontController.php at line 134
XenForo_FrontController->run() in D:\IIS_SITES\XenForo_BUILD\admin.php at line 13

I've checked and there doesn't seem to be any reserved words or misspellings, I'm not sure what else could cause a problem?
I'm not clever when it comes to MySQL.

Any help, pointers or alternative addon suggestions would be greatly appreciated!

Thank you,
Ryan.

EDIT: The addon HAS created the database entries, it just doesn't "install".
I encountered a similar problem today - so I have to assume some update to Xenforo 1.5 has broken this add-on and, given its unsupported status, we're unlikely to find the fix.
 
Hi all,
I know this addon is unmaintained but... probably there is someone who can help me :)

Within the addon-template waindigo_account_wrapper_userfieldcats there is a variable named $userFieldCategories and I need access to this variable within the addon-template waindigo_member_view_userfieldcats in order to loop over the category groups.

The orginal content of waindigo_member_view_userfieldcats is:
Code:
<xen:if is="{$customFieldsGrouped.custom}">
    <xen:foreach loop="$customFieldsGrouped.custom" value="$field">      
            <xen:include template="custom_field_view" />
    </xen:foreach>
</xen:if>

My modified content would be:
Code:
<xen:if is="{$customFieldsGrouped.custom}">
    <xen:if is="{$userFieldCategories}">
        <xen:foreach loop="$userFieldCategories" key="$userFieldCategoryId" value="$userFieldCategory">
            <h4 class="textHeading">{$userFieldCategory.title}</h4>
            <xen:foreach loop="$customFieldsGrouped.custom" value="$field">
                <xen:if is="{$field.user_field_category_id} == {$userFieldCategoryId}">
                    <xen:include template="custom_field_view" />
                </xen:if>
            </xen:foreach>
        </xen:foreach>
    </xen:if>
</xen:if>

So the template part looks fine, but to modifiy the addon code makes trouble :(
 
Back
Top Bottom