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)

wtfaatp 10-04-2011 08:40 PM

Quote:

Originally Posted by wombycat (Post 2252982)
Love this mod!!

Is it possible to get the steam button next to the connect with Facebook button on the registration page?

http://reactgaming.net.au/images/misc/reg.jpg

I tried to find the template but have been unsuccessful. Also would that act as a submit button on the registration page?

Open your AdminCP.

First:
Go to:
Style & Templates > Style Manager > Click the drop down of teh style you want to edit > Edit Templates > Registration Template > register.

Now look for this code
Code:

        <vb:else />
                                        <a id="fb_regloginbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login_long.gif" alt="{vb:rawphrase facebook_connect}" /></a>
                                </vb:if>

Add the steam button at the end of the </a>.

So it should now look like this..
Code:

        <vb:else />
                                        <a id="fb_regloginbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login_long.gif" alt="{vb:rawphrase facebook_connect}" /></a>{vb:raw steam_button}
                                </vb:if>

Save your template.


Next :
Go to :
CPmain > Settings > Options > Steam Connect Settings > Sign In Button Location

Add: register
I.E. it should look like this = header,navbar,headinclude,register

Save.

DONE!!!


No this will not act as a submit button.



However if you would like to Make the Steam Button have its own "Little" section do the following for step one.

Go to:
Style & Templates > Style Manager > Click the drop down of teh style you want to edit > Edit Templates > Registration Template > register.

Now look for this code
Code:

                                                function facebookpassword(e)
                                                {
                                                //
                                                        var textbox = YAHOO.util.Event.getTarget(e);

                                                        if (textbox.value == '')
                                                        {
                                                                YAHOO.util.Dom.setStyle('facebookpassword_hint', "display", "inline");
                                                                YAHOO.util.Dom.setStyle('facebookpassword', "display", "none");
                                                        }
                                                }
                                                </script>
                                        </div>
                                </div>
                        </vb:if>
                        </div>
                       
                        {vb:raw fbimportform}
                </vb:if>

That end </vb:if> should be on line 166.. You want to add the following code on 167


At the end of that code add the following.
Code:

<!-- Start of Steam Connect Platform -->
<h3 class="blocksubhead">Steam Connect Platform</h3>
        <div class="section">
                <div class="blockrow">
                        <abbr title="Register With Steam">{vb:raw steam_button}</abbr>
                </div>
        </div>
<!-- End of Steam Connect Platform -->

That will add a new section @ the top. This will be under the facebook platform. This will also Not require the facebook platform to be enabled. I'm currently trying to make it so that if this mod is disabled this will also disappear but no avail :\

wombycat 10-05-2011 06:42 AM

Your are a legend!!!! Thank you so very much. I'm donating to this :)

Edit:

The button is exactly where it should be now....Thanks

Though when you click it, the page changes and dose not go anywhere?

When I had it in the header it worked perfectly, what would be the issue do you think?

wtfaatp 10-05-2011 09:00 PM

Quote:

Originally Posted by wombycat (Post 2253407)
Your are a legend!!!! Thank you so very much. I'm donating to this :)

Edit:

The button is exactly where it should be now....Thanks

Though when you click it, the page changes and dose not go anywhere?

When I had it in the header it worked perfectly, what would be the issue do you think?

Weird on your site it is acting as if its a "submit button"? I did some testing on my site and can't seem to figure out why your's is not working properly.

wombycat 10-06-2011 10:02 AM

1 Attachment(s)
Quote:

Originally Posted by wtfaatp (Post 2253744)
Weird on your site it is acting as if its a "submit button"? I did some testing on my site and can't seem to figure out why your's is not working properly.

I can still use the one in the header correctly though the one in the register is not working. Also in the register it is asking for a password to be entered before it will allow you to click steam connect. I though it did not need that with this mod? Not sure what going on but would be very appreciative of any assistance. I would happily give you permissions to have a look yourself if you wished. I would obviously make another donation for your time :)

site

Just uploaded a copy of my current register template

wtfaatp 10-07-2011 12:41 AM

Quote:

Originally Posted by wombycat (Post 2253891)
I can still use the one in the header correctly though the one in the register is not working. Also in the register it is asking for a password to be entered before it will allow you to click steam connect. I though it did not need that with this mod? Not sure what going on but would be very appreciative of any assistance. I would happily give you permissions to have a look yourself if you wished. I would obviously make another donation for your time :)

site

Just uploaded a copy of my current register template


I can do a little work around for you if you would like. Send me a PM and I will do this asap...
I WILL have it done tomorrow around 7pm east....

Skyrider 10-10-2011 05:27 AM

This plugin needs a "Secondary Usergroup for Steam-Users". :) thanks!

And wtfaatp. The examples you have shown regarding the template changes:
Code:

<vb:else />
                                        <a id="fb_regloginbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login_long.gif" alt="{vb:rawphrase facebook_connect}" /></a>{vb:raw steam_button}
                                </vb:if>

Are exactly the same, both old and new codes.

Could you also show an example of how your changes looks like? I've done the changes, even used your template attachment you uploaded, but I see nothing new nor different.

billstelling 10-10-2011 01:50 PM

1 Attachment(s)
Attachment 133656
I have created a better looking steam login button for the header..
Attachment 133657
Awesome mod by the way! Great job on doing this and thank you.

billstelling 10-10-2011 02:53 PM

1 Attachment(s)
Attachment 133660
I am trying to get the steam user avatar in postbit without the tf2 stuff that ties it to the tft backpack site. I'm adding it for the new Futuremark YouGamers site and I can't have that part in it as FM would never go for it and it is useless unless you are a tf2 player. I want just the steam avatar to be there or a steam stuff instead of the tf2 backpack site stuff.
Attachment 133661
I see all of the stuff thats supposed to add it with the steam connect beta but it won't show up at all or any of the steam info in postbit. I tried disableing the steam mini profile and nothing..
I assume without the mini mod that I should be getting the avatar and steam info in postbit but nothing shows.
---------------------------------------------------
I figured it out. I had to turn it off in the steamprofile.xml that was in the clientscript/steam folder.

Disasterpiece 10-11-2011 11:42 PM

v1.2 is here!

New Features:

https://vborg.vbsupport.ru/attachmen...2&d=1318379768
stilysh icon in postbit area which links to the profile and shows the Steam-id for mods and admins while hovering

https://vborg.vbsupport.ru/attachmen...3&d=1318379768
Finally a way to manage the steam connect users in the backend, fully included, no extra files necessary. Allows to review further information like VAC Ban status and allows to change the steam id of an user, as well as obtain the steam id code in the form STEAM_0:0:12345

And because some people asked for it, you can now find a simple way to include the steam button into the register template in the readme file or in the second post.


Upgrading: Just upload the files, then the plugin file in the admincp and check "override". (don't uninstall first, or you'll loose all steam ids!)

See the second post for full changelog and other info.

Skyrider 10-14-2011 04:44 PM

Meh.. The steam down time is causing huge lags on our forums. Posts barely load, apache crashed. Is there anyway that this plugin can automatically shutdown itself if the connection to the steam servers is down?

Disasterpiece 10-14-2011 05:06 PM

Quote:

Originally Posted by FF|Skyrider (Post 2257220)
Meh.. The steam down time is causing huge lags on our forums. Posts barely load, apache crashed. Is there anyway that this plugin can automatically shutdown itself if the connection to the steam servers is down?

I didn't spend much time on that thought yet, because it never happend this way yet.
My forum has been crashed too, so I'll definitely look into it.

Disasterpiece 10-17-2011 12:41 PM

FYI, just released v1.2.1 which fixed a small admincp-related bug.

Popa Andrei 10-23-2011 06:26 PM

so is this plugin supported anymore or what?
Released in beta stage and not supported? :)

Disasterpiece 10-23-2011 06:33 PM

Quote:

Originally Posted by Popa Andrei (Post 2260623)
so is this plugin supported anymore or what?
Released in beta stage and not supported? :)

It is.. to a certain amount. Depends on how much time I can spare.

Popa Andrei 10-23-2011 07:09 PM

then you should mark it as enabled.For example i dont install plugins or not even test them if they are not supported.

Disasterpiece 10-24-2011 11:33 AM

Quote:

Originally Posted by Popa Andrei (Post 2260641)
then you should mark it as enabled.For example i dont install plugins or not even test them if they are not supported.

Yeah I think you're right. Didn't spend much thought on that yet :)

Popa Andrei 10-24-2011 01:33 PM

taget now and today or tomorow i will test it.
And in the original post you could make a knows issues list so we prevent double posting

O_Dog 10-30-2011 10:41 AM

Was having problems with mobile style not working so i done the norm and started to disable mods,
Turned off steam connect and steam profile and the mobile style works agian,

Some reason it breaks the mobile style thought i would report it so it can get fixed.

Disasterpiece 10-30-2011 12:45 PM

Quote:

Originally Posted by O_Dog (Post 2262875)
Was having problems with mobile style not working so i done the norm and started to disable mods,
Turned off steam connect and steam profile and the mobile style works agian,

Some reason it breaks the mobile style thought i would report it so it can get fixed.

Thanks for the report, will look into it.

Did you use a custom mod for the mobile style or the mobile style delivered in the standard vbulletin installation?

DontWannaName 11-09-2011 02:16 AM

So I installed this but was suprised that it didnt put the SteamID of a user in a custom field. I just upgraded to VB4 and had a mod that did this. Can this put peoples SteamID in a specific custom field?

Disasterpiece 11-09-2011 12:14 PM

Quote:

Originally Posted by DontWannaName (Post 2265881)
So I installed this but was suprised that it didnt put the SteamID of a user in a custom field. I just upgraded to VB4 and had a mod that did this. Can this put peoples SteamID in a specific custom field?

Not by its own, but if you run a query it should work.
I'll figure this out and post again.

tonjohn 11-09-2011 05:58 PM

Has the mod been updated to properly handle Steam server downtime or API timeouts?

DontWannaName 11-09-2011 10:27 PM

If you want I can show you what I had and the code. It was privately done.

CoZmicShReddeR 11-10-2011 12:14 AM

Quote:

Originally Posted by Disasterpiece (Post 2266012)
Not by its own, but if you run a query it should work.
I'll figure this out and post again.

Wow that would be amazing be able to somehow link the GamerCards Block Steam info with this mod...
https://vborg.vbsupport.ru/showthread.php?t=232033

I already asked the GamersCard Author he said he was way to busy but liked the idea...

AliasEll 11-10-2011 09:27 AM

Not sure if this is just me, but as soon as I enable this plugin, i'm unable to view any threads, I just get a "Server encountered a problem whilst retrieving 'url'"...

Disasterpiece 11-12-2011 06:17 PM

Quote:

Originally Posted by tonjohn (Post 2266164)
Has the mod been updated to properly handle Steam server downtime or API timeouts?

I know someone made a post about this some time ago, but until now, i can't figure out how the steam connect plugin should be affected by a steam API timeout. Do you mean the steam mini profiles plugin being affected? Because the steam connect plugin does only contact steam when logging in and when viewing profile info, which both shouldn't happen too often to crash a server or cause major problems.

Quote:

Originally Posted by DontWannaName (Post 2266251)
If you want I can show you what I had and the code. It was privately done.

Sure, send it via PM and I'm happy to take a look at it!

Quote:

Originally Posted by CoZmicShReddeR (Post 2266291)
Wow that would be amazing be able to somehow link the GamerCards Block Steam info with this mod...
https://vborg.vbsupport.ru/showthread.php?t=232033

I already asked the GamersCard Author he said he was way to busy but liked the idea...

Sure, that'd be a nice thing. I implemented steam connect to be easy to build other steam related plugins upon its code, so it should only need a change of a few lines code.

Quote:

Originally Posted by AliasEll (Post 2266481)
Not sure if this is just me, but as soon as I enable this plugin, i'm unable to view any threads, I just get a "Server encountered a problem whilst retrieving 'url'"...

never heard of that, i'll investigate.

tonjohn 11-16-2011 09:29 PM

Quote:

Originally Posted by Disasterpiece (Post 2267329)
Because the steam connect plugin does only contact steam when logging in and when viewing profile info, which both shouldn't happen too often to crash a server or cause major problems.

I'd be using this plugin to replace normal avatars with Steam avatars, show ingame status on the postbit, etc. So I need some fallback if the plugin can't connect to the Steam.

Disasterpiece 11-16-2011 11:17 PM

Quote:

Originally Posted by tonjohn (Post 2268685)
I'd be using this plugin to replace normal avatars with Steam avatars, show ingame status on the postbit, etc. So I need some fallback if the plugin can't connect to the Steam.

Makes sense. I'll add an avatar caching option in the next version.

wtfaatp 11-17-2011 10:34 PM

Hey my man been looking into to this problem I've been having for a while but unable to solve. :\

When I manually enter people Steam 64bit there steam Id comes out looking like this.
Code:

STEAM_0:0:-598497017468
everything else is right. The picture and the steam profile actual link. :\ Totally lost my man.

His actual Steam ID
Code:

STEAM_0:0:2982532
His 64bit code
Code:

76561197966230792
Its not just this one person its anyone I have enter there steam Id info for. Any idea's?

Disasterpiece 11-17-2011 11:31 PM

Quote:

Originally Posted by wtfaatp (Post 2269035)
Hey my man been looking into to this problem I've been having for a while but unable to solve. :\

When I manually enter people Steam 64bit there steam Id comes out looking like this.
Code:

STEAM_0:0:-598497017468
everything else is right. The picture and the steam profile actual link. :\ Totally lost my man.

His actual Steam ID
Code:

STEAM_0:0:2982532
His 64bit code
Code:

76561197966230792
Its not just this one person its anyone I have enter there steam Id info for. Any idea's?

Does it change anything if he links the account himself? Or does it only occur if you're changing it manually?

wtfaatp 11-18-2011 03:15 PM

I havent found a way to removed the linked account :() :D

MadMakz 11-18-2011 07:15 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2266291)
Wow that would be amazing be able to somehow link the GamerCards Block Steam info with this mod...
https://vborg.vbsupport.ru/showthread.php?t=232033

I already asked the GamersCard Author he said he was way to busy but liked the idea...

lol, i just droped my steamutility project and now people are asking for features it offered (google translate) since 3 years but nobody cared about.

i know it's a pointless post now, but it's so ironic to me.

CoZmicShReddeR 11-18-2011 08:50 PM

Quote:

Originally Posted by MadMakz (Post 2269318)
lol, i just droped my steamutility project and now people are asking for features it offered (google translate) since 3 years but nobody cared about.

i know it's a pointless post now, but it's so ironic to me.

Maybe you could aid assistance here... :)

Disasterpiece 11-19-2011 12:58 PM

Quote:

Originally Posted by wtfaatp (Post 2269242)
I havent found a way to removed the linked account :() :D

What do you mean exactly?

Do you want the user to unlink his/her account?
Do you want to unlink other users via admincp? (Already implemented in the newest version)
Or do you want to delete users who have their steam account linked?

MadMakz 11-19-2011 08:54 PM

Quote:

Originally Posted by CoZmicShReddeR (Post 2269343)
Maybe you could aid assistance here... :)

i don't have any experience in writing addons for vbulletin.

but for the ease and without relying on a 3rd party site, http://code.google.com/p/steamprofile/ might be interesting as an addon. due to its javascript its also way more interactive than a somewhat static image.

Disasterpiece 11-19-2011 09:22 PM

Quote:

Originally Posted by MadMakz (Post 2269707)
i don't have any experience in writing addons for vbulletin.

but for the ease and without relying on a 3rd party site, http://code.google.com/p/steamprofile/ might be interesting as an addon. due to its javascript its also way more interactive than a somewhat static image.

If you read the first post, you'll notice that I already created this as an addon :)

MadMakz 11-19-2011 09:55 PM

woops, didn't said anything then :P

wtfaatp 11-19-2011 11:45 PM

Quote:

Originally Posted by Disasterpiece (Post 2269058)
Does it change anything if he links the account himself? Or does it only occur if you're changing it manually?

If he links his account everything is fine :\

So this problem only happens when I link them manually.

Nochek 11-20-2011 04:03 AM

I installed your product, but I am having trouble connecting a Steam account with a currently registered account. It logs in to Steam fine, returns to my forum with the login information and the message "It seems that you already own a forum account.
You can link both your Forum Account with your Steam account to use the Steam Sign in feature.
"
However, when clicking the button Link Accounts it returns a message
Quote:

There has been an error with your request. Please inform the Administrator, if the problem persists.
which is stc_err_default, but thats the last error message and I'm at a loss for what caused it.

Any help would be appreciated.

Strategos 11-25-2011 03:03 AM

This would be very cool. Sadly, I cant get it working with the latest VB.


All times are GMT. The time now is 03:57 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.02043 seconds
  • Memory Usage 1,874KB
  • 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
  • (11)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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