Manually adding code!
Manually adding code!
If I was manually edit any phpbb 3.1.x files will they be lost when phpbb releases an update?
Steve ©
- bonelifer
- Administrator
- Posts: 477
- Joined: 24 Jun 2006, 17:48
- Real name: William
- Location: htpc.MythBuntu
Re: Manually adding code!
If you manually edit them, you'll then have to use the automatic updater files to go between releases. That will mean you'll have to manually merge files that where changed. Instead you should really be doing things using Extensions.
Re: Manually adding code!
Thanks boner ,at least phpbb still support merging files.
Not been around much for a while so thought I would ask here
Not been around much for a while so thought I would ask here
Steve ©
Re: Manually adding code!
Further, the extension will never get approved if you manually add edits to the files.
Re: Manually adding code!
It's for my forum rich ,I'm up to date with extensions just no so clued up on how phpbb handles updates.
Steve ©
- bonelifer
- Administrator
- Posts: 477
- Joined: 24 Jun 2006, 17:48
- Real name: William
- Location: htpc.MythBuntu
Re: Manually adding code!
I personally wouldn't suggest using the auto-update/merge approach. Do things right and you'll have no troubles. This is the whole reason Extensions were added to 3.1. Why go backwards in time.
Re: Manually adding code!
Because some tweaks are not worthy of writing up extension files!!
Steve ©
- bonelifer
- Administrator
- Posts: 477
- Joined: 24 Jun 2006, 17:48
- Real name: William
- Location: htpc.MythBuntu
Re: Manually adding code!
That line of reasoning just doesn't add up.
Re: Manually adding code!
Take for example this one line of code added to ucp_register.php
Does the job just fine in both 3.0.12 and 3.1.x and is useful to me.
Why would someone write up a bunch of code and add extra files to make that 1 line of code work... that wouldn't make sense to me.
Code: Select all
$auth->login($data['username'], $data['new_password']);
Why would someone write up a bunch of code and add extra files to make that 1 line of code work... that wouldn't make sense to me.
Re: Manually adding code!
+1Pete wrote:Why would someone write up a bunch of code and add extra files to make that 1 line of code work... that wouldn't make sense to me.
I'm sticking with 3.0 for the foreseeable future. Extensions are a great idea for larger modifications/plugins but for small tweaks like that are just daft . I'm also concerned that the server resource usage in 3.1 appears to be rather excessive. 3.0 does everything I want and it works perfectly on my reasonably priced shared hosting.
Re: Manually adding code!
+1Pete wrote:Why would someone write up a bunch of code and add extra files to make that 1 line of code work... that wouldn't make sense to me.
Couldnt agree more
Also small edits are not possible with extensions.
However there is a workarund for this. You can create an extension an put all your edits in this extension.
Call it myphpbbedits
Regards Stoker
PhpBB3 BBCodes
PhpBB3 BBCodes