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

Ricerca iscritto per lettera

Supporto stili in generale.
maurino
Utente
Utente
Messaggi: 64
Iscritto il: 19/09/2010, 0:36
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.4.32
Database: MySQL 5.1.73-log

Re: Ricerca iscritto per lettera

Messaggio da maurino » 19/09/2014, 10:05

Buongiorno a tutti,
continuo qui anche se, il tema del problema è lo stesso ma il risultato è cambiato.
Ho aggiornato il mio stile a se sprites che è un derivato del prosilver.
Ora il problema è questo:
Nell'elenco iscritti mi compare correttamente la liste delle lettere per filtrare la ricerca.
Una volta cliccata, per esempio la "b", mi esce questo errore:

Codice: Seleziona tutto

Multiple Choices
The document name you requested (/forum/memberlist.php&first_char=b) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:

    /forum/memberlist.php (common basename) 

Please consider informing the owner of the referring page about the broken link.
Avete suggerimenti?

grazie
mauro

maurino
Utente
Utente
Messaggi: 64
Iscritto il: 19/09/2010, 0:36
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.4.32
Database: MySQL 5.1.73-log

Re: Ricerca iscritto per lettera

Messaggio da maurino » 19/09/2014, 23:54

Buonasera,
ho trovato la soluzione ma non so come applicarla:
In pratica, nellla stringa che compare nella barra dell'indirizzo quando si clicca su una lettera, bisogna che il carattere "&" venga sostituito con "?"

quindi da così
tuosito.it/forum/memberlist.php&first_char=m#memberlist

a così
tuosito.it/forum/memberlist.php?first_char=m#memberlist

modificandolo manualmente infatti funziona.
Qualcuno mi sa dire come fare?

grazie
mauro

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: Ricerca iscritto per lettera

Messaggio da Micogian » 20/09/2014, 10:07

Prima di tutto bisogna capire se il problema è imputabile al codice php, quindi nei file di sistema oppure allo style e quindi nel template.
Per farlo basterebbe provare con uno style di default, ad esempio prosilver.
Se con prosilver funziona dipende dallo style non aggiornato.
Se il problema persiste anche con prosilver si può pensare che questo sia dovuto alla variabile passata dal sistema.
Ora, per capire dove viene creata una funzione o una variabile io uso il programma "Agent Ransack" che si può scaricare liberamente dalla rete.
E' necessario avere una copia in locale o per lo meno i file di sistema caricati sul PC.
Agent ransack consente di trovare la presenza di una stringa nei file della cartella selezionata.
La stringa da cercare è "first_char", il risultato sarà l'elenco dei file dove si trova la stringa "first_char" e ci permette di capire dove viene creato il link.

maurino
Utente
Utente
Messaggi: 64
Iscritto il: 19/09/2010, 0:36
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.4.32
Database: MySQL 5.1.73-log

Re: Ricerca iscritto per lettera

Messaggio da maurino » 27/09/2014, 0:25

Risolto,
in memberlist_body.html ho sostituito

Codice: Seleziona tutto

<ul class="linklist">
            <li>

            <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
            <strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&first_char=">{L_ALL}</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=a#memberlist">A</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=b#memberlist">B</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=c#memberlist">C</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=d#memberlist">D</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=e#memberlist">E</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=f#memberlist">F</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=g#memberlist">G</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=h#memberlist">H</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=i#memberlist">I</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=j#memberlist">J</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=k#memberlist">K</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=l#memberlist">L</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=m#memberlist">M</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=n#memberlist">N</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=o#memberlist">O</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=p#memberlist">P</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=q#memberlist">Q</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=r#memberlist">R</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=s#memberlist">S</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=t#memberlist">T</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=u#memberlist">U</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=v#memberlist">V</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=w#memberlist">W</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=x#memberlist">X</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=y#memberlist">Y</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=z#memberlist">Z</a>&nbsp; 
            <a href="{S_MODE_ACTION}&first_char=other">#</a></strong>
            </li>
            <li class="rightside pagination">
               {TOTAL_USERS} &bull; 
               <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF -->
            </li>
         </ul>

con

Codice: Seleziona tutto

<ul class="linklist">
            <li>

            <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
            <strong style="font-size: 0.95em;">
            <!-- BEGIN first_char -->
               <a href="{first_char.U_SORT}">{first_char.DESC}</a>&nbsp; 
            <!-- END first_char -->
            </strong>
            </li>
            <li class="rightside pagination">
               {TOTAL_USERS} &bull; 
               <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF -->
            </li>
         </ul>
così facendo funziona!

grazie

Rispondi

Torna a “Supporto stili”

Chi c’è in linea

Visitano il forum: Nessuno e 75 ospiti