Changeset 443
- Timestamp:
- 04/16/08 18:08:05 (5 years ago)
- Location:
- sitemaps/optionals/de.easy-coding.wbb.sitemaps
- Files:
-
- 2 modified
-
files/lib/system/event/listener/SitemapsPageWBBListener.class.php (modified) (3 diffs)
-
package.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sitemaps/optionals/de.easy-coding.wbb.sitemaps/files/lib/system/event/listener/SitemapsPageWBBListener.class.php
r276 r443 152 152 $this->boardThreadsPerPage(); 153 153 154 $sql = "SELECT board.* 155 FROM wbb".WBB_N."_board board 154 $sql = "SELECT board.*, 155 t.lastPostTime 156 FROM wbb".WBB_N."_board board 157 NATURAL JOIN wbb".WBB_N."_board_last_post blp 158 JOIN wbb".WBB_N."_thread t 159 ON blp.threadID = t.threadID 156 160 WHERE board.threads > 0 157 161 AND board.boardID IN (".$boardIDs.") 158 162 ".(count($this->boardIDs) && $this->boardIDs[0] ? "AND board.boardID IN (".implode(',', $this->boardIDs).")" : "")." 163 AND blp.languageID=0 159 164 ORDER BY board.time DESC"; 160 165 … … 165 170 $this->boards[$i] = new SitemapsBoard($row['boardID'], $row); 166 171 $this->boards[$i]->full = true; 172 $this->boards[$i]->time = $row['lastPostTime']; 173 167 174 if(intval($this->boards[$i]->getThreads()) == 0) { 168 175 continue; … … 254 261 $tpl = '<url><loc>'.PAGE_URL.'/%s</loc><lastmod>%s</lastmod></url>'; 255 262 foreach($this->boards as $board) { 256 printf($tpl, $board->url, date('c', $board-> time));263 printf($tpl, $board->url, date('c', $board->lastPostTime)); 257 264 } 258 265 } else { -
sitemaps/optionals/de.easy-coding.wbb.sitemaps/package.xml
r300 r443 9 9 <packagedescription language="de"><![CDATA[XML Sitemaps fÃŒr Woltlab Burning Board.]]></packagedescription> 10 10 <packagedescription language="fr"><![CDATA[Sitemaps XML pour Woltlab Burning Board]]></packagedescription> 11 <version>1. 0.1</version>11 <version>1.2.1</version> 12 12 <date>DATE</date> 13 13 <plugin>com.woltlab.wbb</plugin> … … 31 31 </instructions> 32 32 33 <instructions type="update" fromversion="1.0.1"> 34 <files>files.tar</files> 35 </instructions> 36 33 37 <instructions type="update" fromversion="1.0.0"> 34 38 <files>files.tar</files>
