phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

La versione base di phpBB SEO, che fa diventare gli URLs del forum più SEO friendly e Google Compliant.
Avatar utente
WorldComputing
Utente
Utente
Messaggi: 305
Iscritto il: 30/12/2009, 20:41
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da WorldComputing » 17/11/2011, 13:08

Salve gentili utenti,
ho caricato i file nella corrispondente posizione, apportato le modifiche ai file da modificare con il massimo dell' attenzione e successivamente caricati, svuoltato la cache da PCA e avviato l'indirizzo d' installazione.

Con sessione amministratore attiva ho avviato l'indirizzo http://www.mio_sito.org/phpbb3/phpbb_seo/phpbb_seo_install.php

Dopo aver cliccato su installa si è verificato il seguente errore:
Parse error: syntax error, unexpected T_CASE in /membri/worldcomputing/phpbb3/includes/db/db_tools.php on line 1679

tornando indietro e riprovando sul tasto installa:
Informazione:
Il modulo phpBB SEO è già stato installato.
Controllando nel PCA il modulo è presente ma mi ritrovo, solo nel modulo sistema, la notifica:
La tua installazione di phpBB non è aggiornata.
Qui sotto troverai un collegamento all’annuncio del rilascio dell’ultima versione, completo di istruzioni su come effettuare l’aggiornamento.


Aggiornamento incompleto rilevato
phpBB ha rilevato un aggiornamento automatico incompleto. Controlla di aver seguito ogni passaggio della procedura di aggiornamento automatico. Sotto trovi nuovamente il link, oppure vai direttamente alla cartella install.
...
..
Se provo ad attivare la riscrittura SQL mi da seguente errore:
Parse error: syntax error, unexpected T_CASE in /membri/worldcomputing/phpbb3/includes/db/db_tools.php on line 1679
Se abilito la riscrittura degli URL da conferma ma in fase di visualizzazione il forum non va più. Grafica e struttura non più presente, indirizzi non funzionanti.






-------------------------------------------------------------------------------

DIY

________________________________________
>>>> INSTALLATION INSTRUCTION <<<<<
________________________________________

You will find the premodded phpBB 3.0.9 files in contrib/phpBB_3.0.9_modified_files/root/,
you can safely overwrite the phpBB 3.0.9 files with these and skip the file editing part of this install
if you did not modify these before you install this mod.

___________
IMPORTANT :
________________________________________
Before you start, read this with caution.
=> For a smooth install :
1) Backup all your files;
2) Apply the mod code changes on copies of your files;
3) Upload all files;
4) CHMOD the phpbb_seo/cache/ folder to 0777;
5) Empty the phpBB/cache/ folder : just delete all files EXCEPTS the .htaccess.
6) Go to yoursite.com/phpBB/phpbb_seo/phpbb_seo_install.php and follow the install instruction
7) Go to phpBB ACP : It's now time to play with settings described bellow;
8) Generate your personalized .htaccess and upload or move it following the instructions;
9) Test a rewritten URL, such as yoursite.com/phpBB/post1.html, if you end up with a 404 (not a phpBB message), go back to step 8;
10) Activate URL rewriting in phpBB ACP and allow yourself some auto-congratulation :D
________________________________________

Once you will have installed the mod, you will have to refresh your theme's cache as well as phpBB's cache (ACP => STYLE, Themes => Refresh).

__________
Settings :
__________

The settings must be done before step 4 above for the generated .htaccess to be up to date.
Later modification will most likely require a new .htaccess as well as personalized redirections.

IMPORTANT :
A new option was added staring from v0.6.0 : SQL rewriting.

This option will allow you to choose url for each topic. You will be able to accurately set topic url when posting new
topic or when editing an existing one. This functionality is though limited to forum admins and moderators.
Turning on this option will not change topic urls. Existing urls will be stored as they are displayed in the data
base.
But it may not be the case if you turn it off after you started to use it. In such case, personalized URLs may be
treated as if they weren't.
The feature also has the great advantage to fasten the url rewriting by a lot, especially when using the virtual folder
option in advanced mode, and to make it a lot easier to retrieve rewritten urls from any page.

If you start using this option after you updated from prior to 3.0.5, or if you are installing the premod over a
pre-existing phpBB install, you should run the phpbb_seo/sync_url.php script to update the data base (with topic urls).
Doing this will not change your URLs. If you do not run the script, topic urls will be updated in the data base each time
topics will be first visited.


=> By Default, this mod will get rid of index.php for phpBB's index.

You can change this in phpbb_seo/includes/setup_phpbb_seo.php if you prefer.
To do this, you can for example add :

$this->seo_static['index'] = 'forum';

before :

// Let's make sure that settings are consistent
$this->check_config();


This is mostly useful if you're running a portal in the folder where phpBB is installed.

=> The first setting to do is to select which static part to use in your URLs.

To do so, you can override default values in phpbb_seo/includes/setup_phpbb_seo.php, still before :

// Let's make sure that settings are consistent
$this->check_config();

EXAMPLES :
__________

// => the-team :
$this->seo_static['leaders'] = 'my-team'; // instead of the default "the-team"

// => announces :
$this->seo_static['global_announce'] = 'announcements'; // instead of the default "announces"

// => Active topics :
$this->seo_static['atopic'] = 'important-topics'; // instead of the default "active-topics"

// => Unaswered :
$this->seo_static['utopic'] = 'not-answered'; // instead of the default "unanswered"

// => Newposts :
$this->seo_static['npost'] = 'new-messages'; // instead of the default "newposts"

=> As well as for (and the same way) :
forum ($this->seo_static['forum']), topic ($this->seo_static['topic']), post ($this->seo_static['post']), member ($this->seo_static['member']), groups ($this->seo_static['group']), attachments virtual directory ($this->seo_static['file_index'], read the comments in the file for more attachments customizing) and virtual folder pagination ($this->seo_static['page'])

________________________________________________________________________________________________________


=> And the suffixes too, if you do not like .html, using the phpbb_seo::seo_ext array ($this->seo_ext) still before :

// Let's make sure that settings are consistent
$this->check_config();

EXAMPLES :
__________
$this->seo_ext['forum'] = '.htm';
$this->seo_ext['topic'] = '/';

PLEASE NOTE :
_____________
Suffixes may not be ".php" or empty, if you set a suffix to "/", it will automatically activate the pagexx.html pagination.

Once set, these settings will be taken into account while generating the .htaccess.

________________________________________________________________________________________________________


=> Other options are configurable on the setting page (step 7 of the above list).
Go to the "phpBB SEO Class Settings" page, and take your time to set up the class as you wish.

=> It is now time to play with your forum URLs.
To do so, go to the "Forum URL management" page and start selecting good keywords for your forum URLs.
Take your time to do it, and remember that using the remove IDs option in the settings makes it a bit harder to build appropriate redirection, in case you edit the forum URLs later.
If you later create more forums, you'll just have to go to this page again an eventually update the
new forum URL.
If not, the new forum URL will not be cached and the default one will be used (forum-title-fxx).

________________________________________
Custom replacement for title injection :
________________________________________

The phpbb_seo class handles de-accentuation for most of the occidental characters, but you could need to handle more cases for your project.
Starting from v0.6.0, we introduced a simple way to set up custom replacements.
This is useful for special characters not properly handled by default, such as Russian ones (Г => G), or to implement custom replacements such as $ => dollar.
It works with any string, but you MUST perform the edits with an UTF-8 (without BOM) capable text editor.
This is still done in phpbb_seo/includes/setup_phpbb_seo.php, and still before :

// Let's make sure that settings are consistent
$this->check_config();

The principle is simple, you can set up your custom replacement by filling the phpbb_seo::url_replace array ($this->url_replace).
The pattern to use is :

$this->url_replace = array(
'character(s) to find' => 'replacement to apply',
);

EXAMPLE :
_________

$this->url_replace = array(
// Purely cosmetic replace
'$' => 'dollar', '€' => 'euro',
"'s" => 's', // it's => its / mary's => marys ...
// Language specific replace (German example)
'ß' => 'ss',
'Ä' => 'Ae', 'ä' => 'ae',
'Ö' => 'Oe', 'ö' => 'oe',
'Ü' => 'Ue', 'ü' => 'ue',
);

Just make sure that the characters you may add are not already handled properly but the default replacements before you add some more.
Please note that English characters are already properly handled.
Please read for more details : http://www.phpbb-seo.com/en/phpbb-mod-r ... t4709.html
___________
NOTE: Cache
___________
The cache files are in the phpbb_seo_/cache/ folder.
phpbb_cache.php is the cached file containing both your settings and forum URLs.

The mod always creates a backups of the current cached file :
=> phpbb_cache.php.current is a copy of the phpbb_cache.php file.
It will automatically be used in case phpbb_cache.php is deleted or corrupted (which should not occur but).
=> phpbb_cache.php.old is a copy of the previous settings you had set, before the last update you performed.

You should backup these file when you update them, they are as crucial as you data base for your forum
since they are required for your forum URL to work properly.
So relax, this is just a basic precaution, you should not have trouble with these,
but never is better, hence the backup.

_________________
NOTE: .htaccess :
_________________

On the phpBB SEO ACP module, go to the ".htaccess" page.
A personalised .htaccess will be generated. It's the first one to consider trying.
You will have too put it where the red bolded messages of the .htaccess generator tells you to.
If you cannot find the location mentioned, it means that you did not properly set your phpBB server settings in the ACP.
If the default suggestion does not work, you will be to try more options, and generate several alternative.
You'll find an empty .htaccess file in this mod's archive contrib/ folder, you can use it to paste the .htaccess content generated on the htaccess page or save it directly on the server (saved .htaccess will be found in the phpbb/cache/ directory).

The .htaccess generator will add the required rewriterules to make your domain canonical, but they will be
left commented (un-active) at first, as this is the kind of thing that require human attention.
Please take a look at : http://www.phpbb-seo.com/en/seo-techniq ... s-t30.html
to find out how to lock the use (or non use) of the www prefix in your domain's url.
This is a major Search Engine Optimisation issue to take care of the www prefix issue.

__________________
NOTE: robots.txt :
__________________

You will find a sample robots.txt file in the contrib/ folder of this package.
The robots.txt file must be uploaded in your domain's root folder (can be different from the phpBB one).
You must obviously replace phpbb/ with your real phpBB installation folder (or with nothing if it's installed in the domain's root).

IMPORTANT :
If your forum previously was indexed with the natural urls (viewtopic.php etc...), then you must make sure
that the robots.txt advised for our mod rewrite is not installed, if so DELETE it from the server.
This because we want to redirect old urls before we disallow them, it's CRUCIAL!
In such case, at least two after you install and activate the zero duplicate (http://www.phpbb-seo.com/en/zero-duplic ... t1220.html), you can start thinking about implementing the robots.txt.

__________________________________________________
NOTE: profile and user messages pages ID removing:
__________________________________________________

phpBB/member/nicknames VS phpBB/nicknames-uxx.html

If you use profile and / or user messages pages ID removing, you should know that a custom urlencode
will be used to circumvent a bug with mod_rewrite.
This imply that some chars like "&", "/", "#" and spaces will always be double encoded.
For example a user named rock&roll will require rock%2526roll (double urlencoded &) to be usable.
( http://www.php.net/urlencode => http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 )

There are other issues with custom characters, like accents, which will add some urlencoded chars in urls.
It's not an SEO issue, since bots knows about urlencoding, but it can end up building pretty long url with multi byte characters.
This does not concern the a-zA-Z0-9 chars, underscore ("_"), hyphen ("-") and dot (".") included.
In phpbb_seo/phpbb_seo_class.php, you will no longer see different methods.

This of course means that the ID removing on profile and user messages pages is more comfy and universally efficient
to use with alphanumeric chars user names (without accents).

If you only allow alphanumeric chars for your user nicknames, then you can make the injection process faster by adding :

return $url;

right after :

function seo_url_encode( $url ) {

Remember that keeping the ID here will always work and that you still can simulate a folder structure for user messages pages.


-------------------------------------------------------------------------------







Ho provato a tradurre e seguire i passaggi ma con poca comprensione. Esiste qualche traduzione?
Credo che l' errore stia qui, proprio dopo aver caricato i file sul web. Occorre creare un determinato file e seguire delle operazioni prima di avviare il modulo di installazione.
Mi date una mano nel completare l'installazione?

Grazie!

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da Angolo » 17/11/2011, 13:28

È inutile postare tutti questi messaggi.
Aggiorna prima alla 3.0.9 e dopo installa la SEO.
Spero vivamente che tu stia provando prima in locale.

Avatar utente
WorldComputing
Utente
Utente
Messaggi: 305
Iscritto il: 30/12/2009, 20:41
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da WorldComputing » 17/11/2011, 13:37

Innanzitutto ti ringrazio per la risposta e l' aiuto.
Occorre provare sempre prima in locale sia aggiornamenti che modifiche?

Ho gia aggionato in precedenza alla 3.0.9 e non era presente avviso versione non aggiornata o meglio incompleta come avverte, ne del database e ne file.

Dopo aver apportato le modifiche ho visto avviso aggiornamento, forse è normale perchè ho apportato queste modifiche.

Edit

Attualmente versione database in uso: 3.0.9
In scheda Sistema,credo si riferisca ai file, è 3.0.8

In precedenza con sicurezza entrambi alla 3.0.9 e ho effettuato anche controlla versione più di una volta nonostante in precedenza aggiornato con successo.
Ultima modifica di WorldComputing il 17/11/2011, 13:46, modificato 1 volta in totale.

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da Angolo » 17/11/2011, 13:45

Intanto il tuo profilo indica 3.0.8. Chiarisci (il profilo).

Se l'aggiornamento del database è stato fatto correttamente, per risolvere, basta un ripristino integrale ftp.
Ovviamente, basato sulla 3.0.9. Se tu non sai se il database è stato aggiornato alla 3.0.9, non lo possono certo sapere gli altri.

Quindi, dopo, procedi all'aggiornamento della SEO.

Sempre, conviene ed è preferibile, provare prima in locale.

Avatar utente
WorldComputing
Utente
Utente
Messaggi: 305
Iscritto il: 30/12/2009, 20:41
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da WorldComputing » 17/11/2011, 14:03

Ho sistemato profilo.
Ho aggionato alla 3.0.9 già da tempo. Con successo database e file.
Non vorrei sbagliarmi... io so che nella scheda Generale è presente la versione del database e li attualmente corrisponde alla 3.0.9

mentre, sempre se io non sbaglio, nella scheda Sistema corrisponde ai file. Qui la versione risulta attualmente, dopo aver apportato le modifiche per la SEO, alla 3.0.8.

Prima di effettuare le attuali modifiche SEO, sia in Generale che in Sistema, la versione risultava a 3.0.9.

Cosa è successo?
Cosa mi consigli di fare?


Hai ragione, lavorerò sempre in locale da ora in poi.
Credevo non fosse necessario lavorare in locale conservando file sorgente e trasferendo i file modificati.
Dopo aver importato database e file in locale e aver eseguito aggiornamenti e modifiche con successo, suppongo basti un semplice trasferimento ftp per i file ma per il database?
Occorre esportarlo e importarlo su phpmyadmin?
Nessun problema se di grandi dimensioni?

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da Angolo » 17/11/2011, 14:10

Non mescoliamo le cose. Per il locale, cerca sul forum.

Per il resto, prova come già detto, un ripristino integrale ftp.
Se fatto questo, alla prima pagina del PCA e alla voce sistema, appare 3.0.9, e vedi che tutto funziona, dovrebbe essere tutto OK.

Quindi procedi con l'installazione della SEO.

Altrimenti, il database probabilmente, non è stato aggiornato.

Avatar utente
WorldComputing
Utente
Utente
Messaggi: 305
Iscritto il: 30/12/2009, 20:41
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da WorldComputing » 17/11/2011, 14:26

L' essere su altervista potrebbe recare problemi all' aggiornamento del database?
Da tempo penso di acquistare un dominio per questo e altro.

Se non erro in fase d' aggiornamento mi diede errore (qualcosa sul timer o tempo di procedura) ma nel riprovare mi diede buon esito e passò all' aggiornamento dei file.
Tutto sembrava essere andato a buon fine sul forum e risultava, sia in scheda generale che in scheda sistema, 3.0.9.

Non è possibile che abbia tralasciato qualcosa?
Se tralascia e si aggiorna in parte, rischio di danneggiare il database e perdere tutto.



Cosa devo cercare sul forum se intendo trasferirmi su di un altro dominio?
E con il fatto che le tabelle del database finora creato fossiedono il prefisso AV comporta la perdita dei dati se mi trasferisco?
Dammi dei chiarimenti che sono molto confuso in merito.

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da Angolo » 17/11/2011, 14:32

La tua confusione potrà solo aumentare se continui ad aggiungere questioni in questo argomento.

1 argomento = 1 questione = 1 domanda.

Ti ho già indicato la soluzione: se il database è stato aggiornato correttamente, basta effettuare un corretto ripristino integrale ftp. Questo vale per qualsiasi cosa sia successa al contenuto ftp.

Se è stato danneggiato il database... poi si vede.. una cosa alla volta.
Ma in altro argomento.


P.S.
Ovviamente, devi prima disinstallare la SEO (ammesso che tu l'abbia prima installata).
Disinstallare, solo in riferimento al database, dal momento che l'ftp, lo sistemi con il ripristino.

Avatar utente
WorldComputing
Utente
Utente
Messaggi: 305
Iscritto il: 30/12/2009, 20:41
Versione: 3.0.10
Server: UNIX/Linux
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da WorldComputing » 17/11/2011, 15:35

Per il ripristino ftp uso i file sorgenti conservati oppure uso il package per l' aggiornamento?

http://www.phpbb.com/downloads/olympus. ... b15e8a452a
all' indirizzo sopra è possibile scegliere il package

non sapevo ci fossero diverse versioni 3.0.9, quando ho aggiornato c' era solo 3.0.9.

Sai dirmi per cosa sta RC?

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: installazione mod phpBB_SEO_Ultimate_SEO_URL_v0.6.8

Messaggio da Angolo » 17/11/2011, 15:49

RC sta per Release Candidate: versione candidata a diventare stabile.

Sei fuori strada. Il com, adesso, non ti serve.
Devi scaricare il pacchetto originale del phpbb 3.0.9 da qui, da phpBB Italia, nella sezione relativa.
Per il ripristino integrale ftp, c'è un argomento importante nella sezione relativa.

Funzione cerca.

Rispondi

Torna a “phpBB SEO URL”

Chi c’è in linea

Visitano il forum: Nessuno e 89 ospiti