View Full Version : ArcadeStats for CMPS
cheesegrits
10-09-2006, 12:18 AM
Attached is a "multi stats" module for CMPS.
[Updated ZIP, 6pm 10/11/2006, fixed URL issue on Latest Highscores list]
Black Cobra asked if I could create a CMPS module like this IBPro one (http://www.vbulletin.org/forum/showthread.php?t=114440) for v3 Arcade. So I put this one together. I used the look & feel of the IBPro version, but the code is entirely from scratch. It was developed and tested using Arcade 1.0.7, vBulletin 3.6.2, and vbAdvanced 2.2.1. But there's no obvious reason it shouldn't work with other versions. If you have problems, just use this thread for support.
To install, use the Upload / Download Module manager in your vbA CMPS AdminCP, and upload the arcadestats.module file from the ZIP, and place it on any CMPS pages you want it to show on. It's designed to be a "center" module, way to wide to use on a left/right column.
If I get time, I'll add some ACP options to enable and disable the individual tables, and set the number of entries in each table. For now, if you want to chop and change things, just edit the adv_portal_arcadestats template accordingly. This is the "master" template that organizes the individual tables into the main widget.
If you want to change the number of lines lines in any of the tables, edit the ./modules/arcadestats.php file in your forum root. There's a group of "limits" variables at the top, with fairly obvious names.
Share and Enjoy!
-- hugh
cheesegrits
10-17-2006, 02:06 AM
If anyone would like a copy of this before the ZIP gets approved by the moderator, email me via my profile, and I'll send it to you.
-- hugh
Mario
10-17-2006, 03:22 AM
You got mail
sharaq
10-17-2006, 08:13 AM
Hey dude u got a mail from me too..!!
CheerS..!! ;)
Hey dude - Could you please PM me this? Thanks :D
sharaq
10-17-2006, 08:27 PM
Thankxx a lot for ur efforts cheesegrits, it is working fine..!!
CheerS..!!
imported_Black Cobra
10-18-2006, 12:28 AM
Great work as always :D
http://www.monster-designs.com for an example of it in action :D
Mario
10-18-2006, 01:23 AM
Thanks its working fine.
mljask
10-18-2006, 10:06 AM
nice mod
can you send me a pm for it ... i will convert it that will use nice urls from vbseo
thanks
cheesegrits
10-21-2006, 12:43 AM
Hey dude - Could you please PM me this? Thanks :D
Attachments can't be sent via PM.
Use my profile page to send me an email, I'll reply and attach it that way.
-- hugh
cheesegrits
10-21-2006, 12:44 AM
nice mod
can you send me a pm for it ... i will convert it that will use nice urls from vbseo
thanks
I can't attach it to a PM. Use my profile page and send me an email, I'll send it to you that way.
-- hugh
imported_oxblood12
10-27-2006, 09:22 AM
thank´s, i´m good information
imported_Cove
10-27-2006, 12:56 PM
And is there any possibilyty to install this hack if i have only vbulletin and v3arcade without vbA CMPS?
cheesegrits
10-27-2006, 04:58 PM
And is there any possibilyty to install this hack if i have only vbulletin and v3arcade without vbA CMPS?
At the moment, no. It's a CMPS specific module. However, it would be easy enough to build a version which could be put on a "normal" page.
Which page would you want it on? The main Arcade page?
-- hugh
Slave
10-29-2006, 09:00 PM
Hi cheesegrits :)
I would be looking to get this as a "Stats" tab within the arcade .. any chance?
mrmike1000
10-30-2006, 04:39 AM
Hi cheesegrits :)
I would be looking to get this as a "Stats" tab within the arcade .. any chance?
Yeah! That would be great m8!
cheesegrits
10-31-2006, 04:54 PM
Hi cheesegrits :)
I would be looking to get this as a "Stats" tab within the arcade .. any chance?
Hmmm ... by Tab I assume you mean grouped with the various game categories. This would have several problems, not least of which would be I'd very probably need to make edits to the main arcade.php, which is something to be avoided at all costs.
I'll look at finding a way of integrating it with the main Arcade page, that only involves template edits.
I suspect I'll end up doing something similar to the existing Arcade Champs mod, which adds a small frame above the main games list, with just the "Top Champ" info in it, linking to a seperate page with the full details.
-- hugh
sharaq
11-12-2006, 04:04 AM
Hye dude i have installed arcade stats module on v3arcade 1.0.7, vBa 2.2.1, vbulletin v3.6.1......... it has installed correctly but my problem is, the thumbnails of the games r not shown!! earlier it was working on vb 3.6.2........ any suggestion.....?? :confused:
AshleyCu
11-13-2006, 04:24 AM
I have emailed you
imported_xerohack
11-15-2006, 01:32 PM
muchas gracias amigo por este hack para el cmps del foro xD!
nicker
01-12-2007, 07:58 AM
I am using vb 3.6.4 and vbadvanced cmps 2.21 arcade 1.07, nothing shows on the cmps page, it all looks installed correctly, just nothin shows.
nicker
01-12-2007, 12:49 PM
don't worry I have done it, very nice feature.
Thanks
imported_Phooey
01-31-2007, 04:20 PM
Awesome CMPS module, thanks! It was a little bulky for my tastes, but I edited it down to just the "Most Recent", "Most Played", "Most Popular" and "Top Champs" boxes all in a single row and it looks terrific.
*installed*
kristijan-dub
03-07-2007, 10:50 AM
how to convert to work with vbseo?
imported_Phooey
03-07-2007, 05:08 PM
how to convert to work with vbseo?
The arcade itself or just this hack? I haven't vBSEO'd my arcade, because I'm not too concerned about the SEO of the arcade itself, but this module seems to be compatable with any thing it links to that is already using mod_rewrite. My "top champs" box links to the correctly rewritten member profile instead of the old style.
imported_maxwolfie
04-03-2007, 05:43 AM
I am using vb 3.6.4 and vbadvanced cmps 2.21 arcade 1.07, nothing shows on the cmps page, it all looks installed correctly, just nothin shows.
I have the same problem and I dont know how to fix it :(
ANyone??
intro
05-13-2007, 01:05 AM
I know this is an old topic, but Id like to say THANKS A LOT!
jaycob
06-18-2007, 08:09 AM
Great work as always :D
http://www.monster-designs.com for an example of it in action :D
thats an ipro-arcade one lol, its hard not to turn back to ipro-arcade.
radarhunter
06-21-2007, 02:25 PM
hey Buddie can we have something like only "10 Top Champs" box
????????????
Texas Kelly
07-21-2007, 12:51 AM
I like the idea of this module.
I'd like it a lot more, though (translation: enough to install it) if the Latest Scores box displayed the actual game names as opposed to the database IDs (e.g. "bamagal scored 575500 on Wheel of Fortune" rather than "wheelfortunejs").
imported_Phooey
09-12-2007, 09:25 AM
Anyone having issues with this module now? I can't seem to get it to work right. Here's the error I'm getting:
Fatal error: Call to a member function on a non-object in /home/xxxxxxxx/public_html/forums/modules/arcadestats.php on line 141
KW802
02-10-2009, 10:13 PM
Working fine with vB 3.8.1, vBa CMPS 3.1.0, and v3 Arcade 1.0.8. :)
KW802
02-11-2009, 01:09 AM
A slight fix...
Right now the list of templates are being sepated with a comma but with vBa CMPS 3.x they should be separated by a carriage return instead. The result is that none of the templates are being cached.
To fix... go into ACP => vBa CMPS => Edit Modules => Arcade Stats => Templates Used and change the commas to be carriage returns instead.
Old:adv_portal_as_gamebits, adv_portal_as_recent_gametable, adv_portal_as_played_gametable, adv_portal_as_popular_gametable, adv_portal_as_champbits, adv_portal_as_champstable, adv_portal_as_random, adv_portal_as_newsbits, adv_portal_as_newstable, adv_portal_as_scorebits, adv_portal_as_scoretable, adv_portal_arcadestatsNew:adv_portal_as_gamebits
adv_portal_as_recent_gametable
adv_portal_as_played_gametable
adv_portal_as_popular_gametable
adv_portal_as_champbits
adv_portal_as_champstable
adv_portal_as_random
adv_portal_as_newsbits
adv_portal_as_newstable
adv_portal_as_scorebits
adv_portal_as_scoretable
adv_portal_arcadestats
ForYou
02-15-2009, 03:21 PM
Hello ,
I was install the module , every thing is ok but i can't see Latest Highscores ,
http://www.dardasha.ps/cmps_index.php
and i was change the name of game to another languge but i see it in the old name ,
Please make a look
KW802
02-15-2009, 05:06 PM
Are you still having problems with the scores? It looks like it is working.
ForYou
02-16-2009, 11:52 AM
Hello Kevin ,
I'm still have a problem with Latest Highscores i can't see it and it is not working for now ,
and i was found about aracadestate.php i can't found it ?!!
and what about the name of game i was change the game name but i see the old name in Latest Scores but i see it correctly what i change in Random Game & Most Recent & Most Played & Most Popular .
Please help me ,
Regards
Minion9
03-24-2009, 10:33 PM
Just installed v3 Arcade 1.0.8 on our testboard (using vb3.8.1 & VBa CMPS 3.1.0) so we're very interested on seeing how this works for us
Thanks for the Template fixes Kevin
john1uk
04-16-2009, 06:52 PM
Great Module Thanks.:D
Is there a way i can get the ArcadeStats for CMPS text and games to centre on my homepage Here (http://www.essex-poker.co.uk).
The ArcadeStats for CMPS on the middle column are over to the left and show a space to the right.
Much appreciate anyones help.
KW802
04-24-2009, 01:43 PM
john1uk, looks like the module is disable for guests... can you provide a screen shot?
works great for me, thanks
mdelcour2000
05-03-2009, 11:47 AM
while this is nice, it is also REALLY HUGE.....is there any way to only show the high scores and nothing more?
NeverBored
05-09-2009, 08:16 PM
while this is nice, it is also REALLY HUGE.....is there any way to only show the high scores and nothing more?
Edit the templates. I completely rewrote mine. I also commented out the functions I don't use in the php file.
NeverBored
05-09-2009, 08:24 PM
Does anyone know how to fix the "Popular" or top rated function? It is based on the total number of stars, and not the actual rating. I looked but it's a little beyond my php knowledge so far.
Also the latest scores shows the game file name and not the actual name... Is there a fix for this? I see the front page on this site is now listing the real name, I noticed awhile back it was not...
NeverBored
05-12-2009, 09:07 PM
Does anyone know how to fix the "Popular" or top rated function? It is based on the total number of stars, and not the actual rating. I looked but it's a little beyond my php knowledge so far.
Also the latest scores shows the game file name and not the actual name... Is there a fix for this? I see the front page on this site is now listing the real name, I noticed awhile back it was not...
Bump
bada_bing
08-03-2009, 01:56 PM
Anyone know how to get this working on VBPortal ?
Thanks
Alecsmith
09-29-2009, 03:17 AM
is their are updated version of this add on.
KW802
09-29-2009, 02:20 PM
is their are updated version of this add on.
Updated to do what?
Alecsmith
09-30-2009, 03:16 AM
Updated to do what?
Updated version of this Add on. :confused:
imported_bada_bing
09-30-2009, 09:32 AM
Can we get a vbportal version please
Gemma
09-30-2009, 11:48 AM
Only thing I can see is that just now the latest scores is pulling the arcade title from the 'gamename' field in the arcade.sessions table which gives you something like
Gemma scored 4320 on bb4v32IPBGD instead of Gemma Scored 4320 on Blast Billiards 4
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.