Discuss: phpBB 3.0.3 released

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Get Involved
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: Discuss: phpBB 3.0.3 released

Post by Sunka » Mon Nov 17, 2008 12:18 pm

Highway of Life wrote:And did you confirm this on your localhost?

Also, here are the Code Changes.
I just did all code changes downloaded in quoted post above...
I did not update subsilver2 template files because my forum is only prosilver (could I do that if I don't use subsilver?)
There is some mistakes in code changes (some files just say Find...nothing to Add, or Replace...just Find...), I looked to Vanilla files, and in that files nothing is changes, so I think that I did correct.

Could someone confirm that for not editing subsilver code changes before I upload my new (changed) files and execute database update?
:mrgreen:

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Discuss: phpBB 3.0.3 released

Post by ChriZathens » Mon Nov 17, 2008 12:30 pm

If you don't use subsilver2 then no problem...

Tip for the ones who use the Automatic Update function so that they can avoid updating their own language files manually:

Download the updated package for your lang. Apply Winmerge to your lang and your lang's 3.0.2 version.
Delete files that are identical, so that only files which have changed from 3.0.2 are in 3.0.2 and 3.0.3 folder.
Download the AU package and unpack it.
Copy your lang's 3.0.3 version in folder update/new/language
Copy your lang's 3.0.2 version in folder update/old/language

Open update/index.php
Find and copy

Code: Select all

	'language/en/acp/attachments.php',
	'language/en/acp/board.php',
	'language/en/acp/common.php',
	'language/en/acp/groups.php',
	'language/en/acp/permissions_phpbb.php',
	'language/en/acp/posting.php',
	'language/en/acp/styles.php',
	'language/en/common.php',
	'language/en/email/group_request.txt',
	'language/en/help_faq.php',
	'language/en/install.php',
	'language/en/mcp.php',
	'language/en/ucp.php',
	'language/en/viewtopic.php',
paste copied text under

Code: Select all

	'language/en/viewtopic.php',
replace all instances of en in your copied text with your own language

Save and close the file
Upload install directory to your server
Now the Automatic Updater will also consider your lang files in the update and will update them automatically...
Hope that this helps somebody.. ;)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Discuss: phpBB 3.0.3 released

Post by A_O_C » Mon Nov 17, 2008 1:27 pm

Sunka wrote:There is some mistakes in code changes (some files just say Find...nothing to Add, or Replace...just Find...), I looked to Vanilla files, and in that files nothing is changes, so I think that I did correct.
actually, that probably just means that you have to find something, then find something else (to get the correct line).

example file

Code: Select all

<?php
ptint 'phpbb rocks';

// dont find me

print 'phpbb rocks';
// asign some vars
?>
if i wanted to add something before the

Code: Select all

print 'phpbb rocks';
, but i wanted to do it to the second instance, i would do something like

Code: Select all

FIND:
// dont find me

FIND:
print 'phpbb rocks';

BEFORE ADD:
// yada yada yada
that would make my example file look like this

Code: Select all

<?php
ptint 'phpbb rocks';

// dont find me

// yada yada yada
print 'phpbb rocks';
// asign some vars
?>

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: Discuss: phpBB 3.0.3 released

Post by Sunka » Mon Nov 17, 2008 1:34 pm

Nop, it not like that... :mrgreen:
I installed many MODs, and that is not something like FIND ==> then (again) FIND (usually few lines after first FIND).....

Look...first one is correct (1 block), and seconf one is not correct (2 blocks)
correct
correct
correct.jpg (175.59 KiB) Viewed 571 times
not correct.jpg
not correct.jpg (196.04 KiB) Viewed 561 times

kazper
Registered User
Posts: 122
Joined: Wed Apr 10, 2002 9:26 pm

Re: Discuss: phpBB 3.0.3 released

Post by kazper » Mon Nov 17, 2008 1:48 pm

SamG wrote:I don't recall the developers ever saying that using the automatic update system on a heavily MODed board was easy, that resolving conflicts is always easy. How could the developers know what admins of heavily MODed boards even see at update time? The MOD possibilites for all practical purposes are endless, and there is simply no way to anticipate the state of a heavily MODed board.

In any case, nobody tried to minimize the work involved in the update process in the case of heavily MODed boards, at least not that I'm aware of.
iWisdom wrote:This is because the automatic updater is perfectly capable of updating a board -- although it may seem time consuming to go through each of the conflicts and choose the correct action, it is no more time consuming than attempting to do all of the changes yourself.
Highway of Life wrote:What’s the problem with using the Automatic Updater? :? I’m seriously curious.
The word easy may not be used, but you get the impression that the Automatic Updater is always the best solution and that using it is at least the easiest option in all cases.
RMcGirr83 wrote:According to the list that Noxwizard posted, I count no less than 94 php files that have code changes.

10-15 files seems, uhmmm, small compared to that.
Code Changes != Code Conflicts in the Automatic Updater. The Code Conflicts are what matters, and 10-15 files of 25-30kb of fairly advanced PHP code with several conflicts in each makes for a big enough problem. And is about what you'd hit with a heavily modded board in the current update (of course depending on exact mods installed).
ameeck wrote:Well actually that is what the Automatic Updater will tell you to do. If there is a conflict in some files, i.e. it can't be merged it will tell you to manually edit the file. :)
Not quite. It's one of the options you have, and finding the best solution is no mean task. Leaving it un-updated and then go in and do the changes manually (eg. based on patch files) does indeed seem to be the best solution in almost all cases, but that's not the impression the Automatic Updater leaves you with. In any case that is exactly when the Code Changes file would be extremely helpful. Not necessary as several people have pointed out because you can learn to "read" the patch files or you can do a manual diff check on the files and in essence make your own Code Changes. But helpful to some people for sure.

User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by Phil » Mon Nov 17, 2008 2:06 pm

I believe the assumption made is that if you're going to install that many MODs, you (or someone you have access to) will have the ability and technical know-how to update the board.
Moving on, with the wind. | My Corner of the Web

User avatar
Interlog
Registered User
Posts: 1258
Joined: Sat Jun 11, 2005 4:11 pm
Location: London, UK
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by Interlog » Mon Nov 17, 2008 2:33 pm

This is how I updated my very heavily modified board (modified with my own lines of coding, not Mods from here):

1. I copied all 3.0.2 files from the server to my computer
2. Downloaded the automatic update package and uploaded it to the server
3. Ran the automatic updater
4. There were about 10 conflicts. I choose the first option (eg to use the new file) and zipped the lot up and saved it to my computer. I made note of the files that had the conflicts
5. I then applied the changes to the files that had conflicts in accordance with the patchfile to the 3.0.2 files that I previously saved onto the computer
6. Once that was done I replaced the conflicted files with the manually changed now up-to-date files
7. I then uploaded all the changed files (combination of automatic and manually updated files) to the server

This took me about a couple of hours to do and so far has worked (nobody has reported any errors of yet).

I suppose that any future updates to the files I manually changed will result in more conflicts but I worked out that the above mentioned method works best for me.

Mark :D
Image

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by RMcGirr83 » Mon Nov 17, 2008 2:37 pm

kazper wrote:Code Changes != Code Conflicts in the Automatic Updater. The Code Conflicts are what matters, and 10-15 files of 25-30kb of fairly advanced PHP code with several conflicts in each makes for a big enough problem. And is about what you'd hit with a heavily modded board in the current update (of course depending on exact mods installed).
Just so I understand you. You would rather do code changes on 94 files than look at, via the update process, compare/merge code conflicts in 10 or 15?

Have fun with that! :)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
3Di
Former Team Member
Posts: 13920
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by 3Di » Mon Nov 17, 2008 2:50 pm

also, it is a good habit to have a copy of your board into you localhost (your PC) where to do testings before to FTP the working changes to your remote server, here you can find the right help for to do that Localhost
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: Discuss: phpBB 3.0.3 released

Post by A_O_C » Mon Nov 17, 2008 3:02 pm

Sunka, ah, i see what you mean. :D

panhead
Registered User
Posts: 682
Joined: Sat Dec 20, 2003 8:17 pm

Re: Discuss: phpBB 3.0.3 released

Post by panhead » Mon Nov 17, 2008 4:47 pm

Once again an easy and quick automatic update. Thank you!

User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by drumstix42 » Mon Nov 17, 2008 5:27 pm

RMcGirr83 wrote:
kazper wrote:Code Changes != Code Conflicts in the Automatic Updater. The Code Conflicts are what matters, and 10-15 files of 25-30kb of fairly advanced PHP code with several conflicts in each makes for a big enough problem. And is about what you'd hit with a heavily modded board in the current update (of course depending on exact mods installed).
Just so I understand you. You would rather do code changes on 94 files than look at, via the update process, compare/merge code conflicts in 10 or 15?

Have fun with that! :)
I think you assume everyone know how to read and decipher code easily. This is a very unfair assumption. Yes, you would think those modifying boards would know a bit of what they're doing, but you would be surprised. It's a lot easier to follow step-by-step instructions than it is to troubleshoot conflicts.

Just saying it to say it...
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )

User avatar
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Discuss: phpBB 3.0.3 released

Post by ameeck » Mon Nov 17, 2008 5:38 pm

What if it isn't possible to follow the steps correctly because of conflicts, what next? Both can leave a user helpless.

User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Spokane, WA
Name: David Lewis
Contact:

Re: Discuss: phpBB 3.0.3 released

Post by Highway of Life » Mon Nov 17, 2008 10:50 pm

drumstix42 wrote:I think you assume everyone know how to read and decipher code easily. This is a very unfair assumption. Yes, you would think those modifying boards would know a bit of what they're doing, but you would be surprised. It's a lot easier to follow step-by-step instructions than it is to troubleshoot conflicts.
You’re looking at and changing a LOT more code if you use the Code Changes, there is also a larger margin for error if you use Code Changes and miss something.
Instead, how about using the Automatic Update, (which is performed on 94? files), then of the what... 10 to 15 that you have conflicts with, you can use the Code Changes to update those 10 to 15 files, it sure beats manually updating 64 files, don’t you think? :)
On the other hand, you could use the Automatic Update, merge the conflicting files using the choices given, then test it on your localhost, I’d bet you more likely than not that it will work, and if it doesn’t then you can go back and apply the code changes to those conflicting files manually.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.

CosmicDee
Registered User
Posts: 42
Joined: Sat Feb 16, 2008 12:45 pm

Re: Discuss: phpBB 3.0.3 released

Post by CosmicDee » Mon Nov 17, 2008 10:54 pm

really great update with a lot of fixes and enhancements. But it's just a bit unfortunate that this one feature is left out, namely to allow for 2 sepperate moderation queue permissions: namely for posts and for topics.

Post Reply

Return to “phpBB Discussion”