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)

SpikedRocker 11-04-2012 05:47 PM

Quote:

Originally Posted by wolkhan (Post 2378348)
Disasterpiece fixed my problem thank you so much

I am having this issue as well, what was done to fix?

Disasterpiece 11-04-2012 10:18 PM

Quote:

Originally Posted by Blackglade (Post 2378414)
The plugin you gave was awesome and i uploaded it to vbulletin having it appear in profile pic's however how do i make it so it appears under the users name when he posts a new thread or reply?

There is a solution I posted a while ago *somewhere* in this thread, I suggest you take a look through the thread, otherwise I'll come back to you later.

Quote:

Originally Posted by SpikedRocker (Post 2378378)
I am having this issue as well, what was done to fix?

Do you use a windows machine? I think it appears on some server os which do some silly stuff. However I found a way around this problem and completed my work on the next 1.4.3 version which I will run a few days on my productive system before releasing it official.

The changes are: (not final)
Code:

v1.4.3rc3

- Fixed quotes in Steam usernames messing up the register template
- Fixed browser error when redirecting from steam login back to the forum url (primarily) on Windows machines
        (directed to https:// instead of http://, now replaced with an option in the STC settings)
- Fixed group maintenance function not using cache for group data when the maintenance operation is split up in multiple steps
- Fixed potential security flaw in useradministration if using custom query fields
- Added Cron job to update user <-> steam group assocations every night (basically does what the mainenance script does, now once every night)
- Added option to disallow unlinking of steamaccount. In this case, unlinking is only possible through admincp
- Added ability to unlink account completely with a checkbox as the last field, updating usergroups as well.
        (before, if you set the steamid to empty string, it only removed the steam assocation, but didn't change the usergroups)
- Added memcached as optional cache system
- Reworked file cache system
- Updated steamconnect cache dir option, now a writable cache directory is required.
- Updated some option description strings to better describe which values to use.
- General code optimization

If you really cant wait or want this problem to fixed immediately, send me a mail and I give you the next version earlier.

Disasterpiece 11-05-2012 04:58 PM

Update time!

Today I present the newest version (i skipped a version, dont be confused) 1.4.4 which will be RC3.
Introducing a few new features as requested and a bunch of fixes:

Code:

v1.4.4rc3

- Fixed a bug which would cause intense logfile spamming
- Fixed steam sessions not being permanent

v1.4.3rc3

- Fixed quotes in Steam usernames messing up the register template
- Fixed browser error when redirecting from steam login back to the forum url (primarily) on Windows machines
        (directed to https:// instead of http://, now replaced with an option in the STC settings)
- Fixed group maintenance function not using cache for group data when the maintenance operation is split up in multiple steps
- Fixed potential security flaw in useradministration if using custom query fields
- Added Cron job to update user <-> steam group assocations every night (basically does what the mainenance script does, now once every night)
- Added option to disallow unlinking of steamaccount. In this case, unlinking is only possible through admincp
- Added ability to unlink account completely with a checkbox as the last field, updating usergroups as well.
        (before, if you set the steamid to empty string, it only removed the steam assocation, but didn't change the usergroups)
- Added memcached as optional cache system
- Reworked file cache system
- Updated steamconnect cache dir option, now a writable cache directory is required.
- Updated some option description strings to better describe which values to use.
- General code optimization

Anyone who had the browser error that the connection has been lost will be happy, because this is now solved.

The requested feature that users aren't allowed to unlink their account is now available too (optional) from the admincp settings.

If you're having a huge forum and want to make use of memcached, you'll find the optional memcache system there as well. xcache may be supported in the future if necessary, altough I think most will be covered with memcached, since it's clearly the more popular choice.

For anyone who uses the feature of usergroups depending of certain steamgroups the user is in, the update functionalities to monitor users leaving/joining said steamgroups now runs every night, so this should be improved as well.

Update process is straight-forward:

1) turn off your vbulletin
2) import the xml file as product, choose overwrite when uploading
3) upload and overwrite all existing files within the upload directory of the archive. Images may be omitted, if you use your own custom ones of course.

NOTE: To anyone who uses a logfile to log all steam connect actions, make sure to empty the logfile since it may have grown to a large filesize. There has been a bug which caused intense logging which has now been fixed.

Let me know if any problems turn up or anything doesn't work correctly.

Remember: Always back up your forum before performing updates!

x3evolution 11-06-2012 03:18 AM

I am having an issue, when i get added to the "forum" group for being in the steam group, in the mysql tables it puts my membergroupid as ,15. vBulletin doesnt like this or mysql doesnt like it, is there a fix to make it to where this isnt an issue ?

Blackglade 11-06-2012 04:11 AM

Quote:

Originally Posted by Disasterpiece (Post 2221308)
There's a link in the user control panel, you can see it as a small button in the first screenshot.

I have a different functions.php file. Altough I was sure it works on 4.1.0 as well, I developed it on a 4.1.3-4.1.4. I'll check it out tomorrow, or you could just upgrade to the latest vbulletin version. Wouldn't be a bad idea anyway.

Import the attached plugin. Then you'll find the avatar urls as a template var:

Code:

{vb:raw post.steamavatarfull}
{vb:raw post.steamavatar}
{vb:raw post.steamavatarmedium}

Which are the same image, but different in size.

Ok so i found the thing you told me to download and i installed it. Now its STILL not appearing in my postbit thing and according to what you said i will find the avatar urls as a template var. What does that mean and where do i post {vb:raw post.steamavatar} so that i can get it to appear underneath the username of my users when they post a thread or a reply?

joshskeety 11-06-2012 07:35 AM

Thanks for the update DP. I noticed that it added a few people to the member group who I had missed! Awesome.

One problem though, there are several users who are not in my steam group anymore and they were not removed from that secondary usergroup.

Disasterpiece 11-06-2012 12:01 PM

Quote:

Originally Posted by x3evolution (Post 2378766)
I am having an issue, when i get added to the "forum" group for being in the steam group, in the mysql tables it puts my membergroupid as ,15. vBulletin doesnt like this or mysql doesnt like it, is there a fix to make it to where this isnt an issue ?

I was sure that vb won't have a problem with that because I have seen other addons doing this too (the ,42 thing with the comma even if there's only one group) I'll check it later and upload a fixed version.

Quote:

Originally Posted by Blackglade (Post 2378767)
Ok so i found the thing you told me to download and i installed it. Now its STILL not appearing in my postbit thing and according to what you said i will find the avatar urls as a template var. What does that mean and where do i post {vb:raw post.steamavatar} so that i can get it to appear underneath the username of my users when they post a thread or a reply?

I suggest you send me a pm with your forum details and an administrative account, also include a detailed description how you want it to appear, then I'll take a look myself.

Quote:

Originally Posted by joshskeety (Post 2378793)
Thanks for the update DP. I noticed that it added a few people to the member group who I had missed! Awesome.

One problem though, there are several users who are not in my steam group anymore and they were not removed from that secondary usergroup.

Can you run the maintenance action and confirm that it doesn't remove such users? If so, I'll check later today and include a fix in the next version. The membergroup thing is still a bit clunky, there are more than one user fields which need to be checked... Maybe I'll rework it so it is correct once and for all :rolleyes:

joshskeety 11-06-2012 01:23 PM

Yep, it doesn't remove them at all.

Our group has gotten quite sizable so it's hard to keep track of when users all the time. Sometimes we'll have users leave our group and not tell us, so they'll still have access to our Member only forums when we wouldn't want them having access. That's primarily what I use this feature for. Plus, it's nice to have our Member usergroup and Steam members group fully sync'd.

jaffaman 11-06-2012 03:14 PM

Installed and working on Version 4.2.0 PL3 :)

iSins 11-06-2012 03:34 PM

Is there away to make it so people who haven't linked there steam account to have a button saying "Link your steam account now" instead it saying "Sign in using steam"?


All times are GMT. The time now is 10:51 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.01375 seconds
  • Memory Usage 1,763KB
  • 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
  • (3)bbcode_code_printable
  • (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