Salta al contenuto

CMS & Piattaforme Self-Hosted

20.8k Discussioni 100.6k Post

WordPress, Joomla, Ghost e tutti gli altri CMS

  • costo rinnovo blog in wordpress

    Spostato
    6
    scheggia
    0 Votazioni
    6 Post
    1k Visualizzazioni
    Concordo che Netson, Tophost e simili vanno bene per un piccolo sito (diciamo per un massimo di 2000 unici al giorno). Comunque si possono trovare molti hosting, italiani e non, a meno di 50 euro e comunque validi...penso ad Aruba, vhosting, dreamhost. Poi con ognuno di questi qualcuno avrà avuto eperienze negative, ma si sa che sono i rischi del mestiere Dipende un pò dalla fortuna, tipo di sito, applicativi usati, conoscienze, ecc... Wordpress funziona abbastanza bene ovunque, ma assicurati di scegliere un hosting che ti dia spazio e banda sufficienti a quello che devi fare e che abbia una buona assistenza. Per quanto riguarda il rinnovo, di solito il costo è uguale o inferiore al primo acquisto...dipende dall'hosting. Katherine
  • Aggiungere modulo alla bacheca

    3
    darkf3d3
    0 Votazioni
    3 Post
    615 Visualizzazioni
    Perfetto, era esattamente quello che stavo cercando.. grazie mille
  • Ottimizzare un guest post

    Spostato
    2
    bucciamarcia
    0 Votazioni
    2 Post
    1k Visualizzazioni
    Io preferisco metterli a fine articolo, oppure all'inizio con delle frasi fatte del tipo ''Girovagando per il web ho trovato..'' etc. Secondo me rendono molto di più di un link all'interno dell'articolo
  • aggiunta tag p=postid

    Spostato
    1
    valerios
    0 Votazioni
    1 Post
    1k Visualizzazioni
    Nessuno ha risposto
  • Guadagnare con Vbulletin

    Spostato
    3
    b10s1992
    0 Votazioni
    3 Post
    14k Visualizzazioni
    Se tu intendi che vuoi che ogni persona che scrive ha la possibilita' di inserire il proprio codice adsense e quindi guadagnare sui suoi interventi, di chiama Adsense revenue sharing (condivisione guadagni di adsense). Ovviamente entrano in gioco due cose qui': Vbulletin, quindi trovare il modo per poter visualizzare questi ads. E google, con i suoi regolamenti e altro. Puoi farlo in due maniere: Se hai piu' di 500.000 pagine viste al gg puoi avanzare richiesta a google e quindi scaricare uno script che ti consente di visualizzare gli ads degli altri e di condividere i guadagni con loro, ad esempio 10% a te e 90% a loro. Se non hai questi numeri devi farlo alla buona, offrendo loro gli spazi. Il regolamento google non vieta 'inserimento di diversi codicipublisher all'interno delle pagine ma impone delle limitazioni generiche: non piu' di 3 ads di contenuti + non piu' di 3 insiemi di link + non piu' di 2 campi ricerca, per pagina. Inoltre, se qualcuno viene bannato da adsense vengono bannati anche tutti gli altri codici presenti al sito.
  • Avviso di nuovo PM ricevuto su vbulletin

    Spostato
    10
    gabyz
    0 Votazioni
    10 Post
    2k Visualizzazioni
    Puoi impostare questi parametri di default agli utenti che si registrano agendo dal pannello delle opzioni --> opzioni di registrazione utenti. pero' questo si attiva soltanto agli utenti che si registrano dal momento del settaggio in poi, non modifica gli utenti precedentemente registrati Per "forzare" questo settaggio anche agli utenti gia' presenti puoi fare in due maniere: sei un kamikaze che modifichi uno ad uno tutti i tuoi utenti. usi una mass query dal pannello admin cp Io ti sto parlando della versione 4.X non so se quest'ultima funzione esiste anche nella versione 3.X, ad ogni modo la mass query puoi farla anche da phpmyadmin. P.S. prima di scassare tutto, prova in copia locale, fai un backup del db del tuo forum online, mettilo offline, e effettua i test, senno' rischi che fai casini e addio forum
  • Suggerimento suddivisone sezione

    Spostato
    1
    valerios
    0 Votazioni
    1 Post
    726 Visualizzazioni
    Nessuno ha risposto
  • Aggiornamenti vBulletin

    Spostato
    4
    bmastro
    0 Votazioni
    4 Post
    2k Visualizzazioni
    Il fatto che non hai una licenza attiva e' perche' e' scaduta spero (le versioni precedenti alla 4.0 avevano le licenze a tempo determinato, la versione 4.0 invece e' una licenza a tempo indeterminato) si, moltissimi forum girano con versioni precedenti, ma le versioni successive (specialmente l'ultima) hanno delle security patch che ti consiglierei di non sottovalutare
  • Random Image Plugin: modifica

    2
    darkf3d3
    0 Votazioni
    2 Post
    449 Visualizzazioni
    Da quel che sono riuscito a capire la parte di codice predisposta per la modifica dovrebbe essere quella finale, ovvero questa: // select the post_type sql for both post pages (post_status = 'static') // and posts (AND post_status = 'publish') // or for just pages or for just posts (the default) // by adding this where criteria, we also solve the problem // of accidentally including images from draft posts. if ($wp_version < '2.1') { if ($post_type == "both") { $post_type_sql = "AND (post_status = 'publish' OR post_status = 'static')"; } else if ($post_type == "pages") { $post_type_sql = "AND post_status = 'static'"; } else { $post_type_sql = "AND post_status = 'publish'"; } } else { if ($post_type == 'both') { $post_type_sql = "AND post_status = 'publish' AND post_type in ('post', 'page')"; } elseif ($post_type == 'pages') { $post_type_sql = "AND post_status = 'publish' AND post_type = 'page'"; } else { $post_type_sql = "AND post_status = 'publish' AND post_type = 'post'"; } } // assuming $category_filter is a comma separated list of category ids, // modify query to join with post2cat table to select from only the chosen categories $category_filter_join = ""; $category_filter_sql = ""; $category_filter_group = ""; if ($category_filter != "") { if ($wp_version >= '2.3') { $category_filter_join = "LEFT JOIN $wpdb->term_relationships ON $wpdb->posts.ID = $wpdb->term_relationships.object_id LEFT JOIN $wpdb->term_taxonomy ON $wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id"; $category_filter_sql = "AND $wpdb->term_taxonomy.term_id IN ($category_filter)"; $category_filter_group = "GROUP BY $wpdb->posts.ID"; } else { $category_filter_join = "LEFT JOIN $wpdb->post2cat ON $wpdb->posts.ID = $wpdb->post2cat.post_id"; $category_filter_sql = "AND $wpdb->post2cat.category_id IN ($category_filter)"; $category_filter_group = "GROUP BY $wpdb->posts.ID"; } } // by default we sort images randomly, // but we can also sort them in descending date order if ($sort_images_randomly) { $order_by_sql = "rand()"; } else { $order_by_sql = "$wpdb->posts.post_date DESC"; } // query records that contain img tags, ordered randomly // do not select images from password protected posts $sql = "SELECT $wpdb->posts.ID, $wpdb->posts.post_title, $wpdb->posts.post_content, $wpdb->posts.post_excerpt FROM $wpdb->posts $category_filter_join WHERE (post_content LIKE '%<img%' or post_content LIKE '%[gallery]%') AND post_password = '' $post_type_sql $category_filter_sql $category_filter_group ORDER BY $order_by_sql"; $resultset = @mysql_query($sql, $wpdb->dbh); if ($debugging && mysql_error($wpdb->dbh)) print "mysql errors: " . mysql_error($wpdb->dbh) . "<br/> SQL: " . htmlspecialchars($sql) . "<br/>";; if ($debugging) print "elligible post count: " . @mysql_num_rows($resultset) . "<br/>"; // keep track of multiple images to prevent displaying dups $image_srcs = array(); // loop through each applicable post from the database $image_count = 0; while ($row = mysql_fetch_array($resultset)) { $post_title = $row['post_title']; $post_permalink = get_permalink($row['ID']); $post_content = $row['post_content']; $post_excerpt = $row['post_excerpt']; $matches = array(); // find all img tags preg_match_all("/<img[^>]+>/i", $post_content, $matches); if ($show_images_in_galleries) { // find any gallery attachments if (strpos($post_content, '[gallery]') !== false) { $sql = "SELECT $wpdb->posts.guid, $wpdb->posts.post_excerpt FROM $wpdb->posts WHERE post_parent = '" . $row['ID'] . "' AND post_type = 'attachment' AND post_password = '' AND post_mime_type in ('image/jpeg', 'image/gif', 'image/png')"; $resultset2 = @mysql_query($sql, $wpdb->dbh); while ($row2 = mysql_fetch_array($resultset2)) { $matches[0][] = "<img src='" . $row2['guid'] . "' alt='" . htmlspecialchars($row2['post_excerpt'], ENT_QUOTES) . "' />"; } } } // if there are none, try again, if (count($matches[0]) == 0) { continue; } // randomize the array of images in this post shuffle($matches[0]); // loop through each image candidate for this post and try to find a winner foreach ($matches[0] as $image_element) { // grab the src attribute and see if it exists, if not try again preg_match("/src\s*=\s*(\"|')(.*?)\\1/i", $image_element, $image_src); $image_src = $image_src[2]; // make sure we haven't displayed this image before if ($image_src == "" || in_array($image_src, $image_srcs)) { continue; } // if a regex is supplied and it doesn't match, try next post if ($image_src_regex != "" && !preg_match("/" . $image_src_regex . "/i", $image_src)) { continue; } if ($image_class_match != "") { // grab the class attribute and see if it exists, if not try again preg_match("/class\s*=\s*(\"|')(.*?)\\1/i", $image_element, $image_classes); $image_classes = $image_classes[2]; if ($image_classes == '') { continue; } $image_classes = explode(" ", $image_classes); if (!in_array($image_class_match, $image_classes)) { continue; } } // add img src to array to check for dups $image_srcs[] = $image_src; // grab the alt attribute and see if it exists, if not supply default preg_match("/alt\s*=\s*(\"|')(.*?)\\1/i", $image_element, $image_alt); $image_alt = $image_alt[2]; if ($image_alt == "") { $image_alt = "random image"; } $image_html = $image_template_html; $image_html = str_replace("%1", $post_title, $image_html); $image_html = str_replace("%2", "<a href='$post_permalink'><img src='$image_src' alt='$image_alt' $image_attributes /></a>", $image_html); if ($image_alt == 'random image') { $image_html = str_replace("%3", '', $image_html); } else { $image_html = str_replace("%3", $image_alt, $image_html); } $image_html = str_replace("%4", $post_excerpt, $image_html); print $image_html; $image_count++; if ($image_count == $number_of_images) { return; } else { // print a linebreak between each successive image print "$inter_image_html\n"; } // leave the foreach loop and look for images // in other posts // TODO: if people wanted to display multiple images per post, // we would selectively skip this break break; } } } ?> Purtroppo non capisco quale variabile utilizzare per fare il controllo sul formato dell'immagine (ho intenzione di visualizzare solo immagini con rapporto larghezza/altezza = a 1,5).
  • Errore Sintassi php dopo trasferimento da Altervista ad Aruba

    Spostato
    1
    ludj
    0 Votazioni
    1 Post
    2k Visualizzazioni
    Nessuno ha risposto
  • Mouse over

    Spostato
    4
    lelef77
    0 Votazioni
    4 Post
    1k Visualizzazioni
    Hola Cerca per esempio per "tooltip css"
  • Caching Browser

    2
    mitman
    0 Votazioni
    2 Post
    588 Visualizzazioni
    Che tipo di problema ti dà?
  • Plugin Ajax non funzionano

    8
    izzyweb
    0 Votazioni
    8 Post
    1k Visualizzazioni
    Ok grazie Cardy adesso controllo il plugin, la cosa strana è che in un altro sito funziona perfettamente. Comunque faccio anche questo controllo.
  • Ricerca modulo o plugin per guida interattiva semplice

    1
    pozzut
    0 Votazioni
    1 Post
    577 Visualizzazioni
    Nessuno ha risposto
  • [Risolto] Impossibile creare file temporaneo e altri problemi

    7
    nicox
    0 Votazioni
    7 Post
    8k Visualizzazioni
    marty84 No ok ho risolto.... era un plugin non compatibile con la versione nuova di wp Cmq grazie per quello che fate su questo forum che rispondete sempre Marty84 mi puoi dire che plugin non gira più su Wp? Grazie Fabio
  • Nuovo moderatore: Cardy

    14
    giorgiotave
    0 Votazioni
    14 Post
    2k Visualizzazioni
    Sono molto indietro sinceramente... purtroppo in questo momento sono abbastanza impegnato per cui riesco solo a moderare l'area Wordpress a tarda ora (se ci fai caso molti dei miei post sono dopo mezzanotte). Prometto comunque che appena sono un po' più libero mi dedicherò alal realizzazione delle FAQ...
  • cambio lingua drupal

    Spostato
    5
    marcolav
    0 Votazioni
    5 Post
    2k Visualizzazioni
    Perfetto, a disposizione...
  • Post e excerpt dislivello con l'immagine

    4
    bakko88
    0 Votazioni
    4 Post
    664 Visualizzazioni
    Il div in index.php (dipende comunque da che tema usi) dopo excerpt. Il css in style.css.
  • Come ricavare ID categorie?

    13
    marty84
    0 Votazioni
    13 Post
    1k Visualizzazioni
    Grazie della segnalazione marty84.
  • Consigli per plugin per versione mobile

    2
    mrjulio
    0 Votazioni
    2 Post
    499 Visualizzazioni
    Ciao, io sto provando la versione gratuita di WPtouch sul mio blog (www.giapox.it) e devo dire che non è male. Ovviamente la versione free è un pò limitata, quindi se ti interessano personalizzazioni avanzate devi optare per WPtouch Pro che è a pagamento.
Home Accedi Registrati