Predicting Beta 3 release today!

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
LEW21
Registered User
Posts: 128
Joined: Fri Nov 04, 2005 9:27 pm

Re: Predicting Beta 3 release today!

Post by LEW21 »

Acyd Burn already wrote and sent to the CVS B2 -> B3 update script.
phpBB3.pl - user-friendly Polish phpBB3 support
User avatar
NNO-Stephen
Registered User
Posts: 398
Joined: Fri May 23, 2003 12:47 am
Location: Tulsa, Oklahoma
Contact:

Re: Predicting Beta 3 release today!

Post by NNO-Stephen »

but but but... Acyd Burn already said there wouldn't be one...

...HMMmmm....

also the script says it's for B2 if I'm reading it right...
Image
LEW21
Registered User
Posts: 128
Joined: Fri Nov 04, 2005 9:27 pm

Re: Predicting Beta 3 release today!

Post by LEW21 »

Code: Select all

// Only an example, but also commented out
$database_update_info = array(
	// Changes within this version
	'3.0.b3'		=> array(
/*
		// Change the following columns...
		'change_columns'	=> array(
			USERS_TABLE			=> array(
				'user_avatar_width'			=> array('USINT', 0),
				'user_avatar_height'		=> array('USINT', 0),
			),
		),
		// Add the following columns
		'add_columns'		=> array(
			TOPICS_TABLE			=> array(
				'topic_first_poster_colour'	=> array('VCHAR:6', ''),
				'topic_last_post_subject'	=> array('XSTEXT', ''),
				'topic_last_poster_colour'	=> array('VCHAR:6', ''),
			),
			FORUMS_TABLE			=> array(
				'forum_last_post_subject'	=> array('XSTEXT', ''),
				'forum_last_poster_colour'	=> array('VCHAR:6', ''),
			),
		),
*/
	),
	// Latest version
	'3.0.0'			=> array(),
);

Code: Select all

switch ($current_version)
{
	case '3.0.b3':
/*
		$sql = 'SELECT forum_id
			FROM ' . FORUMS_TABLE;
		$result = _sql($sql, $errored, $error_ary);

		$forum_ids = array();
		while ($row = $db->sql_fetchrow($result))
		{
			$forum_ids[] = $row['forum_id'];
		}
		$db->sql_freeresult($result);

		if (sizeof($forum_ids))
		{
			// Since we changed the last post informations we need to sync a bit...
			sync('forum', 'forum_id', $forum_ids, true);

			// Sync topics
			sync('topic', 'forum_id', $forum_ids, true);
		}
*/
	// No need to change here, before no break should appear
	break;

	case '3.0.0':
	default:
		$no_updates = true;
	break;
}
If user will delete /* and */ and replace

Code: Select all

$updates_to_version = '3.0.B2';
with

Code: Select all

$updates_to_version = '3.0.B3';
updating will be possible.
phpBB3.pl - user-friendly Polish phpBB3 support
User avatar
NNO-Stephen
Registered User
Posts: 398
Joined: Fri May 23, 2003 12:47 am
Location: Tulsa, Oklahoma
Contact:

Re: Predicting Beta 3 release today!

Post by NNO-Stephen »

oooOOoooo neat.
Image
cutaia
Registered User
Posts: 45
Joined: Wed Mar 30, 2005 4:08 am
Location: Aurora, CO
Contact:

Re: Predicting Beta 3 release today!

Post by cutaia »

Even though this isn't entirely on-topic...this discussion has reminded me of a question I've been having:

Obviously even Beta 3 won't be usable in a live environment. Once it's to RC1, though...will it be suitable to start using?

Anyone? :D
LEW21
Registered User
Posts: 128
Joined: Fri Nov 04, 2005 9:27 pm

Re: Predicting Beta 3 release today!

Post by LEW21 »

Yes, but you will have to update it 3 (or more) times in not very long time (RC1 -> RC2, RC2 -> RC3, RC3 -> final).
phpBB3.pl - user-friendly Polish phpBB3 support
User avatar
NNO-Stephen
Registered User
Posts: 398
Joined: Fri May 23, 2003 12:47 am
Location: Tulsa, Oklahoma
Contact:

Re: Predicting Beta 3 release today!

Post by NNO-Stephen »

yeah but with the RC stages there will be official updaters :)
Image
User avatar
Acyd Burn
Posts: 1838
Joined: Tue Oct 08, 2002 5:18 pm
Location: Behind You
Contact:

Re: Predicting Beta 3 release today!

Post by Acyd Burn »

If you try to use this to update a beta2 board to beta3 (once/if it is released) you will get wrong results.

Image
User avatar
NNO-Stephen
Registered User
Posts: 398
Joined: Fri May 23, 2003 12:47 am
Location: Tulsa, Oklahoma
Contact:

Re: Predicting Beta 3 release today!

Post by NNO-Stephen »

I figure as much, and I have no intention of doing anything till we've a). got the next release out, b). figured in all the database changes, and c). figured the appropriate method for upgrading said database.

so although this would produce errors as you say, it's a building block :)

(hopefully you'll see fit to make progress w/ the script and release it anyway, but as I said last night, I'm not holding my breath).  
Image
cutaia
Registered User
Posts: 45
Joined: Wed Mar 30, 2005 4:08 am
Location: Aurora, CO
Contact:

Re: Predicting Beta 3 release today!

Post by cutaia »

Haha...for some reason Acid's post there gave me hope that the release of Beta 3 is coming soon.

Something about the way he said that. (Especially the seemingly unneccesary addition of the "/if" to the word "once." Well, of course it will be released sometime. ;) )




But this is just me. :D
Post Reply