1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Funny how development work out

Discussion in 'General XenForo Discussion and Feedback' started by Rigel Kentaurus, Oct 23, 2012.

  1. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    I have been busy improving my Blogging add-on, and while doing it, I realized that bunch of the work that I am doing is to actually integrate with other addons ....

    One of the first things that I integrated was the widget framework, because, let's be real, a lot of people already use that, and I don't want to reinvent the wheel. So there I go learning what is the Interface or anything that XfRocks used for his widget add-on.

    The results were pretty good, I must say, because now all my blog panels can be added anywhere in the forum (should the person want to), and admins can customize their sidebar in whatever way they see fit without me needing to do much really.

    After adding more features, I decided to have a sitemap for the blogs. But again, why coding my own? There is already a really nice sitemap addon. I extended the model, added a couple classes. Done. The user benefits because instead of having two conflicting sitemaps they just use the default one, and if the blog is present, it will hook in to generate it's own xml files.

    It didn't stop there ...

    People wanted to change the structure of the URL. So I just decided to make sure that it worked perfeclty with the Route Changer addon. It does. It required a couple of hocus pocus but that was it.

    And just this afternoon I was finishing the integration with the Tag Me addon. That will allow people to just use @username on their blog entries, and if the add-on is present, it will auto-link and notify the user. (If the add-on is not present it will do ... well, nothing)

    The XenForo developers built an amazing framework. The plug & use characteristics of it make it really easy to start re-using other people's add-ons without any major conflict, and end up saving me a lot of time for features that would take days or weeks to code myself. This would not be possible if the add-ons were not properly namespaced, isolated, well structured, and using the advanced OO techniques that we have in XenForo.

    I feel like the developers should have been the ones doing a 1.2 with widgets on the sidebar, 1.3 with Tag Me, 1.4 with a Sitemap, etc, etc. But in the absence of that, the community has filled the gaps pretty well.

    My default Blogs add-on works without any of those. It just does. But if people have those add-ons installed, as I have found most people do, they end up getting additional functionality. XenForo turned out to be a truly modular product.
    Sadik B, ge66, SchmitzIT and 7 others like this.
  2. kkm323

    kkm323 Well-Known Member

    It truly shows how powerful is XenForo that enables developer to integrate their add-ones (y)
  3. xfrocks

    xfrocks Well-Known Member

    Glad I got 2 add-ons in your integration list!

    Edit: You may want to integrate [Tinhte] XenTag too. I promise it's very easy!
    yavuz and Andy.N like this.
  4. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    I've never been a huge fan of Tags ... in vBulletin members barely used them and I found the tag clouds to be interesting but funny, and not really that useful after the "Wow" moment passed. I always went to the search box when I actually wanted to find something and they weren't good either for finding related content. Maybe they are actually useful for SEO.
    ge66 likes this.
  5. Andy.N

    Andy.N Well-Known Member

    You don't let members use them ;)
    Just let admin and mod to tag so that only the best/relevant content are represented. It works really well for me.
    Widget Framework has a renderer for it too ;)
  6. xfrocks

    xfrocks Well-Known Member

    No, the [bd] Widget Framework add-on doesn't support [Tinhte] XenTag. It's the other way around: the tag add-on adds 3 more renderers to the framework. A bit off topic, sorry Rigel :p

Share This Page