vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - v3 Arcade - Professional vBulletin Gaming (vB4) (https://vborg.vbsupport.ru/showthread.php?t=253211)

Gemma 08-03-2011 07:16 AM

In the v3ARCADE_MAIN and v3ARCADE_PLAY, most likely adding the code just below {vb:raw navbar} but you'll need to ask in the chatbox thread about how to display it only on certain pages.

rootsxrocks 08-04-2011 05:49 AM

i feel so proud, thats just what I did and it worked great thats my first intuitive template edit.

FudgeBalls2002 08-08-2011 03:16 PM

It was working perfect until I upgraded to the most recent vbulletin update. Now the games show up just white space and if I right click, it states that the flash has not loaded yet. Every game does the same thing. Its basically the default template with modified colors/logos. Here is the url. http://www.tomosmopeds.org/forum/arcade.php

glen290 08-09-2011 03:28 PM

Got this error on my sites arcade appear

Unable to add cookies, header already sent.
File: /home/tenpinfo/public_html/arcade.php
Line: 1820

Anybody got an idea what this is ?

Gemma 08-09-2011 04:24 PM

Have you edited any of the arcade files (php files)?

Make sure there is no white space after the ?> tag in the arcade.php file

dmm2020 08-09-2011 04:55 PM

Quote:

Originally Posted by Gemma (Post 2231422)
Have you edited any of the arcade files (php files)?

Make sure there is no white space after the ?> tag in the arcade.php file

Hi,

Just a hint and what I do with the scripts I write for people is that last ending ?> tag on a php page, I leave it out. That removes problems with white space at the bottom of any php page. It's not really needed as it''s the last one and I have never had white space issues on any server I worked on after I started leaving it out.

I got the idea from Zencart which does it. It's not really needed since PHP will end when the end of file (EOF) is reached anyway.

dmm2020 08-09-2011 05:05 PM

Quote:

Originally Posted by glen290 (Post 2231400)
Got this error on my sites arcade appear

Unable to add cookies, header already sent.
File: /home/tenpinfo/public_html/arcade.php
Line: 1820

Anybody got an idea what this is ?

Did you edit it? Works fine at my end and it's a great script. Any attempt to set cookies must be done before any other output. A white space above <?PHP is considered output. First look for output before set_cookie or any header statement. Both are problem children if you already started sending output. Any HTML before set_cookie is also output that will cause this error.

You can use output buffering to send output prior to the call of this function, with the overhead of all of your output to the browser being buffered in the server until you send it. You can do this by calling ob_start() and ob_end_flush() in your script, or setting the output_buffering configuration directive on in your php.ini or server configuration files.

I usually run set cookies like this:
Code:

    ob_start();
  set_cookie(PARAMS HERE);
    ob_end_flush();

This gets me around the set_cookie problem when other output has already been sent, which can also be an echo or print_r or similiar.

glen290 08-09-2011 06:00 PM

hadnt done any edits, but have just uploaded the arcade.php file and overwrote it, all fine now..

Datenpapst 08-15-2011 04:51 PM

there is no
PHP Code:

require('content.php'); 

in my index.php

Gemma 08-15-2011 05:19 PM

Try placing it above
Code:

require(INDEX_SCRIPT);
So it looks like this
Code:

require_once('./includes/v3arcade_vbsuite_index_compatibility.php');
require(INDEX_SCRIPT);


Fraxter 08-15-2011 09:52 PM

Why are there multiple highscore entrys for each person? Why is there not a overwrite function? I think it's not a good idea to have an user different times in the highscore list.

Any fix for that? Don't like this feature.

Gemma 08-16-2011 03:30 PM

Replied to you on v3arcade.com :)

zelnik 08-17-2011 11:37 AM

anyone else having problems with games that used to work fine suddenly stopping working?

Non Mochi games (i think!), things like cube crash? I get the intro screen then nothing?

Gemma 08-17-2011 11:49 AM

I've just installed Cube Crash to try it out and it loads and plays fine.

Have you updated your flash player lately? Also try deleting the flash player cache - http://www.macromedia.com/support/do...manager07.html

steve1966 08-17-2011 12:45 PM

Hi where do i put this file crossdomain.xml from the folder thanks

Gemma 08-17-2011 12:51 PM

Quote:

Originally Posted by steve1966 (Post 2234512)
Hi where do i put this file crossdomain.xml from the folder thanks

Same location as your arcade.php, index.php etc

steve1966 08-17-2011 06:40 PM

Quote:

Originally Posted by Gemma (Post 2234514)
Same location as your arcade.php, index.php etc

thank you

datoneer 08-18-2011 12:59 PM

Trying to start a new tournament.I don't have any games in dropdown list? How to fix this?

Datenpapst 08-24-2011 04:37 PM

Quote:

Originally Posted by Gemma (Post 2233845)
Try placing it above
Code:

require(INDEX_SCRIPT);
So it looks like this
Code:

require_once('./includes/v3arcade_vbsuite_index_compatibility.php');
require(INDEX_SCRIPT);


seems to work thx :)

Gemma 08-29-2011 09:05 PM

Quote:

Originally Posted by Datenpapst (Post 2237527)
seems to work thx :)

You're welcome. The index.php files must be structured differently for different languages :o

barakuda 08-30-2011 12:49 PM

i got this error in my forum
Quote:

Warning: array_slice() expects parameter 1 to be array, null given in [path]/arcade.php on line 2901

Warning: Invalid argument supplied for foreach() in [path]/arcade.php on line 2901

Gemma 08-30-2011 01:41 PM

Quote:

Originally Posted by barakuda (Post 2239922)
i got this error in my forum

Can you send me a link to your site please

glen290 09-09-2011 02:21 PM

Getting an error

Warning: Invalid argument supplied for foreach() in [path/includes]/v3arcade_functions.php on line 203

when i click on view leaderboard in the arcade champions box, any ideas ?

Gemma 09-09-2011 03:08 PM

Are you using the latest version (2.0.3a) because this should be fixed?

glen290 09-10-2011 06:24 AM

Quote:

Originally Posted by Gemma (Post 2243953)
Are you using the latest version (2.0.3a) because this should be fixed?

Just upgraded and get same error on a different line..

Warning: Invalid argument supplied for foreach() in [path]/includes/v3arcade_functions.php on line 207

Lord Singo 09-12-2011 11:06 PM

I just upgraded my installation and get this message from the Arcade page when it attempts to load:

Unable to add cookies, header already sent.
File: /*****/*****/web021/b216/******/public_html/hutch/includes/v3arcade_functions.php
Line: 656


This is what is in my arcarde.php file after installing this latest upgrade:

entially full inbox. $senderpermissions['adminpermissions'] = 2; $pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); $pmdm->set_info('is_automated', true); $pmdm->set('fromuserid', $vbulletin->userinfo['userid']); $pmdm->set('fromusername', $vbulletin->userinfo['username']); $pmdm->set('title', construct_phrase($vbphrase['challenge_declined_t'], $otheruser['username'], $vbulletin->userinfo['username'])); $pmdm->set('message', construct_phrase($vbphrase['challenge_declined_e'], $otheruser['username'], $vbulletin->userinfo['username'])); $pmdm->set_recipients($otheruser['username'], $senderpermissions); $pmdm->set('dateline', TIMENOW); $pmdm->save(); } } ($hook = vBulletinHook::fetch_hook('arcade_declinechallenge ')) ? eval($hook) : false; $vbulletin->url = 'arcade.php' . $vbulletin->session->vars['sessionurl_q']; eval(print_standard_redirect('v3_challenge_decline d')); } ($hook = vBulletinHook::fetch_hook('arcade_global_complete' )) ? eval($hook) : false; ?>[/CODE]

Gemma 09-13-2011 08:26 AM

Quote:

Originally Posted by Lord Singo (Post 2245071)
I just upgraded my installation and get this message from the Arcade page when it attempts to load:

Unable to add cookies, header already sent.
File: /*****/*****/web021/b216/******/public_html/hutch/includes/v3arcade_functions.php
Line: 656


This is what is in my arcarde.php file after installing this latest upgrade:

entially full inbox. $senderpermissions['adminpermissions'] = 2; $pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); $pmdm->set_info('is_automated', true); $pmdm->set('fromuserid', $vbulletin->userinfo['userid']); $pmdm->set('fromusername', $vbulletin->userinfo['username']); $pmdm->set('title', construct_phrase($vbphrase['challenge_declined_t'], $otheruser['username'], $vbulletin->userinfo['username'])); $pmdm->set('message', construct_phrase($vbphrase['challenge_declined_e'], $otheruser['username'], $vbulletin->userinfo['username'])); $pmdm->set_recipients($otheruser['username'], $senderpermissions); $pmdm->set('dateline', TIMENOW); $pmdm->save(); } } ($hook = vBulletinHook::fetch_hook('arcade_declinechallenge ')) ? eval($hook) : false; $vbulletin->url = 'arcade.php' . $vbulletin->session->vars['sessionurl_q']; eval(print_standard_redirect('v3_challenge_decline d')); } ($hook = vBulletinHook::fetch_hook('arcade_global_complete' )) ? eval($hook) : false; ?>[/code]

Can you try uploading the files again. (Make sure you're not uploading in binary mode)

Bisha 09-13-2011 10:29 AM

can i convert IBPArcade (games points etc) currently installed to v3?

as IBPArcade is "abandoned" already

Gemma 09-13-2011 11:02 AM

Quote:

Originally Posted by Bisha (Post 2245242)
can i convert IBPArcade (games points etc) currently installed to v3?

as IBPArcade is "abandoned" already

There is an IPB importer - http://www.v3arcade.com/forums/showt...newpost&t=3001

talkncaasports 09-13-2011 01:44 PM

Why is vb arcade saving the low scores as high scores? How do I fix this?

http://www.realsoonerfans.com/arcade.php

Mooff 09-13-2011 02:05 PM

That is a game setting which you can individualy set for each game.

Image in game where one needs to be the fastest, there low should be on top.

In the acp - v3 arcade section - manage games (or similar) is an option.

talkncaasports 09-13-2011 02:19 PM

Thank you Mooff.

Is there a quicker way to set all the same? I have over 1400 games.

Gemma 09-13-2011 03:23 PM

Quote:

Originally Posted by talkncaasports (Post 2245335)
Why is vb arcade saving the low scores as high scores? How do I fix this?

http://www.realsoonerfans.com/arcade.php

Is it doing that for every game or do you mean it is saving some games scores this way?

Run the following database query. (myPhpAdmin)

Code:

UPDATE `v3arcade_games` SET isreverse = 0
It will set high scoring for all the games, however if there are some scores which require low scoring you will need to edit them manually (things like golf games and fastest time wins etc)

There is also an option when managing games AdminCP > v3 Arcade > Manage Games to set the scoring to either high or low for each game.

Sunka 09-13-2011 05:43 PM

Any chance to put in newer version inline mod to "select all" or "inverse selection" games and set for all games at once high or low scores.

And please, do that also for delete games. I have to delete more hundreds games one by one, and after installation 200 newer games, manually setup high score


Please, give option to mass delete games, and mass update high or low scores at once in ACP.

Gemma 09-13-2011 07:09 PM

Quote:

Originally Posted by Sunka (Post 2245466)
Any chance to put in newer version inline mod to "select all" or "inverse selection" games and set for all games at once high or low scores.

And please, do that also for delete games. I have to delete more hundreds games one by one, and after installation 200 newer games, manually setup high score


Please, give option to mass delete games, and mass update high or low scores at once in ACP.

You'd be better off requesting that over on v3arcade.com so it doesn't get lost in all the posts in this thread :)

Sunka 09-13-2011 07:29 PM

Hope that I open thread in right subforum :)

http://www.v3arcade.com/forums/showt...9023#post19023

Sunka 10-03-2011 01:45 PM

Gemma, do you have SQL query to mass update Minimum Posts Per Day to play game, and Minimum Average Posts Per Day and Minimum Post Count (Total, for all games at once?

Gemma 10-03-2011 01:53 PM

Leave it with me until tomorrow and I'll have a look when I get back on my own computer and can check my files/database etc :)

Sunka 10-03-2011 05:31 PM

OK
Thanks

Gemma 10-04-2011 07:14 PM

Quote:

Originally Posted by Sunka (Post 2252689)
Gemma, do you have SQL query to mass update Minimum Posts Per Day to play game, and Minimum Average Posts Per Day and Minimum Post Count (Total, for all games at once?

You can run these queries (phpMyAdmin), replacing X in each instance to whatever value you require. This will set the values for all installed games.

I'll see if I can add something to the Arcade Admin so mass changes can be applied.

Minimum Posts
Code:

UPDATE `v3arcade_games` SET `minpoststotal` = 'X'
Average Minimum Posts
Code:

UPDATE `v3arcade_games` SET `minpostsperday` = 'X'
Minimum Posts Per Day
Code:

UPDATE `v3arcade_games` SET `minpoststhisday` = 'X'


All times are GMT. The time now is 06:27 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
  • Page Generation 0.02966 seconds
  • Memory Usage 1,836KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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