Update without styles & extensions

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
User avatar
AbuHossam
Registered User
Posts: 353
Joined: Sun Sep 02, 2018 7:24 am

Update without styles & extensions

Post by AbuHossam »

Hello.

In the Guide:
Delete the following files from the package:
  • The config.php file
  • The files/ directory
  • The images/ directory
  • The store/ directory
On your website, delete all files from your board EXCEPT for:
  • The config.php file
  • The ext/ directory
  • The files/ directory
  • The images/ directory
  • The store/ directory
BUT! Please.. I have a lot of modifications in the styles and extensions folders. How can I update to the latest version without deleting these modifications?
Last edited by thecoalman on Tue Jun 04, 2024 3:14 pm, edited 1 time in total.
Reason: Moved to custom coding.
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
ssl
Registered User
Posts: 1973
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Update without styles & extensions

Post by ssl »

to update personalized styles you will need to follow these instructions: https://area51.phpbb.com/code-changes/3.3.10/?styles
for the extensions you will have to check with the authors in case of problems
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
SpIdErPiGgY
Registered User
Posts: 266
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm

Re: Update without styles & extensions

Post by SpIdErPiGgY »

Update the style manual
viewtopic.php?t=2534601

You don't need to delete the ext folder.
When I update, I only delete the vendor and phpbb folder from the server.

Remove the config.php file from the update package.
then upload - overwrite all other files.
phpBB NL Extension translations, also on request.
--> Click Here: Myarea51secrets.com <--
User avatar
warmweer
Jr. Extension Validator
Posts: 11609
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Update without styles & extensions

Post by warmweer »

AbuHossam wrote: Mon Oct 23, 2023 4:18 am
BUT! Please.. I have a lot of modifications in the styles and extensions folders. How can I update to the latest version without deleting these modifications?
There's a bit of a contradiction in the statement "lot of modifications in the extensions folder", the whole point of extensions being not having to modify core phpBB files.

As to modifications in styles ... surely you've kept notes of the edits and can reapply them? If not you'll need to use a file/folder comparison program.
Alternatively apply the 3.3.10 to 3.3.11 changes to your prosilver and use that as a reference for other styles.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
AbuHossam
Registered User
Posts: 353
Joined: Sun Sep 02, 2018 7:24 am

Re: Update without styles & extensions

Post by AbuHossam »

ssl ⇐ Thanks Boss..

SpIdErPiGgY ⇐ Even htaccess file?

warmweer ⇐ Some extensions are great, but whenever I have useful modifications, I modify them to complete the picture.

UPDATE..

I have uploaded all folders and files except the directory + extensions + styles + config.php + files + images + store.

And it was updated.

Are we okay?

In other words: Should styles & ext also be uploaded:
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
warmweer
Jr. Extension Validator
Posts: 11609
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Update without styles & extensions

Post by warmweer »

AbuHossam wrote: Mon Oct 23, 2023 10:57 am In other words: Should styles & ext also be uploaded:
For styles the update (or full) package should only contain /all and /prosilver and those should be uploaded also (the whole package should be uploaded).

IN your case you should use the Changed Files packages so that you can easily identify the files that you need to remodify (if a 3.3.11 file is exactly the same as the 3.3.10 file then there's no need to upload that. Limit the re-modifying to only those files that have been changed in the update. Files which you haven't modified are original phpBB files and the new versions can be uploaded as is.

This is a case where you should unzip the package on your PC, and then apply the modifications to the necessary files. Then test on a copy of your board and if everything works as intended : then upload to your live server.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26781
Joined: Fri Aug 29, 2008 9:49 am

Re: Update without styles & extensions

Post by Mick »

The bottom line is we don’t recommend or support mods and haven’t since 2008 in styles or extensions.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
pibodi
Registered User
Posts: 9
Joined: Sat May 04, 2024 10:03 am

Re: Update without styles & extensions

Post by pibodi »

Do I need to disable extensions before upgrading? Thanks!
User avatar
ssl
Registered User
Posts: 1973
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Update without styles & extensions

Post by ssl »

No it is not obligatory, however before updating you must ensure that your extensions are all up to date and compatible with the new version of phpBB.
If you are not able to do this work, disable them all before starting the update procedure.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Talk19Zehn
Registered User
Posts: 885
Joined: Tue Aug 09, 2011 1:10 pm

Re: Update without styles & extensions

Post by Talk19Zehn »

Note only on the fly: .htaccess

phpBB3/images/avatars/upload
_> .htaccess

phpBB3/files
_> .htaccess

are to be granted, maintained / adjusted.

And your own .htaccess, which is in the board root (where config.php is located), must be voted on if changes are/were included in it or enable it (host concept).

Your own choice of update method is of course relevant.

If these statements are not correct, please correct them. Thank you very much.

Regards
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6197
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Update without styles & extensions

Post by thecoalman »

AbuHossam wrote: Mon Oct 23, 2023 10:57 am Are we okay?
That can't be answered because there may be changes to files including the style etc. If you are going to maintain a customized set of files always comment your edits and use a unique text. This makes it easy to find and identify them. For php edits

Code: Select all

// Yourname Mod - Reason for the edit 
For edits to HTML template files you can use this, also note it can be used to comment out HTML instead of deleting it from the template. :

Code: Select all

<!-- IF 0 -->Yourname Mod - Added blah, blah,blah<!-- ENDIF -->
When it comes time to update download the changed files package. The key to making this easy is use Winmerge to compare and merge your files to the new files.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Return to “phpBB Custom Coding”