The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]() Quote:
1. ALTER TABLE `testvb_thread` ADD `whoviewedreset` INT( 10 ) UNSIGNED NOT NULL ; 2. The data in there should be in $thread[whoviewedreset] or $threadinfo[whoviewedreset], I'm not sure ![]() You would have to insert something like this in the showthread.php file and call the date with the var $whoviewedreset if ($thread['whoviewedreset'] != '') { $whoviewedreset = vbdate('$vboptions[dateformat]', '$thread[whoviewedreset]'); } else { $whoviewedreset = "Never"; } 3. solved in 2. 4. $DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET whoviewedreset = " . TIMENOW . " WHERE threadid = $threadid"); Next time just ask me to code the script for you ![]() No, I'm glad to be of help. I'm sure you'll get the hang of it sooner or later ![]() (I have the feeling I forgot something, not sure what though...) |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|