Risultati da 1 a 6 di 6
-
17-02-2007, 16:01 #1
- Data Registrazione
- Aug 2006
- Messaggi
- 43
Selezione Multipla Discussioni - Problema
Salve ragazzi,
ho un problema che penso sia di codice.
Voi sapete che è possibile, quando si è un moderatore/admin del forum, spostare in massa le discussioni spuntando la casellina che compare nell'ultima colonna a destra del Forumdisplay.
Ora...con le modifiche a mano fatte al template non funziona.
Che modifiche ho fatto?
Praticamente ho creato una colonna in più mettendo l'autore in una colonna a se.
Esempio: link
Avete idee?
-
17-02-2007, 19:55 #2
- Data Registrazione
- Dec 2006
- Messaggi
- 69
-
18-02-2007, 07:57 #3
- Data Registrazione
- Aug 2006
- Messaggi
- 43
Ciao Jack, grazie della risposta.
In effetti il problema è ben spiegato...
Originariamente Scritto da =Giorgio Taverniti
Come dicevo sopra, aggiungo una colonna a destra nel Forum Display, mettendo Autore in una colonna a se.
La parte che tocco è questa.
Originale:
Codice PHP:<if condition="$show['search_engine']">
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
$vbphrase[thread] / $vbphrase[thread_starter]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&order=desc&sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&order=asc&sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</tbody>
</if>
Codice PHP:<if condition="$show['search_engine']">
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
$vbphrase[thread]
</td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[thread_starter]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"> $vbphrase[last_post]</span></td>
<else />
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2"> </td>
<else />
<td class="thead"> </td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&order=desc&sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&order=asc&sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title]
</td>
<td class="thead" width="100%" align="center"><a href="$sorturl&order=asc&sort=postusername" rel="nofollow">Autore</a> $sortarrow[postusername]</td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost" rel="nofollow"> $vbphrase[last_post]</a>$sortarrow[lastpost]</span></td>
<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</tbody>
</if>
Il Forum che vedi ora è quello vecchio. Cioè, è la versione aggiornata, ma il template è vecchio.
Io sto lavorando sulla versione nuova.
Ti sarei grato se volessi segnalarmi i problemi che hai riscontrato.
-
18-02-2007, 20:21 #4
- Data Registrazione
- Dec 2006
- Messaggi
- 69
Quel codice in se stesso non causa l'errore che riporti ma "solo" un erronea visualizzazione del template. I problemi che riscontro sono legati all'aggiunta della nuova colonna che causa quindi un aumento del valore necessario per il colspan delle strutture legate alla tabella alla quale hai aggiunto la colonna.
-
18-02-2007, 20:58 #5
- Data Registrazione
- Dec 2005
- Località
- Rome, Italy, Italy
- Messaggi
- 945
ben letto GT anche qui, leggo spesso il/i tuoi forum complimenti davvero in gamba..purtroppo non posso aiutarti ma credo che appena leggera' il guru' y2ksw avrai risposta soddisfacente ciao giorgio
-
19-02-2007, 08:23 #6
- Data Registrazione
- Aug 2006
- Messaggi
- 43
Discussioni Simili
-
vBulletin 3.6.x Problema vbulletin 3.6.4
Di ricci206 nel forum VBulletin 3Risposte: 7Ultimo Messaggio: 21-01-2007, 18:04 -
vBulletin 3.6.x [help] cercasi modifica per far visualizzare titoli discussioni ma non discussioni .
Di djmarvin nel forum VBulletin 3Risposte: 3Ultimo Messaggio: 28-12-2006, 14:15 -
vBulletin 3.6.x Grave problema sul mio nuovo forum
Di paolo nuovo salario nel forum VBulletin 3Risposte: 1Ultimo Messaggio: 21-12-2006, 10:26 -
vBulletin 3.6.x Problema cookies
Di ceccus nel forum VBulletin 3Risposte: 4Ultimo Messaggio: 05-11-2006, 14:40 -
vBulletin 3.6.x Problema Ora sbagliata nei messaggi
Di Nunzio nel forum VBulletin 3Risposte: 6Ultimo Messaggio: 09-08-2006, 15:58
Segnalibri