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?


All times are GMT. The time now is 08:07 AM.

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.01413 seconds
  • Memory Usage 1,766KB
  • 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
  • (5)bbcode_code_printable
  • (4)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
  • (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