The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Currently the sitemap pulls "updated dates" for the CMS from the cms_node field.
I'd like to remove the current line from the sitemap: Code:
$content .= "\n\t" . '<lastmod>' . gmdate(DATE_W3C, $sitemap['lastmod']) . '</lastmod>'; Would this one work? Code:
$content .= "\n\t" . '<lastmod>' .Y-m-d\TH:i:s+00:00. '</lastmod>'; |
|
#2
|
|||
|
|||
|
http://php.net/manual/en/function.gmdate.php
Quote:
PHP Code:
|
| 2 благодарности(ей) от: | ||
| Lynne, RichieBoy67 | ||
|
#3
|
|||
|
|||
|
Quote:
Thank you Sir! Any idea what I should change this one to? PHP Code:
PHP Code:
|
|
#4
|
|||
|
|||
|
Exactly.
|
|
#5
|
|||
|
|||
|
|
|
#6
|
||||
|
||||
|
Dave definitely rocks.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|