Hello,
This post is a question into how best to prepare for the hook system (if possible), and I'm not sure this is the right forum, but it seemed so.
I have a heavily and chaotically self-modded phpBB3 forum, that is the base of my website. I have always planned to make the modifications properly according to MODX, so I could do a fresh install everytime phpBB updated, but never really got around to do it.
Now with the new hook system on it's way, I was wondering if I could start preparing in any way, so I will be ready, once you have the specs/documentation set.
The things I had in mind for preparation was:
- Making a list of all the places in the code, where I'd want to hook in.
- Restructuring my code (not coding, but planning) to fit in with the mod class system described here: viewtopic.php?f=84&t=32805
I know that any coding I do is futile, untill the hook system is locked, but I wanted to clean up my code anyway, so doing it with the hook-system in mind would probably help me in the long run.
I just wanted to hear if you have any recommended readings (other than the blog-posts that I subscribe to) or tips on how I best can prepare for hooks.
Is it better for me just to make a proper MOD and later convert it, should I just wait until more details are settled or are there things to do now already?
If this topic has already been discussed, please direct me to the right one. I did a search (albeit quick), and didn't find one related to what I wanted.
If there is a post on how MOD REPLACE will work in the hook system, I'd also be interested in reading that.
Thank you,
Getting ready for hooks
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- DavidIQ
- Customisations Team Leader
- Posts: 1905
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: Getting ready for hooks
Best thing you could do at this time is to follow this forum and pay attention to which hook locations are approved:
viewforum.php?f=111
viewforum.php?f=111
Re: Getting ready for hooks
Im in a similar situation myself, ive decided to wait until an alpha is ready -- or atleast useable