Announcement

Collapse
No announcement yet.

Add last post date/time to meta tag?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add last post date/time to meta tag?

    I'd like to add the last post date and time to a meta tag in the printthread template. Is this possible? If yes, how do I do this?

    By the way, is there any documentation on the variables? For example, what type of info can I get from $threadinfo[]? I've learn a few things by going through the templates but it would be nice if there was documentation somewhere.

  • #2
    Add your meta tag to this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Printable Thread Templates -> printthread

    The $threadinfo[lastpost] variable contains the timestamp of the last post. If you want it translated to a readable date for use in the templates then you need to add custom code (plugin or file hack). For help with this you should post on www.vbulletin.org.

    Comment


    • #3
      Thanks for the reply! This will get me going in the right direction.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X