php forum
php mysql forum
php mysql smarty
 
Page 11 of 24 < 1 2 ... 9 10 11 12 13 ... 23 24 >
Topic Options
#278753 - 10/11/04 12:09 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: yoki]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
I can't even begin to install this mod. I bring up instarcade.php and get this:<br /><br />Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/laondal/public_html/foros/ubbt.inc.php on line 141<br /><br />Fatal error: Cannot redeclare class mailer in /home/laondal/public_html/foros/ubbt.inc.php on line 223<br /><br />I've fixed the first warning by disabling zlib compression, but hte one with the fatal error, I have no idea what to do.
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#278754 - 10/11/04 04:38 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: luan]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Hmm weird error.. I am gonna be updating this soon with version 1.7. The mailer error is fixed and is discussed somwhere in this thread... the ob_start is not part of this mod as far as I know but I will check..
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278755 - 10/11/04 04:52 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
SG_dup1 Offline
User

Registered: 05/20/04
Posts: 43
Loc: Indiana, USA
One thing I would like to see is the ability to uninstall games.. or is that there already! I had to change over one game, as the screen was too small, and the hi-score isn't updating on the main screen.

Top
#278756 - 10/11/04 06:09 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: ]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[]SG said:<br />I've just installed this for v6.5, but when I click Admin Settings, I get this error:<br /><br />[]Fatal error: Cannot redeclare class mailer in /home/winnie/public_html/ubbthreads/ubbt.inc.php on line 223[/]<br /><br />Anyone care to shed light on this? [/]<br /><br />How does this get fixed? I get this error on instarcade.php, but this is the only reference to this error in the whole thread other than mine.
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#278757 - 10/11/04 08:04 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: luan]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
just comment out the mailer = new mailer line
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278758 - 10/12/04 12:35 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
[]scroungr said:<br />just comment out the mailer = new mailer line [/]<br /><br />If I comment out that line if ubbt.inc.php, won't that cause a problem with my ability to send emails to the members? What would the consequences of that be?
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#278759 - 10/12/04 01:53 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: luan]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
I think you should just comment it out in the affected script, not in the ubbt.inc.php .

Top
#278760 - 10/12/04 07:43 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: domain123]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
exactly Anno.. do it in arcade.php NOT ubbt.inc.php!
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278761 - 10/12/04 10:01 PM What is the site that you all are using [Re: 234234]
camilla1971 Offline
Lurker

Registered: 06/25/04
Posts: 4
to download your extra games?<br /><br />Any help is appreciated!

Top
#278762 - 10/13/04 03:48 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
Ythan Offline
Newbie

