vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

John 04-07-2004 01:31 PM

Quote:

Originally Posted by Blade-uk
hi john, any ideas on my lil predicament?

Search the thread, or read the FAQ in the zip file from the latest release. (On v3arcade.com)

Hurricane 04-07-2004 07:48 PM

I searched this thread and did not see an answer, so I apologize if this is a dumb question:

I am looking to be able to find the user that has spent the most time playing in the arcade. I want to issue them an award for "biggest time waster" and would like to know if it is possible to find out this information.

Thanks!

egyptsons 04-08-2004 05:27 AM

I will try it now ;)

RaZor Edge 04-08-2004 01:46 PM

Suggestion:

It can be cool if we can show the user best score (not the global hight score) for this game in the play template (at the right of the game). Will be a good motivation for people to beat there own best score...

thanks!

Owen 04-08-2004 02:02 PM

v3arcade.com has a modification for that.

Younghogget 04-08-2004 08:12 PM

Hey guys,

I am currently using vBadvanced. My website is:

www.younghogget.com

Is it possible for me to install vB Arcade even though i installed vB advanced?

Thank you

Littlebit 04-08-2004 08:15 PM

Quote:

Originally Posted by Younghogget
Hey guys,

I am currently using vBadvanced. My website is:

www.younghogget.com

Is it possible for me to install vB Arcade even though i installed vB advanced?

Thank you

definitely

John 04-08-2004 10:01 PM

If you're talking about 1.0.2, try reading the FAQ.

Kazaf009 04-08-2004 10:31 PM

thanx. sorry about that. i forgot to read the faq

LadyBeth 04-09-2004 12:03 PM

Can anyone help with a problem installation? Have followed the directions to the letter. Templates modified. Phrases created. Files uploaded...but the .php files edited when uploaded give me the following errors and I can't locate the issue.

Parse error: parse error in /home/pwna1b/wwwroot/pwnabbs.org/includes/functions.php on line 1795

Fatal error: Call to undefined function: exec_nocache_headers() in /home/pwna1b/wwwroot/pwnabbs.org/admincp/global.php on line 37

LadyBeth 04-09-2004 12:05 PM

p.s. this hasn't been "installed" yet due to this...since installation is the last step...

John 04-09-2004 12:05 PM

I really wish vBulletin got the word out about this.... using Dreamweaver kills functions.php.

Boofo 04-09-2004 01:09 PM

Quote:

Originally Posted by LadyBeth
Can anyone help with a problem installation? Have followed the directions to the letter. Templates modified. Phrases created. Files uploaded...but the .php files edited when uploaded give me the following errors and I can't locate the issue.

Parse error: parse error in /home/pwna1b/wwwroot/pwnabbs.org/includes/functions.php on line 1795

Fatal error: Call to undefined function: exec_nocache_headers() in /home/pwna1b/wwwroot/pwnabbs.org/admincp/global.php on line 37

Upload a fresh functions.php and STOP using Dreamweaver to edit the files. Use notepad or EditPlus2 or any good text editor. Dreamweaver has changed that line in functions.php. That is why you are getting the error. ;)

LadyBeth 04-09-2004 01:38 PM

*sigh* I'll try notpad... AGAIN.
Tried that initially. Went to Dreamweaver to look to see what was on the specified line. Decided to edit the files while there...

Question, will the original file, if opened in Dreamweaver but not edited, be changed?

<bang head here>

Boofo 04-09-2004 01:55 PM

As long as you don't save it, or it doesn't auto-save it, you should be fine. Try going to http://www.editplus.com/ and download their editor. It has a great search feature (with multiple line search, too) and built in FTP. That's ALL I use for vb files. ;)

Hurricane 04-09-2004 02:01 PM

You can use Dreamweaver to edit the files BUT and this is a HUGE BUT, you have to first open dreamweaver, goto Edit > Preferences > Click on "Code Rewriting" on the left > Uncheck Everything in there. Save your preferences. It will no longer change the code on it's own.

Just an FYI and remember: Your mileage may vary!

Zachariah 04-09-2004 02:03 PM

Quote:

Originally Posted by Boofo
As long as you don't save it, or it doesn't auto-save it, you should be fine. Try going to http://www.editplus.com/ and download their editor. It has a great search feature (with multiple line search, too) and built in FTP. That's ALL I use for vb files. ;)

http://www.multieditsoftware.com/90info.htm
works fine for me

TheOne24 04-09-2004 02:18 PM

Ok, I ran accross a problem while installing...
I was editing the files just fine then I came to this:

__________________________________________________ ______________________________ ___________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯
Template Modifications
======================

Make the following alterations to these existing templates, and save them.

==============
postbit
==============

Find:
__________________________________________________ ______________________________ ___________

<if condition="$show['pmlink']">

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯


I was wondering, where exactly is this? Is it in the same file? I'm lost :ermm:

EDIT: I think I found it.. :P

swissknife 04-09-2004 03:06 PM

Quote:

Originally Posted by John
You missed a comma. :) I fixed it and sent it back, let me know if that solves the problem.


John,

can you please tell me WHERE he missed the comma?
I?ve got the same Problem.....

John 04-09-2004 03:07 PM

Quote:

Originally Posted by swissknife
John,

can you please tell me WHERE he missed the comma?
I?ve got the same Problem.....

Just follow the instructions properly.

swissknife 04-09-2004 03:08 PM

Sorry....Thread #109

LadyBeth 04-09-2004 05:31 PM

Everything works fine right up until this... I spent over an hour onthe phone with my host trying to sort this out. If I already have access to the database what's the problem here?

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL:
CREATE TABLE gamechallenges (
challengeid int(10) unsigned NOT NULL auto_increment,
type tinyint(1) unsigned NOT NULL default '0',
challengerid int(10) unsigned NOT NULL default '0',
challengedid int(10) unsigned NOT NULL default '0',
game varchar(30) NOT NULL default '',
status tinyint(1) unsigned NOT NULL default '0',
datestamp int(13) unsigned NOT NULL default '0',
challengersession int(20) unsigned NOT NULL default '0',
challengedsession int(20) unsigned NOT NULL default '0',
PRIMARY KEY (challengeid)
) TYPE=MyISAM

mysql error: Access denied for user: 'pwna1b_vbbs@localhost' to database
'pwna1b_vbbs'

mysql error number: 1044

Date: Friday 09th of April 2004 12:14:54 PM
Script: http://pwnabbs.org/admincp/install_arcade.php
Referer: http://pwnabbs.org/admincp/install_arcade.php
Username: (removed for sake of post)
IP Address: (removed for sake of post)

Boofo 04-09-2004 06:03 PM

Is that the right db name?

cLord 04-10-2004 04:10 AM

Quote:

Originally Posted by Xyphen
I found a problem... when you disable the arcade in the settings.. or disable a game.

"Is the Arcade Active? If not, only Administrators will be able to view the arcadeIs the Arcade Active? If not, only Administrators will be able to view the arcade"

If admin should be allowed to view the game/arcade still, then why do I get a permission error?

Anyone?
I have the same problem....

cLord

deaconxgp 04-10-2004 02:31 PM

seems like a good hack but should i install this one or the latest version?

blubber12 04-10-2004 02:43 PM

everythings been working fine but today we received an errror. Running Gold and using latest arcade version. Here is the error

Error

SQL-query :

SELECT COUNT( * ) +1 AS scoresAbove
FROM gamesessions
WHERE score > AND valid =1 AND gamename = ''

MySQL said:

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND valid =1 AND gamename = ''' at line 3

MGM 04-10-2004 08:06 PM

I'm having a small problem, whenever I finish a game and it's loading to take me to the comments page, it just returns me to Arcade Home and it says this at the very top:

Warning: No content-type in POST request in Unknown on line 0

Warning: Cannot add header information - headers already sent in Unknown on line 0


Any reason why?

MGM out

Pseudomizer 04-11-2004 12:54 AM

Quote:

Originally Posted by MetalGearMaster
I'm having a small problem, whenever I finish a game and it's loading to take me to the comments page, it just returns me to Arcade Home and it says this at the very top:

Warning: No content-type in POST request in Unknown on line 0

Warning: Cannot add header information - headers already sent in Unknown on line 0


Any reason why?

MGM out

Hi,

this sounds like a typical PHP Error where someone did not put the session variables into the right order. They have to be placed directly after <?php. If there is something between the header is already placed and cannot be redefined twice. I am not sure if this applies here but please have a look at the beginning of your PHP file. Just a hint.

Cheers,

Pseudomizer

juanchi 04-11-2004 03:20 AM

I'm trying to translate and I almost near the end but I can find this phrase:

Welcome back, admin!
So, you think you're the best!?! Prove it! Earn your trophy!


In fact I'm missing other phrases but I guess that If I find where is this one I can find the other ones missing, thanks to anyone who can help me with this.

MGM 04-11-2004 04:12 AM

Quote:

Originally Posted by Pseudomizer
Hi,

this sounds like a typical PHP Error where someone did not put the session variables into the right order. They have to be placed directly after <?php. If there is something between the header is already placed and cannot be redefined twice. I am not sure if this applies here but please have a look at the beginning of your PHP file. Just a hint.

Cheers,

Pseudomizer

What do you mean by "session variables"??

Are you saying I should look through and see if something is written more than once in the beginning somewhere? And which PHP file?

I've been totally stumped by my error.... I mean..... an Unknown file on Line 0 is causing an error..... how do I go about troubleshooting that :P

Juanchi, I think that not everything is phrased and some things are in the templates, try looking in the Arcade Hack's various templates for those words. (And then try phrasing them yourself)

MGM out

juanchi 04-11-2004 04:28 AM

Quote:

Originally Posted by MetalGearMaster
Juanchi, I think that not everything is phrased and some things are in the templates, try looking in the Arcade Hack's various templates for those words. (And then try phrasing them yourself)

MGM out

Thanks MGM but I already look for them at the templates but this an another phrases where not there either, I know this is weird but unless I'm doing something wrong, I have no idea where this phrases could be.

MGM 04-11-2004 04:35 AM

In Arcade.php, search for:

PHP Code:

$arcadeintro "Welcome back, <strong>$bbuserinfo[username]</strong>!<br>
            <font size=1>So, you think you're the best!?! Prove it! Earn your trophy!<br>&nbsp;</font>"


There goes your text ;)

MGM out

tanhadil 04-11-2004 04:47 AM

how do u show medals for number of games high scores in post bit? its already activated in arcade panel

juanchi 04-11-2004 05:03 AM

Quote:

Originally Posted by MetalGearMaster
In Arcade.php, search for:

PHP Code:

$arcadeintro "Welcome back, <strong>$bbuserinfo[username]</strong>!<br>
            <font size=1>So, you think you're the best!?! Prove it! Earn your trophy!<br>&nbsp;</font>"


There goes your text ;)

MGM out

Thanks!!!

LadyBeth 04-11-2004 12:19 PM

Hi Boofo,
Yes, it is. I spoke to the Host on the phone for an hour, and he says it has to be in the install script or something. I can connect to the database with VB3, but for some reason this automated process won't do it. Also I'm new so be gentle guys. I really need to finish this installation.... right now the forums are opne, the link is on the main index, and people click it and get errors but no games.

Please help someone.... :(
Beth

Boofo 04-11-2004 04:17 PM

LadyBeth, are you having any problems with any other hack installs like this or is this the only one?

John 04-11-2004 04:53 PM

Quote:

Originally Posted by Boofo
LadyBeth, are you having any problems with any other hack installs like this or is this the only one?

I was going to say, it seems like a server setup problem. (I.e. nothing code related.) :ermm:

Bane 04-11-2004 08:30 PM

Fantastic job on this hack John. Very well done.

One small note. When the board is turned off in vb3 Gold, attempting to access the arcade results in an error.

Fatal error: Call to undefined function: print_no_permission() in /pathto/arcade.php on line 1352

Again.. Well done. :)

CricketWeb 04-11-2004 10:26 PM

I'm trying to order my games in alphabetical order. I've added this:

Code:

        // Selects all games from the database
        $result_allgames = $DB_site->query("
                SELECT * FROM " . TABLE_PREFIX . "games $searchclause ORDER BY shortname asc
        ");

but the "ORDER BY shortname asc" orders them in descending order and when I use desc it does the same thing.

Any ideas guys?

My arcade can be viewed here - http://forum.cricketweb.net/arcade.php?

LadyBeth 04-11-2004 10:38 PM

The host suspects that because the username and password are not the same for the database as my admin user name and password, it's an issue. Also it is a very secure server and database and the host is not willing to open it up anymore to install this. (he's also not a VB fan) So....it boils down to having the thing half (or 3/4) installed and people click the link and I get an inbox of error emails. I really need to get this installed. Can anyone help?

I am running vb 3.0 Gamma. I could upgrade to vb 3 gold but I don't see what good it would do for this install. (but if it would I can do that) Also I am relatively new to databases so be gentle.

The install tries to run, but it can't create the table or whatever in the database which is goofy since VB3 knows it has access, but for whatever reason the install script for Arcade doesn't work - the host thinks if the script was modified it would. That is way beyond me at this point.


All times are GMT. The time now is 11:00 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.05395 seconds
  • Memory Usage 1,842KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (12)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
  • (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