Well, whatever suits you, but there are known problems with the release version of 1.63 on MyBB 1.8, which is why I suggest trying the development version.
Thanks for testing it out nonetheless.
This is the day that I feared would come after I decided to extremely customize my forums! Now I feel locked into MyBB 1.6 for ever.
Sorry my Frends...
Come this very best Tool for mybb from 1.8? i have downloading from Gifhub and testing on 1.8.0
I'm on 1.8 atm, I hope that we will have this forum with his plugins upgraded by the time~
Hi, today I have upgraded mybb to 1.8 and installed xthreads from Github.
Then I have uploaded files in /uploads (201210,201211 etc), but Custom Thread Fields with "Upload file or image from PC or from Url" seem don't work
Other Custom Thread Fields (for example I use it for insert a link, text etc) instead seem work.
Images there aren't but I have uploaded folders in /uploads folder.
And in forumdisplay_threadlist (I use an image of preview with xthreads) I have many errors like:
Quote:Si sono verificati i seguenti errori:
Warning [2] Illegal string offset 'value' - Line: 16 - File: forumdisplay.php(1301) : eval()'d code PHP 5.4.4-14+deb7u14 (Linux)
File Line Function
/forumdisplay.php(1301) : eval()'d code 16 errorHandler->error
/forumdisplay.php 1301 eval
Warning [2] Illegal string offset 'value' - Line: 16 - File: forumdisplay.php(1301) : eval()'d code PHP 5.4.4-14+deb7u14 (Linux)
File Line Function
/forumdisplay.php(1301) : eval()'d code 16 errorHandler->error
/forumdisplay.php 1301 eval
Warning [2] Illegal string offset 'value' - Line: 16 - File: forumdisplay.php(1301) : eval()'d code PHP 5.4.4-14+deb7u14 (Linux)
File Line Function
/forumdisplay.php(1301) : eval()'d code 16 errorHandler->error
/forumdisplay.php 1301 eval
Thank you in advance, sorry for my bad English
(10-05-2014 06:57 AM)nier3 Wrote: [ -> ]Then I have uploaded files in /uploads (201210,201211 etc)
What do you mean by that?
You shouldn't need to upload anything as the files should already be there.
Did you do a completely new installation or similar? Or did you uninstall XThreads at any time?
If the answer is yes to either of those, you probably lost all of your attachment information, which would lead to the errors you're posting.
Hi, sorry, it was me being a noob question. Upgraded to 1.8 (reinstalled and reuploaded all 1.8 forum files) and all is fine, sorry.
Xthreads seems works very well
all ok for this.
A question: how can I do to work this code? If a Thread Field is empty then appears another image:
PHP Code:
<if ($GLOBALS['threadfields']['portalimg']['url']['value']) == " " then>
<a href="{$GLOBALS['threadfields']['link']}" target="_blank"><img src="http://img.bitpixels.com/getthumbnail?code=71632&size=200&url={$GLOBALS['threadfields']['link']}" /></a>
<else>
<img src="{$GLOBALS['threadfields']['portalimg']['url']}/thumb400x400" width="{$GLOBALS['threadfields']['portalimg']['thumbs']['400x400']['w']}" height="{$GLOBALS['threadfields']['portalimg']['thumbs']['400x400']['h']}" alt="{$thread['subject']}" />
</if>
|
- If "portalimg" Thread Field is blank (user no added image) then to use thumbnails from bitpixels;
else
- To use "portalimg" Thread Field (if user uploads an image with xthreads thread field)
But error in showthread:
Thank you very much, sorry for English
How about setting a default output image for that field?
^ What he said, or if you need it in templates:
HTML Code
<if !$GLOBALS['threadfields']['portalimg']['url'] then>
<a href="{$GLOBALS['threadfields']['link']}" target="_blank"><img src="http://img.bitpixels.com/getthumbnail?code=71632&size=200&url={$GLOBALS['threadfields']['link']}" /></a>
<else>
<img src="{$GLOBALS['threadfields']['portalimg']['url']}/thumb400x400" width="{$GLOBALS['threadfields']['portalimg']['thumbs']['400x400']['w']}" height="{$GLOBALS['threadfields']['portalimg']['thumbs']['400x400']['h']}" alt="{$thread['subject']}" />
</if>
|