• 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
#31 21-04-2014 
Sì, è un altro "sistema". Prima devi settare i fields (i campi) come ho scritto nel post con le istruzioni.
Io utilizzo xthreads per molte cose, come per caricare immagini, aggiungere link, creare categorie (listbox). All'inizio può sembra piuttosto complicato ma bisogna prenderci la mano Big Grin
Segui anche le guide che ci sono su xthreads: http://mybbhacks.zingaburga.com/showthread.php?tid=559 ci sono vari esempi

Per es. il codice {$tfinputrow['myimg']} è per aggiungere la voce su newthread/editpost. Dopo averlo aggiunto vedrai il campo per caricare nuove immagini come qui: http://www.leefish.nl/mybb/newthread.php?fid=4

#32 25-04-2014 
Scusa per il ritardo, ma ho avuto qualche imprevisto. Ho provato tutto come dici, ma mi è sorto un dubbio, questa riga che mi hai indicato a cosa serve?

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

Provando, l'immagine finalmente compare ma non si visualizza: http://pdsf00sdk.altervista.org/upload/portal.php

In pratica, aprendo l'url dell'immagine in una nuova scheda e rimuovendo la parte finale dopo la barra (compresa la barra), l'immagine si visualizza. Sai a cosa è dovuto?

Saluti e grazie
(This post was last modified: 26-04-2014 07:10 PM by Meadp.)

#33 28-04-2014 
Ciao, perché sul portale credo ci sia un'altra cosa. Devi prima capire come funziona Xthreads, sennò sarà sempre difficile.

Prova con questo codice per far visualizzare:

<img src="{$mybb->settings['bburl']}/{$GLOBALS['threadfields']['myimg']['thumbs']['240x180']['url']}" alt="{$thread['subject']}" title="{$thread['subject']}" />

e modifica myimg con il value del tuo campo ovviamente. E modifica anche 240x180 con la misura che hai scelto te per le immagini.

Purtroppo non capisco cosa stai provando a fare Sad (sono mezza noob anche io Big Grin ) e non avendo sott'occhio template e codice non riesco, anche perché io sto usando un'altra versione di questo slider, personalizzata da Leefish che non posso divulgare, da come mi ha detto lei.

Domani con calma proverò questo plugin su un forum di test e ti dico come fare.

#34 01-05-2014 
Forse ho capito il problema, riprendo la discussione tra un paio di giorni, che ho avuto qualche problema con il PC

Grazie per la pazienza

#35 25-04-2016 
  • Registered
  • 0
  • 5
pls I need the plugin for that sliding gallery on the index page
..
.
.pls help

#36 25-04-2016 
Hello Dust - the front page gallery is NOT a plugin. I made it for leefish using javascript and template edits. If you want it, it is for sale Smile

#37 26-04-2016 
  • Registered
  • 0
  • 5
How much does it cost boss?


Sorry, that is a members only option