Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't add button to forum. #1

Closed
epilimic opened this issue Feb 14, 2015 · 10 comments
Closed

Doesn't add button to forum. #1

epilimic opened this issue Feb 14, 2015 · 10 comments

Comments

@epilimic
Copy link

When I install this, I do not see the steam log in button. The installer said "Database installation complete!".

@live627
Copy link
Owner

live627 commented Feb 15, 2015

Did you install it as a regular mod?

On Sat, Feb 14, 2015 at 2:43 PM, epilimic notifications@github.com wrote:

When I install this, I do not see the steam log in button. The installer
said "Database installation complete!".


Reply to this email directly or view it on GitHub
#1.

@epilimic
Copy link
Author

I did two ways. Tried manually and also by creating a folder in the packages folder, uploading the files, then installing via the package manager. I wiped the smf install and started clean each method.

Installed mod list: http://i.imgur.com/vQke0JW.jpg
When I log out then click the login button: http://i.imgur.com/mWPTIw0.jpg

@live627
Copy link
Owner

live627 commented Feb 15, 2015

ah, you need to fill in your Steam API key in the modification settings
area.

On Sat, Feb 14, 2015 at 6:09 PM, epilimic notifications@github.com wrote:

I did two ways. Tried manually and also by creating a folder in the
packages folder, uploading the files, then installing via the package
manager. I wiped the smf install and started clean each method.

Installed mod list: http://i.imgur.com/vQke0JW.jpg
When I log out then click the login button: http://i.imgur.com/mWPTIw0.jpg


Reply to this email directly or view it on GitHub
#1 (comment)
.

@epilimic
Copy link
Author

Ok, did that. Now I'm getting this:

An Error Has Occurred!
The database value you're trying to insert does not exist: date_registered

live627 added a commit that referenced this issue Feb 15, 2015
@live627
Copy link
Owner

live627 commented Feb 15, 2015

I fixed that in b7385e6 - please check.I

@epilimic
Copy link
Author

Seems to be working. It made a new user for me. Only issue now that I can see is my avatar is showing a 404.

Not Found

The requested URL /avatars/https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/e6/e6ad11075f48fa156c8dadcc2b24a47e0fad2f6f_medium.jpg was not found on this server.

edit: what it's doing is it's taking the default avatar link and adding it in front of the supplied steam avatar link which breaks it. I've tried deleting the default avatar link from smf settings but it just defaults back to my main page url.

@epilimic
Copy link
Author

Any idea?

@epilimic
Copy link
Author

Alright so after some digging I was able to finally fix this. This may not be the right or best solution but it did the trick for me.

In both load.php and portalblocks.php there are numerous pieces of code dealing with avatars that looks like this:

'<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($row['avatar'])

What fixed it for me was removing the / from the middle in every instance. With the slash being there, it kept trying to load the avatar from my domain in front of the steamcdn server which in turn broke the url. Removing this slash makes the url work correctly. I'm not sure how many of the /'s I should have removed but I just took them all out and the avatars are loading up everywhere without issue. Hope this helps somebody.

@fran46
Copy link

fran46 commented Jul 20, 2015

I need help.
The package is installed: http://gyazo.com/09a1d8bace4e9d93c140688cb39b7c41
I've also added my API Key in: SteamAuth.english.php

How I can put the button on the login screen?

@live627
Copy link
Owner

live627 commented Jul 20, 2015

It should show once the API key is input in Modification Settings in the admin panel.

@live627 live627 closed this as completed Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants