XenForo 2

  • 🔧 Actively working on site again.

Null

Ooperator
kiwifarms.net
Joined
Nov 14, 2012
XenForo 2 has begun distributing developer previews and I'm working on porting my custom mods to the new codebase. They've completely rewritten the system and everything has to be redone. For the last few days I've been acquainting myself with their custom framework.

This is what it looks like right now. I'm about halfway done writing the new Rules mod. By default it's red and blocky like it was before, but for KF2 I'm going to have it looking like it does now. It's a semantics difference; we were criticized for having too many rules so I changed the word "rule" to "guideline" and the color from red to green and everyone shut the fuck up.

41t5cgG.png
 
Can't be worse than writing Drupal plugins, lol.

Have fun Null, reach out if you need development advice.
 
  • Like
Reactions: BoredAtHome
I think I've about completed my work on the Forum Rules mod and I have a pretty firm grasp of what modding XF2 is like now, so I'm going to move on to other stuff.

Just a small preview of how the mod works now --
I finally got around to making changes I wanted in the new code, since it works better and is easier to touch on.

For instance, I am using these settings as a test:
jeyPQEh.png


Notice I have the rules turned off for forum view & thread view. This would remove it from your view basically all the time, except I enabled it for when posting replies or creating new threads -- where awareness of the rules are most important.

I try to do this with the current XF/mod, but it's a problem because 90% of replies as done through quick replies, where they won't get much visibility. A person might never see the rules at all with this configuration. The only alternative is to just show them everywhere all the time.

Except now, I got that fixed.

Inserted above the quick reply form.
UYSYpEp.png


Inserted above the quick edit form (new feature).
nZ2tJQO.png


And still above the New Thread form.
2dCaKtT.png


And yes, they'll be that Autism-Soothing green color again when things are finalized.
 
Been working on random quotes all evening and here's where it's at.

The new quote rotation mod has two serious enhancements.

1) The current mod uses an option blob that has a maximum of 65,000 characters for the entire collection. The new mod will be capped at 65,000 characters per quote.

2) The current mod is just text. The new mod will have the capacity for attribution information. I may end up disabling this for KF2, because I think taking quotes out of context is part of the fun.


NiRBDfl.png


40QBudO.png


1QRtpkf.png



And for reference, he's the existing mod.

Qc76mku.png



This is all back-end right now, but it's looking good!
 
I think all this backend stuff is pretty neat. Is getting MediaWiki to play nice with XF2 gonna be a major issue?
 
  • Like
Reactions: BoredAtHome
2) The current mod is just text. The new mod will have the capacity for attribution information. I may end up disabling this for KF2, because I think taking quotes out of context is part of the fun.

The ability to do it might be nice even if it isn't always done. I'd like people to be able to see links to the original when it was some particularly classic quote like T.J. Church's about autism not having its own language, etc.
 
Back