![]() |
I've updated my custom-code and simplyfied it. Working with 2012/Greenlight update.
https://tracker.madmakz.com/redmine/...Status/sgs.php to have it working on vBulletin sidebar, change PHP Code:
PHP Code:
|
Thanks
|
Quote:
"Steamcommunity appears to be down." Any ideas? |
Either you've tested when steam had its massive maintenaince downtime yesterday or file_get_contents() might not be allowed on your server (allow_fopen_url must be enabled).
if you have php-curl installed you could workaround this by adding the following function PHP Code:
PHP Code:
PHP Code:
i have not tested this but it should work. other problem could be that your host can't resolve the steamcommunity domain properly. |
addition: simply changeing file_get_contents won't do it so here's a cURL version of the whole script:
https://tracker.madmakz.com/redmine/...s/sgs_curl.php |
I never did the edit you said "echo to return" and mine works :D
Did you enter your steam group name in the file ? |
Quote:
Maybe [WIDGET] Steam Group Stats cURL Also is this what you use on your site? |
Quote:
Ok new code works now! Now I was wondering how can we dress this up a little bit like with a banner above the out put and maybe some RSS info below like some of the latest Announcements? I just need an example of the image code because every time I try to add something it is at the top of the page... Thanks!:) |
Quote:
Some php coders that want to be loved forever should check out github and the new steam web api. https://github.com/koraktor/steam-co...mGroupTest.php |
Quote:
I'm sure using the xml page is faster than loading the real page like all these previous ones are. |
Has anyone found a solution for the parse errors?
What I'm getting is: Parse error: syntax error, unexpected '<' in /homepages/17/d366822374/htdocs/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 1 And the widget is empty. |
Here's a third version. Using Steam's XML API.
https://tracker.madmakz.com/redmine/...us/sgs_xml.php As always replace echo stgrp_status($gruppe); by return stgrp_status($gruppe); if used in sidebar to keep compatibility to vB workflow. This is probably my last post regarding this code here. Already took it over enough. I'm not going to make a Modpost for it since the code itself ist not targetet only for vB an represents just a snippet. If you have any issues you can use my local tracker-board here (doesn't require registration). edit: updated download link to point to always latest version. |
Hello, I have a small problem. I have my widget setup, but all I see is:
Members In-Game Online I don't see any numbers. Help please. |
Quote:
|
I have the exact same issue and it seems tracker.madmakz is no longer online. Has anyone got the file sgs_xml.php? Any help would be appreciated :)
|
Someone should really update this or send to the graveyard, it doesn't work anymore!
|
Any updates for it?
|
In case anyone is still interested in this, it is pretty easy. Just add it as a foum block. (Replace 'HeadShotCommunity' with your own group)
I knocked this up in about 2 minutes, would be easy to expand on. PHP Code:
|
All times are GMT. The time now is 11:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|