Registered: 10/26/02
Posts: 24
Loc: Westminster, CO, USA
I wanted there to be a trophy icon next to the nick of any user who had a high score in the arcade. I made these changes:<br /><br />showflat.php<br /><br />Find:<br />[]<br />// ------------------------------------------------<br />// Keep the current thread number for page linking<br />$pagelinker = $current;<br />[/]<br /><br />Under this add:<br />[]<br />// ---------------------------------<br />// Get the top scores for the arcade<br />$query = "<br /> SELECT title,<br /> SUBSTRING(MAX(CONCAT(LPAD(score,6,'0'),userid)), 7) AS userid,<br /> 0.00 + LEFT(MAX(CONCAT(LPAD(score,6,'0'),userid)), 6) AS score<br /> FROM w3t_gamesessions, w3t_games<br /> WHERE (w3t_gamesessions.gamename = w3t_games.shortname)<br /> GROUP BY gamename;<br />";<br />$sth = $dbh -> do_query($query,__LINE__,__FILE__);<br />while (list($title,$userid,$score) = $dbh -> fetch_array($sth)) {<br /> $topscores[$title] = $userid;<br />}<br />$dbh -> finish_sth($sth);<br />[/]<br /><br />Find this:<br />[]<br /> // ---------------------<br /> // Is it their birthday?<br /> if ($showbday) {<br /> if (preg_match("/^$month\/$day\//",$bday)) {<br /> $Username = "<img src=\"{$config['images']}/birthday.gif\" alt=\"{$ubbt_lang['HAPPYBDAY']}\" title=\"{$ubbt_lang['HAPPYBDAY']}\" />$Username";<br /> }<br /> }<br />[/]<br /><br />Under this add:<br />[]<br /> // ----------------------------------------<br /> // Do they have a high score in the arcade?<br /> <br /> $temparray = array_keys($topscores, $usernum);<br /> asort($temparray);<br /> $trophyalt = "";<br /> <br /> while(list($key,$game) = each($temparray)) {<br /> if ($trophyalt){<br /> $trophyalt .= ", ";<br /> } <br /> $trophyalt .= "$game";<br /> }<br /> <br /> if ($trophyalt){<br /> $Username .= "<a href=\"{$config['phpurl']}/arcade/arcade.php?do=newchallenge&userid=$usernum\"><img border=\"0\" src=\"{$config['phpurl']}/arcade/images/trophy.gif\" alt=\"Arcade Champion: $trophyalt\" title=\"Arcade Champion: $trophyalt\" /></a>";<br /> }<br />[/]<br /><br />showthreaded.php<br /><br />Find this:<br />[]<br />$jumpbox = $html -> jump_box($Cat,$groupquery,$Board);<br />[/]<br /><br />Under this add:<br />[]<br />// ---------------------------------<br />// Get the top scores for the arcade<br />$query = "<br /> SELECT title,<br /> SUBSTRING(MAX(CONCAT(LPAD(score,6,'0'),userid)), 7) AS userid,<br /> 0.00 + LEFT(MAX(CONCAT(LPAD(score,6,'0'),userid)), 6) AS score<br /> FROM w3t_gamesessions, w3t_games<br /> WHERE (w3t_gamesessions.gamename = w3t_games.shortname)<br /> GROUP BY gamename;<br />";<br />$sth = $dbh -> do_query($query,__LINE__,__FILE__);<br />while (list($title,$userid,$score) = $dbh -> fetch_array($sth)) {<br /> $topscores[$title] = $userid;<br />}<br />$dbh -> finish_sth($sth);<br />[/]<br /><br />Find:<br />[]<br />// ---------------------<br />// Is it their birthday?<br />if ($showbday) {<br /> if (preg_match("/^$month\/$day\//",$bday)) {<br /> $Username .= "<img src=\"{$config['images']}/birthday.gif\" alt=\"{$ubbt_lang['HAPPYBDAY']}\" title=\"{$ubbt_lang['HAPPYBDAY']}\" />";<br /> }<br />}<br />[/]<br /><br />Under this add:<br />[]<br /> // ----------------------------------------<br /> // Do they have a high score in the arcade?<br /> <br /> $temparray = array_keys($topscores, $usernum);<br /> asort($temparray);<br /> $trophyalt = "";<br /> <br /> while(list($key,$game) = each($temparray)) {<br /> if ($trophyalt){<br /> $trophyalt .= ", ";<br /> } <br /> $trophyalt .= "$game";<br /> }<br /> <br /> if ($trophyalt){<br /> $Username .= "<img src=\"{$config['phpurl']}/arcade/images/trophy.gif\" alt=\"Arcade Champion: $trophyalt\" title=\"Arcade Champion: $trophyalt\" />";<br /> }<br />[/]
_________________________
Mushrooms

Top
#278763 - 10/13/04 07:59 AM Re: What is the site that you all are using [Re: Corthell]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
[]camilla1971 said:<br /> to download your extra games?<br /><br />Any help is appreciated! [/]<br /><br />any game that is converted using the v3arcade way works. Any game created using the ibproarcade doesn't <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> so basically visit www.v3arcade.com
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278764 - 10/13/04 08:00 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: yoki]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
[]Ythan said:<br />I wanted there to be a trophy icon next to the nick of any user who had a high score in the arcade. I made these changes:<br /><br />showflat.php<br /><br />Find:<br />[]<br />// ------------------------------------------------<br />// Keep the current thread number for page linking<br />$pagelinker = $current;<br />[/]<br /><br />Under this add:<br />[]<br />// ---------------------------------<br />// Get the top scores for the arcade<br />$query = "<br /> SELECT title,<br /> SUBSTRING(MAX(CONCAT(LPAD(score,6,'0'),userid)), 7) AS userid,<br /> 0.00 + LEFT(MAX(CONCAT(LPAD(score,6,'0'),userid)), 6) AS score<br /> FROM w3t_gamesessions, w3t_games<br /> WHERE (w3t_gamesessions.gamename = w3t_games.shortname)<br /> GROUP BY gamename;<br />";<br />$sth = $dbh -> do_query($query,__LINE__,__FILE__);<br />while (list($title,$userid,$score) = $dbh -> fetch_array($sth)) {<br /> $topscores[$title] = $userid;<br />}<br />$dbh -> finish_sth($sth);<br />[/]<br /><br />Find this:<br />[]<br /> // ---------------------<br /> // Is it their birthday?<br /> if ($showbday) {<br /> if (preg_match("/^$month\/$day\//",$bday)) {<br /> $Username = "<img src=\"{$config['images']}/birthday.gif\" alt=\"{$ubbt_lang['HAPPYBDAY']}\" title=\"{$ubbt_lang['HAPPYBDAY']}\" />$Username";<br /> }<br /> }<br />[/]<br /><br />Under this add:<br />[]<br /> // ----------------------------------------<br /> // Do they have a high score in the arcade?<br /> <br /> $temparray = array_keys($topscores, $usernum);<br /> asort($temparray);<br /> $trophyalt = "";<br /> <br /> while(list($key,$game) = each($temparray)) {<br /> if ($trophyalt){<br /> $trophyalt .= ", ";<br /> } <br /> $trophyalt .= "$game";<br /> }<br /> <br /> if ($trophyalt){<br /> $Username .= "<a href=\"{$config['phpurl']}/arcade/arcade.php?do=newchallenge&userid=$usernum\"><img border=\"0\" src=\"{$config['phpurl']}/arcade/images/trophy.gif\" alt=\"Arcade Champion: $trophyalt\" title=\"Arcade Champion: $trophyalt\" /></a>";<br /> }<br />[/]<br /><br />showthreaded.php<br /><br />Find this:<br />[]<br />$jumpbox = $html -> jump_box($Cat,$groupquery,$Board);<br />[/]<br /><br />Under this add:<br />[]<br />// ---------------------------------<br />// Get the top scores for the arcade<br />$query = "<br /> SELECT title,<br /> SUBSTRING(MAX(CONCAT(LPAD(score,6,'0'),userid)), 7) AS userid,<br /> 0.00 + LEFT(MAX(CONCAT(LPAD(score,6,'0'),userid)), 6) AS score<br /> FROM w3t_gamesessions, w3t_games<br /> WHERE (w3t_gamesessions.gamename = w3t_games.shortname)<br /> GROUP BY gamename;<br />";<br />$sth = $dbh -> do_query($query,__LINE__,__FILE__);<br />while (list($title,$userid,$score) = $dbh -> fetch_array($sth)) {<br /> $topscores[$title] = $userid;<br />}<br />$dbh -> finish_sth($sth);<br />[/]<br /><br />Find:<br />[]<br />// ---------------------<br />// Is it their birthday?<br />if ($showbday) {<br /> if (preg_match("/^$month\/$day\//",$bday)) {<br /> $Username .= "<img src=\"{$config['images']}/birthday.gif\" alt=\"{$ubbt_lang['HAPPYBDAY']}\" title=\"{$ubbt_lang['HAPPYBDAY']}\" />";<br /> }<br />}<br />[/]<br /><br />Under this add:<br />[]<br /> // ----------------------------------------<br /> // Do they have a high score in the arcade?<br /> <br /> $temparray = array_keys($topscores, $usernum);<br /> asort($temparray);<br /> $trophyalt = "";<br /> <br /> while(list($key,$game) = each($temparray)) {<br /> if ($trophyalt){<br /> $trophyalt .= ", ";<br /> } <br /> $trophyalt .= "$game";<br /> }<br /> <br /> if ($trophyalt){<br /> $Username .= "<img src=\"{$config['phpurl']}/arcade/images/trophy.gif\" alt=\"Arcade Champion: $trophyalt\" title=\"Arcade Champion: $trophyalt\" />";<br /> }<br />[/] [/]<br /><br />good stuff <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278765 - 10/13/04 08:46 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
welp cut all queries down from around 400 to 42 <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> also changed a few things.. still beta testing it though but heres a link for those wishing to see <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br /> Link to CT Arcade 1.7
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278766 - 10/13/04 09:00 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
Zackary Offline
Member

Registered: 03/01/01
Posts: 652
Loc: West Fargo, ND USA
Looking sharp scroungr. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />FYI, there's a typo in the welcome area:<br /><br />[]<br />your mouthe is.! <br />[/]<br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#278767 - 10/13/04 09:03 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: ]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Thanx Zack <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278768 - 10/14/04 02:47 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
Ythan Offline
Newbie

Registered: 10/26/02
Posts: 24
Loc: Westminster, CO, USA
Wow! Looks completely awesome. I can't wait to try it out!<br /><br />-Y
_________________________
Mushrooms

Top
#278769 - 10/15/04 09:58 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: yoki]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Also made it so now in order to play you have to have X number of posts <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> in my case I set it to one <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#278770 - 10/20/04 10:27 PM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: 234234]
Ythan Offline
Newbie

Registered: 10/26/02
Posts: 24
Loc: Westminster, CO, USA
Any developments on the new version? I can hardly stand the suspense! <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />-Y
_________________________
Mushrooms

Top
#278771 - 10/21/04 04:48 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: yoki]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Hey Scroungr I didnt see anything in the instructions about what to put in the ubbt_unregisterednav.tmpl and ubbt_registerednav.tmpl files to make the Link appear in the Title Bar. I know its pretty basic and I am sure I will get it figured before you get the chance to reply but at 4 am on no sleep I am a little slow <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />


Edited by ChAoS (10/21/04 04:49 AM)
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#278772 - 10/21/04 07:35 AM Re: Finished-[6.5] Games Arcade Deluxe v1.6 [Re: barbiro]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
something like <br /><br /> &middot;<br /><a href = "$phpurl/arcade/arcade.php" $target>ARCADE</a> would probably be ok ChAos depending on your site <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />Nope still working on da Brackets...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
Page 11 of 24 < 1 2 ... 9 10 11 12 13 ... 23 24 >


Moderator:  Ian_W 
Who's Online
2 registered (GEN, Gizmo), 22 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Gizmo
22 minutes 32 seconds ago
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533