Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[WIDGET] Steam Group Stats Details »
[WIDGET] Steam Group Stats
Mod Version: 1.00, by Inflikted (Member) Inflikted is offline
Developer Last Online: Aug 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.3 Rating: (2 votes - 3.00 average) Installs: 35
Released: 19 Apr 2010 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations External Content  

For those who have a steam group, you can easily display your steamgroup stats on your frontpage. I included 2 versions a cached version (which I recommend to use but takes a tiny bit more effort to run) and a non-cached version which runs out of the box (might slow down your site a bit more).

Instructions Cached Version:
1.Navigate to AdminCP -> CMS -> Widgets.
2. Create a PHP Type Widget and paste the code from below:

cached version:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Edit $group = freefragnet; to your group. This is in the url base for your steam group Example: http://steamcommunity.com/groups/freefragnet

4. In your ftp, in the same base folder vbulletin is hosted, create a folder named 'cache' and CHMOD to 777.
5. Your set

Demo: http://www.freefrag.com/

Instructions Non-Cached Version:
1.Navigate to AdminCP -> CMS -> Widgets.
2. Create a PHP Type Widget and paste the code from below:

non-cache

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Edit $group = freefragnet; to your group. This is in the url base for your steam group Example: http://steamcommunity.com/groups/freefragnet
4. Your set

Demo: http://www.freefrag.com/

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	steamstats.jpg
Views:	515
Size:	12.9 KB
ID:	115975  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Widgets [WIDGET] Forum Stats cory_booth vBulletin 4.x Add-ons 62 12 Apr 2013 14:23

Comments
  #2  
Old 19 Apr 2010, 05:26
joshtrav joshtrav is offline
 
Join Date: Apr 2010
Very nice widget.

Currently it only displays today's date for me however. I added it via php direct execution and set it on the layout manager.

Side note:
Is there a release for that server status widget as well?

Last edited by joshtrav; 19 Apr 2010 at 05:35.
Reply With Quote
  #3  
Old 19 Apr 2010, 05:28
Inflikted Inflikted is offline
 
Join Date: Mar 2002
i suppose i can.. but i need to clean the code up alot, its a bit messy and confusing lol.
Reply With Quote
  #4  
Old 19 Apr 2010, 05:43
joshtrav joshtrav is offline
 
Join Date: Apr 2010
I had done an edit to my first post with the error I receive at the top of the page, however you had already replied.

I am interested in your status widget mainly only for CS:S, but I am sure it would be ideal for others to include what else you display there, as its very stylish at the moment.
Reply With Quote
  #5  
Old 19 Apr 2010, 05:54
Inflikted Inflikted is offline
 
Join Date: Mar 2002
if you are getting today's date that means the script portion is blank. you may have made the mistake and copy/pasted the coding into the widget description rather than the widget code area.

avigate to AdminCP -> CMS -> Widgets and click on Configure next to the steam group widget, make sure the coding is over there.

well the backend coding is based off gameQ for my server status script, jquery for the popups. i just need some time to clean it up.. because right now there isnt really an easy way to add in servers, without editing the php file in 3 different location for each server you want to add. not a big deal for people with a bit of experience in php i suppose. but for those who are new it can be a bit troublesome if you have alot of servers to add. ontop of that the style i put in is custom, I was stupid at the time and should have built the style off the forum style lol.
Reply With Quote
  #6  
Old 19 Apr 2010, 06:23
joshtrav joshtrav is offline
 
Join Date: Apr 2010
Done as you said, whoops at a silly mistake there.

Now I have this at the top of my install. Again, sorry but php is not my high point. Python/Java are much easier for me, heh.

Parse error: syntax error, unexpected '<' in /home/joshtrav/vb.joinwcs.com/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 1
Edit:

Seems to work now without the style info at the top, and the html.

There is a decent amount of specific style tags missing as well. Such as span assignments for clanname, etc.
I am getting it to work but I am having a hard time getting it to go into the widget block, instead it shows on the very top right corner of the page.

Last edited by joshtrav; 19 Apr 2010 at 07:43.
Reply With Quote
  #7  
Old 19 Apr 2010, 16:58
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
joshtrav, how did you get it to work? I'm getting the same error.
__________________
GND-Tech - Technology - Gaming - Community
Reply With Quote
  #8  
Old 19 Apr 2010, 18:39
Inflikted Inflikted is offline
 
Join Date: Mar 2002
Originally Posted by strudinox View Post
joshtrav, how did you get it to work? I'm getting the same error.
here is the version josh edited. frontpage is always kind of funky how it accepts your modules, depending on what else you have loading in. he was able to alleviate it by setting up a php include file..

1. make a php file and name it w_steamgroup.php put it into your includes folder

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. In your actual widget put this code in


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I haven't tested this out, but this is what joshtrav did to fix his issue.
Reply With Quote
  #9  
Old 19 Apr 2010, 19:27
joshtrav joshtrav is offline
 
Join Date: Apr 2010
Yes, this worked for me.

The one thing to note is the need to replace the joinwcs groupname and the a href link to your appropriate group.

Other than that, it works well.

I am using vB for the first time, so you can see the example of it at vb.joinwcs.com, bottom left corner.

Bear with me as its a fresh install so its very bland, but for the purposes here in it works fine.
Reply With Quote
  #10  
Old 20 Apr 2010, 00:09
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Hey great mod....but I already have a pretty good steam looking stats module on my site at www.brotherhoodofgamers.com its on the top right.

I was just wondering, could you write some instructions on how to ONLY add " x members joined past 24hrs" like you have in the image?

Thanks.
__________________

FRAG TOSS! Gaming Community Discussion Board!


Biggest Multi-Gaming Community in the World! www.brotherhoodofgamers.com
Reply With Quote
  #11  
Old 20 Apr 2010, 02:37
Inflikted Inflikted is offline
 
Join Date: Mar 2002
Originally Posted by Bouncer222 View Post
Hey great mod....but I already have a pretty good steam looking stats module on my site at www.brotherhoodofgamers.com its on the top right.

I was just wondering, could you write some instructions on how to ONLY add " x members joined past 24hrs" like you have in the image?

Thanks.
well my vbulletin coding is sketchy at best lol. but i know how to do it outside of vbulletin and at least display the info add me up on steam http://steamcommunity.com/id/Inflikted or shoot me a pm on my forums http://www.freefrag.com/members/inflik.html I can guide you through it by chat if you have some php/sql experience.
Reply With Quote
  #12  
Old 25 Apr 2010, 23:23
CampinCarl CampinCarl is offline
 
Join Date: Apr 2008
Is there a way to get this to work with the forum side bar?
Reply With Quote
  #13  
Old 30 Apr 2010, 13:34
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Originally Posted by Bouncer222 View Post
Hey great mod....but I already have a pretty good steam looking stats module on my site at www.brotherhoodofgamers.com its on the top right.

I was just wondering, could you write some instructions on how to ONLY add " x members joined past 24hrs" like you have in the image?

Thanks.
Hey man I love your Steam block on your site. May I ask where you got it?
Reply With Quote
  #14  
Old 30 Apr 2010, 20:28
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
We have developers in our community, they created it for us.
__________________

FRAG TOSS! Gaming Community Discussion Board!


Biggest Multi-Gaming Community in the World! www.brotherhoodofgamers.com
Reply With Quote
  #15  
Old 11 Jun 2010, 23:43
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Hey can anyone get the type of block this clan has?
http://www.ilevelup.net/Forums/content.php
__________________

FRAG TOSS! Gaming Community Discussion Board!


Biggest Multi-Gaming Community in the World! www.brotherhoodofgamers.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:08.

Layout Options | Width: Wide Color: