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


Discussion in 'Forum Showcase and Critiques' started by Wootalyzer, Sep 28, 2011.

  1. Wootalyzer

    Wootalyzer Active Member

    I've been running a game community on XF for quite a while now (migrated from VB4, which was migrated from VB3, which was migrated from WordPress). I don't think anyone loves the Xen platform as much as I do, and I'm always looking to improve, so I figured I would post here for some critiques ;)


    I'm a tech nut, so I often find myself doing random unnecessary XF patches. A few recent projects have been:
    • HTTPS for the entire site. Just as a challenge to myself, I wanted to see if full HTTPS was even possible. Thanks to some Node code from the GitHub staff, and a few XF patches, every page on the website is now fully encrypted (even pages with user-posted images, no mixed content warnings!)
    • Full MediaWiki and Gallery3 integration, with a shared notification bar, header, footer, and seamless SSO.
    • Complete replacement for the XenForo media embedding system which I find a bit too complicated (and my users just LOVE their videos).
    • Interchangeable header banners which change (almost) daily.

    I know many of you have much larger forums than I, so if anyone has any advice or suggestions, I'm certainly willing to take them! Perhaps some day, I'll wrap some of these features into addons and release them as well.
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Looks great !
    Q: How did you generate the https://www.team9000.net/ landing page ? Custom .html ?

    People will want to hear more about that !
    The gallery isn't very prominent on your site ... found the link in the footer only ?

    Exactly what did you do ?
  3. Floris

    Floris Guest

    Awesome to see another MC site out there =D
  4. erich37

    erich37 Well-Known Member

    absolutely great website! Especially I like the Goggles very much!

    - how did you do the Blog-part?
    - how did you integrate MediaWiki?
    - how does it work to do the Goggles, especially the moving videos? Can those be put onto the homepage as well - (maybe in form of a "Notice") ?
    - video contests is cool.... wondering how this works?

    Addons for this would be great!
  5. Digital Doctor

    Digital Doctor Well-Known Member

    Goggles is very interesting. I think it is very effective.
    Make it a super cheap paid addon !
    erich37 likes this.
  6. Rho Delta

    Rho Delta Well-Known Member

    VERY interested in the goggles and blog parts, can you explain how to do them or make it an add-on??? Also I love how you did the menu bar!
  7. Wootalyzer

    Wootalyzer Active Member

    It used to be some old portal code that I wrote back in the VB days, ported over to XF. It's certainly not modular, but it does what I need. It doesn't really have a "admin page" per-say --- everything is done in template edits.

    This is very true. I've been wanting to get some more pictures put up before it gets much attention though.

    To embed a video, you just wrap the video page URL in the [e][/e] tag. It works with youtube, raw MP3s, gametrailers, justin.tv, liveleak, vimeo, g4tv, blip, viddler, soundcloud, grooveshark, and a few others. It basically pipes the URL through a huge pile of regex patterns until it finds a match, then applies special rules to that URL to embed it correctly. Youtube and vimeo videos are covered with a javascript trigger-able thumbnail, so the flash is only loaded on request. That way, on forum pages with tons of videos, you don't have flash loading up 50 times ;).

    Somewhere under there, I'm running LNBlog, which you can get here on Xenforo.com. It has a bunch of template edits, and I wrote a addon which modifies some of its models and controllers (to allow smilies in comments, fix canonicalization, etc.)

    I wrote a plugin called NKOutlet, which simply dumps out a copy of the forum's header or footer, perfect for embedding into the top and bottom of the wiki as an iframe. However, if you pass a UserID to this URL, and that ID doesn't match the ID of the logged in user, it will redirect the browser's top frame back to itself, along with an SSO token. The wiki picks up on this SSO token, stores it in a token cookie on its own domain, decrypts it, loads up a skeleton copy of the XenForo framework, and checks the token against existing XF sessions.

    A pile of javascript magic. I started off with some stock jQuery scroll-bar code, but ended up throwing it away because it was SO LAGGY. Browsers simply don't want to cooperate when 30 <img/> are scrolling by. Goggles is certainly due for some optimizations now-a-days though. I wrote it back when there weren't many videos on the forums, so it simply dumps all the videos into a huge javascript array. Now that the forum has thousands of videos, the page is noticeably slow to load. I might have to batch load the videos through ajax.

    Anything is possible if you put your mind to it :)

    That addon was actually pretty simple. It has one controller, one model, one table, and two templates. There's a little admin page to approve entries, but creating a new contest requires editing a file (heh, not very smooth.)
    erich37 and Onimua like this.
  8. Onimua

    Onimua Well-Known Member

    Very nice job all around. :)
    You'd be happy to know those sort of things are fixed in Beta 4 as of this past weekend. (y)
  9. Carlos

    Carlos Well-Known Member

    I loved what you did with the navigation - especially the social buttons. :)

    And I like the whole "Author" Add-0n/Mod.

Share This Page