xthread- thread image not working
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #1
xthread- thread image not working
post edited : thread image is working now but is there any option to make firtst attachment to thread image???? and one more thing if all the pics is arranged in proper manner like in last pic then that will be great
hi everyone!!

i want to implement Thread images to my forum but i am not successful can anyone tell me what is the problem???

all the information also shared by pics on attachments and 2nd last pic of my forum after adding this thread field.

my forum: http://studentsuvidha.com/forum/index.php

i am telling what i did:

Title : Thread Image
Key : timg
Description: Max file size: 10 KB. Max image size: 200x200. Min Image Size: 75x75. Image allowed: GIF, JPEG, PNG.
Modify it as our needs. Depends on some settings bellow.
Applicable Forums : Select forum(s) where this will be applied
Input Field Type : File
Valid File Extensions : gif|png|jpeg|jpg
Maximum File Size : 0

Editable by Usergroups : everyone required

Only Accept Image Files : Yes
Minimum Image Dimensions : 75x75
Maximum Image Dimensions : 200x200
Image Thumbnail Generation : 75x75

Display Format :

PHP Code:
<a href="{URL}" target="_blank"><img src="{URL}/thumb75x75" alt="{FILENAME}" title="Click to view this thread image in full size - {$GLOBALS['threadfields']['timg']['dims']['w']} x {$GLOBALS['threadfields']['timg']['dims']['h']}" style="margin: 3px; float: left;" /></a>


after that i added

Quote:{$GLOBALS['threadfields']['timg']['value']}
in front of

PHP Code:
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>



Attached File(s) Thumbnail(s)
                           
(This post was last modified: 01-16-2014 01:09 AM by rkrusty26.)
01-16-2014 12:57 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: xthread- thread image not working
(01-16-2014 12:57 AM)rkrusty26 Wrote:  is there any option to make firtst attachment to thread image????
There is only one attachment in the Thread Image example.

My Blog
01-16-2014 12:14 PM
Find all posts by this user Quote this message in a reply
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #3
RE: xthread- thread image not working
Quote:There is only one attachment in the Thread Image example.

i mean to say if i upload 6-7 pics in attachments then first pic will be thread image or if only 1 pic uploaded in attachment then that will be thread image.

no need to upload thread image seprately

in short: pic in attachment will be thread image
01-17-2014 12:50 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: xthread- thread image not working
(01-17-2014 12:50 AM)rkrusty26 Wrote:  i mean to say if i upload 6-7 pics in attachments then first pic will be thread image or if only 1 pic uploaded in attachment then that will be thread image.

no need to upload thread image seprately

in short: pic in attachment will be thread image
If you're referring to MyBB post attachments, then they are unsupported by XThreads.

My Blog
01-17-2014 09:46 AM
Find all posts by this user Quote this message in a reply
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #5
RE: xthread- thread image not working
(01-17-2014 09:46 AM)ZiNgA BuRgA Wrote:  
(01-17-2014 12:50 AM)rkrusty26 Wrote:  i mean to say if i upload 6-7 pics in attachments then first pic will be thread image or if only 1 pic uploaded in attachment then that will be thread image.

no need to upload thread image seprately

in short: pic in attachment will be thread image
If you're referring to MyBB post attachments, then they are unsupported by XThreads.

oh thats my bad luck... is there any another plugin which can do that?? please tell me if you JapJapJap
01-20-2014 12:59 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: