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);



All times are GMT. The time now is 01:15 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.01505 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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