This is kinda a useless example, but does show a few XThreads' features. Following this will give you something similar to the
blog example here.
I've also added some additional comments in
gray to explain the reasoning behind some parts.
- After activating XThreads, add a new forum which will be used as the blog forum. Use the following XThreads options when adding this forum:
Template Prefix: blog_ [this will allow us to pull different templates for this forum]
Show first post on every showthread page: yes
- Add this forum's ID to the list of forum IDs pulled for the portal page
- Go to AdminCP -> Templates & Style -> Templates -> Global Templates and add the following templates (title with code):
blog_forumbit_depth2_forum [this will cause the forum to directly link to the portal page (rather than go through a forum redirect) - note that this may make posting new threads more difficult; you can still do it by navigating to the forum via the forum jump dropdown, but yes, this is perhaps not ideal (it's designed more for demonstration here)]
blog_forumbit_depth2_forum_lastpost [a problem with this is that if there isn't a post in this forum, the "Never" line won't look right; it's hard coded in MyBB, and no easy solution unfortunately, but shouldn't be a big issue on most forums]
blog_postbit
blog_postbit_first and blog_postbit_first_classic
blog_postbit_first_iplogged_hiden
blog_postbit_inlinecheck
blog_postbit_iplogged_hiden
blog_showthread
blog_showthread_noreplies
- Go to your blog forum and check that everything works correctly.
Again, kinda stupid, but might show you some things. And I know there's a number of problems with this example, including me being a crappy HTML/CSS designer.
Hope this was useful to someone.