MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Oh I see what you mean.
Thanks for the code suggestion.

(09-23-2014 05:28 PM)Sama34 Wrote: [ -> ]In 1.8 users may be able to delete their own threads. Which works via AJAX for administrators and probably regulars users just see their post go away. Haven't actually tested this so don't take me for granted.
That could be annoying, although MyBB doesn't exactly handle this "correctly" either, if deleting a post needs to bring a new one in from the next page (or fiddle with the pagination links if it needs to).
So maybe I'll put it as a 'meh'.
The MyBB way would be to redirect the user to the correct page/post if it is necessary. If there is only one page then the post just fades away (editing post -> require moderation) and unless it was the first post _xthreads_noreplies_ should be visible again. IMO.

Even so there may not be many cases where this actually happens so I understand why you wouldn't bother.
(09-24-2014 05:23 PM)Sama34 Wrote: [ -> ]The MyBB way would be to redirect the user to the correct page/post if it is necessary.
I'll consider what to do after MyBB fixes this then.
It may be the same - redirect the user, rather than showing it again.
nevermind this crap I totally misread, I need sleep...
$annoucement in announcement template builds from the postbit/_classic template even when postbit_first/_classic exists. Technically it is the first post.

This is causing style issues in my board, nothing than can't be fixed but should probably be considered. PMs should have the same issue I suppose..
:/
I'm not sure I'd consider it a post.  The problem is that announcements don't have custom fields associated with them, which causes issues for those that rely on that.

PMs don't even have a forum association which kinda is outside the scope of XThreads.

The postbit_first feature was only intended to make the first post of a thread different from the rest.  Otherwise, stock MyBB functionality applies.

Maybe a different plugin which pulls different templates for the postbit depending on its type?
Is there anyway to compatiable XThreads to MyBB 1.8 ? I won't upgrade my forum except XThread compatiable with MyBB 1.8 Frown
There is an experimental version on GitHub with 1.8 compatibility fixes.
It's probably fine to use, although I don't officially recommend it at this stage.
(10-28-2014 03:00 PM)ZiNgA BuRgA Wrote: [ -> ]There is an experimental version on GitHub with 1.8 compatibility fixes.
It's probably fine to use, although I don't officially recommend it at this stage.

Thank you. Hope the 1.64 will release soon Yipi
Well from a design point of view it may as well be a post, but I see your point. I will see what I can do about a plugin otherwise Tempalte Conditionals tricks would need to suffice.
Reference URL's