Log in

View Full Version : v3 Arcade - Games Arcade & Challenge System [vB 3.0.3]


Pages : 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19

romeshomey
07-14-2004, 06:56 AM
Im going to do this.

Im going to take my original includes/functions.php file that came with my VB3.0.3 install.

Then IM going to go through it and redo all my hacks that had a mod to that file, with this one 1st and test in between each one and see what happens.

Maybe something got messed up in my functions.php, who knows, but it was working fine before that change, and then working again after I took it back out.

Ill let you know. I probably wont get too it till tomorrow. Im beat...

Thanks for trying to help out. Its greatly appreciated...

domeen
07-14-2004, 11:03 AM
What's your board link?


Hi

Link is http://www.foorum.net
But its translated into estonian language.
But maybe You can help

flstreetscene
07-14-2004, 12:45 PM
Ok, set up a brand new database with 3.0.3 Updated the files uploaded everything and installed arcade. Arcade installed successfully but I still get the no permission message. I checked to see if all usergroup access were correct and indeed they were. I checked the arcade's general settings to find all the permissions in the "no" checkbox. So I select "yes" to all and click update only to find that they are reset back to "no".

I also got to mention that when I uploaded the modified 'includes/functions.php' the entire board stopped working so I had to work backwards to figure out which file was causing the trouble. I'm not sure if that's what could be causing the trouble...

http://www.floridastreetscene.com/testforums/arcade.php?

Ph0eniX
07-14-2004, 02:30 PM
Does it work with 3.02 yet?

romeshomey
07-14-2004, 05:29 PM
I also got to mention that when I uploaded the modified 'includes/functions.php' the entire board stopped working so I had to work backwards to figure out which file was causing the trouble. I'm not sure if that's what could be causing the trouble...


Dont worry, your not the only one with that problem. It shuts my board down with a parse error if I do what they say to the funtions.php as well . Not sure what the deal is there lol.

flstreetscene
07-14-2004, 07:39 PM
patiently waiting... :(

Daniel.C
07-14-2004, 07:47 PM
i keep getting this error with mine:
I run the install script and i keep getting this error:

Database error in vBulletin 3.0.3:
Invalid SQL:
INSERT INTO vb3_datastore VALUES('arcadesettings', 845)

mysql error: Duplicate entry 'arcadesettings' for key 1
mysql error number: 1062
Date: Wednesday 14th of July 2004 02:24:05 PM
Script: http://www.infinitiveintentions.com...tall_arcade.php
Referer:
Username: Sparky


What should i do to get rid of this error ? Is there anyway to empty the database of the arcade stuff.

romeshomey
07-14-2004, 07:51 PM
Im going to do this.

Im going to take my original includes/functions.php file that came with my VB3.0.3 install.

Then IM going to go through it and redo all my hacks that had a mod to that file, with this one 1st and test in between each one and see what happens.

Maybe something got messed up in my functions.php, who knows, but it was working fine before that change, and then working again after I took it back out.

Ill let you know. I probably wont get too it till tomorrow. Im beat...

Thanks for trying to help out. Its greatly appreciated...

Ok, I tried using my original includes/functions.php that came with my install. Made just that change on it and it shut my board down again. So its not something in my functions.php , has to be something in that edit that causes it. Gives me a parse error everytime.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/drewster/public_html/forums/includes/functions.php on line 1887


Strange thing is, I made no edits on or near line 1887. The edit I made was on lines 3527 and 3528..

trackpads
07-15-2004, 01:43 AM
Just started a poll over at miniclip.com, maybe we can get some grassroots support to get them to make games for V3arcade?

http://64.239.33.252/forum/viewtopic.php?t=14118

Please vote!

-Jason

version2
07-15-2004, 04:55 PM
This happens every time someone accesses showthread.php

Warning: Invalid argument supplied for foreach() in /var/www/html/mw/includes/functions_showthread.php on line 701

Help?

romeshomey
07-15-2004, 06:42 PM
RichieBoy67 was able to get my images to work for me. Thanks!

Also, wanted to thank John again for the awsome hack...

PolishPanda
07-15-2004, 09:10 PM
EDIT: I think I figured it out. I guess I just needed to look at it more closely. Heh

I have a different postbit template. Could someone maybe tell me where to add the code needed? I got the first one done but can't find where to put the other one.

Here is my postbit:

<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>
<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td width="100%"><!-- spacer -->

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" style="border:1px solid #5F6A79" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td colspan="2" valign="top" bgcolor="#ACB2BA" background="skynetimages/misc/bg.gif" class="thead" align="left" $scrolltothis><if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp;</if><img src="skynetimages/misc/small_arrow.gif" border="0" alt="" allign="absmiddle"> <font face="verdana,arial,helvetica" size="1" color="#FFFFFF"> <b><if condition="$post['title']"><strong>$post[title]</strong></if></b></font></td>
</tr>
<tr>
<td width="175" height="100%" valign="top" nowrap bgcolor="#E4E5E5">
<a name="post26"></a>

<table width="170">
<tr><td align="center"><if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></if><br />

<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#94979D" width="100%">
<tr>
<td width="100%" align="center">
<table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF"><table cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
<tr>
<td> <font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Name: </font></b></font></td>
<td> <div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a href="member.php?$session[sessionurl]u=$post[userid]">&nbsp;$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div></td></tr></table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF"><font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Status:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[onlinestatus]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
</tr>
</table></td>
</tr>
<if condition="$post['usertitle']">
<tr>
<td width="100%" align="center">
<table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF">
<font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Title:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[usertitle]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
</tr>
</table></td>
</tr></if>

<if condition="$show['reputation']"><tr><td align="center"><table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF"><font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Reputation:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[reputationdisplay]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
</tr>
</table></td>
</tr></if>

<if condition="$post['rank']">
<tr>
<td width="100%" align="center">
<table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF">
<font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Rank:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[rank]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>
</tr>
</table></td>
</tr>
</if>
<if condition="$show['postcount']">
<tr>
<td width="100%" align="center">
<table border="1" style="border-collapse: collapse" bordercolor="#94979D" width="90%" cellpadding="2">
<tr>
<td width="100%" bgcolor="#FFFFFF">
<font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Posts:</font></b></font><font size="1" face="Tahoma"><font face="verdana,arial,helvetica" size="1" > $post[posts]</font>
</font></td>
</tr>
</table></td>
</tr>
</if>
<tr>
<td width="100%" align="center"><img src="skynetimages/misc/space.gif" alt="" width="1" height="3" border="0" align="absmiddle"></td>
</tr>
<tr>
<td align="center"><font face="verdana,arial,helvetica" size="1" > <if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged]</font></td>
</tr>


</table></td></tr></table></td>

<td width="100%" height="100%" valign="top" bgcolor="#E4E5E5"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="10" align="right" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="100%" align="left"><font face="verdana,arial,helvetica" size="1" > <!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['start_until_end']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date --> </font></td>
<td width="192" align="right" nowrap><font face="verdana,arial,helvetica" size="1" > <if condition="$post['editlink']">
<a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/quote.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/qreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if></font></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" height="200" valign="top" align="left">
<br />
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<p><font face="verdana, arial, helvetica" size="1"> <!-- message, attachments, sig -->

<!-- message -->
<div>$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>


<!-- message, attachments, sig -->
</font></p>

<p></p>
<p></p></td>
</tr>
<tr>
<td width="100%" height="10" align="right" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="100%" align="right"><font face="verdana,arial,helvetica" size="1" >
<if condition="$show['profile']">
<a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank"><img src="skynetimages/misc/profile.gif" border="0" alt="$vbphrase[view_public_profile]"></a>
</if>
<if condition="$post['arcadesettings'] & 4 AND $post[userid]!=$bbuserinfo[userid] AND $bbuserinfo[userid]!=0">
<tr><td class="vbmenu_option"><a href="arcade.php?$session[sessionurl]do=newchallenge&userid=$post[userid]" target="_self">Challenge $post[username] in the Arcade</a></td></tr>
</if>
<if condition="$show['pmlink']">
<a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><img src="skynetimages/misc/sendpm.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>"></a>
</if>
<if condition="$show['homepage']"><a href="$post[homepage]"><img src="skynetimages/misc/home.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase>"></a></if>
<if condition="$show['emaillink']">
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><img src="skynetimages/misc/email.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase>"></a>
</if>
<if condition="$show['search']">
<a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><img src="skynetimages/misc/find.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase>"></a>
</if>
<if condition="$post['userid']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img src="skynetimages/misc/buddy.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase>"></a>
</if></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>


</table>
</td></tr></table>

<!-- spacer --></td></tr></table><br />

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->




<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->

Here is what the install file says:

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

Find:
__________________________________________________ _________________________________________

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

?????????????????????????????????????????????????? ?????????????????????????????????????????

Below this, add:
__________________________________________________ _________________________________________

$post[arcadeawards]

?????????????????????????????????????????????????? ?????????????????????????????????????????

TTG
07-15-2004, 10:58 PM
<font face="verdana,arial,helvetica" size="1" color="#183562"><b><font size="1" face="Tahoma">Rank:</font></b></font><font size="1" face="Tahoma"> <font face="verdana,arial,helvetica" size="1" > $post[rank]</font></font><font face="Tahoma"><font face="verdana,arial,helvetica" size="1" ></font></font><font face="verdana,arial,helvetica" size="1" ></font></td>

below that line add "$post[arcadeawards]"

Mickie D
07-16-2004, 03:00 PM
hi did anyone work out a fix for playing your arcade in https ?

thanks very much

Battle_Ring
07-17-2004, 08:41 PM
how can i stop the arcade fro msendign emaisl sayign your score was beaten

Intex
07-17-2004, 08:42 PM
Each user has the option of setting this on and off. Go to Arcade | Your Settings.

royals
07-17-2004, 09:08 PM
This is great!

Installed yesterday and everyone on the board loves it. Only problem is the latest arcade score is not updating. Its stuck on the same one. Not sure how to fix. Downloaded zip 7/16/04 and I'm using 3.0.1

Edited to say its working but its only recording scores for 3 card poker. Any thoughts?

sarge0087
07-18-2004, 03:23 AM
I have a problem getting the arcade working. Go to my arcade: http://www.nextdictator.com/forum/arcade.php? and click on one of the games. Why aren't they working? I have version 3.0.3 and I saw a post that it does work with that version. I'm not sure what's wrong.

*EDIT: Whoops, sorry I forgot you had to register to see the arcade, but what happens is it'll bring me to a "The page cannot be displayed" page and the url in the url bar changes to http:///forum/arcade.php?do=extendsession I'm not sure what's going on.

Intex
07-18-2004, 03:25 AM
You need to turn off the requirement to register before people can help with your problem. Either that or specify a test account so we can see what's going on.

Intex
07-18-2004, 03:27 AM
royals - It could be that the arcade tasks have not run. These run by default at 23:00 daily. If you want to test that, go to AdminCP | Scheduled Tasks and select RUN NOW against the 'Arcade Tasks'.



This is great!

