yeah, will integrate this next version, but i'll also change it a bit, so you can use a description w/o PPNs Hack
for all of you, which want to use PPNs Hack with the Archive, make following changes:
[sql]
ALTER TABLE `archiv` ADD `description` VARCHAR(100) NOT NULL;
[/sql]
edit admin/archiv.php:
find:
PHP Code:
$thread=$DB_site->query_first("SELECT title, postusername, forumid FROM thread WHERE threadid=$threadid");
replace with:
PHP Code:
$thread=$DB_site->query_first("SELECT title, postusername, forumid, description FROM thread WHERE threadid=$threadid");
find:
PHP Code:
$DB_site->query("INSERT INTO archiv (archivid,ersteller,title,forum,firstpost,lastpost,posts,topposter,archivtext) VALUES (NULL,'".addslashes(htmlspecialchars($thread[postusername]))."','".addslashes(htmlspecialchars($thread[title]))."','".addslashes(htmlspecialchars($forum[title]))."','$first[dateline]','$last[dateline]','$totalposts','".addslashes(htmlspecialchars($topposter[postuser]))." (".$topposter[posts].")','".addslashes($fulltext)."')");
replace with:
PHP Code:
$DB_site->query("INSERT INTO archiv (archivid,description,ersteller,title,forum,firstpost,lastpost,posts,topposter,archivtext) VALUES (NULL,'".addslashes(htmlspecialchars($thread[description]))."','".addslashes(htmlspecialchars($thread[postusername]))."','".addslashes(htmlspecialchars($thread[title]))."','".addslashes(htmlspecialchars($forum[title]))."','$first[dateline]','$last[dateline]','$totalposts','".addslashes(htmlspecialchars($topposter[postuser]))." (".$topposter[posts].")','".addslashes($fulltext)."')");
edit
archiv_showarchiv template and add $archiv[description] wherever you want it
should work but isn't tested