If you can get me the schema (database columns) for the user group table I can tell you. I'm just unable to look it up now. (Actually I already said it, just need proper data)Like I said.. I'm WAY over MY head in changing the code. I can generally find where needs to be changed.. but what to change it to is the current challenge I'm battling.
Let me install it real quick on my 1.1.5 site and see what turns up.If you can get me the schema (database columns) for the user group table I can tell you. I'm just unable to look it up now. (Actually I already said it, just need proper data)
An exception occurred: Mysqli prepare error: Unknown column 'display_style_priority' in 'order clause' in /var/www/twowheel/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 Zend/Db/Adapter/Abstract.php at line 734
Zend_Db_Adapter_Abstract->fetchAll() in XenStaff/Model/StaffGroupsUserIds.php at line 40
XenStaff_Model_StaffGroupsUserIds->getAllUserIdsPerStaffGroup() in XenStaff/Model/StaffGroupsUserIds.php at line 10
XenStaff_Model_StaffGroupsUserIds->getListofUsersPerStaffGroup() in XenStaff/Addtab.php at line 20
XenStaff_Addtab::navigationTabs()
call_user_func_array() in XenForo/CodeEvent.php at line 54
XenForo_CodeEvent::fire() in XenForo/Dependencies/Public.php at line 464
XenForo_Dependencies_Public->_getNavigationContainerParams() in XenForo/Dependencies/Public.php at line 348
XenForo_Dependencies_Public->getEffectiveContainerParams() in XenForo/FrontController.php at line 566
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
XenForo_FrontController->run() in /var/www/twowheel/index.php at line 13
And that worked... about to copy the file into a post here for the OP to copy/paste over his old file.add DESC after display_style_priority.
THIS is the way I end up learning about PHP.add DESC after display_style_priority.
And it's the exact way I learned it. Seriously, ask questions. You shall receive answers here and most of it shall be rather helpful in learning the languages. But this be off topic.THIS is the way I end up learning about PHP.
Thanks!, but can i just delete my original StaffGroups.php and put the new one in? @Tracy Perry@XeStorm
Take the attached file and replace the existing one in your root_forum_directory/library/XenStaff/Model.
Just to be on the safe side, rename your existing one to .php.bak extension.
Done!, Thanks so much guys. thanks for the help! @Tracy Perry @King Kovifor@XeStorm
Take the attached file and replace the existing one in your root_forum_directory/library/XenStaff/Model.
Just to be on the safe side, rename your existing one to .php.bak extension.
We use essential cookies to make this site work, and optional cookies to enhance your experience.