Back to vBulletin 3.6 Add-ons

Admin CP Thread Prefixes Add-On move & del by prefix
Mod Version: 1.00, by itsid

This modification is in the archives.
vB Version: 3.6.4 Rating: (1 vote - 4.00 average) Installs: 17
Released: 16 Dec 2006 Last Update: Never Downloads: 118
Not Supported Code Changes  

If you have installed Mystic's thread prefix hack,
maybe you're interested in moving and deleting threads by prefix within the acp.

To do so,
you have to edit your admincp/thread.php as below:

FIND:
PHP Code:
print_input_row($vbphrase['title'], 'thread[titlecontains]'); 
ADD ABOVE:
PHP Code:
        //thread-prefix Add-on
        
print_input_row($vbphrase['threadprefix'], 'thread[threadprefix]');
        
//Eo thread-prefix Add-on 
AND
FIND:
PHP Code:
// title contains
    
if ($thread['titlecontains'])
    {
        
$query .= " AND thread.title LIKE '%" $db->escape_string_like(htmlspecialchars_uni($thread['titlecontains'])) . "%'";
    } 
ADD ABOVE:
PHP Code:
  // thread-prefix Add-on
  
if ($thread['threadprefix'])
  {
      
$query .= " AND thread.threadprefix = '$thread[threadprefix]'";
  } 
  
//Eo thread-prefix Add-on 
it's not as elegant as a dropdown with all possible prefixes, but it'll do if you type in your prefixes manually.

cheers
'sid

Download

This modification is archived, downloads are still allowed.

File Type: %1$s sids_acp_thread-prefix_Add-on.txt (1.0 KB, 151 downloads)

Similar Mods

[Add-on] Thread Prefixes: Quick Prefix Filter vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024