• User

    Sì, in questo modo almeno non ci sono i parametri 😉


  • User

    risolto, è bastato aggiungere un semplice {SEO_BASE_HREF}


  • User

    questa info può essere utile a tutti, sopratutto in questo forum:

    dopo aver installato questa mod, i google bot e i yahoo bot sono presenti 20 ore al giorno sul forum, mentre prima comparivano ogni 2 giorni e per pochissimo tempo

    direi che il nuovo motore phpbb3 associato a questa mod fornisce un risultato seo fenomenale


  • User

    wau, questa è una bellissima notizia!!!
    W phpbb 😉


  • User

    Posso upgradare il mio phpbb2 al 3?
    è difficile/impegnativo?

    Grazie 🙂


  • Super User

    Ciao greywolf,
    utilizzando la procedura spiegata nel file readme di phpbb3 non ci dovrebbero essere problemi 😉


  • User

    Ok. Torno in argomento.
    Ho installato phpbb3 con successo: ora vorrei aggiungere anch'io la mod in questione, ma ho due domandine per voi:

    1. qual'è la versione adatta alla mia release 3.0.RC4?

    2. funziona anche con altri temi che non siano prosilver o subsilver?


  • Super User

    Se non erro la mod va bene, con gli accorgimenti dovuti, a tutte le versioni di phpbb3. Per la questione dei temi è la stessa cosa, credo. I files da modificare, almeno quelli "base", dovrebbero essere sempre gli stessi 😉


  • User

    in effetti nella template che uso manca un file .js indicato come da modificare;
    probabilmente può anche essere "saltato"...
    cmq ora provo e vi faccio sapere.


  • User

    Ho notevoli problemi nell'installazione di questa mod:

    I codici degli script originali sono confusi, non ordinati in modo leggibile, in colonna. Per ogni modifica il rischio di errore è elevato.

    Avete qualche consiglio?
    Voi come avete fatto ad installarla senza problemi?
    e quanto tempo avete impiegato?


  • User Attivo

    Io ci ho impiegato 15 minuti.. ho solo seguito quello che diceva il .txt di guida. ricordati che devi modificare anche l'htaccess della root. 😉


  • User

    Ma i codici degli script erano ordinati o confusi??

    Io cimetto un quarto d'ora a script!!!

    Come fai a fare così presto??


  • User

    Ok.

    Ora sono arrivato ad editare questo file, che nel mio template NON c'è (uso un template etech):

    #-----[ OPEN ]------------------------------------------

    styles/prosilver/template/**forum_fn.js **(nel template etech l'unico file .js si chiama "editor")

    #-----[ FIND ]------------------------------------------

    function jumpto()
    {
    var page = prompt(jump_page, on_page);

    if (page !== null && !isNaN(page) && page > 0)
    {
    document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
    }
    }

    #-----[ REPLACE WITH ]------------------------------------------

    // http://www.phpBB-SEO.com SEO TOOLKIT BEGIN
    function jumpto()
    {
    var page = prompt(jump_page, on_page);
    var seo_ext_html = '.html';
    var seo_ext_htm = '.htm';
    var seo_ext_slash = '/';
    var seo_delim_start = '-';
    if (page !== null && !isNaN(page) && page > 0)
    {
    base_url = base_url.replace(/&/g, '&');
    if ( ((page - 1) * per_page) > 0 ) {
    if (base_url.indexOf(seo_ext_html) >0 && base_url.indexOf('?') < 0) {
    document.location.href = base_url.replace(/.html/, '') + seo_delim_start + ((page - 1) * per_page) + seo_ext_html;
    } else if (base_url.indexOf(seo_ext_htm) >0 && base_url.indexOf('?') < 0) {
    document.location.href = base_url.replace(/.htm/, '') + seo_delim_start + ((page - 1) * per_page) + seo_ext_htm;
    } else if (base_url.indexOf(seo_ext_slash) >0 && base_url.indexOf('?') < 0) {
    document.location.href = base_url.replace(new RegExp(//$/),"") + seo_delim_start + ((page - 1) * per_page) + seo_ext_slash;
    } else {
    document.location.href = base_url + '&start=' + ((page - 1) * per_page);
    }
    } else {
    document.location.href = base_url;
    }
    }
    }
    // http://www.phpBB-SEO.com SEO TOOLKIT END

    Avete una qualche idea della sua funzione??
    posso farne a meno??
    O questa mod funziona solo con il template Prosilver??

    ...E questi altri qui, se non li edito la mod funzionerebbe lo stesso?? Mi sembra solo pubblicità per phpbb-seo.com...
    o sbaglio? parto dal principio di evitare edit non necessari per ridurre la possibilità di errore...

    #-----[ OPEN ]------------------------------------------

    Note : This code is going to help your site a lot, we request that you keep this copyright notice as specified in the licence.

    If You really cannot put this link, you should at least provide us with one visible (can be small but visible) link

    on your home page or your forum Index using this code for example <a href="http://www.phpbb-seo.com/" title="Search Engine Optimization" target="_phpBBSEO">phpBB SEO</a>

    styles/prosilver/template/overall_footer.html

    #-----[ FIND ]------------------------------------------

    <!-- IF TRANSLATION_INFO -->

    #-----[ BEFORE, ADD]------------------------------------------

    <br/><a href="http://www.phpbb-seo.com/" title="Search Engine Optimization" target="_phpBBSEO">phpBB SEO</a>

    #-----[ OPEN ]------------------------------------------

    styles/prosilver/template/overall_header.html

    #-----[ FIND ]------------------------------------------

    <head>

    #-----[ AFTER, ADD]------------------------------------------

    {SEO_BASE_HREF}

    #-----[ OPEN ]------------------------------------------

    styles/prosilver/template/viewtopic_body.html

    #-----[ FIND ]------------------------------------------

    <a href="#p{postrow.POST_ID}">

    #-----[REPLACE WITH ]------------------------------------------

    <a href="{U_VIEW_TOPIC}#p{postrow.POST_ID}">

    #-----[ OPEN ]------------------------------------------

    Grazie image


  • User

    AIUTO

    sono riuscito a installare la mod alla perfezione, con prosilver va benissimo, non ci sono problemi,
    ma con subsilver2 accade questo:

    image

    ma la index del forum, dove sono elencati i forum, funziona bene, prende il subsilver2 e si vede bene

    solo all'interno dei forum SALTA lo stile ed è come se non ci fosse

    qualcuno mi venga in soccorso 😞

    risolto, è bastato aggiungere un semplice {SEO_BASE_HREF}

    Adesso ho lo stesso problema!
    Dove aggiungo il seo-base-href??


  • User Attivo

    @greywolf said:

    Adesso ho lo stesso problema!
    Dove aggiungo il seo-base-href??
    Prova qua se non l'hai ancora fatto:

    
    #
    #-----[ FIND ]------------------------------------------
    #
    
    <head>
    
    #
    #-----[ AFTER, ADD]------------------------------------------
    #
    
    {SEO_BASE_HREF}
    
    

    Cioè tra i tag head.
    Fammi sapere 😉


  • User

    di quale file ??


  • User Attivo

    @greywolf said:

    di quale file ??
    Sorry 🙂
    styles/prosilver/template/overall_header.html


  • User

    Gia fatto.Non cambia niente...:(


  • Super User

    Scusate ma dove la scarico la rc4?

    quando vado sul sito nella pagina download c'è solo la rc5 e tra l'altro è pure isntabile, questo mod seo vale anche per la rc2?
    oppure bisogna aggiornare per forza?
    io non riesco a scaricare la rc4 mi date il link per favore?
    grazie


  • User

    Gia fatto.Non cambia niente...:(
    Mi correggo: adesso tutti i link sono funzionali, appare il logo in alto e alcuni pulsanti, ma MANCA sempre lo stile...

    Uso un template etech:

    Questo il codice dell' header:

    [php]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    <!-- INCLUDE ca_config.html -->
    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="resource-type" content="document" />
    <meta name="distribution" content="global" />
    <meta name="copyright" content="2002-2006 phpBB Group" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>
    <!-- IF T_STYLESHEET_LINK -->
    <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
    <!-- ELSE -->
    <style type="text/css">
    {T_THEME_DATA}
    </style>
    <!-- ENDIF -->
    <!--[if IE 7]>
    <link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/ie7.css" />
    <![endif]-->
    <script type="text/javascript">
    <!--
    <!-- IF S_USER_PM_POPUP -->
    if ({S_NEW_PM})
    {
    window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400');
    }
    <!-- ENDIF -->
    function popup(url, width, height)
    {
    window.open(url.replace(/&/g, '&'), '_popup', 'HEIGHT=' + height + ',resizable=yes,scrollbars=yes, WIDTH=' + width);
    return false;
    }
    function jumpto()
    {
    var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
    var perpage = '{PER_PAGE}';
    var base_url = '{BASE_URL}';
    if (page !== null && !isNaN(page) && page > 0)
    {
    document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
    }
    }
    /**

    • Find a member
      /
      function find_username()
      {
      <!-- IF UA_FIND_USERNAME -->
      window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740');
      <!-- ENDIF -->
      return false;
      }
      /
      *
    • Mark/unmark checklist
    • id = ID of parent container, name = name prefix, state = state [true/false]
      */
      function marklist(id, name, state)
      {
      var parent = document.getElementById(id);
      if (!parent)
      {
      eval('parent = document.' + id);
      }
      if (!parent)
      {
      return;
      }
      var rb = parent.getElementsByTagName('input');

    for (var r = 0; r < rb.length; r++)
    {
    if (rb.name.substr(0, name.length) == name)
    {
    rb.checked = state;
    }
    }
    }
    <!-- IF ._file -->
    /**

    • Play quicktime file by determining it's width/height
    • from the displayed rectangle area
    • Only defined if there is a file block present.
      */
      function play_qt_file(obj)
      {
      var rectangle = obj.GetRectangle();
      if (rectangle)
      {
      rectangle = rectangle.split(',')
      var x1 = parseInt(rectangle[0]);
      var x2 = parseInt(rectangle[2]);
      var y1 = parseInt(rectangle[1]);
      var y2 = parseInt(rectangle[3]);
      var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
      var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
      }
      else
      {
      var width = 200;
      var height = 0;
      }
      obj.width = width;
      obj.height = height + 16;
      obj.SetControllerVisible(true);
      obj.Play();
      }
      <!-- ENDIF -->
      if(navigator.userAgent && navigator.userAgent.indexOf('Mac OS X') > 0)
      {
      document.write('<link rel="stylesheet" href="{T_THEME_PATH}/mac.css" type="text/css" />');
      }
      //-->
      </script>
      </head>
      <body class="{S_CONTENT_DIRECTION}">
      {META}
      <a name="top"></a>
      <table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
      <tr>
      <td id="logorow" align="center"><div id="logotop">
      <a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
      </div></td>
      </tr>
      <tr>
      <td class="navrow">
      <!-- IF not S_IS_BOT -->
      <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> • <!-- ENDIF -->
      <!-- IF S_USER_LOGGED_IN -->
      <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> • <!-- ENDIF -->
      <!-- ELSE --><a href="{U_REGISTER}">{L_REGISTER}</a> • <!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> • <!-- ENDIF -->
      <a href="{U_FAQ}">{L_FAQ}</a>
      <!-- IF S_DISPLAY_SEARCH --> • <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
      <!-- IF not S_IS_BOT -->
      <!-- IF S_DISPLAY_MEMBERLIST --> • <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF not S_IS_BOT --> • <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
      </td>
      </tr>
      <tr>
      <td id="contentrow">
      <!-- IF not S_IS_BOT && not $CA_SKIP_PM_NOTIFY && S_USER_LOGGED_IN && S_DISPLAY_PM -->
      <!-- IF S_USER_NEW_PRIVMSG -->
      <div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
      <!-- ELSEIF S_USER_UNREAD_PRIVMSG -->
      <div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
      <!-- ENDIF -->
      <!-- ENDIF --><table width="100%" cellspacing="0">
      <tr>
      <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
      <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
      </tr>
      </table>
      <!-- IF S_DISPLAY_SEARCH -->
      <p class="searchbar">
      <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
      <!-- IF S_USER_LOGGED_IN -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
      <!-- ENDIF -->
      </p>
      <!-- ENDIF -->
      <br style="clear: both;" />
      <!-- INCLUDE breadcrumbs.html -->
      <br />
      [/php]
      Aiutoooooo...