![]() | ![]() | |
| ||||||
| vB 3.8 Add-Ons vBulletin 3.8 plugins,modifications,extensions and code changes. |
![]() |
| | Bookmarks | Thread Tools |
| | ||||||
| ||||||
| This modification was brought to you by KXDesign KXDesign - Powered by vBulletin ~Modification name Auto Lock Thread ~Modification description Locks an old thread after X amount of days. ~Modification options
~Modification info File uploads: 0 Template edits: 0 File edits: 0 Plugins: 1 SQL Queries: 0 Phrases: 7 Settings: 3 Install time: 3 sec Install level: Easy ~Modification installation Step 1: Import Product ~Modification screenshots None ~Modification copyright This may not be distributed,released or claimed as your work without author's permission. |
| | #11 (permalink) |
|
|
get this now Fatal error: Call to a member function query_write() on a non-object in /home/blalblal/public_html/includes/cron/dailycleanup.php(96) : eval()'d code on line 14 with Plugin PHP Code if ($vbulletin->options['kx_lockthread_onoff'] == 1) { $kxtime = $vbulletin->options['kx_lockthread_time']; $kxthread = explode(',', $vbulletin->options['kx_lockthread_thread']); foreach ($kxthread as $kxthreads){ $db->query_write(" UPDATE ".TABLE_PREFIX."thread SET open = 0 WHERE open = 1 AND dateline < ".intval(TIMENOW-(86400*$kxtime))); } } Last edited by Andyucs; 18-02-2009 at 12:36. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |