Visualizza la versione completa: Risolto Blocchi forum ancora buggy e anche non tradotto
Michal,
I blocchi forum sono ancora buggy. La fine del titolo del thread è ancora mostrando [/ langtitle], e il filo è lo mostrano in lingua originale poster.
Esempio:
http://www.jesh.com/bug2.jpg
TESTO filo devono essere in lingua utente che visualizza?
Utilizzando vBET che è uscito oggi (4.2.2)
Lo vedo e so che la ragione senza la verifica del codice. Sì - è la nostra bug. vBET sta controllando per'...' nei titoli di risolvere i titoli in altre lingue che dove tagliare (la correzione del bug: http://www.vbenterprisetranslator.com/forum/vbet4-bug-reporting/644-forum-sidebar-problem.html). Ci manca il cappello utente può impostare lì'...' lo stesso;)
Sembra che la correzione di un bug che abbiamo creato un altro - dispiace per focaccia perdere. Noi ci occuperemo di questo. Si prega di notare che avverrà solo con i titoli in altre lingue dopo aver inizialmente'...' all'inizio. Daremo soluzione rapida per questo qui.
Chi TESTO non in lingua visti - questo è purtroppo fuori dalla nostra portata in questo momento - si veda qui per la spiegazione:
Corretto. Per la soluzione rapida per favore:
1. Modificare il file / INCLUES / vbenterprisetranslator_functions_bbcode.html
2. Cerca:
if ($endShorted && $endShorted < $end) {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
3. Sostituire con:
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
}
Corretto. Per la soluzione rapida per favore:
1. Modificare il file / INCLUES / vbenterprisetranslator_functions_bbcode.html
2. Cerca:
if ($endShorted && $endShorted < $end) {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
3. Sostituire con:
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '';
}
Non funziona ... è qui l'intero blocco
if (false === $end) {
$endShorted = strpos($title, '...', $start);
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'';
}
} else {
break;
}
} else {
$end += 12;
}
È stato utilizzato in langtitle sbagliato posto ...[/] Si prega di annullare le modifiche e utilizzarlo in luogo appropriato. Intero blocco dovrebbe essere:
if (!$toParse) {
$endShorted = strpos($title, '...', $start);
if ($endShorted && $endShorted < $end) {
$nextStart = strpos($title, '[langtitle=', $endShorted);
if (!$nextStart || $nextStart > $end) {
$toParse = substr($title,$start,$end - $start);
} else {
$end = $endShorted + 3;
$toParse = substr($title,$start,$end - $start).'[/langtitle]';
}
} else {
$toParse = substr($title,$start,$end - $start);
}
}
E questo è il blocco subito dopo questo che avete cambiato.
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.