This is the Dev Log of the first add-on I created for XenForo.
Day one
This is of course from the beginning of this dev log, but for the record, two more weeks of painstakingly adjusting the widget elements can be added. But as I've said before, if it's easy, it's not interesting. So, where have I gotten to with this amazing XenForo add-on? There are now permissions added to the add-on, for which group can and cannot see the widget. For some reason, this almost ruined the design, but luckily I figured out where the problem was and have started working on fixing it.It turned out that absolutely every element of the design (and maybe not only) should be unique. Because it can happen that elements from two different add-ons overlap, and it becomes ugly, as happened to me. I'm generally used to doing everything with almost pure HTML, and every table with the same tags, and that works when you're on WordPress But in XenForo this practice can be very costly. Yes, you can make some basic design just to get things set up, but after that, comes the complicated and urgent work.
Also <tr class="tab"> does not count as a class related to the style. It needs to be <div class="tab"> to be able to change the class style via CSS.
I'm currently testing the permissions and only I (as admin) and verified users can see the widget. At the same time, I'm also fixing the widget code, which will take me a little more time, but nothing is impossible.
Attachments
Last edited: