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)

MadMakz 03-23-2012 06:51 PM

the ava is not a steam problem. at least the issue i posted about.
it fails on running the plugin code in "postbit_display_start".
it's always producing an empty/broken result if the cache is outdated and actually an "update cache" should've been triggered.

when the "postbit_display_start" code actually has to update the cache it will always break and create an "empty" cachefile for the user (see this post).

looking up the specific user via admincp or you go to your steam section in your usercp will always fix it and work correctly for the specific user respectively yourself. otherwise the steaminfo cache will remain corrupted/empty.

this leads to that an invalid image url will be build an thus the avatar shows as missing/alt-text.

i'm suspecting a path or hook problem but still i have not much clue about vBs hook/plugin system and since my "community" is practicaly dead i have no real effort to look trough the whole thing.

joshskeety 03-24-2012 06:49 AM

Glad you found that out. Here's to hoping Disasterpiece can send out a small update to address this prior to the cache release.

Disasterpiece 03-24-2012 04:56 PM

Quote:

Originally Posted by MadMakz (Post 2312591)
the ava is not a steam problem. at least the issue i posted about.
it fails on running the plugin code in "postbit_display_start".
it's always producing an empty/broken result if the cache is outdated and actually an "update cache" should've been triggered.

when the "postbit_display_start" code actually has to update the cache it will always break and create an "empty" cachefile for the user (see this post).

looking up the specific user via admincp or you go to your steam section in your usercp will always fix it and work correctly for the specific user respectively yourself. otherwise the steaminfo cache will remain corrupted/empty.

this leads to that an invalid image url will be build an thus the avatar shows as missing/alt-text.

i'm suspecting a path or hook problem but still i have not much clue about vBs hook/plugin system and since my "community" is practicaly dead i have no real effort to look trough the whole thing.

Interesting find. I haven't yet been able to reproduce this in my test forum, but in my productive forum I noticed the empty files as well (stc_.cached with an empty array inside).
They aren't harmful at all, only useless and a byproduct of calling the fetch_steam_info() with an empty steam_id parameter. This has now been fixed.

Cases where relevant stc_NUMBER.cached files are empty es well, that hasn't occured to me yet. I'm also not sure what may cause this to happen since most special cases like steam sending a 500 or 404 are already handled accordingly.

or in short: I'll figure something out :)

Cadellin 03-26-2012 07:51 PM

I'd like to add a Steam connect logo/icon to the header in the same way that Facebook does. What is the best vb:if condition to use as to whether someone is connected to Steam or not?

Disasterpiece 03-28-2012 05:27 PM

Code:

<vb:if condition="$bbuserinfo['steam_id']">...</vb:if>
Try this

|Jordan| 03-31-2012 12:23 AM

When users try to register with this plugin and they get redirected to the registration page, after filling out all the info it says "You have left a required field blank."

How can i get the page to display all the required fields that the regular registration page displays?

joshskeety 04-02-2012 11:20 PM

Quote:

Originally Posted by Disasterpiece (Post 2312868)
Interesting find. I haven't yet been able to reproduce this in my test forum, but in my productive forum I noticed the empty files as well (stc_.cached with an empty array inside).
They aren't harmful at all, only useless and a byproduct of calling the fetch_steam_info() with an empty steam_id parameter. This has now been fixed.

Cases where relevant stc_NUMBER.cached files are empty es well, that hasn't occured to me yet. I'm also not sure what may cause this to happen since most special cases like steam sending a 500 or 404 are already handled accordingly.

or in short: I'll figure something out :)

You said it has now been fixed, does that mean avatars should work now? If so, is the one available in the OP a fix to the version I have now?

joshskeety 04-12-2012 12:20 AM

I had a good idea for this plugin. When a user links their Steam Account, allow the ability for the Administrator to specify a Steam Group in the settings. When a user links their accounts, if they're a part of that Steam Group, move them to X Usergroup. This would allow us to have users sign up and when they link their accounts, if they're a member of our clan/group, they'll automatically get moved in to a Usergroup we specify. This would alleviate the task of adding users to a Usergroup manually.

Disasterpiece 04-12-2012 12:38 AM

Quote:

Originally Posted by joshskeety (Post 2319228)
I had a good idea for this plugin. When a user links their Steam Account, allow the ability for the Administrator to specify a Steam Group in the settings. When a user links their accounts, if they're a part of that Steam Group, move them to X Usergroup. This would allow us to have users sign up and when they link their accounts, if they're a member of our clan/group, they'll automatically get moved in to a Usergroup we specify. This would alleviate the task of adding users to a Usergroup manually.

Great idea, added to the featurelist. :up:

CoZmicShReddeR 04-12-2012 01:04 AM

I too like Joshskeety's idea

I also would like a stats page with users who use the website's Steam much like the Xbox one on here might entice more users to use it...

Would also like to see it offer to use your Steam Avatar maybe have it be dynamic and I also would like to suggest the adding of something like http://steamsignature.com/ to the Steam profiles to give them the option to use the signature in their profile not sure if you could add the raw files for forums to produce their own steam sigs but would like the option for users... Not sure how far you want to code this thing as time goes by but sounds like a few people here like using it so far...

Disasterpiece please do not give up on this project... If you seriously plan to keep working on it I am going to donate you some moneys... :)


All times are GMT. The time now is 09:14 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.01378 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (3)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