vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Steam Connect - Sign in with your Steam Account! [RC3] (https://vborg.vbsupport.ru/showthread.php?t=266883)

Disasterpiece 11-25-2011 12:49 PM

Quote:

Originally Posted by Strategos (Post 2271634)
This would be very cool. Sadly, I cant get it working with the latest VB.

"doesn't work" doesn't help me much... could you elaborate plz?

Strategos 11-30-2011 05:20 AM

Quote:

Originally Posted by Disasterpiece (Post 2271759)
"doesn't work" doesn't help me much... could you elaborate plz?

Actually I messed up or did something wrong. Got it working now though!

Amazing mod. 5/5 and nominated. I hope to see the updated with more organizational features and is there a way to retrieve the steam id from a user registered through openid for say use with a donation system, etc?

Skyrider 11-30-2011 08:33 AM

Can this mod take over the registration page? So no one can register anymore using the original/normal registration page? So people go to register.php and they have to login/register using steam. I'd also like to see the feature that only administrators can unlink people's account, rather than the user.

PS.. Is there anyway that already registered usersgroups can be forced to another usergroup if they use steam login?

Example: If I move everyone to "Need steam login validation" usergroup I want them after they used the steam login link to the usergroup "Registered users".

wtfaatp 11-30-2011 06:59 PM

Hey disaster you figure anything out about the steam ID problem when an admin auto links the accounts?

Disasterpiece 12-01-2011 04:56 PM

Quote:

Originally Posted by FF|Skyrider (Post 2273318)
Can this mod take over the registration page? So no one can register anymore using the original/normal registration page? So people go to register.php and they have to login/register using steam. I'd also like to see the feature that only administrators can unlink people's account, rather than the user.

No.
It is not intended to replace the vBulletin registration system. The mod is made to extend the current one.

You could however set vbulletin to put new registered users in another usergroup and move them to the registered usergroup as soon as they linked their useraccount. This would require some coding however.

Quote:

Originally Posted by FF|Skyrider (Post 2273318)
PS.. Is there anyway that already registered usersgroups can be forced to another usergroup if they use steam login?

Depending on your PHP skills, you could simply add a line to the link process code, which puts the user into an additional usergroup. If you can't do this on your own, send me a PM i might find some time to help you out with it.

Quote:

Originally Posted by wtfaatp (Post 2273437)
Hey disaster you figure anything out about the steam ID problem when an admin auto links the accounts?

Not yet, in all cases where I modified the steamid manually, it worked without problems.

I got the algorithm from steam friend id => steam64 id from this page: http://forums.alliedmods.net/showthread.php?t=60899
Maybe there's a bug in the code itself?

Sorry, can't reproduce it... if all else fails and they're only a few, you can edit the steam64 id manually in the vbulletin user table.

Strategos 12-02-2011 01:29 AM

Quote:

Originally Posted by FF|Skyrider (Post 2273318)
Can this mod take over the registration page? So no one can register anymore using the original/normal registration page? So people go to register.php and they have to login/register using steam. I'd also like to see the feature that only administrators can unlink people's account, rather than the user.

PS.. Is there anyway that already registered usersgroups can be forced to another usergroup if they use steam login?

Example: If I move everyone to "Need steam login validation" usergroup I want them after they used the steam login link to the usergroup "Registered users".

I like this too. I think there should be an option to require it on registration, since alot of people run forums that solely relate to only steam games.

Disasterpiece 12-02-2011 12:34 PM

I'll see what I can do.

Problem is that the vbulletin registration script itself is very isolated and hard to modify without modifying the vb core files which is an absolute no-go.
The way the steam authentication works, is by using its own login script (login2.php) and creating a session via the vbulletin API by itself.
There's no way to completely alter the core vbulletin login script, that's why the mod can only function as an extension instead of a replacement.

However, it might be possible to work something out with usergroups being assigned on registration, I'll see to it as soon as I get some time.

Skyrider 12-02-2011 01:41 PM

Quote:

Originally Posted by Disasterpiece (Post 2273994)
I'll see what I can do.

Problem is that the vbulletin registration script itself is very isolated and hard to modify without modifying the vb core files which is an absolute no-go.
The way the steam authentication works, is by using its own login script (login2.php) and creating a session via the vbulletin API by itself.
There's no way to completely alter the core vbulletin login script, that's why the mod can only function as an extension instead of a replacement.

However, it might be possible to work something out with usergroups being assigned on registration, I'll see to it as soon as I get some time.

With your current system if you create a forum account you can still login normally which I really like. Isn't it just possible to replace the register.php file solely to use the steam login? Which makes it possible to both use login and login2.

Disasterpiece 12-02-2011 01:54 PM

Yes you can do that. However, I won't build this into my mod, because I refuse to build mods which urge users to replace/modify vbulletin core files. That's just bad style and produces more support queries as soon as a vb update comes live.

Everyone is welcome to alter/remove the register.php file by their own, unfortunately I can't provide support for that.
The login2.php has all the necessary steps to register an account with the steam login, so the register/login process should work even without the register.php file. No guarantee on that tho, I haven't checked that possibility yet.

wtfaatp 12-02-2011 02:41 PM

Disaster would you like to do some testing with my fourms to see for yourself?

It's just really weird I see no reason for the added "-" or the improper math :\.
What really gets me if they do it comes out 100% perfect :\
Ugh I'm so lost.

Also about people wanting to use the steamid for other hacks. Maybe make it so that the admin has the option to create a custom user table and direct this to pust the steam id (maybe even any other information) in each table!? Thought maybe something you could offer up!


All times are GMT. The time now is 06:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01442 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete