• XThreads Attachments Gallery
  • Uploader:leefish
#1
This will pull the first thumbnail from each thread in the forums you specify in the settings in the ACP.
This means that you need to be careful what picture you upload first. Options in the settings are the forums you want to get the pictures from and the number of pictures you want to show.
If you have a specific XThreads custom field containing pictures that you want to show, then let me know by replying here - give the KEY of the field.

If the templates dont update automatically add the variable {$fishhattachment_gallery} where you want it to show in your templates.

You can see the gallery on the front page of leefish - its the fresh fish attachment gallery. The BIG gallery with the ajax updates is my special one for leefish Smile - its not really suitable to share as its all hardcoded.

NOTE: This is designed to work on portal - for proportal please see XThreads Gallery on Pro_Portal

Screenshots
XThreads Attachments Gallery Screenshot    
Download link
Filesize 2.3 KB | File Name Attachmentsgallery.rar | # of Downloads 350  
Comments
#21 20-04-2014 
is the plugin installed? Is XThreads installed?

#22 20-04-2014 
Yes. I install XThreads and your plugin

#23 20-04-2014 
Have you enabled the plugin in ACP? Have you selected a forum where the images are stored? Have you said you want it to show on portal?

You do need XThreads images to be uploaded for the gallery to show them.

#24 20-04-2014 
@noiredeb Mi ha detto leefish che potevo rivolgermi a te essendo italiano, e probabilmente mi avresti risposto per un piccolo aiuto. Mi ha risposto "You haventgot any custom thread fields set up", quindi per far funzionare il plugin cosa dovrei fare oltre ad aver installato xthreads e il suo plugin?

#25 20-04-2014 
@Meadp: ciao, devi impostare le voci su "Custom Thread Fields", fai "Add Thread Field" e devi poi configurare le varie voci, dipende cosa devi fare, se permettere l'upload di un'immagine, un testo o altro..spiegami meglio cosa devi fare.

Se ad es. è un'immagine fai:
Title: titolo es. immagine di anteprima
Key: myimg
Applicable forums: in quale forum vuoi che gli utenti usino questa funzione
Hide Thread Field: selezionali tutti per ora
Input Field Type: file
Valid File Extensions: gif|png|jpg|jpeg
Maximum File Size: la massima dimensione che accetti per caricare un'immagine
Only Accept Image Files: Sì
Image Thumbnail Generation: le miniature, es. 400x400

e salva.

Poi nel postbit, newthread ed editpost devi aggiunger la chiave per far apparire questa voce:

in postbit: <img src="{$GLOBALS['threadfields']['myimg']['url']}/thumb400x400" width="{$GLOBALS['threadfields']['myimg']['thumbs']['400x400']['w']}" height="{$GLOBALS['threadfields']['myimg']['thumbs']['400x400']['h']}" alt="" />

in newthread ed editpost: {$tfinputrow['myimg']}
(This post was last modified: 20-04-2014 07:47 PM by noiredeb.)

#26 20-04-2014 
Ciao, innanzitutto grazie per la risposta e buona pasqua (anche se ormai tardi)

Da quel che ho capito da questo plugin, permette di inserire le ultime x immagini presenti in ogni discussione di un forum, come lo slider degli ultimi articoli su wordpress, o sbaglio?

Io volevo semplicemente, sfruttando questo plugin, creare una galleria slide (con l'aggiunta di questa modifica: http://mybbhacks.zingaburga.com/showthre...tid=1209), con le ultime discussioni, mostrando la prima immagine della discussione di un forum specifico, è quello che fa il plugin, giusto?

Grazie anticipati

#27 21-04-2014 
Ciao, buona Pasqua anche a te.

Intanto devi avere Latest Attachment Gallery http://mods.mybb.com/view/latest-attachment-gallery perché con questo puoi ottenere le ultime immagini da un preciso forum, solo utilizzando il sistema di caricamento allegati di Mybb.

Per le immagini vuoi le ultime caricate tramite allegati di Mybb o Xthreads? esempio dal forum X gli utenti caricano le immagini tramite allegati direttamente sul forum, senza usare Xthreads?

#28 21-04-2014 
In pratica volevo tramite gli allegati di XThreads, sfruttando questo plugin, mostrare uno slider di queste immagini. Avevo già visto quel plugin, ma l'unico problema è che accetta un solo forumfid e non permette di inserire più forumfid.

Gli allegati di XThreads come funzionano?

#29 21-04-2014 
Ok, allora questo plugin funziona con xthreads..xthreads è quello che ti ho spiegato qui: http://www.leefish.nl/mybb/showthread.ph...0#pid25520
Con xthreads puoi creare varie cose, nuovi campi di testo, liste o caricare immagini. Il plugin di Leefish funziona con xthreads e accetta più forumid.
Puoi scegliere i forum id (es. 3,2,4), il numero di thumbnails da mostrare e dove mostare la gallery.

Poi fai come dicono in questo thread: http://mybbhacks.zingaburga.com/showthread.php?tid=1209 , dovrebbe funzionare.

#30 21-04-2014 
Ok, devo aver capito, stasera provo: in poche parole creo un upload image con xthreads come mi hai spiegato nel post precedente, in una discussione carico un immagine sfruttando quell'upload e l'immagine dovrebbe comparire. Oggi provo e ti faccio sapere

Grazie ancora Smile


Sorry, that is a members only option