![]() |
v3 Arcade Stats Widget or Forum Sideblock
1 Attachment(s)
What is it?
A widget for users of vB4 Suite (should work with any version of vB 4) and v3 Arcade 2.0.x who want to show some arcade data on their CMS. This is basically the same as the vBadvanced CMPS module KW802 made, all I've done is adapt it for the Suite. The Widget shows: Latest Scores, Latest Highscore, Newest X Games, Most Played Games, Most Popular X Games (Rated), Random Game, Top Champions How To Install 1. Download the attached product file and install it, upload the images to images/arcade. 2. Create New Widget ADMIN CP > vBulletin CMS > Widgets > Create New Widget Widget Type: PHP Direct Execution Title: Arcade Statistics Description: Widget To Display Arcade Stats On CMS. Configure The Widget Paste the following code into the box Code:
global $vbulletin, $bbcode, $parser, $path, $db; ADMIN CP > vBulletin CMS > Layout manager > Edit Insert the Welcome widget and place it central You can also change the amount of data display by adjust these values Code:
$g_limit = 5; Code:
$templater->register('as_score_table',$as_score_table); 4.0.8 - Initial release on vB.org 4.0.9 - Added images to the header titles 4.1 - Minor change to Champs block 4.1.1 - bug fix regarding tournament scores 4.1.2 - removed challenge scores from appearing in latest score block. 4.1.3 - Linked Latest Scores and Top Champs username to Member Profile Arcade Tab How To Make Into A Forum Sideblock - https://vborg.vbsupport.ru/showpost....9&postcount=11 Finally, I'm blonde and never done anything like this before, so now you're warned......use at your own risk :eek: For vBAdvanced Module - http://www.v3arcade.com/forums/showthread.php?t=3502 If anyone wants to further develop any of my addons, you are free to do so. |
No Files Uploaded.
|
Sorry I was updating it.
Version 4.0.9 Someone asked me for the little images beside the block titles, I've uploaded the images and updated the product accordingly. To re-upgrade, upload the images to your images/arcade folder and re-install the product. |
Hmmm I'm going to try this. I saw it on your site and thought it was awesome.
|
Works smashin with 4.1.2....Thanks
|
Quote:
|
Working with 4.1.3 as well
|
5 stars :) Thank you!
|
Thanks, i've been looking for something like this for a while.
Oddly enough, I get a error: Code:
Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM in /home/username/domains/domain.com/public_html/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 12 Thanks. |
love it. works fine on 4.1.5.
Gemma do you think you can creat the same type of widget for this mod: https://vborg.vbsupport.ru/showthrea...hlight=ladders maybe for a price? let me know. |
1 Attachment(s)
I've also been able to use almost all the same templates and php code to make a forum sideblock.
1. Install the product as normal. 2. Create a new template called v3a_CMS_arcadestats1 and add the following code Code:
<div> Title - Arcade Stats (or whatever) Content Type - PHP Content - Code:
global $vbulletin, $bbcode, $parser, $path, $db; Code:
$templater->register('as_score_table',$as_score_table); |
If you would prefer a sideblock widget instead of a central one on the CMS, you can also replace the v3a_CMS_arcadestats with this code.
Code:
<div> *Fixed the code so it displays properly in Google Chrome. |
Ive tried the sideblock version by Gemma and had no luck with it :(
|
The forum sideblock or CMS sideblock.
Did you import the product? Any error messages? |
Quote:
|
Not sure, I've never used that mod. Did you try purging the forumblock cache?
If you want to send me temp access I'll have a look for you. |
|
Quote:
|
you are too operational :eek:
Thanks.....:D |
Installed again..thank you.....
|
i have vBadvanced CMPS is that work?or only for suite?
|
CMS and/or forum sideblock.
I'm not sure if the CMPS version is still available, you'll need to check on vbadvanced.com |
Quote:
|
Quote:
Here is the imported thread - http://www.vbadvanced.com/forum/showthread.php?t=47084 |
A small bug was reported by one of my members where tournament scores were appearing in the latest scores block. To fix it in your widget/sideblock code -
Find: Code:
WHERE sessions.finish <> 0 Code:
WHERE valid = 1 |
Updated.
4.1.2 - removed challenge scores from appearing in latest score block. To update, replace your existing widget code with the code in the OP. If you are using the sideblock code I've updated the code in this post - https://vborg.vbsupport.ru/showpost....9&postcount=11 Or simply, find Code:
WHERE valid = 1 Code:
WHERE valid = 1 |
Quote:
but find nothing where I need to create the template for? Template-Modifications manage |
Quote:
Choose the style you want to add a new template to (ex. Default Style) and from the dropdown box (to the right of the style name) select 'Add New Template' |
Quote:
And, if so how? Thanks!! |
You probably could but most of the data is already available in the arcade though and I've got another mod on here that displays the Most Played/Top Rated games in tabs so my thinking is that it would be more hassle than it is worth.
You'd need to add the missing database queries into the arcade.php file, edit out the current arcade sideblock (in the v3ARCADE_MAIN template) and then amend the templates from this mod to work in the arcade and add then to the v3ARCADE_MAIN template. Not something I'd be looking at doing |
Made a small update.
4.1.3 - Linked usernames in Latest Scores and Top Champs to Member Profile Arcade Tab To update, re-import the product file. |
Quote:
Its the last block |
Quote:
|
Quote:
|
Any luck Gemma?
|
Sorry, I'm having a few health problems again just now so I've not been online and I'm probably going to be deleting my site so won't have a chance to look into this. If anyone else knows or can help then I'd appreciate them looking into why it doesn't work.
|
Thanks a bunch for this mod, i dont use the cms but i wanted to use it for the sideblock addon.
I dont have the "Everywhere sidebar" mod and it still does'nt work for me. I had the CMS disabled as I don't use it and I thought it was that so I enabled it, purged the cache for the sidebar, re-installed the product and I still have the problem and am having no luck in trying to fix it, it is not showing in the sidebar at all, and I am not getting any errors in my log. It is however showing on the CMS (Which I do not use and only enabled it to see if this mod would work). If someone can please test this to see if others have this problem, and plz if anyone finds a solution I would really appreciate it. thx |
I don't use vBulletin anymore and I'm not involved with any sites running v3 Arcade but if you want to PM me temporary admin login details for your site I'll check out any problem for you.
Just to check, did you follow the instructions in this post for the forum sidebar? https://vborg.vbsupport.ru/showpost....9&postcount=11 |
If anybody has vBAdvanced module to share, I'd greatly appreciate it.
|
All times are GMT. The time now is 05:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|