Installed yesterday and everyone on the board loves it. Only problem is the latest arcade score is not updating. Its stuck on the same one. Not sure how to fix. Downloaded zip 7/16/04 and I'm using 3.0.1

Edited to say its working but its only recording scores for 3 card poker. Any thoughts?

sarge0087
07-18-2004, 06:07 AM
Ok, try this. Go to my forum http://www.nextdictator.com/forum/index.php and login as:

Username: Testarcade
Password: test

Try and play a game in my arcade and you will see the problem.

Intex
07-18-2004, 06:14 AM
OK, this is typically caused by the usergroup not having permission to access the arcade. Go to AdminCP | Usergroups, then select the usergroup that the user your testing belongs to, scroll down to the 'Arcade Permissions' setting and check to make sure that:

Can View the Arcade?
Allows usergroup to play arcade games

Are both set to YES.

sarge0087
07-18-2004, 06:23 AM
Hmm... even on my admin account I can't play. Everything is set to yes for everyone too... I'm not sure what's going on.

Intex
07-18-2004, 06:30 AM
What version of vB are you using? I believe there are known issues with 3.0.2 including this paticular problem, but I'm not 100%.

sarge0087
07-18-2004, 06:33 AM
3.0.3

I saw someone else with 3.0.3 saying it worked fine with him. Maybe it's just me?

Intex
07-18-2004, 06:42 AM
OK, then I don't really know. The only other thing I can think off is to check the location of your games and make sure their in the same location as originally specified.

sarge0087
07-18-2004, 07:02 AM
Hmmm, I think I know the problem. I remember a while ago trying to install this arcade but I failed horribly. When I try to make the database changes during the installation I get the following error:

"Database error in vBulletin 3.0.3:

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: Table 'gamechallenges' already exists

mysql error number: 1050"

I know what this means, so how do I delete those old databases?

Intex
07-18-2004, 07:06 AM
Use phpmyadmin or similar program to access your database and delete the table (backup your database first!). Alternatively if you know your SQL, then simply run the query from the vBulletin AdminCP | Import & Maintenance | Execute SQL Query.

sarge0087
07-18-2004, 07:13 AM
I don't know much about SQL. When I try to Execute SQL Query it tells me I am not authorized. I used to have phpmyadmin but I had no idea what to do with it.

sarge0087
07-18-2004, 07:17 AM
Do you think the SQL thing is even the problem?

Intex
07-18-2004, 07:20 AM
To be honest I don't think so. That error is just saying that a table already exists with the same name (from your previous install). It also relates to the game challenges, so not related.

Let's see if anybody else has any suggestinos on how to fix the problem before you start using utilities you're not familiar with, i.e. phpmyadmin.

kenji4861
07-18-2004, 08:10 AM
Hmm... even on my admin account I can't play. Everything is set to yes for everyone too... I'm not sure what's going on.

I am experiencing this same problem. If you found a solution, please let me know.

hello
07-18-2004, 08:39 AM
i get this error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/nrelamun/public_html/forum/includes/init.php on line 520

kenji4861
07-18-2004, 08:40 AM
hello : post us about 3 or 5 lines of code surrounding that area.

hello
07-18-2004, 09:22 AM
ok fixed that error but now when i go to a topic it says this Warning: Invalid argument supplied for foreach() in /home/nrelamun/public_html/forum/includes/functions_showthread.php on line 716

Warning: Invalid argument supplied for foreach() in /home/nrelamun/public_html/forum/includes/functions_showthread.php on line 716
and when i go to the arcadce main page it just shows a blank page

royals
07-18-2004, 04:08 PM
Thanks Intex, but that didn't help. Its only keeping 3 Card Poker scores and not even updating those now. Its stuck on a score from yesterday and a new high score was played this morning.

royals - It could be that the arcade tasks have not run. These run by default at 23:00 daily. If you want to test that, go to AdminCP | Scheduled Tasks and select RUN NOW against the 'Arcade Tasks'.

kenji4861
07-18-2004, 05:03 PM
<a href="http://www.spoofee.com/forums" target="_blank">http://www.spoofee.com/forums</a>

No matter what I do, my arcade section is giving me this.

"you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. "

-I redid all installation processes about 3 times now using notepad (windows).
-I set the permissions on all games to active.
-I set all the permissions on usergroups to be able to access the arcade.
-Even the admin cannot access it.

Thanks for any pointers. If you have AIM, please contact me at kenji4861

Intex
07-18-2004, 05:07 PM
kenji4861 - this sounds like a problem experienced just recently in another post by someone else. Go back a couple of pages and check out what I'd suggested, it might help you.

Also, although very fundamental, make sure your games are enabled, because that's another reason you'd get that message.

hello
07-18-2004, 05:07 PM
when i go to the aracde system i installed on every skin it just shows a white blank page. I have tried reinstalling it again and again but it still does that.

Intex
07-18-2004, 05:07 PM
And have you checked to make sure the scheduled tasks are running correctly? Check the logfile.



Thanks Intex, but that didn't help. Its only keeping 3 Card Poker scores and not even updating those now. Its stuck on a score from yesterday and a new high score was played this morning.

kenji4861
07-18-2004, 05:15 PM
Hi Intex, I did try what you suggested such as setting usergroup permission, but it is not working. Also all the game settings are active.

You were discussing something about sql editting with sarge, does that help this situation?

Intex
07-18-2004, 05:15 PM
Are you sure you have it installed on all the templates? Double-check in AdminCP and confirm they're all there. Also, make sure you database contains the tables for the arcade with something like myphpadmin.



when i go to the aracde system i installed on every skin it just shows a white blank page. I have tried reinstalling it again and again but it still does that.

Intex
07-18-2004, 05:17 PM
No, this was only because he was asking about how to remove an entry in the database. I'm not sure why people are having problems. I've confirmed this works with 3.0.3 as well.

Hi Intex, I did try what you suggested such as setting usergroup permission, but it is not working. Also all the game settings are active.


You were discussing something about sql editting with sarge, does that help this situation?

kenji4861
07-18-2004, 05:20 PM
Darnit!

hello
07-18-2004, 05:25 PM
Intex everything is there but it still doesn't load on. When i was on invision board the happened to me on posts so i went to admin cp and on the setting for Type of auto-redirect?
(This is for quick no page redirects) and it was on Location type (*nix savvy) so i put it on HTML META redirect (If all else fails...) and then it worked but i can't find the setting in the vbulletin admin cp

royals
07-18-2004, 05:58 PM
And have you checked to make sure the scheduled tasks are running correctly? Check the logfile.


This can't be right...

91 Subscriptions 02:03, 18th Jul 2004 Subscriptions Updated
90 Daily Digest 02:02, 18th Jul 2004 Daily Digests Sent
89 Subscriptions 02:02, 17th Jul 2004 Subscriptions Updated
88 Daily Digest 02:02, 17th Jul 2004 Daily Digests Sent
87 Subscriptions 02:06, 16th Jul 2004 Subscriptions Updated
86 Daily Digest 02:02, 16th Jul 2004 Daily Digests Sent


Edit - Sorry I ddin't have it turned on to log the entires. I ran it and the same thing.

KTBleeding
07-18-2004, 09:21 PM
I upgraded to 3.0.3 and now none of my posts show up after this hack.

I'm pretty sure it's because I could not figure this out at all:
=================================
includes/functions_showthread.php
=================================

Find:
__________________________________________________ _________________________________________

// ###################### Start getreputationimage #######################

?????????????????????????????????????????????????? ?????????????????????????????????????????

Above this, add:
__________________________________________________ _________________________________________

if ($arcadegeneral['awardson']==1) {
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";
$arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscor e,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
while ($arcade = $DB_site->fetch_array($arcade_result)){
if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
$awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
$awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
$awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
$awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
$awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
}
}
}


I can't find that line anywhere.
Anyone know where else I should put this?

KTBleeding
07-18-2004, 10:56 PM
This is the error message I recieve from showthread.php

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

Warning: Invalid argument supplied for foreach() in /home2/keepthem/public_html/forums/includes/functions_showthread.php on line 657

sarge0087
07-19-2004, 12:02 AM
KTBleeding, you're right, there is no line like that. Instead it's called:

###################### Start doimicons #######################

sarge0087
07-19-2004, 12:16 AM
Well... I still have my same problem. Just to update someone that may help me:

Go to my forum and login with the following:

Username: Testarcade
Password: test

Go to the Arcade and try and play a game. Why am I having that problem? Why does it go to "extendsession" instead of the game?

KTBleeding
07-19-2004, 01:30 AM
KTBleeding, you're right, there is no line like that. Instead it's called:

###################### Start doimicons #######################
Awesome, it works adding the code above that. Thanks!

And, I have no clue on your issue. Good luck with it.. :nervous:

MissKalunji
07-19-2004, 04:08 PM
heres a new game from yetis

GoTTi
07-20-2004, 12:36 AM
i had to delete a user on my board and he had alot of scores on the arcade..

now where his name use to be is the name of the game, and it just shows the highscore.

how can i remove all the scores not linked to a nick?

Jesus Cranberry
07-20-2004, 10:35 AM
i get this error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/nrelamun/public_html/forum/includes/init.php on line 520

I get the same error, how do you fix it?

JGM007
07-20-2004, 04:46 PM
Everything seems to be working for me with 303, BUT the edit to the navbar and postbit templates.
I reverted them and tried the edits and a few suggestions mentioned a ways back, but no dice on the postbit champ icon.

JGM007
07-20-2004, 06:15 PM
never mind. My own lack of sleep and stupidity made me over look the fact that the arcade templates were not in the style I was editing.

flstreetscene
07-22-2004, 01:24 AM
I posted this on v3arcade but no one bothered to help me out:

"Ok well here it is to those who might be able to figure out;

I've created a fresh new database and forums and placed it here;

http://www.floridastreetscene.com/testforums

I'm at the point where I'm suppose to run the arcade install script but as you can see the entire site is blank and all because of the minor modification in 'includes/functions.php':

Find:
__________________________________________________ _________________________________________

// get CSS width for outerdivwidth from outertablewidth

?????????????????????????????????????????????????? ?????????????????????????????????????????

Above this, add:
__________________________________________________ _________________________________________

// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";

?????????????????????????????????????????????????? ?????????????????????????????????????????

You can take a look at my modified 'includes/funtions.php' document here;

http://www.floridastreetscene.com/testforums/temp

Thanks for the help."

montda
07-22-2004, 04:26 PM
hi ...cool hack and i have some problem after uploading files
when i go 2 my admincp homepage this error appere
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/montda/public_html/vb/includes/init.php on line 518
i chack the file 518 and i find:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
'arcadesettings'
), $specialtemplates);
i have ustore at my forums

and when i want to sign in this line show on the top of my forum page
Warning: Invalid argument supplied for foreach() in /home/montda/public_html/vb/global.php on line 639

i chck it and i find
// ######################## USHOP ####################################
// Unserialize uShop Actions.
$storeactions = unserialize($datastore['utt_store_act']);

