Jump to content

My Invision upgrade history


tubesock

Recommended Posts

The first Arcade readme I could find, from June 1, 2004:

 

Readme for "Tube Mod", June 01 Maintenance Release (If you are running an older version, go down to the date you were on and read from there).

Files that have changed:

/sources/Arcade.php
/sources/Admin/ad_arcade.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/lang/en/lang_Arcade.php
/lang/fr/lang_Arcade.php

In the skins, the only thing that has changed is the function tourneygame(), everything else is the same.

In the lang file, the only thing added in this release was:

opponent_best           => "has a current best score of",
opponent_has_played     => "has played",
tourney_shout           => "<strong>I am the <% TITLE %> tournament champion!</strong>",
highscore_shout         => "<strong>I beat the best score in <% GAME %> with a score of <% POINTS %>!</strong>",


Readme for "Tube Mod", May 26  (If you are running an older version, go down to the date you were on and read from there).

You will need to run the upgrade8.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade8.php.

freshinstall25.php updated.

Added in ability to have custom scoring in the league (under AdminCP->Arcade->Arcade Main Settings).

Added in ShoutBox Integration, also in AdminCP->Arcade->Arcade Main Settings (will add the text to a lang file soon).

Fixes to the tournament code with queries (disqualifying and advancing a player... also creating a tournament in the ACP).

Files that have changed:

/sources/Arcade.php
/sources/Admin/ad_arcade.php
/arcade/modules/mod_arcade.php
/lang/*/lang_Arcade.php

If you don't want to replace your lang_Arcade.php and just add the new entries, edit lang_Arcade.php and add the following:

// May 24...

completed               => "Completed",
final_score             => "Final Score",

Put that above:

);
?>





Readme for "Tube Mod", (If you are running an older version, go down to the date you were on and read from there).

All previous tournament information will be erased.

You will need to run the upgrade7.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade7.php.

freshinstall25.php updated.

Thanks to Cybero for all of his great work with the Player Created tournaments, fixes, etc!

High/Low score tournaments now work... proper formatting for games (decimal points, etc) in tournaments.

Ability to disable games on a game-by-game basis from being used in tournaments.

Files that have been modified:

/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php

If you don't want to destroy your lang_Arcade.php file, find this in the update file:

// New in 21May

Copy and paste everything below that.




Readme for "Tube Mod", May 19  (Maintenance release)

Files that have been modified/added:

/arcade/modules/mod_arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/sources/Admin/arcade_conf.php

That's it for this version... alot of little bugs fixes in the Arcade... New game count will be correct from the get-go.  You cannot add games to a Category selected for "New"

If you want to change the defaults for points/jackpot when adding a new game (so you don't have to put them in over & over), edit the file /sources/Admin/arcade_conf.php.



Readme for "Tube Mod", May 17  (If you are running an older version, go down to the date you were on and read from there).

You will need to run the upgrade6.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade6.php.

freshinstall25.php has been updated.

All files have been modified/added:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/arcade/modules/mod_league.php
/arcade/modules/mod_modcp.php
/arcade/modules/mod_store.php
/arcade/modules/mod_favorites.php
/arcade/modules/mod_userlist.php
/arcade/images/atb_coin.gif
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php

A jackpot system has been added, you need to have IBStore Enabled or the Internal IBProArcade Point system Enabled... it works on a per game basis.

In categories, you can select a category to just show "New" games (same duration as the New Image in Main settings), even if they are in other categories.



Readme for "Tube Mod", May 16  (If you are running an older version, go down to the date you were on and read from there).

You will need to run the upgrade5.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade5.php.

freshinstall25.php has been updated.

All files have been modified/added:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/arcade/modules/mod_league.php
/arcade/modules/mod_modcp.php
/arcade/modules/mod_store.php
/arcade/modules/mod_favorites.php
/arcade/modules/mod_userlist.php
/arcade/images/atb_coin.gif
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php

Go to the AdminCP->Arcade->Score Tools->Rebuild League.  (Fixes category issue)

Go to the AdminCP->Arcade->Main Settings and put in your Conversion rate for Posts... if you want to disable the store (if you have Arcade points enabled), put a 0 in the conversion field to disable it.

Thanks to gameTek for his great work on skin_Arcade.php.



Readme for "Tube Mod", May 10  (If you are running an older version, go down to the date you were on and read from there).

This is most likely the last version I'll be putting out.

You will need to run the upgrade4.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade4.php.

freshinstall2.5 has been updated.

All files were basically modified:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/arcade/modules/mod_league.php
/arcade/modules/mod_modcp.php
/arcade/images/atb_coin.gif
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php

Go to the AdminCP->Arcade->Score Tools->Rebuild League.

If you are using the Arcade Point system, go to AdminCP->Arcade->Main Settings and enter in the default points members start out with.

Anyone interested in the skin variables, here they are (can be used or not):

For use in the function start:

{$tourneyinfo['catchamp']}       Champion for this category
{$tourneyinfo['featured']}       Randomly Featured game
{$tourneyinfo['featured_desc']}  Randomly Featured game description

Readme for "Tube Mod", May 6

Read the changelog.txt.

You will need to run the upgrade3.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade3.php.

An internal ibProArcade points/token system has been added... it functions only in the arcade, paying for games and getting payouts from games.
* Before running upgrade3.php, if you want to set the default amount of points a new forum member gets in the Arcade to spend (optional), change the 500 to whatever you want in the source: ADD `arcade_points` int(11) NOT NULL default '500'
* After upgrading, if you are going to use the point system, go to AdminCP->Main Settings->Charge for Games using ibProArcade System, select yes.  Then go to AdminCP->Arcade->Member Manage->Global Change of Points

You can run both the ibProArcade point system and the Store point system together if you like, or one or the other.  If you have both on, it will deduct from both and add to both.

Added the option to the Main Settings, along with Show 5 Most Popular Games.

You can select "Default" skin in the category menu, and it will default to the Arcade's main settings or the users settings (if allowed).

All files were basically modified, and I included the latest mod_modcp.php from Elijah:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/arcade/modules/mod_league.php
/arcade/modules/mod_modcp.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php


Readme for "Tube Mod", May 5

You will need to run the upgrade2.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourforums.com/upgrade2.php.

That will add the games_league table if you don't already have it from 2.0.

All the files need to be copy/uploaded to their directories, as the skins have changes, the lang file has additions, etc, etc.

cat_imgs are optional you choice moving gifs from ygsb.aftervision.com or IBPro Arcade Standard ibproarcade.com
For Images to Work You Must Rename The Wanted Image to You Category Number ( ex My all games Category is 6 So I renamed the Image to 6.gif )

So, copy/upload these files:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/arcade/modules/mod_league.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/Skin/s1/skin_v4Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php
/lang/en/lang_Arcade.php


When you are done copying the files up, go to your AdminCP->Arcade->Score Tools->Rebuild League->Run Tool



Readme for "Tube Mod", May 4

You will need to run the ugprade.php in the .zip file.  Copy/upload it to your main directory (where the index.php and conf_global.php) are.  Then run it, http://www.yourfourm.com/upgrade.php

For those of you who have IBStore, you will now have quite a few options to pay members back on a per game basis... go to a game and edit it (shop must be turned on in main settings) and you'll see.

The league will be in tommorow's update.

I could not break the tournament system at all, I tried every which way to have it show nothing but 0's and not advance.. but couldn't get it NOT too.

Several tiny bug fixes, plus fixes to 2.5.1 overall (like # of tournaments won by player) by Elijah.

So, copy/upload these files:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php

Readme for "Tube Mod", May 3

You will need to copy/upload these files:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php

If you don't want to overwrite your skins, please read everything below and do the find/add:

Also, if you want to display the current users avatar somewhere in the function start() of the skin, just pop this in:
{$tourneyinfo['avatar']}

And for the description function below, you will need to add this somewhere in the function start() also:
{$tourneyinfo['desc']}

In each skin file, find:

}
?>

Add above:

function cat_desc($desc) {
global $ibforums;
return <<<EOF
<div class='tableborder'>
<table width='100%' border='1' cellspacing='1' cellpadding='4'>
<tr>
<td>
<fieldset class='fieldset' style='margin:0px 0px 0px 0px'>
<legend>Category Description&nbsp;</legend>
<div style='padding:0px'>
<table cellpadding='0' cellspacing='0' border='0' align='center' width='100%'>
<tr>
<td width='100%'>
<table cellpadding='2' cellspacing='1' border='0' width='100%'>
<tr>
<td align='center'>{$desc}</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
EOF;
}

Readme for "Tube Mod", May 2_r1

If you have installed 2.5 and previously had my mod on and used the existing tables, then you will just need to copy/upload the files below and make the changes to Topics.php.

If you have installed 2.5 and never had my mod, then you will need to copy/upload freshinstall25.php to the same directory as conf_global.php (root directory), then run the freshinstall25.php.  http://www.myforums.com/freshinstall25.php.

Next you will copy/upload the following files:

/arcade/modules/mod_arcade.php
/arcade/modules/mod_report.php
/arcade/modules/mod_settings.php
/Skin/s1/skin_Arcade.php
/Skin/s1/skin_v3Arcade.php
/sources/Arcade.php
/sources/Admin/ad_arcade.php

And you can either copy /lang/en/lang_Arcade.php or add this to the bottom of your existing lang_Arcade.php:

// tube mod

arcade_announcements	=> "Arcade Announcements:",
cost_to_play		=> "Cost To Play",
free			=> "Free",
dateadded		=> "Date Added",
timeplayed		=> "Time Played",
point_require		=> "Point Requirement To Play: ",
no_points		=> "Not enough points to play!",
time_played		=> "Time Played: ",
total_score		=> "Total Score: ",
newest_games		=> "Newest Games",
information		=> "Information",
time_played_p		=> "Time Played",
store_info		=> "Store Information",

Next, you will want to go into your AdminCP->Arcade->Score Tools->Update Champs, Select All Games and Run Tool.

After that, you will probably want to go into your AdminCP->Arcade->Arcade Main Settings and setup anything you like there.

The same goes for AdminCP->Arcade->Categories.

The last thing to do is edit your Topics.php:

*** First find:

$DB->query("SELECT c.*, g.gname FROM ibf_games_champs AS c LEFT JOIN ibf_games_list AS g ON (c.champ_gid=g.gid)");

or if you did the update previously, find:

$DB->query("SELECT c.*, g.gname FROM ibf_games_champs AS c LEFT JOIN ibf_games_list AS g ON (c.champ_gid=g.gid) where g.strict_cat = 0 ORDER BY c.champ_gtitle");

*** Replace with:

$DB->query("SELECT c.*, g.gname, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE (c.champ_gid=g.gid) AND (g.gcat=cat.c_id) AND trim(password)='' ORDER BY c.champ_gtitle");

*** Find:

//Start ibProArcade Crowns
$crowns = "";
if( $crown['show_crowns'] )
{
	if( !isset($cached_crowns[ $poster['id'] ]) )
	{
		$crowns = "";
		if( isset($champs[ $poster['id'] ]) )
		{
			if( count($champs[ $poster['id'] ]) > 1 )
			{
				switch($crown['type'])
				{
					case 0:
						$crowns = "";
					break;
					case 1:
						$crowns = "<marquee width='100%' scrollamount='3'>";
					break;
					case 2:
						$crowns = "<marquee width='100%' name='crownscroll' scrollamount='1' direction='up' height='20'>";
					break;
				}
				$crown_end = ($crown['type'] == 1) ? " " : "<br />";
				foreach( $champs[ $poster['id'] ] as $this_game )
				{
					$crowns .= "<img src='arcade/images/".$this_game['gname']."2.gif' border='0' alt='' /> <a href='".$ibforums->base_url."act=Arcade&do=stats&gameid=".$this_game['gid']."'>".$this_game['gtitle']." Champion!</a>".$crown_end;
				}
				if($crown['type'] != 0)
				{
					$crowns .= "</marquee>";
				}
			}
			else
			{
				foreach( $champs[ $poster['id'] ] as $this_game )
				{
					$crowns = "<img src='arcade/images/".$this_game['gname']."2.gif' border='0' alt='' /> <a href='".$ibforums->base_url."act=Arcade&do=stats&gameid=".$this_game['gid']."'>".$this_game['gtitle']." Champion!</a><br />";
				}
			}
		}
		
		$cached_crowns[ $poster['id'] ] = $crowns;
	}
	else
	{
		$crowns = $cached_crowns[ $poster['id'] ];
	}
}

$champtext = "";
if( $crown['show_t_won'] )
{
	if( isset($tourneys[ $poster['id'] ]) )
	{
		$champtext = "Tournaments Won: ".$tourneys[ $poster['id'] ]."<br /><br />";
	}
}
//End ibProArcade Crowns




*** Replace With:

//Start ibProArcade Crowns
$crowns = "";
if( $crown['show_crowns'] )
{
        if( !isset($cached_crowns[ $poster['id'] ]) )
        {
                $crowns = "";
                if( isset($champs[ $poster['id'] ]) && $crown['type'] != 0)
                {
                        if(( count($champs[ $poster['id'] ]) > 1) && ($crown['type'] != 0))
                        {
                                switch($crown['type'])
                                {
                                        case 1:
                                                $crowns = "";
                                        break;
                                        case 2:
                                                $crowns = "<marquee width='100%' scrollamount='3'>";
                                        break;
                                        case 3:
                                                $crowns = "<marquee width='100%' name='crownscroll' scrollamount='1' direction='up' height='20'>";
                                        break;
                                        case 4:
                                                $crowns = "<select name='Crowns' class='dropdown'>";
                                        break;
                                }

                                $crown_end = ($crown['type'] == 2) ? " " : "<br />";
                                foreach( $champs[ $poster['id'] ] as $this_game )
                                {
                                        switch($crown['type'])
                                        {
                                        case 1:
                                        case 2:
                                        case 3:
                                                $crowns .= "<img src='arcade/images/".$this_game['gname']."2.gif' border='0' alt='' /> <a href='".$ibforums->base_url."act=Arcade&do=stats&gameid=".$this_game['gid']."'>".$this_game['gtitle']." Champion!</a>".$crown_end;
                                        break;
                                        case 4:
                                                $crowns .= "<option>".$this_game['gtitle']." Champion!<br />";
                                        break;
                                        }
                                }
                                if ($crown['type'] == 4)
                                        $crowns .="</option></select>";
                                else
                                {
                                        $crowns .= "</marquee>";
                                }
                        }
                        else
                        {
                                foreach( $champs[ $poster['id'] ] as $this_game )
                                {
                                        $crowns = "<img src='arcade/images/".$this_game['gname']."2.gif' border='0' alt='' /> <a href='".$ibforums->base_url."act=Arcade&do=stats&gameid=".$this_game['gid']."'>".$this_game['gtitle']." Champion!</a><br />";
                                }
                        }
                }

                $cached_crowns[ $poster['id'] ] = $crowns;
        }
        else
        {
                $crowns = $cached_crowns[ $poster['id'] ];
        }
}

$champtext = "";
if( $crown['show_t_won'] )
{
        if( isset($tourneys[ $poster['id'] ]) )
        {
                $champtext = "Tournaments Won: ".$tourneys[ $poster['id'] ]."<br /><br />";
        }
}
//End ibProArcade Crowns

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...