Home › Forum › Plugin e temi di WP › Foto da Flickr a WordPress
-
AutorePost
-
-
5 Giugno 2007 alle 11:12 #3897docchiaPartecipante
Salve ragazzi
avrei bisogno di un semplice plugin che mi permetta di inserire un tot numero di foto prese random da un account Flickr nella sidebar.
Sapreste consigliarmene qualcuno? Fino ad ora non ne ho trovato neanche uno che faccia esattamente quello che voglio io
Ho provato con Falbum, ma mi restituiva tantissimi messaggi di errore di database e php, argomenti sui quali sono assolutamente ignorante.
Grazie a tutti!
Ciao!
-
5 Giugno 2007 alle 16:58 #44960TraffykPartecipante
Postaci i tuoi errori
-
6 Giugno 2007 alle 13:23 #44966docchiaPartecipante
Ciao Traffyk, questi sono gli errori.
Quando entro nell’area admin, nella sezione dalla quale imposto le opzioni per falbum, quando clicco su salva modifiche mi compare questo errore:
WordPress database error: [Table ‘raggamer63018.rmc_falbum_cache’ doesn’t exist]
DELETE from rmc_falbum_cache
Mentre quando inserisco il codice per le foto random nella sidebar mi compare questo
Fatal error: Call to a member function on a non-object in /home/mhd-01/www.raggameridional.com/htdocs/wp-content/themes/rmc/sidebar.php on line 13
Come posso risolvere?
Ne conoscete qualche altro?
Grazie
-
6 Giugno 2007 alle 13:55 #44968TraffykPartecipante
Seguito tutte le istruzioni di questo wiki?
Soprattutto nella parte dopo l’attivazione del plugin dice che devi andare in opzioni e poi Falbum per completare il setup. Evidentemente non ti avrà caricato le tabelle nel database, se l’errore continua probabilmente il plugin non è ancora compatibile con wp 2.1 e 2.2 in effetti dice chiaramente in home che è richiesta la scrittura di una guida per la 2.1.
Il codice da inserire è:
<?php echo $falbum->show_random(4,'',1,'s');?>
e in alto nella guida dice espressamente che devi avere il plugin nel percorso wp-content/plugins/falbum/falbum.phpDi più cosଠnon saprei dirti, al massimo fammi sapere e provo a testarlo per il mio blog.
-
6 Giugno 2007 alle 18:18 #44977docchiaPartecipante
Ciao Traffyk, grazie per avermi risposto.
Ho effettuato uno ad uno tutti gli step descritti nella guida all’installazione, ma niente.
Il primo errore che ho postato, mi compare proprio dopo aver impostato le opzioni del plugin,
mentre il secondo mi compare quando inserisco il codice
<?php echo $falbum->show_random(4,'',1,'s');?>
nella sidebar.Il percorso del plugin è quello che hai postato tu, quello “standard” diciamo. L’unica cosa che mi viene da pensare è che non sia compatibile con la versione 2.2
Ci sono alternative o pensi che sia possibile risolvere questo problema?
Grazie mille ancora!
-
7 Giugno 2007 alle 1:48 #44984TraffykPartecipante
Io credo che bisogna aspettare un nuovo rilascio a questo punto. Nei commenti una ragazza dice di avere il tuo stesso problema, come se questa benedetta classe non esistesse(o magari è stata rinominata e la guida non è aggiornata):
http://www.randombyte.net/blog/2007/04/29/falbum-070/#comment-19549
Ancora nessuna risposta da allora, ti consiglio di tener d’occhio la discussione;)
-
7 Giugno 2007 alle 10:33 #44989docchiaPartecipante
non ne conosci altri?
quello che serve a me è molto semplice, 5 o 6 foto random da flickr nella sidebar, ne vedo tanti blog con questa funzionalità !!!
-
7 Giugno 2007 alle 19:52 #45001TraffykPartecipante
Non ho mai usato una galleria in wordpress. Comunque puoi chiedere ai blog che hanno la funzionalità che plugin usano cosଠsicuro ne avrai uno che farà quello che vorrai;)
-
22 Luglio 2007 alle 11:39 #45779mtbPartecipante
quello che serve a me è molto semplice,
5 o 6 foto random da flickr nella sidebar
Basta mettere lo script generato quando sei loggato in flickr da http://www.flickr.com/badge.gne
e copiarlo nella sidebar, oppure prelevi solo lo script e lo inserisci con un tuo stile predisposto nel file style.css del tuo tema.
Se il tuo tema supporta i widgets, invece di copiare il codice in sidebar.php, puoi copiarlo in un blocco TESTO e posizionarlo cosଠdove vuoi.
Esempio:
questo è il codice dove, al posto di 0000000000000, ci sarà il tuo codice di flickr, da mettere nel file del tema in sidebar.php nella posizione giusta oppure in un Testo dei widgets
<h2>Il mio Flickr</h2>
<div class="flickr">
- <script type="text/javascript" src="http://www.flickr.com/badge_code.gne?nsid=00000000000000000&count=6&name=1&size=square&raw=1"></script>
</div>'
Se usi il codice scritto sopra, questo potrebbe essere lo style da mettere in style.css
.flickr { margin-bottom: 5px;margin-top: 5px;padding: 1px; border: solid 1px #eee;}
.flickr img { background:#fff; padding:4px 4px 4px 4px; border:#f2f2f2 1px solid; }
.flickr ul { padding: 10px 0px; margin: 0px;}
.flickr ul li { padding: 2px; margin: 3px 3px 3px 3px; list-style-type: none; display: inline;}
.flickr li { padding: 0px; margin: 3px 3px 3px 3px; list-style-type: none; display: inline;}
.flickr li a img { background: #eaeaea; padding: 1px; border: solid 1px #faa819;
margin-bottom: 5px;}
.flickr li a:hover img { background: #fff; padding: 1px; border: solid 4px #eee; margin-bottom: 5px;}
`
Un’alternativa è creare una pagina del blog con il codice che si genera da http://www.slideflickr.com/.
-
4 Settembre 2007 alle 16:57 #46495KiauraPartecipante
Ciao,
ho letto la tua spiegazione molto chiara ed esauriente…ma con il mio blog non funziona niente di tutto ciò!!! Ho anche provato a cambiare tema per vedere che non ci fosse qualche problema in quel senso…ma niente!!! Come posso fare?
Grazie
-
7 Settembre 2007 alle 7:51 #46561zr7sPartecipante
Ciao,
non so, ma hai inserito nella pagina
<?php
global $falbum;
?>
Ciao
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.