MyBB Community Forums

Full Version: Steam OpenID MyBB Gets SQL Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I'm pretty new to MyBB and I'm currently in the process of creating a gaming community, whereas the forums will feature a login with Steam button so users can link their Steam accounts to the website and add each other.

I'm currently using MyBB 1.8, and the plugin itself is located at: https://github.com/stewartiee/Steam-OpenID--MyBB-

The login button works great and shows up right where I want it to (right beside the register button, in the future I hope to remove the register button entirely and just have the Steam button), it redirects me to Steam where I can say "yes, sign in", and then this error...

Here's a screenshot of the error I receive:

[Image: ilTRKvF.png]


Steam is located at www.steampowered.com and www.steamcommunity.com, and my website is at www.enrichedgaming.com.

Can anyone tell me what's wrong? Hopefully I can get this fixed! Thanks in advance.
You probably need the plugin from MyBB hacks

http://mybbhacks.zingaburga.com/showthread.php?tid=259
Well on the plugin page, it said everything I needed to use the plugin was correct.

I have not yet installed this plugin, so I'll give it a shot. Thanks!

Edit - Ok, I don't get the error anymore but the plugin doesn't seem to work. When I click on Steam "ok, sign up" or whatever, all it does it redirect me to the index as if I had done nothing.
your site was suspended?

make sure ur header_welcomeblock_guest is
<a href="{$mybb->settings[\'bburl\']}/misc.php?action=steam_login"><img border="0" src="inc/plugins/steamlogin/steam_login_btn.png" alt="Login through Steam" style="vertical-align:middle"></a>
It is pretty clear, that the plugin fails to add the 'loginname' column to the users table.

You might want to run an extra query in the "activtae" section of the plugin:

$GLOBALS['db']->query( 'ALTER TABLE '.TABLE_PREFIX.'users ADD loginname varchar(255) );
(2015-01-11, 06:46 AM)Cedric Wrote: [ -> ]It is pretty clear, that the plugin fails to add the  'loginname' column to the users table.

You might want to run an extra query in the "activtae" section of the plugin:

$GLOBALS['db']->query( 'ALTER TABLE '.TABLE_PREFIX.'users ADD loginname varchar(255) );

How do I go about doing this? Sorry, I'm relatively new to MyBB.

(2015-01-11, 08:23 PM)dovob Wrote: [ -> ]
(2015-01-11, 06:46 AM)Cedric Wrote: [ -> ]It is pretty clear, that the plugin fails to add the  'loginname' column to the users table.

You might want to run an extra query in the "activtae" section of the plugin:

$GLOBALS['db']->query( 'ALTER TABLE '.TABLE_PREFIX.'users ADD loginname varchar(255) );

How do I go about doing this? Sorry, I'm relatively new to MyBB.

Anybody??