|
Joined: Jul 2001
Posts: 1,157 Likes: 82
coffee and code
|
coffee and code
Joined: Jul 2001
Posts: 1,157 Likes: 82 |
take your time - I hope you're feeling better after the cold and recovering well from the root canal surgery  everyone is just anxious because we all love your work!
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
heh.. yeah the root canal was not fun ended up in the hospital emergency ward.. and this damn cold is just kicking my arese..
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
pushing this off one more week. I am close to cracking the ibproarcade games issue..
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Cool - thanks for all your hard work 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
fyi: I can workaround the post count requirement by challenging myself to a contest
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Who wins? 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I did! I totally kicked my own ass
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
So you lost then - couldn't even beat yourself? 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
From Mr Hand said.. I hear he beats himself pretty good..  But yeah that was fixed in 1.8
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
okay uploaded version 1.8
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
This is great - one issue on a new install:
This line:
$query = "INSERT INTO `{$config['tbprefix']}arcadesettings` VALUES ('arcade', 0, 0, 'images', 10, 0, 1, '-1-2-', '-1-2-', '-1-2-', '-1-2-', '-1-2-', '-1-2-', 100, 10, '$CurrentArcadeVersion')";
Produces a field mis-match, I think I had to change it to :
$query = "INSERT INTO `{$config['tbprefix']}arcadesettings` VALUES ('arcade', 0, 0, 'images', 10, 0, 1, '-1-2-', '-1-2-', '-1-2-', '-1-2-', '-1-2-', '-1-2-', 100, 10, 1, '$CurrentArcadeVersion')";
To get past it.
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
another installer error for gamecategory:
PRIMARY KEY (`Cat_Number`,`Cat_Number`) this give an error
should be (?) PRIMARY KEY (`Cat_Number`)
|
|
|
|
Joined: May 2004
Posts: 43
User
|
User
Joined: May 2004
Posts: 43 |
I think some of the instructions are missing.. At the very end, I have: []in showthreaded.tmpl find $TotalPosts $Location add below it[/] Then nothing else Also, a path to editing games, etc., produces ubbthreads//admin/arcadeadmin/php, which gives a 404 error. There's nothing in there which tells you to add fields into mySql either.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
okay will take a look. thanx.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
|
|
|
|
Joined: May 2004
Posts: 43
User
|
User
Joined: May 2004
Posts: 43 |
I'm still getting the double // problem on anything I attempt to click on. Also, the images aren't pointing to the right directory, ie, I get: http://www.planet-q.com/ubbthreads//0/disable.gif
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
Hmmm would have to take a look but something is awry... URL should look like http://www.planet-q.com/ubbthreads/arcade/images/disable.gifI get The requested URL /ubbthreads/arcade/images/disable.gif was not found on this server. so are you sure your paths are set correctly?
|
|
|
|
Joined: May 2004
Posts: 43
User
|
User
Joined: May 2004
Posts: 43 |
Pretty sure I have everything right.
In arcade.php and arcadeadmin.php, I have:
[]require ("$thispath/arcade/languages/{$myprefs['language']}/arcade.php");[/]
and in .htaccess, I have:
[]RewriteBase /ubbthreads/arcade/[/]
Which is the correct directory for the arcade on the server.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
and this is set correctly?
require ("/path/to/your/ubbthreads/includes/main.inc.php"); in both admin and arcade?
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
create a user account called threadsdev and send me a PM with password info...
|
|
|
|
Joined: May 2004
Posts: 43
User
|
User
Joined: May 2004
Posts: 43 |
I am pretty certain of that. I had v1.6 running smoothly, beforehand
|
|
|
|
Joined: Oct 2002
Posts: 24
Newbie
|
Newbie
Joined: Oct 2002
Posts: 24 |
Thank you for the new version scroungr! I was eagerly awaiting this. For some reason my high scores were screwed up after installing this. In case anyone has a similar problem, here's the script I used to fix it. <? <br />require ("./includes/main.inc.php"); <br /> <br />$query = " <br />SELECT DISTINCT shortname <br />FROM w3t_games <br />"; <br />$sth = $dbh -> do_query($query,__LINE__,__FILE__); <br /> <br />while(list($name) = $dbh -> fetch_array($sth)) { <br /> $games[] = $name; <br />} <br /> <br />for ($i=0; $i < count($games); $i++){ <br /> <br /> $query = " <br /> SELECT userid, score <br /> FROM w3t_gamesessions <br /> WHERE valid = 1 <br /> AND gamename = '{$games[$i]}' <br /> ORDER BY score DESC <br /> LIMIT 1 <br /> "; <br /> $sth = $dbh -> do_query($query,__LINE__,__FILE__); <br /> $result = $dbh -> fetch_array($sth); <br /> <br /> $query = " <br /> UPDATE w3t_games <br /> SET highscore = {$result[1]}, highscorerid = {$result[0]} <br /> WHERE shortname = '{$games[$i]}' <br /> "; <br /> $dbh -> do_query($query,__LINE__,__FILE__); <br /> <br />} <br />$dbh -> finish_sth($sth); <br /> <br />echo "Done"; <br /> <br />?>
|
|
|
|
Joined: Apr 2004
Posts: 54
Power User
|
Power User
Joined: Apr 2004
Posts: 54 |
m i missing something, is the 1.8 ver out?  thanks
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
Hmmm will have to check the high score section.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
small issue in arcade.php
find
if ($highScore > 0 && $currentgame[score] != 0) { $setlabel = "You have a new high score!"; // adds a news item
change to
if ($highScore == 1 && $currentgame[score] != 0) { $setlabel = "You have a new high score!"; // adds a news item
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Grazi for the excellent work, donation made 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
|
|
|
|
Joined: May 2004
Posts: 43
User
|
User
Joined: May 2004
Posts: 43 |
I have now managed to get this running, by deleting it from existence, then doing a fresh install. However, there is a problem when viewing a profile: [] http://www.planet-q.com/images/SG/Image2.jpg[/] In showprofile.php, I can only see this produced once. Also, the place where I used to download the converted games from is no longer there. Does anyone have any? Thanks.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
check it again or send me a username and password.. because it must be in there three times...
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
about the games? do a search for ibproarcade games, v3arcade games, shadowarcade games.. they all work
|
|
|
|
Joined: Jan 2005
Posts: 14
Newbie
|
Newbie
Joined: Jan 2005
Posts: 14 |
I scrapped my original version. Tried a fresh install, and when I execute the instarcade, it goes blank and wont build the tables back. I checked all the paths and permissions  if I tack on the ?accept it builds one table and quits. I know im doing something stupid .....but cant figure it out lol. The old version installed fine.
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
Wait wait wait......
Scroungr you coded in the ability to add ipbproarcade games? Those were a totally different flavor than our v3/ubb variety!
|
|
|
|
Joined: Oct 2002
Posts: 24
Newbie
|
Newbie
Joined: Oct 2002
Posts: 24 |
Quick bug report: Your use of the $Cat variable to store the current game category conflicts with UBB's variable of the same name. For instance, go to this URL which is the Misc game category on Threadsdev: https://www.ubbdev.com/forum/arcade/arcade.php?sb=6&page=1&like=&Cat=6Then, click on the "Main Index" link in the top navbar. It will bring up "V5 Threads Development" since that's category 6 on the BB. This should be pretty easy to fix, just wanted to let you know. Peace, -Y
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
[]Medar said: Wait wait wait......
Scroungr you coded in the ability to add ipbproarcade games? Those were a totally different flavor than our v3/ubb variety! [/]
yes..
and Ythan you are right.. I may have to rename that variable...
and minimock when you delete the tables for arcade you are remembering to also remove the Arcade variable added to the w3t_Users table also right?
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
Silly question - what flags NEW games versus ones that have been installed a while?
|
|
|
|
Joined: Jan 2005
Posts: 14
Newbie
|
Newbie
Joined: Jan 2005
Posts: 14 |
[]and minimock when you delete the tables for arcade you are remembering to also remove the Arcade variable added to the w3t_Users table also right? [/] Yea ...that was the first to go.  Checked permissions and all.........I dont remember doing anything different from the first install. 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
[] Silly question - what flags NEW games versus ones that have been installed a while? [/] whether or not you have a score and hmm mini not sure.. I had no issues...
Last edited by scroungr; 03/17/2005 5:17 PM.
|
|
|
|
Joined: Jan 2005
Posts: 14
Newbie
|
Newbie
Joined: Jan 2005
Posts: 14 |
ok....I got it to this point..... Ive got "Call to undefined function: getmicrotime() in" and then my absolute path. Im starting to think this might be a CPANEL issue...maybe LOL Also Im sending everything I have in my paypal (it isnt much), havent used it in a hundred years.....Ill send more....I know this stuff isnt free LOL 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|