MyBB Hacks

Full Version: XThreads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Try to upgrade your PHP In Template plugin to the newest version?
OH, Thanks you  RateU. and am sorry because my questions
(04-17-2011 02:31 AM)Gypaete Wrote: [ -> ]and am sorry because my questions

No, no, no. It's OK, Gypaete Smile

Glad you can solve your problem Smile
Up Xthreads!
oh i have a little, sneaky bug

when a thread field is required (Multiline Textbox) and the user doesn't specified anything on it, of course an error will appear saying that field is required BUT the field will be filled with the word Array and ofc, some users will just hit the post thread again, they don't mind that, wherein ending up with Array as that field's value

is that normal?? its getting weird Frown
No it shouldn't be doing that.  I haven't been able to do it but I don't doubt you.
Would you mind posting all the settings/options of the threadfield you're referring to?
Thanks.
well it applies to all my threadfields with Multiline Textbox in thread thread inputs D:

well here is the setting of one of the multiline textbox

Title: Importing the Model
Key: modfd_impt
Description: Add some informations on how to import the model such as the texture paths. One per line.
Applicable Forums: ofcourse more than one forums Smile
Input Field Type: Multiline Textbox
Max Text Length: 0
Field Input Width: 40
Field Input Height: 5
Editable by: Everyone (required)
Display Parsing: Plain Text with newlines
Display Order: 5
---
Blank Replacement Value: N/A
Default Value: N/A
Display Format: {VALUE}
Allow multiple values for this field: Yes
Multiple Value Delimiter *: <br/>
Display Item Format: {VALUE}
Text Mask Filter: Anything

AND the rest is blank/none selected Biggrin
they are just the same, only the key/title/desc is different
edit:
oh and the other multiline box isn't required

currently, i have 2 multiline textbox threadfield in some specific forums which the problem counts in, where one of those has this setting, and the other one isn't Required to have a value and that field which doesn't require a value comes first before the said field above
sorry if i'm kinda double post but can I suggest if xthreads will also be cache ?? like including in your preparser cache or mybb's cache system, adding it to the cache folder Biggrin
i just want to cache images, since big images seems to takes time to download D: and according to google's page speed plugin, it is cache only by 1 second D:

is that possible?
Sorry for the late reply.  I've been away for a while.
And thanks for all the details.  I've managed to reproduce the issue and I'll take a look at it.

(04-25-2011 09:43 PM)jim7777 Wrote: [ -> ]can I suggest if xthreads will also be cache ?? like including in your preparser cache or mybb's cache system, adding it to the cache folder Biggrin
i just want to cache images, since big images seems to takes time to download D: and according to google's page speed plugin, it is cache only by 1 second D:

is that possible?
I'm not sure they're exactly the same thing.  Preparser cache is a server side cache, whereas Google's page speed plugin is probably looking at client caching.  XThreads' attachments should be properly cached, though I'm not sure what the "big images" are from (if they are externally linked, then XThreads doesn't have any control over them).
Would you be able to emphasise a bit more on these big images?
Thanks.

EDIT: okay, I think this should be able to fix it - could you please confirm?
Replace your inc/xthreads/xt_updatehooks.php with the following
Thanks again for finding and reporting the bug Smile
(04-25-2011 09:54 PM)ZiNgA BuRgA Wrote: [ -> ]I'm not sure they're exactly the same thing.  Preparser cache is a server side cache, whereas Google's page speed plugin is probably looking at client caching.  XThreads' attachments should be properly cached, though I'm not sure what the "big images" are from (if they are externally linked, then XThreads doesn't have any control over them).
Would you be able to emphasise a bit more on these big images?
Thanks.
those images that are uploaded via xthreads (the file upload type which only allows images)
gonna test that one

EDIT:
that file fixed the Array problem Biggrin
oh 1 question, if a thread is deleted, is the Xthread files included in that thread will be deleted too??
Reference URL's