Page 2 of 2

Snippets

Posted: 06 May 2025, 15:58
by pxdetroit
.
Stoker wrote: 06 May 2025, 15:45 Just my two cents on the edit core files thing most of us have going :)

You have seen my snippets?
When posted I can always find them again if they get lost in an update.
Its damn good documentation to have if needed.
I guess you're supposed to put your changes in a special file and then the system will include it. I have trouble getting it to include those files so I end up changing the core files. Plus it's faster and easier. But you're right, a good way to migrate those changes would be ideal.

No, I haven't seen your stuff. I'd like to! I don't like being at the mercy of phpbb's updates.

Where to look?
.

BBcode

Posted: 06 May 2025, 16:00
by Stoker
Its not all, yet.
But several core edits: viewforum.php?f=45

Snippets

Posted: 06 May 2025, 18:03
by pxdetroit
.
Stoker wrote: 06 May 2025, 15:45 Just my two cents on the edit core files thing most of us have going :)

You have seen my snippets?
When posted I can always find them again if they get lost in an update.
Its damn good documentation to have if needed.
IDK what I'm doing wrong here. I thought I replied to this earlier but my reply isn't listed here. I found it but it's somewhere else.

EDIT: Okay, it's just the pagination. Trippy.

I looked at that forum but I don't understand what that's for. What I mean is protecting files like colors.css, responsive, indexbody.html (and my custom edits within) from phpbb updates.

.

BBcode

Posted: 06 May 2025, 20:47
by flumsi
Thanks again for the tip about the functions.php.

For me, any knowledge is important, because I'm still learning and therefore like a sponge :D

BBcode

Posted: 07 May 2025, 02:48
by Stoker
pxdetroit wrote: 06 May 2025, 18:03 I looked at that forum but I don't understand what that's for. What I mean is protecting files like colors.css, responsive, indexbody.html (and my custom edits within) from phpbb updates).
Well, there is no reason at all for editing any css files when the classes can be overridden by a custom css file like add css
Add an event/listener.php (and maybe a core/functions.php) and you can put in a language file plus add extra functions.
But that was not my point. It was by documenting your core edits updating shouldnt be a problem because you always can check your documents and redo your edits if necessary.