I wil post this in two languages, spanish and English.
English:
Sorry for my english in any case xD!
I have seen several messages in different forums of doing that the vBExternal could show the date in which the content of a topic is extracted and to appear, Well, I, searching and searching, I did not find anything, only in Vbulletin.org, but, i don't have the $$ to be able to adcquire a license, so I do not remain to modify the code.
How to do:
Firt, open te file vBExternal.php and find the line 401:
Under that, add the next few lines:
Now, find the line 405:
Under that, add the next code:
Now, you need to modify your template, adding the new tag {date} to your template news of vBExternal.
Now you can show the date of the thread show in your webpage ^^.
You can change the format of date date("d-m-Y" if you want, just check the php site to see how to do it: Here!
Español:
He visto varios mensajes en distintos foros de como hacer que el vBExternal pueda mostrar la fecha en que se extrae el contenido de un tema y se muestre, Bueno, yo, buscando y buscando, no encontré nada, solo en Vbulletin.org, pero, como mucho de nosotros no me alcanza los $$ para poder adquirir una licencia, asàque no me quedo otra modificar yo mismo el codigo.
Como hacerlo:
Primero, Abre el archivo vBExternal.php y busca la linea 401:
A bajo de eso, añade lo siguiente:
Ahora, busca la linea 405: (siempre y cuando hubieras puesto el codigo anterior):
Bajo eso, añade este codigo:
Ahora, ya puedes mostrar la fecha en que fue publicado el tema que será puedo como noticia en tu página principal, si quieres tambien puedes cambiar el formato de fecha en date("d-m-Y" solo ve a la página de php y reviza los diferentes formatos de fecha y usa el que mas te agrade: Here!
Saludos! ^^
English:
Sorry for my english in any case xD!
I have seen several messages in different forums of doing that the vBExternal could show the date in which the content of a topic is extracted and to appear, Well, I, searching and searching, I did not find anything, only in Vbulletin.org, but, i don't have the $$ to be able to adcquire a license, so I do not remain to modify the code.
How to do:
Firt, open te file vBExternal.php and find the line 401:
Code:
while($News = $db->fetch_array($NewestNews)){
Under that, add the next few lines:
Code:
$vb_udate = $News["dateline"];
$vb_date = date("d-m-Y",$vb_udate);
Now, find the line 405:
Code:
array(
'threadid' => $News['threadid'],
Under that, add the next code:
Code:
'date' => $vb_date,
Now, you need to modify your template, adding the new tag {date} to your template news of vBExternal.
Now you can show the date of the thread show in your webpage ^^.
You can change the format of date date("d-m-Y" if you want, just check the php site to see how to do it: Here!
Español:
He visto varios mensajes en distintos foros de como hacer que el vBExternal pueda mostrar la fecha en que se extrae el contenido de un tema y se muestre, Bueno, yo, buscando y buscando, no encontré nada, solo en Vbulletin.org, pero, como mucho de nosotros no me alcanza los $$ para poder adquirir una licencia, asàque no me quedo otra modificar yo mismo el codigo.
Como hacerlo:
Primero, Abre el archivo vBExternal.php y busca la linea 401:
Code:
while($News = $db->fetch_array($NewestNews)){
Code:
$vb_udate = $News["dateline"];
$vb_date = date("d-m-Y",$vb_udate);
Ahora, busca la linea 405: (siempre y cuando hubieras puesto el codigo anterior):
Code:
array(
'threadid' => $News['threadid'],
Code:
'date' => $vb_date,
Ahora, ya puedes mostrar la fecha en que fue publicado el tema que será puedo como noticia en tu página principal, si quieres tambien puedes cambiar el formato de fecha en date("d-m-Y" solo ve a la página de php y reviza los diferentes formatos de fecha y usa el que mas te agrade: Here!
Saludos! ^^