Above all
Almost everyone who uses XenForo wants to create their own addon (or at least that's how I am). But where do we start? Of course, we can use some existing sources as a starting point for our adventure in creating our first add-on. We start reading, experimenting, but before long we realize that our knowledge of PHP, CSS, JAVA and HTML is almost useless. HTML hasn't changed much since about a decade ago, unlike the other three programming languages. This is good news, but unfortunately, with HTML alone, we can't achieve much in XenForo. And the tutorials that are available online and are related to creating a XenForo addon are outdated, in other words, they can give us some basic knowledge about XenForo, but that's it.My personal opinion is that the logic and order in this system is a total mishmash. Does it load quickly in the browser? Yes! Is it user-friendly? YES! Is it beautiful? YES! But if you want to create an add-on for it, oh man, get ready to be bullied. You have no idea what kind of wonder of wonders you're going to encounter. I literally created my first add-on by luck. It took me about two weeks to solve design problems and conflicts with the XenForo system, but I succeeded. I have no idea how I managed to do it, I know I wasted a lot of time and energy on something that is basically elementary. So, after all this, if you still have the desire to create your first add-on, then you can join this extreme adventure.
First step
- The first thing you need to do is decide which version of XenForo you will be creating an add-on for, and understand its PHP version requirements.
- This is important so you know what you can and cannot use in your addon as PHP code.
- Next, you need to familiarize yourself with the structure and logic of XenForo.
- Here I can only wish you success, because I personally have no progress in this step (at least for the moment).
- Then you need to visit THIS site
- Again, to know what you can and can't do and how to use it in your PHP code.
Well, that's it for now, I'm going to make some coffee and sit down to study.
Tips:
This: XenBg\DailyQuote\:Admin\Controller\Quote is wrong!Correct is: XenBg\DailyQuote\Admin\Controller\Quote - It must be without the colon, otherwise xenforo will not find the correct file.
Attachments
Last edited: