Post Reply 
 
Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB 1.4.1
08-18-2008, 12:36 AM
Post: #1
MyBB 1.4.1
MyBB 1.4.1 has been released today, whats the deal with upgrading? I understand theres database updates so it could be awkward if you have a lot of forums but I don't have any I cant delete atm.

Offering Paid help with:-
  • PHP
  • xHTML/CSS
  • MyBB
  • Brandons MyBB Multiforums Mod
  • VPS Administration
  • Technical Support
  • Web Hosting
PM me on here
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:20 AM (This post was last modified: 08-18-2008 02:20 AM by BMR777.)
Post: #2
RE: MyBB 1.4.1
MyBB 1.4.1 is out? Wow, that was sudden. Smile

Right now, here are your upgrade options:

1. If you have NO hosted forums and you want to run MyBB 1.4.1 then you may delete and reinstall MyBB as well as the MyBB Multiforums Script and install with MyBB 1.4.1.

2. If you have hosted forums, or you do not wish to reinstall the script, then follow the instructions in this file to manually patch the security holes in MyBB 1.4.0. I will begin to work on a database update script for MyBB 1.4.0 to 1.4.1, but it may take a while to do because this is the first upgrade script. Once I have one upgrade script coded, however, then other upgrades should be quicker because the upgrader will simply be modified and not coded from scratch every time.

BMR777

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:37 AM
Post: #3
RE: MyBB 1.4.1
Turns out the new version will break your forums Smile

So no rush for now.

The simpleist way I can imagine is to add a collumn to the hosted forums table with "version number" then in global.php you can do a
PHP Code:
if($versionnumber 'latest')
{
RUN SQL QUERIES

That way the forums will only be updated once the first person views ANY page of it, meaning that the server load of updating many forums is spaced out over a period of time yet.

Offering Paid help with:-
  • PHP
  • xHTML/CSS
  • MyBB
  • Brandons MyBB Multiforums Mod
  • VPS Administration
  • Technical Support
  • Web Hosting
PM me on here
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:45 AM
Post: #4
RE: MyBB 1.4.1
Ajof Wrote:Turns out the new version will break your forums Smile

So no rush for now.

The simpleist way I can imagine is to add a collumn to the hosted forums table with "version number" then in global.php you can do a
PHP Code:
if($versionnumber 'latest')
{
RUN SQL QUERIES

That way the forums will only be updated once the first person views ANY page of it, meaning that the server load of updating many forums is spaced out over a period of time yet.

I just applied the patch instructions only to all of my forums on freemybb.com and they all appear to still be online and working properly. How does the update "break" the forums? Did you upload all of the files or just do the security patches as outlined in the patch file? Security patches only works fine.

Also, I thought about doing an upgrade like you suggested, running the upgrader only when a forum is viewed, but I think it would be best to simply modify the MyBB upgrader to loop through the hosted forums and then use the php sleep() command to limit server load for large hosts. I'll see what the best approach is though once I start to code it.

BMR777

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:47 AM (This post was last modified: 08-18-2008 02:53 AM by Ajof.)
Post: #5
RE: MyBB 1.4.1
It was the full wammy upgrade with the sql upgrade I tried. (it was for a non multiforums forum)

And you say that you can just install the existing multiforums on top of 1.4.1 but some of the changed files are ones in the multiforums package so wouldn't that revert them back to 1.4 rather than the updated 1.4.1 files.

^^ If that makes any sense Big Grin

Offering Paid help with:-
  • PHP
  • xHTML/CSS
  • MyBB
  • Brandons MyBB Multiforums Mod
  • VPS Administration
  • Technical Support
  • Web Hosting
PM me on here
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:50 AM
Post: #6
RE: MyBB 1.4.1
Ajof Wrote:It was the full wammy upgrade with the sql upgrade I tried. (it was for a non multiforums forum)

If that was the case, maybe the upgrader from the MyBB Group is a bit whacked. I'll have to watch for upgrade issues on the MyBB forums to see if this is a common problem. Was your forum completely unmodified, or just the master forums in a Multiforums setup?

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 02:54 AM
Post: #7
RE: MyBB 1.4.1
un modified except for a new theme and a few plugins which I disabled before the upgrade. If you look on the mybb forums though im not the only one.


And doesn't apache have a timeout which will hault a script if it runs too long? Could that be a problem with sleep? Or have I got that wrong!

Offering Paid help with:-
  • PHP
  • xHTML/CSS
  • MyBB
  • Brandons MyBB Multiforums Mod
  • VPS Administration
  • Technical Support
  • Web Hosting
PM me on here
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 07:27 AM
Post: #8
RE: MyBB 1.4.1
Ok 1.4.1 is stable now, ive run the full update on a standalone forum. I understand though installing the exisiting multiforums mod over it will revert some of the modified files back to their 1.4 versions as files like global.php have been updated but it is also one of the files included in your mod.

So do we have to wait for updated multiforums files before we can do the full upgrade? (not the manual patch you've done on freemybb)

Offering Paid help with:-
  • PHP
  • xHTML/CSS
  • MyBB
  • Brandons MyBB Multiforums Mod
  • VPS Administration
  • Technical Support
  • Web Hosting
PM me on here
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 10:37 AM (This post was last modified: 08-18-2008 10:38 AM by BMR777.)
Post: #9
RE: MyBB 1.4.1
Yes, the main thing I need to do is figure out how to run the database upgrade for the template changes, which may take me a bit to figure out how to do. Also, I may need to re-edit a few files if they have changed.

MyBB will almost certainly work, however, if you install my script on a forum running MyBB 1.4.1 instead of 1.4.0. The file edits in the few files I have changes are probably minute and won't have any affect on the core operation of MyBB.

BMR777

Brandon Rusnak - RusnakWeb Admin and Founder

A New Version of the MyBB Multiforums Mod is on the way! More details here.

MyAdopts - Free Adoptables Site Hosting powered by Rusnak PHP Adoptables

Lead, follow or get out of the way.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-18-2008, 06:43 PM
Post: #10
RE: MyBB 1.4.1
Ah, okay.
I installed 1.4.1 and then installed your script, and it seems everything still works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: