Hi Zinga!, i have a doubt , i created a template "sidebar_content" how i can call a custom template in postbit_first with {$custom_sidebar}? i added this code in xt_sthreadhooks.php but not working
PHP Code:
add eval('$custom_sidebar ="'.$templates->get('sidebar_content').'";');
|
I don't know in which part you add the code in xt_showthread.php.
If you already globalized the $custom_sidebar, try using {$GLOBALS['custom_sidebar']} in your postbit_first template.
Personally, I prefer to use separated plugin to do that than sticking it inside XThreads files.
Hello everyone ,
I did the installation ,the folder "upload" is on my server , then i found the in ACP (plugins) and activate XThreads .
Should I open any php page (for example --->myforum.com/forum/xthreads_attach.php and i have a msg "No parameters specified.")
Which is my next step ?
Thank you very much!
Hi Zinga Burga.
I have a Formatting Map List set for a field like so:
Code:
1{|}Espantoso
2{|}Horrible
|
Now within Display Format we can use {VALUE} and {RAWVALUE}, but could there be a way to display the mapping value? So instead of "1" or "2" it would output "Espantoso" or "Horrible"?
Hi.
I was recently updating some file image fields and I noticed that the "Rebuild XThreads Attachment Thumbnails" tool isn't working as intented or I misunderstood its purpose.
I updated the "Image Thumbnail Generation" to update some resize thumbnails that weren't working as intended. However, running the tool after updating these didn't rebuild the thumbnails and I had to directly edit each thread so that the script would update them.
I tried directly updating one thread to be sure the thumbnail specs were as desired, after achieving so I ran the tool expecting for all necessary threads to update their thumbnails. However that wasn't the case and I had to update each individually.
Any ideas about this? I may be confusing the tool expected behaviour.
When guests try to fill in X-Threads they tend to get this error message:
Code:
Warning [2] Attempt to modify property 'data' of non-object - Line: 121 - File: inc/xthreads/xt_updatehooks.php PHP 7.2.29-he.0 (Linux)
|
This seems to be this line in the named php:
Code:
$ph->data['xthreads_'.$k] = $v;
|
Has anyone had the Problem and found a solution?
Or was the solution in this case to add the default value of NULL in the threadfields (or threadsfields_data) table?
EDIT: The value NULL was set. It's still not working though and I still get the error message....
It seems like MyBB adds a string if the post message is empty so the "Allow blank post messages" setting no longer works as expected I suppose.
While upgrading from 1.67 to 1.68, it show following error.
Please help.
I have PHP 7.1 and Mybb1806.
Thank you.
[
attachment=1302]
2... I not able to see any field to edit thread fields.
Please help.
[
attachment=1303]