The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[WIDGET] Steam Group Stats Details »» | |||||||||||||||||||||||||||
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: PHP Code:
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 PHP Code:
4. Your set Demo: http://www.freefrag.com/ Screenshots
Show Your Support
|
Comments |
#2
|
|||
|
|||
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? |
#3
|
|||
|
|||
i suppose i can.. but i need to clean the code up alot, its a bit messy and confusing lol.
|
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
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. |
#6
|
|||
|
|||
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. Quote:
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. |
#7
|
||||
|
||||
joshtrav, how did you get it to work? I'm getting the same error.
|
#8
|
|||
|
|||
Quote:
1. make a php file and name it w_steamgroup.php put it into your includes folder PHP Code:
PHP Code:
|
#9
|
|||
|
|||
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. |
#10
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|