// Make a list of the all the actions...
foreach ($storeactions as $actionid => $theaction) {
if ($theaction['active'] == "1") {
$allowed = explode(",", $theaction['allowedgroups']);
foreach ($allowed as $allow) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) {
$canenter = "1";
}
}
$denied = explode(",", $theaction['deniedgroups']);
foreach ($denied as $deny) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) {
unset($canenter);
}
}
if (!isset($canenter)) {
$canenter = "0";
}
if (THIS_SCRIPT == 'ushop') {
if ($canenter == 1) {
$action1[$actionid] = $theaction;
}
if ($theaction['showinstore'] == 1) {
(isset($actioncount) ? $actioncount++ : $actioncount = "1");
}
}
if ($canenter == 1 && $theaction['showinstore'] == 1) {
eval('$ushop_navbar .= "' . fetch_template('navbar_uttstore_actions') . '";');
}
}
}
// The end all solution.
unset($theaction);
unset($storeactions);
if (THIS_SCRIPT == 'ushop') {
$storeactions = $action1;
}
unset($action1);
if (DB_QUERIES)
{
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "End call of global.php: $aftertime\n";
echo "\n<hr />\n\n";
}
// Creates general settings for the Arcade
$arcadegeneral = convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser = convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions = convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']);
and i can't sign in

i have ucash&ushop installed atmy forums :surprised:

Oldfart
07-22-2004, 10:17 PM
hi ...cool hack and i have some problem after uploading files
when i go 2 my admincp homepage this error appere

i chack the file 518 and i find:
$specialtemplates = array_merge(array(
'options',
'cron',
'forumcache',
'usergroupcache',
'stylecache',
'utt_store_act'
'arcadesettings'
), $specialtemplates);
i have ustore at my forums

and when i want to sign in this line show on the top of my forum page


i chck it and i find
// ######################## USHOP ####################################
// Unserialize uShop Actions.
$storeactions = unserialize($datastore['utt_store_act']);

// Make a list of the all the actions...
foreach ($storeactions as $actionid => $theaction) {
if ($theaction['active'] == "1") {
$allowed = explode(",", $theaction['allowedgroups']);
foreach ($allowed as $allow) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $allow)) {
$canenter = "1";
}
}
$denied = explode(",", $theaction['deniedgroups']);
foreach ($denied as $deny) {
if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $deny)) {
unset($canenter);
}
}
if (!isset($canenter)) {
$canenter = "0";
}
if (THIS_SCRIPT == 'ushop') {
if ($canenter == 1) {
$action1[$actionid] = $theaction;
}
if ($theaction['showinstore'] == 1) {
(isset($actioncount) ? $actioncount++ : $actioncount = "1");
}
}
if ($canenter == 1 && $theaction['showinstore'] == 1) {
eval('$ushop_navbar .= "' . fetch_template('navbar_uttstore_actions') . '";');
}
}
}
// The end all solution.
unset($theaction);
unset($storeactions);
if (THIS_SCRIPT == 'ushop') {
$storeactions = $action1;
}
unset($action1);
if (DB_QUERIES)
{
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "End call of global.php: $aftertime\n";
echo "\n<hr />\n\n";
}
// Creates general settings for the Arcade
$arcadegeneral = convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser = convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions = convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']);
and i can't sign in

i have ucash&ushop installed atmy forums :surprised:

Well I can help you with the first problem, you're missing a , after 'utt_store_act' it should look like this 'utt_store_act',

As far as the other problem goes I have no idea, sorry maybe someone else can help you.

Oldfart
07-22-2004, 10:24 PM
I posted this on v3arcade but no one bothered to help me out:

"Ok well here it is to those who might be able to figure out;

I've created a fresh new database and forums and placed it here;

http://www.floridastreetscene.com/testforums

I'm at the point where I'm suppose to run the arcade install script but as you can see the entire site is blank and all because of the minor modification in 'includes/functions.php':

Find:
__________________________________________________ _________________________________________

// get CSS width for outerdivwidth from outertablewidth

?????????????????????????????????????????????????? ?????????????????????????????????????????

Above this, add:
__________________________________________________ _________________________________________

// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";

?????????????????????????????????????????????????? ?????????????????????????????????????????

You can take a look at my modified 'includes/funtions.php' document here;

http://www.floridastreetscene.com/testforums/temp

Thanks for the help."

Well all that line is doing is making sure that you have the arcade image directory where it's supposed to be like in your /forum/images/arcade there really shouldn't be any problems as long as thats where you put the arcade images directory at. You should check it. If it is post back here and let me know.

Oldfart
07-22-2004, 10:28 PM
I upgraded to 3.0.3 and now none of my posts show up after this hack.

I'm pretty sure it's because I could not figure this out at all:
=================================
includes/functions_showthread.php
=================================

Find:
__________________________________________________ _________________________________________

// ###################### Start getreputationimage #######################

?????????????????????????????????????????????????? ?????????????????????????????????????????

Above this, add:
__________________________________________________ _________________________________________

if ($arcadegeneral['awardson']==1) {
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";
$arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscor e,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
while ($arcade = $DB_site->fetch_array($arcade_result)){
if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
$awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
$awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
$awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
$awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
$awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
}
}
}


I can't find that line anywhere.
Anyone know where else I should put this?

that line has been taken out in vb 3.0.3 and this new line has been added instead. Just add it above this line in functions_showthread:

// ###################### Start doimicons #######################

Oldfart
07-22-2004, 10:50 PM
Ok, try this. Go to my forum http://www.nextdictator.com/forum/index.php and login as:

Username: Testarcade
Password: test

Try and play a game in my arcade and you will see the problem.


Ok I'm not sure but it seems to me there is a problem somewhere in one of your php files or templates and its causing this problem with your install. When I click on a game the URL up above points to here: http:///forum/arcade.php?do=extendsession You notice the /// there it seems you're missing your domain name in the line. If I were you I'd go over my install again very carefully.

flstreetscene
07-23-2004, 12:21 AM
Well all that line is doing is making sure that you have the arcade image directory where it's supposed to be like in your /forum/images/arcade there really shouldn't be any problems as long as thats where you put the arcade images directory at. You should check it. If it is post back here and let me know.

Yep that's where they are; floridastreetscene.com/testforums/images/arcade

:disappointed:

Oldfart
07-23-2004, 12:41 AM
Yep that's where they are; floridastreetscene.com/testforums/images/arcade

:disappointed:

Well after looking at your includes/function.php I noticed only one difference between yours and mine. you have a space inbetween a line:


// merge in css colors if available
if (!empty($style['csscolors']))
{
$stylevar = array_merge($stylevar, unserialize($style['csscolors']));
unset($style['csscolors']);
}
here-->-------------------------------------------------<-----here
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";

// get CSS width for outerdivwidth from outertablewidth
if

Where as I don't. You might want to try and close the open space, not to sure if that would matter or not but it wouldn't hurt to try. Other than that I have no clue because this is such a simple line to install there isn't much room for a mistake.

pagekeeper
07-23-2004, 03:29 AM
Hey,

im pretty new to php, but i got through most problems but now im getting this error.....

Parse error: parse error in /home/boards/public_html/boards/includes/functions.php on line 1887

Fatal error: Call to undefined function: vbsetcookie() in /home/boards/public_html/boards/includes/sessions.php on line 293

if anyone could help i'd appriciate it. im pretty confused to say the least.

TRStealth
07-23-2004, 06:25 AM
I also get an error everytime I upload functions.php. I don't suspect that something is wrong with that particular file, but I have no idea what it could be:



Parse error: parse error in /home/virtual/site3/fst/var/www/html/forums/includes/functions.php on line 1887

Fatal error: Call to undefined function: devdebug() in /home/virtual/site3/fst/var/www/html/forums/includes/functions.php on line 952


Please Help

GoTTi
07-23-2004, 06:45 AM
i had to delete a user on my board and he had alot of scores on the arcade..

now where his name use to be is the name of the game, and it just shows the highscore.

how can i remove all the scores not linked to a nick?

montda
07-23-2004, 10:33 AM
Oldfart .... thank u
i edit it and the 2nd problem dissappered
thx again :)

Craz786
07-23-2004, 05:59 PM
Hello - Great mod, installed it right away! :D.

But, Is it possible for you to do like a 'download all arcade games' thing on your website? Please, Can you PLEASE make that?

Thank you.
Please? :(

Oldfart
07-23-2004, 09:32 PM
I also get an error everytime I upload functions.php. I don't suspect that something is wrong with that particular file, but I have no idea what it could be:



Parse error: parse error in /home/virtual/site3/fst/var/www/html/forums/includes/functions.php on line 1887

Fatal error: Call to undefined function: devdebug() in /home/virtual/site3/fst/var/www/html/forums/includes/functions.php on line 952


Please Help

Hmm, do you have your debugmode turned on? If so try turning it off and see if you still get that error.

Oldfart
07-23-2004, 09:37 PM
Please? :(

There is a hack that will let you install multiple games at once but I think you have to install it on a clean install of Arcade tho. You might want to check it out at the vbArcade.com, sorry you might have to register to download it. but here is the link Arcade game mass installer (http://www.v3arcade.com/play/showthread.php?t=874)

Oldfart
07-23-2004, 09:38 PM
i had to delete a user on my board and he had alot of scores on the arcade..

now where his name use to be is the name of the game, and it just shows the highscore.

how can i remove all the scores not linked to a nick?

In the admincp reset the highscores option.

Oldfart
07-23-2004, 09:40 PM
Hey,

im pretty new to php, but i got through most problems but now im getting this error.....



if anyone could help i'd appriciate it. im pretty confused to say the least.

It looks like a cookie problem, not to sure but make sure your cookies are enabled.

Oldfart
07-23-2004, 09:55 PM
Yep that's where they are; floridastreetscene.com/testforums/images/arcade

:disappointed:

Hmm OK, I just went to your site and it comes up with a blank page. Are you running a live site and a test site on the same server? If so this might be your problem. Usually people run a test site on a different server so it doesn't interfer with their live site. Not to sure as to why it might interfer with the Arcade but you might want to try moving the test site to a different server. According to the explination you gave as to what the problem might be I really can't see any thing that might be wrong because it's such a simple line of code to install. SO the only other thing that I can think of at the moment without being able to actually get into your forum is that it must be the dual install of VBulletin.

If you think you can install the arcade OK, try and install it on your live site instead. If you follow the instructions carefully you shouldn't have any problems. I've installed it on 4 different boards now and upgraded 2 times from 3.0.1 to 3.0.3 and haven't had any problems so far... *knock on wood*

Good Luck!

pagekeeper
07-23-2004, 10:14 PM
thanks for your reply.....

i relised i was getting that error when i went to admincp but....

this is the error i get when i try to view the boards....
Parse error: parse error in /home/site/public_html/boards/includes/functions.php on line 1887

Fatal error: Call to undefined function: is_browser() in /home/site/public_html/boards/global.php on line 59

i've had this problem before when i installed the arcade last, when i replace it with the originals it all works again but it also means this hack wont work aswell obviously because the originals dont have the additional code.... i really want to get this to work.

heeeelp ?? :(

TRStealth
07-23-2004, 11:04 PM
Hmm, do you have your debugmode turned on? If so try turning it off and see if you still get that error.

No, I don't have debug mode as far as I can tell. I haven't turned it on at least, and I'm the only admin. :/

Oldfart
07-24-2004, 03:16 AM
No, I don't have debug mode as far as I can tell. I haven't turned it on at least, and I'm the only admin. :/

What version of VB are you using? If you are using vb 3.0.3 I'll make the changes to a clean version of functions.php for the arcade and attach it here for you to try. If you have any other hacks installed you'll have to make the other hack changes yourself if they alter the functions.php file.

TRStealth
07-24-2004, 03:45 AM
Yeah, I'm using version 3.0.3, and no, this is the first hack I'm installing on this particular vB, so all the files should be fresh.

GoTTi
07-24-2004, 04:20 AM
what do u mean old fart??? where is that command and whats it do

sarge0087
07-24-2004, 04:47 AM
Ok I'm not sure but it seems to me there is a problem somewhere in one of your php files or templates and its causing this problem with your install. When I click on a game the URL up above points to here: http:///forum/arcade.php?do=extendsession You notice the /// there it seems you're missing your domain name in the line. If I were you I'd go over my install again very carefully.

That's exactly what I was thinking... but where would I put in my url so it knows where to go?

Oldfart
07-24-2004, 05:10 AM
what do u mean old fart??? where is that command and whats it do

That is not a command. The arcade cp is in your forums admincp. There is an option in there to reset all high scores in the database. Use that option in your arcade cp. If you only want to remove one persons high score there is a new hack on http://www.vbarcade.com that will allow you to remove an individual's high score. Here is a direct link to the hack to remove an indiviual score... http://www.friedwalrus.com/removescores.txt

mariannet
07-24-2004, 05:58 AM
Please help!

I have Ushop installed and after installing v3 Arcade I get an error when attempting to open a thread / write a post / edit a post.

My debugger says its in this line in newreply.php:
<form name="vbform" action="editpost.php" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

I have attached the file.

Can someone please help, my board is to reopen monday after upgrade and it's my birthday, so be nice ;)

Sunshine from Denmark
-Marianne

MindTrix
07-24-2004, 06:00 AM
Wohhhh firstly you need to very quickly take that file out of your post, tis against rules laws and all that rubbish so you need to do it before they moan at you.

Then secondly post the error you are receiving here.

mariannet
07-24-2004, 06:05 AM
Wohhhh firstly you need to very quickly take that file out of your post, tis against rules laws and all that rubbish so you need to do it before they moan at you.

Then secondly post the error you are receiving here.

Thanks, I didn't know :o

Here are my errors:

Post reply:

Syntax error
Line 491

New Thread:

Syntax error
Line 489

Edit Post:

Syntax error
Line 555

MindTrix
07-24-2004, 06:06 AM
Ok copy and paste the whole error here :) Cheers

mariannet
07-24-2004, 06:20 AM
When clicking "New Reply" I get pic. #1
After writing and then submitting I get pic #2

Then it says:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

Both are as should be, but it seems that it does not read these fields.
If I edit a post, it says "edited by" but the new text or alteration does not show up?

Thanks for your time!

mariannet
07-24-2004, 04:40 PM
Please help!

I have installed hacks:

PetzVB v2
uCash & uShop 0.95
v3 Arcade Version 1.0
vBadvanced Homepage version 1.1

***

When trying to post thread:

Error in newthread.php line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

When submitting thread or post:

Error in newthread line 554:

<form action="newthread.php" method="post" name="vbform" onsubmit="return validatePost(this, this.subject.value, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

Thread does not get posted.

***

When trying to reply to thread:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting the post:

Error in newreply.php line 556:

<form action="newreply.php" name="vbform" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

Rapports:

Please complete both the subject and message fields. Press the back button, correct the problem and try again.
The message you have entered is too short. Please lengthen your message to at least 10 characters.

The reply does not get posted.

***

When trying to edit post:

Error in editpost.php line 620:

<form name="vbform" action="editpost.php" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

When submitting it rapports no errors but it only says "edited by" in the post og the reason for editing, the new text is not present.
If I edit som of the original text, the change does not happen.

***

When playing in v3 Arcade and finishing a game, I type in the comments box but on submit gets: No permissions (I have the permissions).

***

I sure hope that someone can help. I'm supposed to open my upgraded forum monday and still have a long way to go :(

Sunshine from Denmark
-Marianne

kenji4861
07-24-2004, 04:58 PM
Thanks guys, everything's finally setup at spoofee.com!

Ganon
07-24-2004, 06:58 PM
I had a user get disconnected before their high score could be submitted. I know there's no option in the CP to edit in a score, but is there some sort of backdoor way to do this?

Jason McConnell
07-24-2004, 11:15 PM
Got this install with nary a scratch ;)

Only problem I'm having, and this is minor, is that the Arcades link works just fine in my forum... but not on my portal. The portal index is outside the forum directory in the root, so how would I go about re-writing the link and have it work both ways?

I'm pretty sure a conditional statement would work, but I'm a n00b. Any help would be appreciated :D

TRStealth
07-25-2004, 01:43 AM
That is not a command. The arcade cp is in your forums admincp. There is an option in there to reset all high scores in the database. Use that option in your arcade cp. If you only want to remove one persons high score there is a new hack on http://www.vbarcade.com that will allow you to remove an individual's high score. Here is a direct link to the hack to remove an indiviual score... http://www.friedwalrus.com/removescores.txt

Heh, any help on my problem?

Thanks

sarge0087
07-25-2004, 10:06 AM
Anyone know what file controls the url to the extendsession command? When my url bar shows extendsesssion, the url is incomplete.

Jason McConnell
07-25-2004, 10:41 AM
Got this install with nary a scratch ;)

Only problem I'm having, and this is minor, is that the Arcades link works just fine in my forum... but not on my portal. The portal index is outside the forum directory in the root, so how would I go about re-writing the link and have it work both ways?

I'm pretty sure a conditional statement would work, but I'm a n00b. Any help would be appreciated :D


I got this issue fixed... basically copied the format of the other links in my navbar that show on both the portal index and forumhome. Musta been lack of sleep cause I was trying to do this for a few hours last night and did it again this morning, and it worked. Go figure :ermm:

Anyway, I took the tag from the installation text:
<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl]">Arcade</a></td>

And slapped $vboptions[bburl]/ in front of arcade.php

I would have searched the thread for this but like I said, I really needed sleep at the time ;)

Craz786
07-25-2004, 06:34 PM
help!!

i keep on getting this error:

Warning: Invalid argument supplied for foreach() in /home/anishado/public_html/forums/includes/functions_showthread.php on line 656

Warning: Invalid argument supplied for foreach() in /home/anishado/public_html/forums/includes/functions_showthread.php on line 656

ontop of showthread.php

line 656 is:

if ($arcadegeneral['awardson']==1) {
foreach ($awards as $key => $award) {
if ($award['userid']==$post['userid']) {
eval('$post[\'arcadeawards\'] .= "' . fetch_template('arcade_awards_bit') . '";');
}
}
}

help please!

TRStealth
07-25-2004, 09:58 PM
Hmm, anyone know what's wrong with the v3arcade.com site? Doesn't look like the hack will be supported for long..

mariannet
07-26-2004, 06:08 AM
Please help!

I have Ushop installed and after installing v3 Arcade I get an error when attempting to open a thread / write a post / edit a post.

My debugger says its in this line in newreply.php:
<form name="vbform" action="editpost.php" method="post" onsubmit="return validatePost(this, 0, 10, );" onreset="vB_RESET(this);">

I have attached the file.

Can someone please help, my board is to reopen monday after upgrade and it's my birthday, so be nice ;)

Sunshine from Denmark
-Marianne

Got it sorted now and had a good scream when I found out where the error was....

In: Minimum Characters Per Post.
If you put nothing instead of 0, then it happens.. wierd!

amykhar
07-26-2004, 02:13 PM
jepp. My Mac Users like it .

Greets yabba

I have a mac user who says she is getting white pages instead of the arcade when she uses the mac. When she uses a PC, she says things are fine.

Littlebit
07-26-2004, 02:32 PM
Hi Amy,
she probably just needs to install flash for her browser. I use macOSX and it works great on all my browsers (I.E. FireFox Safari)

Spinball
07-26-2004, 03:07 PM
Unless he really cheated, why would you ban him. He can be a good player...
If you want to erase all details, you will have to access your database with phpmyadmin and go to table gamesessions. sort on userid and delete all rows with his user id.

Do that again in gamenews and your done

But becaus this seems rather unfair if the guy didn't cheat, you could enable auto-pruning scores and set it to the amount of days you wish a score lasts. If your members doesn't like that, you can always install all time highscores ;)

cheers

The guy definitely cheated. He registered and then got top scores in 6 games taking less than half the time it took to get the second highest scores.
There is definitely a way to cheat the games. It's happened again yesterday by the same person re-registering.

amykhar
07-26-2004, 06:10 PM
Hi Amy,
she probably just needs to install flash for her browser. I use macOSX and it works great on all my browsers (I.E. FireFox Safari)

The whole page is coming up white for her - header, footer, everything.

Littlebit
07-26-2004, 06:59 PM
weird. And all the other vB pages are fine?

amykhar
07-26-2004, 07:00 PM
weird. And all the other vB pages are fine?

Yep. And she's not having problems when she uses a Windows computer.

Celtic_Mad
07-27-2004, 06:32 PM
I had arcade working on 3.0.1. I upgraded to 3.0.3 and was making changes to the files until I got to functions_showthread.php, there is no '// ###################### Start getreputationimage #######################' What do I do?

Malacia
07-28-2004, 12:18 AM
Edit : Sorry, i'm an idiot.

Ordovicium
07-28-2004, 10:00 PM
I just update to vb3.0.3 and I get an error when I will start the arcade:
Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE games SET bse=88000,bseid=3344,bsefinish=1085163162 WHERE shortname='ablast'
mysql error: Unknown column 'bse' in 'field list'

mysql error number: 1054

Date: Thursday 29th of July 2004 12:59:59 AM
Script: http://www.informatik-forum.at/arcade.php?
Referer: http://www.informatik-forum.at/
Username: Ordovicium
IP Address: **********

I hope you can help me
Thanks a lot.

flstreetscene
07-29-2004, 03:50 AM
Arcade still not working...

Could you double check if I'm doing everything right?

I've deleted all my template additions, and reverted all documents to original 3.0.3 settings. As the instruction on v3arcade.com say I've deleted the following tables from my database (zeno_forums):

==========================================
gamechallenges
gamenews
games
gamesessions

the database table "datastore", browse it and find the titles "arcadesettings" and "scoresettings" - delete them both.
==========================================

I've also updated my install_arcade.php document where it asks me to change the '$styleid=' value to the proper style id (in this case $styleid=10;)

I then proceed to the 'http://www.floridastreetscene.com/forums/admincp/install_arcade.php' page to start installing the arcade. When I get to the 'Database Modifications' step I get the following...

==========================================
Database error in vBulletin 3.0.3:

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: Table 'gamechallenges' already exists

mysql error number: 1050

Date: Thursday 29th of July 2004 04:40:45 AM
Script: http://www.floridastreetscene.com/forums/admincp/install_arcade.php
Referer:
Username: zeno
IP Address: 64.8.219.569
==========================================

...but I am certain that those table were dropped. It seems they are restored or not deleted properly?

Once I figure this out I guess I've fixed my arcade.

Thanks!

EDIT: Ok it seems eventhough the installation didn't seem to go through completly my arcade (http://www.floridastreetscene.com/forums/arcade.php?) is still up and functioning... however as you can see the image path's are screwed as they are pointing to my forums root. I am pretty sure why this is happening; I've skipped the modification to my i'ncludes/functions.php' as that caused my forums stop responding. Is there any way to get around this conflict?

dina
07-30-2004, 10:37 AM
I'm waiting to upgrade to 3.0.3 until most of the mods I use have been upgraded. I've read through the last pages of this thread and notice a few problems.
Can we get any hints on when the author is going to update the mod to work for 3.0.3? As in, realise an official installation file for 3.0.3.

SnowBot
07-30-2004, 10:47 AM
I'm waiting to upgrade to 3.0.3 until most of the mods I use have been upgraded. I've read through the last pages of this thread and notice a few problems.
Can we get any hints on when the author is going to update the mod to work for 3.0.3? As in, realise an official installation file for 3.0.3.
I run the arcade on 3.0.3 and had no probs at all, if its installed correctly then your fine. As for John updating it, well he has been away and not active on his own site due to work load so dont expect it soon.

SK
07-30-2004, 11:52 AM
I run the arcade on 3.0.3 and had no probs at all, if its installed correctly then your fine. As for John updating it, well he has been away and not active on his own site due to work load so dont expect it soon.
Read the top two posts. This is the only thing thats wrong in 3.0.3 I found.

https://vborg.vbsupport.ru/showthread.php?t=60377&page=171&pp=15

MissKalunji
07-30-2004, 04:40 PM
I'm waiting to upgrade to 3.0.3 until most of the mods I use have been upgraded. I've read through the last pages of this thread and notice a few problems.
Can we get any hints on when the author is going to update the mod to work for 3.0.3? As in, realise an official installation file for 3.0.3.


YEp i installed it on vb 3.0.3 and it works perfectly....too

Warlord
07-31-2004, 01:44 AM
Ok, after I read up on the last few pages I got it to work (seemingly) perfect on 3.0.3.

Great hack folks!

palerider
07-31-2004, 07:50 AM
would you miss me if I killed myself too?

Nope, but go for it anyway Antioch

Barrikin
07-31-2004, 02:17 PM
I'm running it on Vb303 Everything works good but the postbit.

Any clue why?

sarge0087
07-31-2004, 02:57 PM
Does anyone have a solution to my problem?

sarge0087
08-02-2004, 03:44 AM
What does extendsession do?

John
08-02-2004, 06:45 PM
Updated the instructions to work with vBulletin 3.0.3, for those installing for the first time.

sarge0087 - extendsession prolongs the session of a user in vBulletin during gameplay, to stop them from being logged out automatically after they've been playing a game. (Which happens if a user isn't using cookies, for example.)

sarge0087
08-03-2004, 12:14 AM
What exactly changed in the instructions?

Limey-YMR
08-03-2004, 03:31 AM
Read the top two posts. This is the only thing thats wrong in 3.0.3 I found.

https://vborg.vbsupport.ru/showthread.php?t=60377&page=171&pp=15

I had a post to fix that prob the day after 3.0.3 came out -
https://vborg.vbsupport.ru/showpost.php?p=529661&postcount=2448
(I installed 3.0.3 on a 900+ user live forum 1 hour after release!) <-- sucker for punishment!

Coyote75
08-03-2004, 08:01 AM
how does one create the table?

lierduh
08-07-2004, 03:22 AM
A mini hack to have the trophies displayed in two columns. With more and more games added, the forum members who have a lot of trophies can cause plenty of vertical space in the post header area, especially for forums using the new postbit. This mini-hack will display the trophies in two columns, put into consideration of even or odd number of trophies.


includes/functions_showthread.php

Find this


if ($arcadegeneral['awardson']==1) {
foreach ($awards as $key => $award) {
if ($award['userid']==$post['userid']) {
eval('$post[\'arcadeawards\'] .= "' . fetch_template('arcade_awards_bit') . '";');
}
}
}


Above code was inserted as the standard installation, replace it with


if ($arcadegeneral['awardson']==1) {
if (!empty($awards))
{
$c = 1;
$post['arcadeawards'] = '<td width="100%"><table>';
foreach ($awards as $key => $award) {
if ($award['userid']==$post['userid']) {
eval('$post[\'arcadeawards\'] .= "' . fetch_template('arcade_awards_bit') . '";');
$c++;
}

}
$c++;
if ($c % 2) {
$post['arcadeawards'] .= "<td>&nbsp;</td></tr>";
}
$post['arcadeawards'] = $post['arcadeawards'] . "</table></td>";
}
}


(note the above code includes html tags, they should really be put into a template. So please regard this mini-hack as the quick and dirty hack)

Change arcade_awards_bit template to:


<if condition="$c % 2"><tr>
<td><if condition="$award[icon]!=''"><a href="arcade.php?do=play&gameid=$award[gameid]"><img src="$stylevar[imgdir_arcade]/$award[icon]" alt="High Score: $award[highscore]" align="absmiddle" border=0></a> </if><span class="smallfont">$award[gametitle] Champion!</span></td>
<else />
<td><if condition="$award[icon]!=''"><a href="arcade.php?do=play&gameid=$award[gameid]"><img src="$stylevar[imgdir_arcade]/$award[icon]" alt="High Score: $award[highscore]" align="absmiddle" border=0></a> </if><span class="smallfont">$award[gametitle] Champion!</span></td></tr></if>


Have I missed anything? I forgot about the way I implemented originally after upgrading to v3.0.3, so I had to restart again. Above are the notes I put down. I hope I have not missed anything.

armkbdotcom
08-07-2004, 08:36 AM
I wonder if there is some modification to make Arcade main page game listing in two columns. Most of the people do not actually notice page navigation down there and thinking that the first page is all we have.

Cheers!

jpt62089
08-07-2004, 09:40 AM
just installed on my fresh VB... I dont have permission to access the arcade... I checked the group settings and they are go...

Please be easy on my :p this is my first VB mod! :ninja:

trackpads
08-07-2004, 09:59 AM
I wonder if there is some modification to make Arcade main page game listing in two columns. Most of the people do not actually notice page navigation down there and thinking that the first page is all we have.

Cheers!

That is a great idea! I like this better than the category mod. Shouldnt be more than a template edit right?

lierduh
08-08-2004, 05:29 AM
That is a great idea! I like this better than the category mod. Shouldnt be more than a template edit right?

Herhaps adding a navigation bar at the top of the game list can be more effecitve.

Just modify "arcade_main" template.

Add these two lines before the block of code below:

<span class="smallfont"><br></span>
$pagenav

<!-- small space -->
<span class="smallfont"><br>
</span>
<!-- /small space -->
<!-- games -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0"

jpt62089
08-08-2004, 06:57 AM
just installed on my fresh VB... I dont have permission to access the arcade... I checked the group settings and they are go...

Please be easy on my :p this is my first VB mod! :ninja:

Bump :)

armkbdotcom
08-08-2004, 07:04 AM
Herhaps adding a navigation bar at the top of the game list can be more effecitve.

Just modify "arcade_main" template.

Add these two lines before the block of code below:

<span class="smallfont"><br></span>
$pagenav

<!-- small space -->
<span class="smallfont"><br>
</span>
<!-- /small space -->
<!-- games -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0"


Still not what we wanted. Lot of space from the right is wasted.

Spinball
08-08-2004, 10:16 AM
Hi Folks,
I have just upgraded from vbulletin 3.0.1 to 3.0.3.
Having previously had 1.0.0 of this hack installed, I am slightly confused as to what I need to do to bring it up to 1.0.2.
I have gone through and put all the code changes in.
All the templates seem to be the same so I haven't changed any of those.
But I'm worried about running forumroot/admincp/install_arcade.php incase it overwrites any database information allready there.
Can you please confirm whether I need to run this again or not?

Also I have several tables in the database from the vB2 installation :

arcadeconfig, arcadegames, arcadescoregroups, arcadescores and arcadetopscores

am I right in assuming these are no longer used and I can delete all of them?
Thanks

dethfire
08-08-2004, 03:06 PM
this hack worked great for a few months , now suddendly I get this error everytime members visit the arcade:



Database error in vBulletin 3.0.1:

Invalid SQL:
SELECT games.title, games.gameid AS gameid, gamesessions.*,user.username FROM gamesessions AS gamesessions
LEFT JOIN user AS user ON gamesessions.userid = user.userid
LEFT JOIN games AS games ON gamesessions.gamename = games.shortname
WHERE gamesessions.valid=1 AND gamesessions.sessiontype=1 ORDER BY gamesessions.finish DESC

mysql error: Got error 127 from table handler

mysql error number: 1030

Script: http://www.cool-teens.com/forum/arcade.php?

Pseudomizer
08-08-2004, 03:09 PM
this hack worked great for a few months , now suddendly I get this error everytime members visit the arcade:



Database error in vBulletin 3.0.1:

Invalid SQL:
SELECT games.title, games.gameid AS gameid, gamesessions.*,user.username FROM gamesessions AS gamesessions
LEFT JOIN user AS user ON gamesessions.userid = user.userid
LEFT JOIN games AS games ON gamesessions.gamename = games.shortname
WHERE gamesessions.valid=1 AND gamesessions.sessiontype=1 ORDER BY gamesessions.finish DESC

mysql error: Got error 127 from table handler

mysql error number: 1030

Script: http://www.cool-teens.com/forum/arcade.php?



Perhaps your table has been corrupted. Try to repair the table and it should work again.

Cheers,

evilTone
08-10-2004, 08:56 PM
Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT gamesessions.*, user.username, user.userid, games.*, games.title AS title FROM gamesessions AS gamesessions
LEFT JOIN user AS user ON user.userid = gamesessions.userid
LEFT JOIN games AS games ON gamesessions.gamename = games.shortname
WHERE (gamename='asteroids' AND score='7210') AND sessiontype=1 ORDER BY gamesessions.gamename DESC

mysql error: Column: 'score' in where clause is ambiguous

mysql error number: 1052

any ideas ?
if i clear the table 'gamesessions', then it works for a short time, around 2-3 games then this error comes back.
error also goes away if i 'reset public scores'

i tried the "repair table" option mentioned above also :/

trackpads
08-11-2004, 01:13 AM
Still not what we wanted. Lot of space from the right is wasted.
**bump** :-)

Areku
08-11-2004, 10:34 AM
176 pages! Holy cow!

Has any1 work around a "bug"? that displays "g:ia M j" on the TIME column (not the LENGTH one) instead of the time?

Thanks!

Areku
08-12-2004, 05:59 AM
I've just installed this AWESOMELYGREAT hack and I'd like to make note to John about certain things we'd love to see in the package:

- Game setup instructions: once you have arcade up and running, how do you add new games? that's not covered on the .txts on the package ;)

- the fact of multilingual boards, ie. ease of translations, ie. keep languages off of the arcade.php file ;)

- some way of challenge your users from profile or list of members or direct input of some sort. If u set it up with default values, the arcade won't let you challenge any1 unless he has played on some game before, righT?

Areku
08-12-2004, 06:00 AM
hello all :)

everything works well except only one thing, I have always the date like this in the scores:


g:ia M J


it is not posted, have an idea please?


Same problem here, and i just installed it!

Did u solve it Socrate?

Any1?

Thanks!

jpt62089
08-12-2004, 06:28 PM
just installed on my fresh VB... I dont have permission to access the arcade... I checked the group settings and they are go...

Please be easy on my :p this is my first VB mod! :ninja:

nvm i got it fixed...

Battle_Ring
08-13-2004, 03:37 AM
Very Easily Installed...Great Hack...

Areku
08-13-2004, 05:10 AM
nvm i got it fixed...
how did u fix it, jpt62089?

trackpads
08-15-2004, 09:13 AM
I had an idea about adding regular (unconverted) games to the arcade. I think this would be a great idea and would open the Arcade to thousands of legal games like the ones from miniclip which cant be converted.

http://www.v3arcade.com/play/showthread.php?p=12045

What do you guys think?

Swanny231
08-15-2004, 08:09 PM
I am having problems with the group premissions
here is what I did.
(Parse error: parse error in /var/www/html/forums/admincp/usergroup.php on line 846)
usergroup.php
print_table_header($vbphrase['general_permissions']);
print_yes_no_row($vbphrase['can_see_invisible_users'], 'usergroup[canseehidden]', $ug_bitfield['canseehidden']);
print_yes_no_row($vbphrase['can_view_member_info'], 'usergroup[canviewmembers]', $ug_bitfield['canviewmembers']);
print_yes_no_row($vbphrase['can_edit_own_profile'], 'usergroup[canmodifyprofile]', $ug_bitfield['canmodifyprofile']);
print_yes_no_row($vbphrase['can_set_self_invisible'], 'usergroup[caninvisible]', $ug_bitfield['caninvisible']);
print_yes_no_row($vbphrase['show_edited_by_note_on_edited_messages'], 'usergroup[showeditedby]', $ug_bitfield['showeditedby']);
print_yes_no_row($vbphrase['can_use_custom_title'], 'usergroup[canusecustomtitle]', $ug_bitfield['canusecustomtitle']);
print_yes_no_row($vbphrase['can_use_signatures'], 'usergroup[canusesignature]', $ug_bitfield['canusesignature']);
print_yes_no_row($vbphrase['can_view_others_profile_pictures'], 'usergroup[canseeprofilepic]', $ug_bitfield['canseeprofilepic']);
print_yes_no_row($vbphrase['can_view_hidden_custom_fields'], 'usergroup[canseehiddencustomfields]', $ug_bitfield['canseehiddencustomfields']);
print_table_break();
print_column_style_code(array('width: 70%', 'width: 30%'));

print_table_header("Arcade Permissions");
print_yes_no_row("Can View the Arcade? <dfn>Allows usergroup to view the arcade, including high scores and leaderboards</dfn>", 'usergroup[canviewarcade]', $ug_bitfield['canviewarcade']);
print_yes_no_row("Can Play Games in the Arcade? <dfn>Allows usergroup to play arcade games</dfn>", 'usergroup[canplayarcade]', $ug_bitfield['canplayarcade']);
print_yes_no_row("Can Post Comments? <dfn>Allows usergroup to post comments when they achieve a high score</dfn>", 'usergroup[canmakecomments]', $ug_bitfield['canmakecomments']);
print_yes_no_row("Can Edit Leaderboard Comments? <dfn>Allows usergroup to edit comments left by other members</dfn>", 'usergroup[caneditscores]', $ug_bitfield['caneditscores']);
print_yes_no_row("Can Delete Leaderboard Scores? <dfn>Allows usergroup to delete scores and comments left by other members</dfn>", 'usergroup[candelscores]', $ug_bitfield['candelscores']);
print_table_break();
print_column_style_code(array('width: 70%', 'width: 30%'));

print_table_header($vbphrase['forum_viewing_permissions']);
print_yes_no_row($vbphrase['can_view_board'], 'usergroup[canview]', $ug_bitfield['canview']);
print_yes_no_row($vbphrase['can_view_others_threads'], 'usergroup[canviewothers]', $ug_bitfield['canviewothers']);
print_yes_no_row($vbphrase['can_see_deletion_notices'], 'usergroup[canseedelnotice]', $ug_bitfield['canseedelnotice']);
print_yes_no_row($vbphrase['can_search_forums'], 'usergroup[cansearch]', $ug_bitfield['cansearch']);
print_yes_no_row($vbphrase['can_use_email_to_friend'], 'usergroup[canemail]', $ug_bitfield['canemail']);
print_yes_no_row($vbphrase['can_download_attachments'], 'usergroup[cangetattachment]', $ug_bitfield['cangetattachment']);
print_table_break();
print_column_style_code(array('width: 70%', 'width: 30%'));

Swanny231
08-15-2004, 09:39 PM
How to install new games ????? I dont have the install games tab in the arcade settings ?

As for my above post I just removed the hack on the usergroup and went into my sql and did the permissions manually :(

Virulent1
08-16-2004, 12:56 AM
Err..I Installed the arcade fine... but users say when they go to it .. it logs them out.. and when i go to it... its just a blank WHITE page.. so when i clear my cookies and retry.. it lets be view arcade.. now the next time i go back and refresh or whatever its blank again.. its weird.. like i have to keep deleting cookies just to view the arcade :\

Areku
08-16-2004, 10:46 AM
176 pages! Holy cow!

Has any1 work around a "bug"? that displays "g:ia M j" on the TIME column (not the LENGTH one) instead of the time?

Thanks!


NO ONE ELSE with this same problem? Any1 has an idea of where can this be coming from?

Thanks!

Ferghal
08-16-2004, 12:30 PM
Great hack, Ive just added it. I noticed that you dont have to edit functions.php because when I edited it, it gave me errors. So I just uploaded the original file and it works..

Now I need to know, what template bit is the bar with the links such as search, new posts, memberlists etc.. I want to add Aracde onto that

Beowolf
08-17-2004, 03:01 PM
Now I need to know, what template bit is the bar with the links such as search, new posts, memberlists etc.. I want to add Aracde onto that

Should be "Header"

MindTrix
08-17-2004, 03:03 PM
Think you mean, Navbar template ;)

pjdaley
08-18-2004, 03:02 AM
Err..I Installed the arcade fine... but users say when they go to it .. it logs them out.. and when i go to it... its just a blank WHITE page.. so when i clear my cookies and retry.. it lets be view arcade.. now the next time i go back and refresh or whatever its blank again.. its weird.. like i have to keep deleting cookies just to view the arcade :\
same here, my users are about to kill me... :speechless: oh john, where art thou john? any ideas guys?

John
08-18-2004, 06:49 AM
same here, my users are about to kill me... :speechless: oh john, where art thou john? any ideas guys?

Sounds like the templates aren't installed?

j_86
08-18-2004, 07:13 AM
Oh John where art thou??? :(

https://vborg.vbsupport.ru/showthread.php?p=544024#post544024

pjdaley
08-18-2004, 04:43 PM
Sounds like the templates aren't installed?
hmm, i did as you said... the funny thing is... sometimes it works... sometime it doesn't...

test it out for yourself, can a few people test it out, and tell me if it works...

links is: http://www.bvpoetry.com/forum/arcade.php

pjdaley
08-20-2004, 05:11 AM
nvm... it was the templates. thanks John!

Rahzel_hx
08-20-2004, 10:03 AM
This hack owns i can spend.. forever playing all the games, where do i go to get other games?

Rahzel_hx
08-21-2004, 06:51 AM
I have some new troubles with this hack i had to reinstall the whole forum so i re did the hack now it says this when i goto arcade.php "Rahzel, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
"
Edit It was something in the global.php i fixed it ^__^

Loki12
08-21-2004, 08:59 AM
How taxing is this arcade hack on the server? Is it likely to slow down an already slowish server?

Rahzel_hx
08-21-2004, 09:02 AM
hmm its not bad at all mine doesn't slow down

pjdaley
08-21-2004, 11:26 AM
well, thanx God these flash games are pretty small... and you gotta love flash... "once loaded, you dont have to load it again"... so the only thing slowing down your server after the first run would be to update the scores... which is very small bandwith... so i say... you'll never noticed a slow down on your server...


by the way, you can get more games at www.v3arcade.com

Loki12
08-21-2004, 12:23 PM
well, thanx God these flash games are pretty small... and you gotta love flash... "once loaded, you dont have to load it again"... so the only thing slowing down your server after the first run would be to update the scores... which is very small bandwith... so i say... you'll never noticed a slow down on your server...


by the way, you can get more games at www.v3arcade.com

Thanks for the answers :)

Cocytus
08-22-2004, 06:01 PM
Database error in vBulletin 3.0.3:

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: Table 'gamechallenges' already exists

mysql error number: 1050

HELP!!!! Someone, anyone!

I have lastest verstion of arcade and VB 3.0.3. I just recently upgraded the site and had to reinstall the arcade.....

Seems that some of the left over databases are messing things up.

I tried to wipe all the databases but then get this error:

Invalid SQL:
INSERT INTO datastore VALUES('arcadesettings', 845)

mysql error: Duplicate entry 'arcadesettings' for key 1

mysql error number: 1062

ogden2k
08-22-2004, 06:20 PM
I installed 14 new games, and only those 14 are now showing up now. If I type in the url to the game that is not showing, I can play it. In the ACP I can see the games as enabled as well....

What can I do to show the hidden games?

Latest version of v3 arcade and vB 3.0.3

pjdaley
08-23-2004, 04:03 AM
I installed 14 new games, and only those 14 are now showing up now. If I type in the url to the game that is not showing, I can play it. In the ACP I can see the games as enabled as well....

What can I do to show the hidden games?

Latest version of v3 arcade and vB 3.0.3

and @ Cocytus


i would suggest you make you sure, you following instructions... and then post your error... you must of done something wrong

ChaoticMageDDC
08-23-2004, 05:15 PM
I'm wondering why my arcade works fine but i don't see anything in the admincp to make the neccessary changes?

ogden2k
08-23-2004, 10:15 PM
Everything is fine. I had about 10 games installed and working fine, added 14 more and only the new ones are showing in the arcade. In the ACP I can see all the games though.

Rahzel_hx
08-26-2004, 08:46 AM
umm is there a place where i can request game or something like that i have this putt putt golf game wondering if it can be added to this arcade have it is a .swf any ideas?

EDIT: i really should read more closely found it lol

GlitterKill
08-26-2004, 04:31 PM
I was running Vb 3.0.0 and had the arcade installed and running great. Today I used beyond compare to update to vb 3.0.3 while not losing my hacks uploaded everything and now I cannot access the arcade.

It says that I do not have permission to access it PLUS when I am inteh admincp and try to enable to arcade (for some reason all arcade option went to OFF) it will nto save the settings I choose. Any ideas what would cause this?

digitalPIMP
08-26-2004, 05:24 PM
I installed 14 new games, and only those 14 are now showing up now. If I type in the url to the game that is not showing, I can play it. In the ACP I can see the games as enabled as well....

What can I do to show the hidden games?

Latest version of v3 arcade and vB 3.0.3

Did u try looking on the bottom right of the page and click the arrow to go to page two of your arcades??

Same thing happened to me...LMAOOOOO!!

Billspaintball
08-27-2004, 12:07 AM
Weird.
All works fine for me (had a problem with Dreamweaver messing with functions.php but thats fixed) Except that you cant save any high scores.

All high scores are 0.

Any ideas on whats wrong and how to fix?

mariannet
08-27-2004, 05:56 AM
After upgrading to v3 Arcade ver. 1.0.3 from ver. 1.0.1 my users have lost permissions to write comments, even I have lost them.
I have cheked usergroup settings and they are as should be. Any idea? Everything else works just fine and the upgrade is really what we wanted, thanks!

Osmosis
08-27-2004, 07:09 AM
"Security Fixes" is too vague for me to upgrade.

Zelda-King
08-27-2004, 08:31 AM
I did upgrade but that is rather vague for those of us who've modified our arcade.php.

Brad
08-27-2004, 08:58 AM
"Security Fixes" is too vague for me to upgrade.
I did'nt read the thread but it sounds like you are'nt aware, if you do not patch anyone can make themselves the high score leader of any game they please.

This is what I know from reading a thread on the subject, I do not run the arcade hack myself, but imho you should patch your installation.

mariannet
08-27-2004, 10:27 AM
An upgrade from 1.0.1 to 1.0.3 is worth the work :)

NS_007
08-27-2004, 02:41 PM
I have a small question.

What code would I put in the "memberinfo" template to show what games you are champion of, in the public profile?

I tried myself, but couldn't get it to show. Since most of my members use the top postbit, I want to move it out of the postbit and into the public profile.

Thank you in advance!!

MissKalunji
08-27-2004, 04:55 PM
IN the upgrade file when he says

STEP 3.
=======
In your navbar template:

FIND:
----------------------------------------------------------------------------

</table>
</div>
<!-- / header quick search form -->

----------------------------------------------------------------------------

ABOVE THIS, ADD:

WHere is the navbar template??? am i suppose to create it??

johnnyb
08-27-2004, 06:46 PM
Style Manager > Edit Templates > Navigation / Breadcrumb Templates > navbar

:squareeyed:

johnnyb
08-27-2004, 06:47 PM
What's the word on the v3 Arcade Pro release date? Anyone?

MissKalunji
08-27-2004, 07:18 PM
Style Manager > Edit Templates > Navigation / Breadcrumb Templates > navbar

:squareeyed:


Thank you i thought it was an arcade search dat would show in the arcade.php....

Dats y i asked

peterska2
08-27-2004, 09:28 PM
Does Arcade 1.0.3 work with vB 3.0.0 Gold or do I need to upgrade both to go from Arcade 1.0.0?

I hope I don't have to upgrade the forums too as they have a few other hacks in and I got fed up reinstalling everything after RC2 so it really is a chore that I can do without.

Cheers in advance.

Zantheus
08-28-2004, 01:15 AM
Ok, I really have tried to read through the basic problems of this hack, ect.

I get the following message when trying to access the arcade...


Username, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


And yes, all the usergroups are set and are allowed to use the arcade, help please!?

ogden2k
08-28-2004, 01:49 PM
Did u try looking on the bottom right of the page and click the arrow to go to page two of your arcades??

Same thing happened to me...LMAOOOOO!!
Yes, I do not have any of those. :(
I installed 14 new games, and only those 14 are now showing up now. If I type in the url to the game that is not showing, I can play it. In the ACP I can see the games as enabled as well....

What can I do to show the hidden games?

Latest version of v3 arcade and vB 3.0.3

Zantheus
08-28-2004, 02:22 PM
Nevermind everyone, I figured out my bug on my own. Great Hack!!!

cditty
08-29-2004, 06:45 AM
I just installed tonight and everything went fine except for the challenge pms. For some reason, it is displaying a template message header in the challenge pms. I have searched and can't find it anywhere. Can anyone offer any help with this?

<!-- BEGIN TEMPLATE: arcade_pm -->
linda has accepted your challenge, and just finished playing Cat-A-Pult. However, you will not be able to view the result until you have completed your half of the challenge.

Click here to view the Arcade, where you will be able to play by clicking on the appropriate green tick under "Pending Challenges".

The RHSS Message Forum Team
(Automated Arcade message)

<!-- END TEMPLATE: arcade_pm -->

jp2
08-29-2004, 08:07 AM
Are the games down on the vb3arcade.com website? or is it just me? :-\

y2krazy
08-29-2004, 10:48 PM
/me clicks install!

ogden2k
08-31-2004, 02:34 PM
Any suggestions on my post (https://vborg.vbsupport.ru/showpost.php?p=547391&postcount=2682)? Anyone who figures it out will get a Gmail invite. :)

Seratus
08-31-2004, 07:09 PM
How can i uninstall some games ? :surprised:

AshAbed
09-01-2004, 01:00 AM
is there an uninstaller or a way to uninstall it? I need to uninstall it and re-install it... It looks like someone tried to install it and cut it off in the middle or something... so if I can uninstall it then start over that would be great.

Darax The Good
09-01-2004, 04:42 AM
Any suggestions on my post (https://vborg.vbsupport.ru/showpost.php?p=547391&postcount=2682)? Anyone who figures it out will get a Gmail invite. :)


STEP 2.
=======
Open your arcade_main template. At the bottom, add this on a new line (not
including the dotted lines!):
----------------------------------------------------------------------------

<br />
$pagenav

----------------------------------------------------------------------------



I just had to go through the same thing

Rahzel_hx
09-02-2004, 07:06 AM
hmm is there anyway where i can show the arcade news and events on another page (aka portal >_<) if you goto arcade.php it is on top right side

Pseudomizer
09-02-2004, 08:16 AM
hmm is there anyway where i can show the arcade news and events on another page (aka portal >_<) if you goto arcade.php it is on top right side

Take this code for your portal:


// ############## PROCESS Game News #######################################

$gameevents = $DB_site->query("select * from gamenews order by datestamp DESC limit 5");

if ($DB_site->num_rows($gameevents))
{
while ($gameev = $DB_site->fetch_array($gameevents))
{
$new_date = vbdate('d.m.Y', $gameev['datestamp'], false, false);
$gamenews .= "<B>".$new_date."</B><BR>";
$gamenews .= $gameev['newstext']."<BR>";
}
}


Create a template and put in $gamenews. Enjoy it.

Cheers,

Trekkie
09-02-2004, 02:23 PM
when i install i get

Parse error: parse error, unexpected T_STRING in /var/www/html/admincp/install_arcade.php on line 706

anyone have an idea ?

Rahzel_hx
09-02-2004, 04:24 PM
Take this code for your portal:


// ############## PROCESS Game News #######################################

$gameevents = $DB_site->query("select * from gamenews order by datestamp DESC limit 5");

if ($DB_site->num_rows($gameevents))
{
while ($gameev = $DB_site->fetch_array($gameevents))
{
$new_date = vbdate('d.m.Y', $gameev['datestamp'], false, false);
$gamenews .= "<B>".$new_date."</B><BR>";
$gamenews .= $gameev['newstext']."<BR>";
}
}


Create a template and put in $gamenews. Enjoy it.

Cheers,
Umm where do i put thte code in for the portal i tryed the index.php and it doesn't do anything (portal by vBadvanced CMPS v1.0.) I made the templet and nothing shows up in it

devilsmania
09-04-2004, 01:53 AM
Hi there

great hack :)

but i got a problem, and i've been searching here and there (with search yes!) and didnt find anything.

the problem is :

i installed some games, and the News & Event didnt update anymore with latest scores

all the rest works great ( i've even uninstalled the last game i added )

thanks in advance :ermm:

venomx
09-04-2004, 05:09 AM
Whats netPlay?

venomx
09-07-2004, 12:49 AM
I know netplay allows 2 members to play each other.. what I meant is.. if I turn it on do I need anything else for it to work?

rinkrat
09-07-2004, 02:10 AM
It's there for future development and not part of the hack yet.

venomx
09-07-2004, 02:15 AM
So can two members play each other right now as is?

Wordplay
09-07-2004, 12:21 PM
tried installing this hack and got this problem:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /.../includes/init.php on line 517

and if i go straight to the install_arcade.php it says:
Parse error: parse error, unexpected T_STRING in /.../install_arcade.php on line 706

anybody know where i could have gone wrong?

I'm running 3.0.3 and well my admin dir has a differnt title then the original "admincp" dir... could that be a problem?

Wordplay
09-07-2004, 12:27 PM
when i install i get

Parse error: parse error, unexpected T_STRING in /var/www/html/admincp/install_arcade.php on line 706

anyone have an idea ?
yeah i got the same problem.

Trekkie
09-07-2004, 06:08 PM
i fixed it
check Line 706

there are wrong code

replace it with

<if condition="$show[popups]">

same line without the "`"

thats all

stryka
09-07-2004, 08:27 PM
Just downloaded latest v3arcade for my vb3.03...

but can someone help me troubleshoot why the scores and stats are not being saved ? NOthing is being recorded? Any suggestions on where i should look?

Plus my helicopter game from SEETHRU messes up after the first crash??? Didn't hang up during testing...

Reverend
09-07-2004, 10:32 PM
Flawless install. :up:

Wordplay
09-08-2004, 08:46 AM
Trekkie, thanks alot! just did that... now all i have to do is find out what's up with the init file:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /.../includes/init.php on line 517

Wordplay
09-08-2004, 09:07 AM
fixed it... wow.

Wordplay
09-08-2004, 11:22 AM
"netPlay installed"... is netPlay automatically installed? where can i get it and how do i install it?

venomx
09-08-2004, 11:33 AM
It's there for future development and not part of the hack yet.
I asked to and this was what rinkrat said....

trackpads
09-08-2004, 05:41 PM
Is there a way to prevent games with no high score from showing up under the guest users postbit?

For example, I have a ton of 'Non Scoring" games that I have installed and they are all stuck on the guest user.

Any ideas?

Thanks again,

-Jason

Reverend
09-09-2004, 09:46 AM
Apologies if this has already been asked.

When you delete a user who has the highest score,their score still remains in the list.

Is there a query that can be run to remove their score and move everyone else up one place,or would it be possible to add an additional admin function to the "update counters" to remove the score?

Also,the arcade cron occassionally throws up an error because it can't find the invalid highscoreid.

Thanks

venomx
09-09-2004, 11:46 AM
Yes do a search for v3 Arcade and look for the hack thats for cheaters...

Reverend
09-09-2004, 12:23 PM
Yes do a search for v3 Arcade and look for the hack thats for cheaters...Thanks, i presume its this one Arcade Anti-Cheater Mod (https://vborg.vbsupport.ru/showthread.php?t=67254)

venomx
09-09-2004, 12:32 PM
Yeah thats it. I am not sure if its works as I have not installed it yet. So let us know! :)

OrangeFlea
09-10-2004, 12:43 AM
Near flawless installation.

Except that when I click on a game -- any game -- the game window remains white, doesn't load anything. I've downloaded the latest Flash plug-in (shown below the game window), but that didn't do anything. HELP@!!!

dark3zz
09-10-2004, 02:07 PM
almost done with the install :) great hack.. easy to follow instructions
damn good hack !

great !!

question: is there a german language file for this hack =?

greetz

AloneEagle
09-12-2004, 03:00 AM
During the installation for this Arcade mod, I have trouble in this Template modified step

==============
navbar
==============


Find:
__________________________________________________ _________________________________________

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

?????????????????????????????????????????????????? ?????????????????????????????????????????

Below this, add:
__________________________________________________ _________________________________________

<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl]">Arcade</a></td>

?????????????????????????????????????????????????? ?????????????????????????????????????????


I opened The Navbar out and can't find the:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
There for I can't add anything on this step. I skip this step and keep going. Is that why I have the problem below?

Look at my website. Its turned to be like this after I install the mod.
http://www.vietlight.com/forums/index.php?
user: demo
pass: demo

The top banner and the "quick link" section kind of appear weird. You have to log on in order to see this.

Please tell me what have I done wrong?
Thanks

BeatificFaith
09-12-2004, 03:39 AM
The admin file is in my admin directory, it's not on the cp though. When I go to the page in the browser the page is blank, I'm not getting any errors, so I don't know what to fix or how. Please help!!

Rahzel_hx
09-12-2004, 04:18 AM
Is there a way to put the arcade awards in a scrolling box so it doesn't take as much space

Tombstone
09-13-2004, 04:23 PM
I'm having an error 1146 (table pre-fix) - anyone know what I can do to fix it? It is a legit vb license and this is the 2nd hack in it.

Tombstone
09-13-2004, 04:25 PM
Note - everything else works fine - the tables were created - the arcade just calls it without the table pre-fix
I saw a mention for a query to fix it but I didn't see it anywhere.

MissKalunji
09-13-2004, 05:03 PM
Hey how can i erase someone's highes score on the board??

klamm
09-13-2004, 08:46 PM
Hi!

I installed the (german version) of the hack at a clean 3.0.3 and everything went ok ... but no single game is able to update the scores. when the game ends, it simply hangs upon "updating scores" 4ever. taking another browser makes no difference.

I think there's a problem with flash talking to the server.
any ideas?

edit: does the flash probably make use of the user's ip ?
my forum runs on a cluster and therefore no userip is available...

thx luke

TJFweb
09-14-2004, 03:10 AM
Hmm... Anyone have any idea why none of my settings in the Admin CP for the Arcade will save???

TJFweb
09-14-2004, 05:30 AM
Never mind I found out what was wrong... I accidentally overwrote a setting in includes/init.php... Not a smart thing to do.

Tombstone
09-14-2004, 12:27 PM
Any ideas on the prefix problem?

Tombstone
09-14-2004, 01:08 PM
SELECT COUNT(*) AS plays, SUM(finish-start) as time
FROM gamesessions
WHERE valid=1
This is the error I get - When I rename the tables, I then get errors saying it is missing the prefix.

ombossman
09-14-2004, 01:24 PM
hello what is my problem

Parse error: parse error in /home/xxxxxx/public_html/forum/includes/functions_online.php on line 670

fuse3k
09-14-2004, 04:34 PM
Hello,

Firstly great mod. I love it and so will my members. One thing though. I'm using vbAdvanced and I noticed a small issue with the "Arcade" link on the navbar. Instead of "www.whatever.com/forum/arcade.php" it goes to "www.whatever.com/arcade.php". However, on the forum homepage it does link correctly.

Any ideas on how to fix that? TIA

EDIT

Here's the link if you want to see it for yourself. Examine the difference between the "Arcade" link on the Portal homepage as opposed to the Forum Homepage.

http://server1a.woolnet.net/~fuse3k/index.php

Reverend
09-14-2004, 06:27 PM
Yeah thats it. I am not sure if its works as I have not installed it yet. So let us know! :)With reference to my post here (https://vborg.vbsupport.ru/showpost.php?p=551118&postcount=2712) .Yep it works perfect.

kall
09-14-2004, 07:03 PM
Hello,

Firstly great mod. I love it and so will my members. One thing though. I'm using vbAdvanced and I noticed a small issue with the "Arcade" link on the navbar. Instead of "www.whatever.com/forum/arcade.php" it goes to "www.whatever.com/arcade.php". However, on the forum homepage it does link correctly.

Any ideas on how to fix that? TIA

EDIT

Here's the link if you want to see it for yourself. Examine the difference between the "Arcade" link on the Portal homepage as opposed to the Forum Homepage.

http://server1a.woolnet.net/~fuse3k/index.php
OPEN includes/vba_cmps_include_bottom.php

Find:

'\'misc.php',

After, add:

// +++ Arcade
'"arcade.php',
// --- Arcade


Find:

'\'' . $vboptions['bburl'] . '/misc.php',

After, add:

// +++ Arcade
'"' . $vboptions['bburl'] . '/arcade.php',
// --- Arcade

(adapted from vbookie install instructions)

fuse3k
09-14-2004, 07:13 PM
OPEN includes/vba_cmps_include_bottom.php

Find:

'\'misc.php',

After, add:

// +++ Arcade
'"arcade.php',
// --- Arcade


Find:

'\'' . $vboptions['bburl'] . '/misc.php',

After, add:

// +++ Arcade
'"' . $vboptions['bburl'] . '/arcade.php',
// --- Arcade

(adapted from vbookie install instructions)


Perfect, thanks kall

intrigue
09-15-2004, 11:21 PM
Yeah what can i say i love this hack
.matt

Whyzdom
09-16-2004, 02:58 AM
I am running a 3rd party style for my forums.. made by extremestyles.. when I add the arcade.. it doesn't work right.. is there something I need to do.. like add it to the original default style first then add it again to the new style?

TJFweb
09-16-2004, 04:34 AM
Where can I get the Arcade Pass hack?

Shinobi
09-16-2004, 06:45 AM
hey i was wondering if theres a way to:

have my posbit display arcade awards up to a certain amt, say 7, then when a user has more, it will display the first 7, then say something like, "more" which you can click on to take u to a page with all of their arcade awards?

Just curious..... :D

buck3t
09-16-2004, 09:54 PM
The www.v3arcade.com site has been down or unavailable for quite some time. I was trying to find more games. Are the v3arcade games hosted anywhere else?

kall
09-16-2004, 10:18 PM
The www.v3arcade.com site has been down or unavailable for quite some time. I was trying to find more games. Are the v3arcade games hosted anywhere else?
It's not down, or unavailable.

Jackson
09-17-2004, 03:44 PM
I am using VB 3.0.3 (fresh install, german version), made the changes mentioned in the documentation, uploaded all files (double checked the correct mode).

When I want to start the install_arcade.php I get the following error:

"Parse error: parse error, unexpected T_STRING in ...... /vb3/admincp/install_arcade.php on line 706"

Anyone got an idea what can cause this error ?

Thanks in advance.

Jackson
09-18-2004, 06:44 AM
Nevermind...found it out myself...

Line 706 was

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

an I replaced that with

<if condition=\"$show[popups]\">

...installation worked fine afterwards...

Tal-CPO
09-18-2004, 07:51 AM
oder ?nder es so rum..

hatte gestern den fehler auch...


<if condition="$show[\'popups\']\">


^^

johnnyb
09-18-2004, 09:28 PM
I've been waiting for Pro forever, what's the inside scoop?

turbidblue
09-19-2004, 01:56 AM
this is so amazing!

it installed flawlessly on my "heavily" hacked board!

thank you so much!

/me clicks install!

klaus die maus
09-19-2004, 06:33 PM
hi Tal-CPO oder andere
kann kein englisch deshalb versuche ichs ma hier
Wenn ich die setup.php aufrufe startet die nicht
erhalte nur eine weiße seite habs schon in asci mode versucht und binär aber nichts
kann mir einer helfen?

Cissos
09-20-2004, 10:12 PM
I just installed this hack, but realize I'm going to have trouble since I have uCS installed on my site. Does anyone know of a way to have them both installed?

BullTaco
09-21-2004, 01:10 PM
I installed.....and everything seemed to go ok....but all I get is a blank white page when I click on the arcade link?

I am sure it is something simple...I am a newbie when it comes to this Vbull.

Thanks for all your help...cant wait to get it going!!

G3MM4
09-22-2004, 07:21 PM
Is there a way of making it available to paid subscribers if it's a bandwith hog? I'm new to coding etc so...

Barbarian
09-25-2004, 01:29 AM
Hrmm - I followed the intructions to the T, and I am getting problems about user permissions too.

Searched through the thread, and some people had talked about global.php but I updated that just fine.

Using vb 3.0.3

Any clues? :ermm:

mcyates
09-25-2004, 07:25 PM
how do i actually add new games

mcyates
09-25-2004, 07:33 PM
its ok i searched the thread and found this:


Once you've read the instructions and managed it with one, you'll laugh about how easy it actually is - if you'd read the instructions with the games, you would be laughing at yourself for even thinking about asking this question though.

Just as an example to show you how easy it actually is though:

1. Unzip the files.
2. Upload the the images to the arcade images folder.
3. Upload the game .swf file to the game folder.
4. Upload the install file to your forum cp.
5. run the install file, then once done delete the install file.

lol, it couldn't be any easier.

johnnyb
09-25-2004, 07:37 PM
You have to point your browser to the supplied PHP file. You place that PHP file in your Admin CP folder.

johnnyb
09-25-2004, 07:38 PM
When is the releasal date of Arcade Pro? Jesus, I can't handle this wait.

frankenberrie
09-26-2004, 05:03 PM
While on the V3Arcade main site, I asked about erasing some of my arcade news data (there was alot)... I when to PHP admin a made a mistake and deleted the table - gamenews.. now i get this

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT * FROM gamenews ORDER BY datestamp DESC LIMIT 8
mysql error: Table 'maksy53_comcentral.gamenews' doesn't exist

mysql error number: 1146

Date: Sunday 26th of September 2004 10:59:51 AM
Script: http://www.maksys.biz/comcentral/arcade.php?
Referer: http://www.maksys.biz/comcentral/forum.php?
Username: Comcentral




How can I fix this==== My site is down for the county... I tried to reinstall the arcade but that didnt work. Can someone tell me how to fix this.. THANK YOU!!!!

wbutchart
09-26-2004, 09:35 PM
How do i get rid of that game search thing i have all over my forum http://www.wzooka.com its just above the forum area. What code do i need to remove to get rid of that.

venomx
09-26-2004, 09:45 PM
you did a mod wrong... I dont have that....