vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - v3 Arcade - Games Arcade System for 3.6.0 (https://vborg.vbsupport.ru/showthread.php?t=114012)

hawks_mp 07-05-2007 02:00 PM

Quote:

Originally Posted by powerful_rogue (Post 1275707)
http://www.simalert.com/arcade error.JPG

Hi, for some reason the "Challenge User" link at the bottom of the post is spreading all over the page.

You probably cant see it too well in the picture, but the line across the icons and under the workds in the post.

Any idea whats causing this and how to resolve it?

The installation instructions are wrong at one step. Where it says find:

PHP Code:

    </table>
</
div>
<!-- / 
post $post[postidpopup menu --> 

You actually need to find:

PHP Code:

    </table>
</
div>
<
table cellpadding="0" cellspacing="0" style="width:100%;">
<
tr>
<
td width="100%" height="3" bgcolor="#3B859F"></td>
</
tr>

</
table>
<!-- / 
post $post[postidpopup menu --> 

And place the appropriate code above it.

rjordan 07-05-2007 09:59 PM

That table code looks like it was added to the template. Keep in mind that the instructions for most modifications are are written based on a stock vBulletin configuration.

Dave Rosteck 07-07-2007 09:47 PM

Has anyone checked out this cool addon for v3Arcade? If you're tired like me of having user awards clogging up thread space, you'll definitely appreciate having this dropdown menu in the postbit.

txsbmw 07-09-2007 07:53 PM

Quote:

Originally Posted by GoHa (Post 1075691)
Guys, I have a situation, when sometimes, my v3arcade will show incorrect champion for some of the games. At the same time arcade shows correct person in the hight score listing, and incorrect person in Champion line (when you are playing the game, on the right side it shows current champion), and also shows champion cap for the incorrect person..

does soemone have similar problem? How to fix it?

I am having this exact same issue and my members are now complaining. Any idea on how to fix this?

rjordan 07-09-2007 10:22 PM

I have seen this, but know of no fix. My time is gone again for now until this semester is over (3 weeks), so I could not even begin to look at it. I wonder if anyone else has a fix for it...

GoHa 07-09-2007 10:26 PM

Quote:

Originally Posted by txsbmw (Post 1286978)
I am having this exact same issue and my members are now complaining. Any idea on how to fix this?

I've created custom script based on REMOVE ZERO arcade cp functionality. Added to the script "DELETE INCORRECT SCORES" ability and then added it to VB's cronjob.

For me it solved the problem.



First you might want to run mentioned function manually (from adminCP/arcade/Score Tools/Remove all zero scores) and make sure if it helps.

I've also added removal of incorrect users, ones with empty userid. Dunno where they are coming from.

I've attached the script to this post. On my forums I added it to "Scheduled tasks" to be run every 30 minutes Before you can add it to "Scheduled tasks" you will need to upload it to /includes/cron/

USE THIS SCRIPT ON YOUR OWN RISK. I GIVE NO WARRANTY AT ALL.

I recommend you to be very carefull with this script and with any third party scripts.
I created this script for internal use only and never tested it on any other forums but mine.

Below is sctipt's code.

PHP Code:

<?php
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
if (!
is_object($vbulletin->db))
{
    echo (
"vbulletin->db is not an object");
    exit;
}

// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array('cpuser''arcade''user');
$specialtemplates = array('arcade_bitdef');


// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// REMOVE ZERO SCORES AN INCORRECT USERS
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    
$db=$vbulletin->db;
    
$db->query_write("DELETE FROM " TABLE_PREFIX "arcade_sessions WHERE score=0 AND valid=1");
    
$db->query_write("DELETE FROM " TABLE_PREFIX "arcade_sessions WHERE userid=''");

    
// Getting Arcade functions to rebuild the counts.
    
require_once(DIR '/includes/functions_arcade.php');
    
build_games();


log_cron_action('Arcade Clear Zero scores completed'$nextitem);

?>


txsbmw 07-10-2007 02:25 AM

Thanks I will give it a try tomorrow after I back up my database again. I tried the remove zero's and it didn't work. Maybe this will. I will let you know.

njoker555 07-10-2007 02:46 AM

its great only 5 games guess i'll have to work on getting some more from the v3arcade site :) thanks for mod - hope it goes well. - question tho - where exactly can i download more arcade games for this?

rjordan 07-10-2007 11:51 PM

GoHa, if this works, you would be a hero to many with this problem!

vinniecolaiuta 07-11-2007 11:12 AM

Installed, thank you :)
But i got this template error only when "awards" is displayed

http://img510.imageshack.us/img510/3584/layoutut1.jpg


All times are GMT. The time now is 10:26 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
  • Page Generation 0.03857 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete