Google translator Flags e Pretty Urls: come farli funzionare insieme

Started by fdr77, October 11, 2010, 08:10:39 PM

Previous topic - Next topic

fdr77

http://custom.simplemachines.org/mods/index.php?mod=2386
Come da titolo fino a qualche giorno fa funzionava correttamente.... adesso se clicchi sulle bandiere si apre una nuova pagina ma non traduce....
Prova a disinstallare e reinstallare manualmente ma niente da fare ne sul tema default ne su quello in uso
Grazie mille

emanuele

Nella pagina che ti si apre visualizza qualche errore?
Guardando al codice c'è ben poco che possa "fallire"...
Prova ad incollare qui uno dei link alle traduzioni (mettilo tra i tag code).


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

ciao l'url non cambia è questo il problema.... cliccando sulla bandierina si apre una nuova pagina ma con lo stesso indirizzo
http://www.discusrewind.net/classificazione-e-genetica/selezionare-una-varieta-meglio-volare-basso!/

ora io ho pensato ho installato una mod che mi fa scegliere nel link recenti se prendere il topics o il post recente "Topics recenti Or "Recent Posts" Page mode

quindi magari qui
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=en&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into English [EN]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/us.png" alt="[EN]" style="border:none;" /></a>

in particolare qui $context['current_topic'] devo scrivere qualche cosa di diverso ...è possibile??

emanuele

Link al mod?

Oppure potrebbe essere qualche problema con htaccess...
Puoi provare ad inserire nuovamente le modifiche?

Tra parentesi (e non correlato), non so se capita solo a me, ma quando apro per la prima volta il tuo sito mi appare senza css. Guardando al codice pare che quando carico per la prima volta dopo aver aperto il browser una pagina del tuo sito sbaglia a creare il link al file css mettendo di mezzo un "?" tra il dominio ed il resto, tipo:

http://www.discusrewind.net?/Themes/express_1111/style.css?fin11;PHPSESSID=de50f808fd96ae213c79ad1d21d12eb8

non ho idea del perché.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

Se l'ha fatto tra le 18 e 20 e le 18 e 35 di oggi ero senza css che stavo cambiando dei colori..... poi non so magari è altro puoi riprovare?
Come faccio ad essere sicuro o meglio a vedere il problema??

la mod è questa provata a togliere e rimettere tante volte ma niente...fino a un mesetto fa funzionava bene
http://custom.simplemachines.org/mods/index.php?mod=2386

emanuele

Chiedevo se potevi installarla per vederla "in azione" direttamente. ;)
Comunque, se ha sempre funzionato, cos'hai cambiato recentemente? (nuovi mod, cambi al template, altro?)

Per l'altro problema io ho semplicemente aperto il sito...ad esempio ora l'ho aperto con un altro browser e questo è il codice della sezione head ripulito di quanto "irrilevante":

<!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"><head>
    <script language="JavaScript" type="text/javascript" src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/expando.js"></script>
<script language="JavaScript" type="text/javascript" src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/express_1111";
var smf_images_url = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/express_1111/images";
var smf_scripturl = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;";
var smf_iso_case_folding = false;
var smf_charset = "ISO-8859-1";
// ]]></script>

<script src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/AC_OETags.js" language="javascript"></script>
<script src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/pageear.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var pagearSmallImg = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/immaginiesterne/virgola/smalldr.jpg";
var pagearSmallSwf = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/pageear_s.swf";
var pagearBigImg = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/immaginiesterne/virgola/bigdr.jpg";
var pagearBigSwf = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/pageear_b.swf";
[...]
var jumpTo = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/register/"
[...]
// ]]></script>
<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/express_1111/style.css?fin11;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/default/print.css?fin11;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" media="print" />
<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/express_1111/regbar.css;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="help" href="http://www.discusrewind.net/help/?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" target="_blank" />

<link rel="search" href="http://www.discusrewind.net/search/?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="contents" href="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="alternate" type="application/rss+xml" title="Discus Rewind - RSS" href="http://www.discusrewind.net/.xml/?type=rss;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="index" href="http://www.discusrewind.net/classificazione-e-genetica/?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<!--[if lt IE 7]>
<script language="JavaScript" src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/express_1111/js/topnav.js" type="text/JavaScript"></script>
<![endif]--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/default/portal.css?232rc1;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<script type="text/javascript" src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/portal.js?23b1"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var sp_images_url = "http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/images/sp";
[...]
// ]]></script>

<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/default/aeva/am.css;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" />
<link rel="stylesheet" type="text/css" href="http://www.discusrewind.net?/Themes/default/aeva/hs.css;PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b" media="screen" />

<script type="text/javascript" src="http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/aeva/highslide-2.js"></script>
</head>

se noti (quasi) tutti i link sono sbagliati...

Poi, facendo un semplice refresh tutto va a posto...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

E' installata..... sul primo post di ogni topic vedi le bandierine che dovrebbero tradurre e che non lo fanno...
http://www.discusrewind.net/tecnica-e-fai-da-te/luci-led-autocostruite/msg2623/?topicseen#new

Ho aperto il display template ma in quel punto non ci sono interventi di altre mod almeno mi pare

// Show the topic information - icon, subject, etc.
echo '', $social_icons, '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
<!-- Google Translator Flags by Roco -->
<div style="float:right; margin:2px 1px; display:inline; vertical-align:middle; zoom:1;" charset="utf-8">
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=en&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into English [EN]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/us.png" alt="[EN]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Przetlumacz na Polski [PL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pl.png" alt="[PL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=es&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traducción al espanol [ES]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/es.png" alt="[ES]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pt&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduzir em Portugues [PT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pt.png" alt="[PT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=it&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Tradurre in italiano [IT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/it.png" alt="[IT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=de&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ins Deutsche übersetzen [DE]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/de.png" alt="[DE]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=fr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduire en français [FR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/fr.png" alt="[FR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=nl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Vertaal in het Nederlands [NL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/nl.png" alt="[NL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=tr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into türkye [TR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/tr.png" alt="[TR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=sr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?Ñ?еведи на Ñ?Ñ?пÑ?ки [SR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/sr.png" alt="[SR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ar&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="[AR] ترجÙ?Ø© Ø¥Ù?Ù? اÙ?Ù?غة اÙ?عربÙ?Ø© " target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ar.png" alt="[AR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ru&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?еÑ?евеÑ?Ñ?и на Ñ?Ñ?Ñ?Ñ?кий [RU]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ru.png" alt="[RU]" style="border:none;" /></a>
</div>
<!-- End of Google Translator Flags by Roco -->
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';
if (!empty($settings['display_who_viewing']))
{
echo '
<tr>
<td colspan="3" class="smalltext">';


Per il resto io purtroppo non riesco a vedere l'errore perchè mi apre anche con quel link che mi hai dato il sito con il css...
Adesso ricordo che anche un altro utente aveva sempre questo problema....devo chiedere se lo ha ancora
Comunque grazie di avermi informato chiedo a quello del server se riesce a capirci qualcosa.

fdr77

Mi sono espresso male sicuramente l'errore c'è ma io non riesco a vedere l'effetto perchè lo apre normalmente  :)

emanuele

Per il problema "non del topic", io ti suggerirei di provare a togliere il mod "Remove Index.Php From URL", secondo me il problema lo crea lui perché suppongo che SMF crei il link facendo qualcosa tipo (prendendo un link a caso):

$scripturl . '?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;' . $settings['default_theme_url'] . '/pageear/AC_OETags.js


in condizioni normali abbiamo che: $scripturl = $boardurl . '/index.php'; ed $boardurl= 'http://www.discusrewind.net',
quindi il link risultante dal codice postato sopra sarà:

http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/AC_OETags.js


con il mod "Remove Index.Php From URL" installato, invece abbiamo che $scripturl = $boardurl;
ed ecco che come per incanto il link iniziale si trasforma in:

http://www.discusrewind.net?PHPSESSID=a18eabe747f37db8ce59e2f1edcf1c3b&amp;/Themes/default/pageear/AC_OETags.js


Sul perché con il refresh funzioni non ne son completamente sicuro, ma ho almeno un'ipotesi.


Tornando ora al problema del topic: la cosa è molto curiosa, almeno per me...

A prescindere dal fatto che nessun mod va a modificare quel pezzo, tra l'ultima volta che l'hai visto sicuramente funzionante ed ora ti ricordi di aver installato qualche mod o fatto qualche altro cambiamento?

Sul mio forum farei qualcosa di questo genere per cercare di circoscrivere il problema, prenderei questo codice:
               <!-- End of Google Translator Flags by Roco -->
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
      </tr>';
   if (!empty($settings['display_who_viewing']))
   {


e lo sostituirei con questo:

               <!-- End of Google Translator Flags by Roco -->
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
      </tr>';
if($user_info['is_admin']){
echo '<tr><td>&nbsp;</td><td>&nbsp;</td>';
echo '<td>lang_dictionary: ' . $txt['lang_dictionary'] . ' scripturl: ' . $scripturl . ' current_topic: ' . $context['current_topic'] . '<br />
<pre>
http://translate.google.com/translate?hl=en&amp;sl=' . $txt['lang_dictionary'] . '&amp;tl=en&amp;u=' . $scripturl . '?topic=' . $context['current_topic'] . '.0.html
</pre>
</td></tr>';
}
   if (!empty($settings['display_who_viewing']))
   {

dovrebbe così apparire, sotto alla riga "autore | discussione: [nome discussione]   [bandiere]" un'altra riga con le informazioni usate per creare i link delle traduzioni e visibile solo agli admin.

Se ti va di farlo, poi riporta il contenuto di questa/e riga/e qui (sempre incluso nei tag code).


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

Direi che sei un genio....
Io provo a capire tutto il ragionamento che hai fatto ma mi sembra di essere tornato alle spiegazioni di chimica all'università ::) ::) ::)
Comunque mi pare che adesso sia tutto ok per quel problema grafico....
Per la traduzione proverò come dici ....domani ti faccio sapere
Grazie

fdr77

#10
Niente da fare eppure con il gadget google traduttore lo traduce perfettamente....(non è ugualmente bello ma il risultato è lo stesso)
Davvero non saprei quale possa essere il problema...
Non è che c'è qualche pulsante da abilitare (magari ho disabilitato qualcosa)???
Per quanto riguarda quando ha cominciato a farlo  :( non mi ricordo...visto che non lo uso quasi mai se non quando faccio il giro per il forum alla ricerca di errori vari... me ne sono accorto un mesetto fa ma da quando realmente non funzioni non ne ho idea


Per l'altro discorso... rimossa la mod tutti i link che ho inseriti nei blocchi devo riscriverli o va bene così?
Aprire si aprono quindi non penso ci siano problemi...
Inoltre togliere questo index.php aiutava nel posizionamento google??


Rimetto le righe php corrette come mi hai detto...
Ps la riga con le informazioni per creare i link non appare
// Show the topic information - icon, subject, etc.
echo '', $social_icons, '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
<!-- Google Translator Flags by Roco -->
<div style="float:right; margin:2px 1px; display:inline; vertical-align:middle; zoom:1;" charset="utf-8">
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=en&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into English [EN]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/us.png" alt="[EN]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Przetlumacz na Polski [PL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pl.png" alt="[PL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=es&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traducción al espanol [ES]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/es.png" alt="[ES]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pt&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduzir em Portugues [PT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pt.png" alt="[PT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=it&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Tradurre in italiano [IT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/it.png" alt="[IT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=de&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ins Deutsche übersetzen [DE]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/de.png" alt="[DE]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=fr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduire en français [FR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/fr.png" alt="[FR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=nl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Vertaal in het Nederlands [NL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/nl.png" alt="[NL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=tr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into türkye [TR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/tr.png" alt="[TR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=sr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?Ñ?еведи на Ñ?Ñ?пÑ?ки [SR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/sr.png" alt="[SR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ar&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="[AR] ترجÙ?Ø© Ø¥Ù?Ù? اÙ?Ù?غة اÙ?عربÙ?Ø© " target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ar.png" alt="[AR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ru&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?еÑ?евеÑ?Ñ?и на Ñ?Ñ?Ñ?Ñ?кий [RU]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ru.png" alt="[RU]" style="border:none;" /></a>
</div>
               <!-- End of Google Translator Flags by Roco -->
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
      </tr>';
if($user_info['is_admin']){
echo '<tr><td>&nbsp;</td><td>&nbsp;</td>';
echo '<td>lang_dictionary: ' . $txt['lang_dictionary'] . ' scripturl: ' . $scripturl . ' current_topic: ' . $context['current_topic'] . '<br />
<pre>
http://translate.google.com/translate?hl=en&amp;sl=' . $txt['lang_dictionary'] . '&amp;tl=en&amp;u=' . $scripturl . '?topic=' . $context['current_topic'] . '.0.html
</pre>
</td></tr>';
}
   if (!empty($settings['display_who_viewing']))
   {


Non ho parole per ringraziarti...grazie del tempo che mi dedichi

fdr77

E se cambio tutte quelle stringe con il link preso dal gadget google
http://translate.google.com/translate?js=n&prev=_t&hl=it&ie=UTF-8&layout=2&eotf=1&sl=it&tl=en&u=http://www.discusrewind.net

é possibile??

emanuele

#12
Quote from: fdr77 on October 12, 2010, 08:31:50 PM
Per l'altro discorso... rimossa la mod tutti i link che ho inseriti nei blocchi devo riscriverli o va bene così?
Aprire si aprono quindi non penso ci siano problemi...
Inoltre togliere questo index.php aiutava nel posizionamento google??
Alla prima domanda hai già risposto. :P
Alla seconda ti rispondo con un'ipotesi ed un ragionamento. Ipotesi:  dopo 15 anni di vita, google dovrebbe sapere che le URL possono contenere la voce "index.php" e che questa è relativamente inutile nel definire il contenuto di una pagina e quindi il ranking :P quindi è una "preferenza" personale nella visualizzazione dell'URL (e ad ogni modo implementare questa scelta in quel modo non mi sembra la soluzione migliore, la più facile sicuramente, ma non la migliore). Ragionamento: stai usando "pretty URL" o qualcosa di simile, quindi già per via di quello index.php non viene mostrato mai nelle URL, quindi questa modifica è sostanzialmente inutile per il tuo forum. ;)



Quote from: fdr77 on October 12, 2010, 08:31:50 PM
Non è che c'è qualche pulsante da abilitare (magari ho disabilitato qualcosa)???
Difficile per me da dire...
E' strano perché l'URL è completamente sbagliata, le uniche ipotesi c'è qualcosa che modifica le URL dopo che il template è stato generato, oppure c'è un errore da qualche parte nell'introdurre le variabili...

Quote from: fdr77 on October 12, 2010, 08:31:50 PM
Per quanto riguarda quando ha cominciato a farlo  :( non mi ricordo...visto che non lo uso quasi mai se non quando faccio il giro per il forum alla ricerca di errori vari... me ne sono accorto un mesetto fa ma da quando realmente non funzioni non ne ho idea
Ok, potrebbe quindi essere qualunque cosa... ;)


Quote from: fdr77 on October 12, 2010, 08:31:50 PM
Rimetto le righe php corrette come mi hai detto...
Ps la riga con le informazioni per creare i link non appare
Piccola mancanza da parte mia non avendo testato il codice... :-[
Appena prima di:

if($user_info['is_admin']){
echo '<tr><td>&nbsp;</td><td>&nbsp;</td>';
echo '<td>lang_dictionary: ' . $txt['lang_dictionary'] . ' scripturl: ' . $scripturl . ' current_topic: ' . $context['current_topic'] . '<br />
<pre>
http://translate.google.com/translate?hl=en&amp;sl=' . $txt['lang_dictionary'] . '&amp;tl=en&amp;u=' . $scripturl . '?topic=' . $context['current_topic'] . '.0.html
</pre>
</td></tr>';
}
   if (!empty($settings['display_who_viewing']))
   {


aggiungi:
global $user_info;

Il risultato finale dovrà essere:

global $user_info;
if($user_info['is_admin']){
echo '<tr><td>&nbsp;</td><td>&nbsp;</td>';
[...]


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

Adesso sotto le bandierine appare questo

    lang_dictionary: it scripturl: http://www.discusrewind.net/index.php current_topic: 194

http://translate.google.com/translate?hl=en&sl=it&tl=en&u=http://www.discusrewind.net/index.php?topic=194.0.html


in pratica prende l'indirizzo del topic senza la modifica che fa il pretty urls e non traduce

se io cambio così ....stesso topic ma mettendo l'indirizzo così come modificato dal pretty urls

http://translate.google.com/translate?hl=en&sl=it&tl=en&u=www.discusrewind.net/tecnica-e-fai-da-te/luci-led-autocostruite/

Funziona tutto perfettamente  >:(

emanuele

Come pensavo...
Rimuovi pure il pezzo che ti ho fatto aggiungere prima, ora sappiamo che fino a lì funziona come si deve.

Prova con questo "trucchetto", potrebbe funzionare (dato che credo sia quello che viene fatto anche dal mod Share this topic che appena qualche riga prima funziona), rimpiazza il codice originale con questo:

// Show the topic information - icon, subject, etc.
   echo '', $social_icons, '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
      <tr class="catbg3">
            <td valign="middle" width="2%" style="padding-left: 6px;">
                  <img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
            </td>
            <td width="13%"> ', $txt[29], '</td>
            <td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
               <!-- Google Translator Flags by Roco -->
               <div style="float:right; margin:2px 1px; display:inline; vertical-align:middle; zoom:1;" charset="utf-8">
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=en&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Translate into English [EN]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/us.png" alt="[EN]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pl&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Przetlumacz na Polski [PL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pl.png" alt="[PL]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=es&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Traducción al espanol [ES]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/es.png" alt="[ES]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pt&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Traduzir em Portugues [PT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pt.png" alt="[PT]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=it&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Tradurre in italiano [IT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/it.png" alt="[IT]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=de&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Ins Deutsche übersetzen [DE]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/de.png" alt="[DE]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=fr&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Traduire en français [FR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/fr.png" alt="[FR]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=nl&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Vertaal in het Nederlands [NL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/nl.png" alt="[NL]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=tr&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Translate into türkye [TR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/tr.png" alt="[TR]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=sr&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Ð?Ñ?еведи на Ñ?Ñ?пÑ?ки [SR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/sr.png" alt="[SR]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ar&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="[AR] ترجÙ?Ø© Ø¥Ù?Ù? اÙ?Ù?غة اÙ?عربÙ?Ø© " target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ar.png" alt="[AR]" style="border:none;" /></a>
                  <a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ru&amp;u=', urlencode($scripturl, '?topic=', $context['current_topic'], '.0') , '.html" title="Ð?еÑ?евеÑ?Ñ?и на Ñ?Ñ?Ñ?Ñ?кий [RU]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ru.png" alt="[RU]" style="border:none;" /></a>
               </div>
               <!-- End of Google Translator Flags by Roco -->
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
      </tr>';
   if (!empty($settings['display_who_viewing']))
   {
      echo '
      <tr>
            <td colspan="3" class="smalltext">';


ho usato la funzione urlencode per i link da tradurre.

L'impressione che ho è che il problema sia pretty URLs che tentando di "prettyzzare" tutti i link del template (magari con un preg_match o preg_replace) riconosce il pattern di un link interno del forum (anche se è esterno) e lo cambia togliendo il link a google. Con urlencode il link del topic potrebbe diventare sufficientemente "diverso" da non essere più riconosciuto dall'espressione regolare e quindi dovrebbe funzionare.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

Adesso va nella pagina di traduzione ma esce questo
Google     
Error

Sorry, we are unable to access the page you requested:
http://.html/

sopra nell'indirizzo scive solo questo
http://translate.google.com/translate?hl=en&sl=it&tl=en&u=.html

emanuele

Il problema è decisamente pretty urls, la soluzione devo ancora trovarla...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

Non ti preoccupare.... quando e se puoi .... sei stato fin troppo gentile :)

emanuele

Il problema come detto è pretty urls, come avevo sospettato usa un'espressione regolare per trovare tutti i link contenuti nella pagina mentre questa viene generata per convertirli nella versione "pretty". Il problema è che l'espressione regolare non si accorge che i link delle traduzioni non andrebbero convertiti...

Una soluzione che ho trovato è questa:
1) togli le ultime modifiche che ti ho suggerito (urlencode)...sorry...
2) apri PrettyUrls-Filter.php e vai intorno alla riga 25 per trovare il seguente blocco di codice:

foreach ($matches[2] as $match)
{
// Rip out everything that shouldn't be cached
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);

// Absolutise relative URLs
if (!preg_match('~^[a-zA-Z]+:|^#|@~', $match) && SMF != 'SSI')
$match = $boardurl . '/' . $match;

// Replace $boardurl with something a little shorter
$url_id = str_replace($boardurl, '`B', $match);

$urls_query[] = '\'' . addslashes($url_id) . '\'';
$uncached_urls[$url_id] = array(
'url' => $match,
'url_id' => $url_id
);
}

e cambialo con questo:

foreach ($matches[2] as $match)
{if(!strstr($match, 'http://translate')){
// Rip out everything that shouldn't be cached
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);

// Absolutise relative URLs
if (!preg_match('~^[a-zA-Z]+:|^#|@~', $match) && SMF != 'SSI')
$match = $boardurl . '/' . $match;

// Replace $boardurl with something a little shorter
$url_id = str_replace($boardurl, '`B', $match);

$urls_query[] = '\'' . addslashes($url_id) . '\'';
$uncached_urls[$url_id] = array(
'url' => $match,
'url_id' => $url_id
);
}}

Testato e pare funzionare. In pratica quello che fa è che se un url contiene "http://translate" allora non lo converte in "pretty".
Ammetto che non è la soluzione migliore, ma con le espressioni regolari proprio non ci vado d'accordo...ho provato per più di due ore a vedere se riuscivo a farla funzionare come si deve, ma non ci son riuscito...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

fdr77

#19
Quindi...
display template.php rimetto così

// Show the topic information - icon, subject, etc.
echo '', $social_icons, '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
<!-- Google Translator Flags by Roco -->
<div style="float:right; margin:2px 1px; display:inline; vertical-align:middle; zoom:1;" charset="utf-8">
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=en&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into English [EN]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/us.png" alt="[EN]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Przetlumacz na Polski [PL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pl.png" alt="[PL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=es&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traducción al espanol [ES]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/es.png" alt="[ES]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=pt&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduzir em Portugues [PT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/pt.png" alt="[PT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=it&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Tradurre in italiano [IT]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/it.png" alt="[IT]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=de&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ins Deutsche übersetzen [DE]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/de.png" alt="[DE]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=fr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Traduire en français [FR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/fr.png" alt="[FR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=nl&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Vertaal in het Nederlands [NL]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/nl.png" alt="[NL]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=tr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Translate into türkye [TR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/tr.png" alt="[TR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=sr&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?Ñ?еведи на Ñ?Ñ?пÑ?ки [SR]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/sr.png" alt="[SR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ar&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="[AR] ترجÙ?Ø© Ø¥Ù?Ù? اÙ?Ù?غة اÙ?عربÙ?Ø© " target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ar.png" alt="[AR]" style="border:none;" /></a>
<a href="http://translate.google.com/translate?hl=en&amp;sl=', $txt['lang_dictionary'], '&amp;tl=ru&amp;u=', $scripturl, '?topic=', $context['current_topic'], '.0.html" title="Ð?еÑ?евеÑ?Ñ?и на Ñ?Ñ?Ñ?Ñ?кий [RU]" target="_blank"><img src="', $settings['default_theme_url'], '/images/gtflags/ru.png" alt="[RU]" style="border:none;" /></a>
</div>
<!-- End of Google Translator Flags by Roco -->
', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';
if (!empty($settings['display_who_viewing']))
{
echo '
<tr>
<td colspan="3" class="smalltext">';

// Show just numbers...?
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt[19];
// Or show the actual people viewing the topic?
else
echo empty($context['view_members_list']) ? '0 ' . $txt[19] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');


prettyurls-filter.php metto così

// Find all URLs in the buffer
$context['pretty']['search_patterns'][] = '~(<a[^>]+href=|<link[^>]+href=|<form[^>]+?action=)(\"[^\"#]+|\'[^\'#]+)~';
$urls_query = array();
$uncached_urls = array();
foreach ($context['pretty']['search_patterns'] as $pattern)
{
preg_match_all($pattern, $buffer, $matches, PREG_PATTERN_ORDER);
foreach ($matches[2] as $match)
{if(!strstr($match, 'http://translate')){
// Rip out everything that shouldn't be cached
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);

// Absolutise relative URLs
if (!preg_match('~^[a-zA-Z]+:|^#|@~', $match) && SMF != 'SSI')
$match = $boardurl . '/' . $match;

// Replace $boardurl with something a little shorter
$url_id = str_replace($boardurl, '`B', $match);

$urls_query[] = '\'' . addslashes($url_id) . '\'';
$uncached_urls[$url_id] = array(
'url' => $match,
'url_id' => $url_id
);
}}
}


Giusto?

Aggiornamento funziona benissimo adesso  ;)
Sei grande
Grazie di cuore

Advertisement: