XThreads
Author Message
My Spiel
XThreads is one of my larger plugins which I have been working on for a while.  Originally planned to release it inline with MyBB 1.6, but who knows when that'll be out.  It perhaps doesn't include everything I wanted it to, but does have most of the things (plus I want to move onto other projects).

What does it do?
Take a look at RateU's forum for some nice ideas of what it can do.  I also have some more basic examples here of what can be done with XThreads.  I'm pretty sure there are many other applications of this plugin, but those examples just give you some simple ideas.

The basic idea is giving you the ability to define custom fields for your threads, and providing methods to give you a lot of flexibility with customising forums.

Warning: I'm not going to bother with "beta" labels and so on.  I've done some testing on this myself, but it's by no means extensive.  Use this at your own risk.

Installation Instructions: standard installation procedures apply - you can find them in the announcement here.
You may need to CHMOD the uploads/xthreads_ul/ folder to 0777 after uploading the files (probably won't though).

Upgrade Instructions: unless stated otherwise, the general procedure for upgrades is to simply upload the new files, then visit your AdminCP.  In there, you'll be presented with a notice to run the upgrade - just follow what it says from there on.

Usage Instructions: this is a complex plugin, and unfortunately, you're probably going to have to figure this out yourself, depending on what you want to achieve with this plugin.  HTML and CSS knowledge is strongly recommended; you should also be familiar with MyBB's template system.  Some demonstrations can be found here - hopefully these will give you a good idea of how things work.  I suggest looking at the thread descriptions example, as this is fairly easy to understand (IMO).  If you can understand how everything works, there, perhaps try out the gallery example.

Known conflicting plugins
- MyPlaza Turbo -
If you are using MyPlaza Turbo, note that the author decided to use a particularly odd method to implement certain functionality, practically destroying compatibility with any plugin which hooks into the forum add/edit routines.  I've included a patch to address this issue - you need to replace inc/myplaza/myplaza_admin_plugin.php with the following file (it's unlikely that this will be committed as the author has decided to discontinue development)

.php  myplaza_admin_plugin.php (Size: 56.27 KB / Downloads: 1398)

- PL9 Forum Icons -
Affects certain functionality.  See here for a solution.

- PHP in Templates, v1.4 or older -
Similar to PL9 Forum Icons - solution is just to update to the latest version.

- MyAdvertisements - (update: older versions only, later versions may not conflict)
Affects some thread functionality, see here for a solution.

- Group Post CSS -
See here http://mybbhacks.zingaburga.com/showthre...17#pid5917

All bug reports, suggestions, criticisms are appreciated (though I may not always implement suggestions) so please feel free to post them.
If you find this plugin useful, I would be grateful if you could give some token of appreciation for the work that has gone into this, and perhaps post some example usages you've come up with in the XThreads forum to help others get an idea of what can be achieve with this plugin (and for my own interest's sake Tongue).


Github: https://github.com/zingaburga/XThreads-MyBB-Plugin
Note: do NOT use the Github version, unless you know what you're doing
Changelogs: v1.10, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.30, v1.31, v1.32, v1.337, v1.40, v1.41, v1.42, v1.43, v1.44, v1.45, v1.46, v1.47, v1.50, v1.51, v1.52, v1.53, v1.60, v1.61, v1.62, v1.63, v1.64, v1.65, v1.66, v1.67, v1.68
(This post was last modified: 12-25-2015 12:46 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: xthreads-1.68.7z (114.53 KB)
Plugin Version: 1.68
Last Updated: 12-25-2015, 12:46 PM

Downloads: 7,193
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
Sama34 Offline
Senior Member
****
Posts: 476
Joined: May 2011
Post: #521
RE: XThreads
Then it is weird that it detects news_postbit_classic_first, will check for plugins that may conflict.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
03-18-2012 01:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
lookingtok Offline
Junior Member
**
Posts: 6
Joined: Mar 2012
Post: #522
RE: XThreads
helo zinga..
i have some problem with xthread
i have follow instalation step, check plugin conflict, etc
but after i install xthread, in my ACP showing Custom Thread Field, but not showing xthread option
i'm using mybb 1.6.6
this is my plugin
-News Message (1.3)
-Date of Birth on Registration (0.4)
-Advanced Spoiler (1.0)
-Thank You/Like System (1.5)
-Advanced WYSIWYG Editor (1.2.1)
please help me for this

thanks


solved........... i found it on 'edit forum' Biggrin

**this plugin is best of the best, awesome
(This post was last modified: 03-20-2012 06:26 PM by lookingtok.)
03-20-2012 06:08 PM
Find all posts by this user Quote this message in a reply
jim7777 Offline
Junior Member
**
Posts: 41
Joined: Nov 2010
Post: #523
RE: XThreads
Any update that will make custom XThread templates to only load when needed?
ohh and something that will allow me to hook XThread downloads/fields in a separate custom page
03-30-2012 12:45 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*******
Posts: 1,009
Joined: Apr 2010
Post: #524
RE: XThreads
I don't know about the templates loading, I am not sure how much impact it is really having, but I used a workaround to get all my uploads from various forums to work on one page.

You can see it here : http://www.leefish.nl/mybb/browse.php

It uses a copy of the portal.php and all the displayed items are portal_announcements. The disadvantage of this approach is that I cannot use my portal_announcements templates on my portal anymore (significantly different design) but I was able to use some of the filters in my page.

This thread shows how I did it >>  http://mybbhacks.zingaburga.com/showthread.php?tid=910

Please note the comments made by ZingaBurga re custom threadfields  needing to be enabled.


[Image: leelink.gif]
MYBB1.6 & XThreads
03-30-2012 01:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #525
RE: XThreads
(03-30-2012 12:45 AM)jim7777 Wrote:  Any update that will make custom XThread templates to only load when needed?
Care to explain?
MyBB caches all templates it may or may not use on each page.  XThreads merely tags onto it, so it could be loading more templates than it needs to, if that's what you're asking about.  There's not really a solution to this.

(03-30-2012 12:45 AM)jim7777 Wrote:  ohh and something that will allow me to hook XThread downloads/fields in a separate custom page
There's no hooking because they simply won't be there.  You need to query for them to be pulled across.

My Blog
03-30-2012 08:00 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*******
Posts: 1,009
Joined: Apr 2010
Post: #526
RE: XThreads
I am having a problem upgrading my XThreads. I am running on mybb 1.6.3 (I have another plugin that is not 1.6.4+ compatible, so waiting for that) but I cannot get the upgrader text to go away. I go to my plugins list in ACP and I see the warning message about installing a new version and needing to upgrade. So I click it and it goes green and says successfully upgraded. I go to another page in ACP and it is back. It is showing on every page of the ACP.

I was looking at the cache manager for another thing, and I noticed I have no XTForums cache. Is this normal?

I have to admit I have been a tardy upgrader - in the ACP PluginList it said I was on 1.41 version of XThreads before I added the 1.47 files.


[Image: leelink.gif]
MYBB1.6 & XThreads
04-01-2012 01:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #527
RE: XThreads
Ensure that your cache directory is writable, including all files in it.

My Blog
04-01-2012 09:02 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*******
Posts: 1,009
Joined: Apr 2010
Post: #528
RE: XThreads
Aha - thank you.


[Image: leelink.gif]
MYBB1.6 & XThreads
04-02-2012 04:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ShadowKyogre Offline
Junior Member
**
Posts: 5
Joined: Apr 2012
Post: #529
RE: XThreads
This is a very good plugin and I've used some of the example applications for it on my forum. I have one question though: the other fields have the ability to take multiple values while the file field doesn't allow multiple values for a field. Is there a reason you designed the file field this way?
04-04-2012 08:42 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #530
RE: XThreads
A multi-file input field is somewhat more difficult to implement.
It's definitely something I've considered though, as there's plenty of places where it could be useful.

My Blog
04-04-2012 12:44 PM
Find all posts by this user Quote this message in a reply


Forum Jump: