Gabriel Pinho
Member
Thanks my friend! Now this Addon works fine!!!! Using your add mod: http://xenforo.com/community/attachments/steamauth-1-0-7c-zip.28960/
I managed to crack the auth only version. But it's not perfect. It uses the same PHP files and listeners but the addon XML removes all of the unnecessary templates. Think it might still create the database tables too.Going to investigate the issue with "XML declaration allowed only at the start of the document." Something in the game's XML data is causing some wonky stuff. Have to figure out why it's spitting out this error on occasion. It was working when I did cron testing, but now it's creeping up again.
As for setting up an alternative version that has just authentication, I can look into that. No guarantee though.
I'll keep you all updated on the XML issue. Hopefully I'll find a solution tomorrow evening when I get a chance to bug test again.
I think you may have some other issues outside of the plugin. It seems like your website is broken. The drop-down box doesn't even work. Is your style not up to par?
I just had somebody register on my website alright. Maybe try running the default style and try to disable other login addons you may have.
Alternatively, you can try re-installing the add-on.
EDIT:
Moulijin, for some reason your have some weird redirects going on with your URLs, so when Open ID returns, it's saying it's not matching.
It has something to do with your webserver setup. If you're hosted somewhere, you may need to open a support ticket about it.
For some reason it's saying "Unknown Steam Account", I'm using the latest version.
I don't know what is wrong, my redirects are fine. Do you have any ideas?
https://steamcommunity.com/openid/login?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=checkid_setup&openid.return_to=http%3A%2F%2Fwww.clashofthezombies.com%2Fregister%2Fsteam%3Fredirect%3Dhttp%253A%252F%252Fwww.clashofthezombies.com%252F&openid.realm=https%3A%2F%2Fwww.clashofthezombies.com&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select
openid.mode=error&openid.error=realm+and+return_to+do+not+match
Mysqli prepare error: Unknown column 'game_hours_recent' in 'field list'
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 574
Zend_Db_Adapter_Abstract->insert() in Steam/Cron.php at line 38
Steam_Cron::update() in Steam/Manufacture.php at line 95
Steam_Manufacture->_installVersion4() in Steam/Manufacture.php at line 59
Steam_Manufacture::build() in XenForo/Model/AddOn.php at line 214
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 178
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/pfps/public_html/comunidade/admin.php at line 13
Drop xf_steam_games and xf_user_steam_games tables from your database prior to the install.Code:Had this add-on previously, but uninstalled and are having a database error like this? Code: Mysqli prepare error: Unknown column 'game_hours_recent' in 'field list' 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 574 Zend_Db_Adapter_Abstract->insert() in Steam/Cron.php at line 38 Steam_Cron::update() in Steam/Manufacture.php at line 95 Steam_Manufacture->_installVersion4() in Steam/Manufacture.php at line 59 Steam_Manufacture::build() in XenForo/Model/AddOn.php at line 214 XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169 XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 178 XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132 XenForo_FrontController->run() in /home/pfps/public_html/comunidade/admin.php at line 13
May I interest, what happened with official version and why unofficial appeared?
Known Issue(s):
- It is possible for Cron.php to time out if you have open_basedir set other than none or safe_mode on. This is because it has to load XML data as a file instead of a string.
- Having open_basedir set other than none or safe_mode on can cause 302 errors on the Steam Profile badge. This has to do with the that project using CURLOPT_FOLLOWLOCATION.
- The steam login integration still works fine, this only affects the steam badge on messages and the profile.
- This issue is external to this particular project (not Morgan's code). I cannot find a work around as of right now. I'll see if I can notify the developer, but no promises of a fix for this as this is outside the scope of this add-on.
update xf_user_profile p
inner join xf_user_field_value v on p.user_id = v.user_id and v.field_id = 'Steam'
set p.steam_auth_id = SteamToInt(v.field_value)
where v.field_value <> '' and p.steam_auth_id = 0
<input type="hidden" name="item_name" value="{xenhrase account_upgrade}: {$upgrade.title} ({$visitor.username} / {$visitor.customFields.Steam})" />
{$visitor.steam_auth_id}
ErrorException: simplexml_load_string(): Entity: line 15: parser error : Opening and ending tag mismatch: br line 12 and div - library/Steam/Helper/Steam.php:79
#0 [internal function]: XenForo_Application::handlePhpError(2, 'simplexml_load_...', '/var/some.foru...', 79, Array)
#1 /var/some.forum.org/forumindex/library/Steam/Helper/Steam.php(79): simplexml_load_string('<?xml version="...')
#2 /var/some.forum.org/forumindex/library/Steam/Cron.php(29): Steam_Helper_Steam->getUserGames(76561198037500446)
#3 [internal function]: Steam_Cron::update(Array)
#4 /var/some.forum.org/forumindex/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#5 /var/some.forum.org/forumindex/library/XenForo/ControllerAdmin/Cron.php(204): XenForo_Model_Cron->runEntry(Array)
#6 /var/some.forum.org/forumindex/library/XenForo/FrontController.php(310): XenForo_ControllerAdmin_Cron->actionRun()
#7 /var/some.forum.org/forumindex/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /var/some.forum.org/forumindex/admin.php(13): XenForo_FrontController->run()
#9 {main}
We use essential cookies to make this site work, and optional cookies to enhance your experience.