The issue I'm having is that when I disable this addon, the error goes away.Something is calling helperStripHtml and it's not my addon.
array(2) {
["username"] => string(127) "<span style="font-weight: bold; font-style: italic; color: #9ACD32; font-family: Verdana, Geneva, sans-serif; ">{inner}</span>
"
["usertitle"] => string(7) "{inner}"
}
string(7) "{inner}"
array(2) {
["username"] => array(0) {
}
["usertitle"] => array(0) {
}
}
array(0) {
}
I guess I'm not the only one =]. Can you confirm with my screenshot in my previous post where usernames don't display?Another glitch. It seems if a user does not have '$user["3ps_cmfu_render_cache"]' set, it won't even put their normal username, so I have a bunch of names on my forum that don't even show up since they have zero styling associated with them.
I think it has something to do with 'ThreePointStudio_CustomMarkupForUser_Helpers' under the function 'assembleCustomMarkup' but I'm not sure
Are you using the very latest version? Both problems should be fixed in the latest release.Another glitch. It seems if a user does not have '$user["3ps_cmfu_render_cache"]' set, it won't even put their normal username, so I have a bunch of names on my forum that don't even show up since they have zero styling associated with them.
I think it has something to do with 'ThreePointStudio_CustomMarkupForUser_Helpers' under the function 'assembleCustomMarkup' but I'm not sure
What happens if you rebuild the User Markup cache? You'll need to do this because you were using a broken version of the addon.
Just did that, didn't change anythingWhat happens if you rebuild the User Markup cache? You'll need to do this because you were using a broken version of the addon.
Yup, it seems that the render cache and some options are corrupt. Do this:Just did that, didn't change anything
UPDATE xf_users SET `3ps_cmfu_options`='a:2:{s:8:"username";a:0:{}s:9:"usertitle";a:0:{}}' WHERE `3ps_cmfu_options` = ''
I should also mention that issue in the screenshot still applies when I disable the cache.Yup, it seems that the render cache and some options are corrupt. Do this:
1. Backup 3ps_cmfu_options column
1a. Close forum
2. Uninstall addon
3. Reinstall addon
4. Restore 3ps_cmfu_options column
5. Temporarily change 3ps_cmfu_options to TEXT
6. Run this query:
7. Change 3ps_cmfu_options back to BLOBCode:UPDATE xf_users SET `3ps_cmfu_options`='a:2:{s:8:"username";a:0:{}s:9:"usertitle";a:0:{}}' WHERE `3ps_cmfu_options` = ''
8. Rebuild user markup cache
8a. Reopen forum
Please confirm your Model/User.php looks like this (no MD5er on hand): https://github.com/tyteen4a03/3ps_c...ointStudio/CustomMarkupForUser/Model/User.phpI should also mention that issue in the screenshot still applies when I disable the cache.
It does not, seems the latest version on XF isn't that eitherPlease confirm your Model/User.php looks like this (no MD5er on hand): https://github.com/tyteen4a03/3ps_c...ointStudio/CustomMarkupForUser/Model/User.php
Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
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 ThreePointStudio/CustomMarkupForUser/Installer.php at line 27
ThreePointStudio_CustomMarkupForUser_Installer::uninstall()
call_user_func() in XenForo/DataWriter/AddOn.php at line 200
XenForo_DataWriter_AddOn->_postDelete() in XenForo/DataWriter.php at line 1779
XenForo_DataWriter->delete() in XenForo/ControllerAdmin/AddOn.php at line 122
XenForo_ControllerAdmin_AddOn->actionDelete() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/fdsa/public_html/xenforo/admin.php at line 13
A packaging error caused the files on XF.com to have the incorrect files. This has been corrected. Please download the files again, uninstall and reinstall the addon.
Additionally, unused files are removed.
I apologise for the inconvenience caused.
I blame 7zip. Download 1.0.0b.It does not, seems the latest version on XF isn't that either
Tried to uninstall:
Code:Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 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 ThreePointStudio/CustomMarkupForUser/Installer.php at line 27 ThreePointStudio_CustomMarkupForUser_Installer::uninstall() call_user_func() in XenForo/DataWriter/AddOn.php at line 200 XenForo_DataWriter_AddOn->_postDelete() in XenForo/DataWriter.php at line 1779 XenForo_DataWriter->delete() in XenForo/ControllerAdmin/AddOn.php at line 122 XenForo_ControllerAdmin_AddOn->actionDelete() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/fdsa/public_html/xenforo/admin.php at line 13
Thanks
This is why you should turn on the cacheThanks
You're probably aware of this, but it's making a single query for everytime a username appears. My /forums/ page has 70 queries haha.
lol it happens
do u still have query issues?Thanks
You're probably aware of this, but it's making a single query for everytime a username appears. My /forums/ page has 70 queries haha.
EDIT maybe not, it's on some pages, not on others o.o maybe it's just my site.
The query issue has been here since the inception of this addon, but with the newest release the CPU usage should go down a bit. I'm still trying to reduce the query usage but the latest release's method proved to not work (I didn't think it out correctly)lol it happens
do u still have query issues?
We use essential cookies to make this site work, and optional cookies to enhance your experience.