View Full Version : What is called the content of the post
ExorCista
12-04-2012, 03:44 AM
Inglish
Hi all users, anyone know what the call to display the contents of the post? I mean, I put an example
To make the call date of creation of the post is: {vb: datetime {vb: raw conversation.created}} and show me that code creation date> Today, 03:28 AM
So too will find the code that makes the call to show the content area of the post, ie the description.
Thanks for any help you can give me.
regards
Español
Cual es el llamado del contenido del post
Hola a todos los usuarios, alguien sabe cual es el llamado para que se muestre el contenido del post? Es decir; les pongo un ejemplo
Para hacer el llamado de la fecha de creacion del post es: {vb:datetime {vb:raw conversation.created}} y con ese codigo me mostrará la fecha de creacion > Today, 03:28 AM
Asi tambien deseo encontrar el codigo que haga el llamado para que muestre el contendio del post, es decir la descripcion.
Gracias por la ayuda que me puedan brindar.
Saludos
Simon Lloyd
12-04-2012, 07:33 PM
It's this:
{vb:raw post.message}
nhawk
12-05-2012, 04:07 PM
I believe that should be parsedText, which is gotten by this code..
{vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}}
ExorCista
12-05-2012, 07:28 PM
Ingles
Thanks for the reply. I tried both codes and I experienced none apparently shows me the content of the post.
I want to put in meta description, to show me the text of the post.
This is the code that I inserted and I have not worked
<meta name="description" content="{vb:raw post.message}" /> [/ HTML]
[HTML] <meta name="description" content="{vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}}" /> [/ HTML]
It displays the text of the post
Espa?ol:
Gracias por la respuesta. he probado ambos codigos que me brindaron y al parecer ninguno me muestra el contenido del post.
Lo quiero poner en meta description, para que me muestre el texto del post.
Este es el codigo que he insertado y no me ha funcionado
[HTML]<meta name="description" content="{vb:raw post.message}" />
<meta name="description" content="{vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}}" />
No muestra el texto del post
Simon Lloyd
12-05-2012, 08:47 PM
then you want the title instead?
ExorCista
12-05-2012, 08:58 PM
then you want the title instead?
Ingles
desire of the subject content
Espa?ol
deseo el contenido del tema
Simon Lloyd
12-05-2012, 09:38 PM
Either you want the title or the post content?
ExorCista
12-05-2012, 09:47 PM
Either you want the title or the post content?
post content
PS:Sorry my English is poor
Simon Lloyd
12-05-2012, 10:38 PM
first you say it shows you post content and you say you dont want that, you wanted post description, now you say you do want post content, in that case our answers above gave you that.
ExorCista
12-05-2012, 11:43 PM
first you say it shows you post content and you say you dont want that, you wanted post description, now you say you do want post content, in that case our answers above gave you that.
Inglish
codes they gave me does not work.
appears Empty
Espa?ol
los codigos que me brindaron no funciona.
Aparece Vacio
nhawk
12-06-2012, 04:31 PM
First you need to execute this...
{vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}}
And use this for the result...
{vb:raw parsedText}
So your code would look something like this...
{vb:action parsedText, bbcode, parseNodeText, {vb:var conversation.nodeid}}
<meta name="description" content="{vb:raw parsedText}" />
But I don't think that will work in the header because the conversation.nodeid might be obtained after the header is generated. You would have to try it and see. Also, doing it that way will include the BB Code markup in what is produced.
If it doesn't work, then you'll need to write an API to obtain the content of the first post and insert it in the header.
ExorCista
12-06-2012, 07:16 PM
Ingles
Thanks for the replies.
I think I'll wait to create a mod with auto meta n_n
Español
Gracias por las respuestas.
Creo que esperare a que creen un mod con auto meta n_n
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.