Back to vBulletin 4.x Template Modifications

Move Thread to Other forum when Moderate
Mod Version: 1.00, by VuThanhLai

vB Version: 4.2.0 Rating: (0 vote - 0 average) Installs: 5
Released: 04 Dec 2012 Last Update: Never Downloads: 0
Not Supported  

Some time, you want to move one topic to another forum when you moderating. If so, this article is really useful for you.

(Applies to all vBB version )

Demo:


Open file mocp/moderate.php

Find (About line 420):
PHP Code:
print_label_row('<b>' $vbphrase['forum'] . '</b>''<a href="../' fetch_seo_url('forum', array('forumid' => $thread['forumid'], 'title' => $vbulletin->forumcache["$thread[forumid]"]['title'])) . "\" target=\"_blank\">" $vbulletin->forumcache["$thread[forumid]"]['title'] . "</a>"); 
Add to Bellow:
PHP Code:
//--Added by vt.lai - SinhVienIT.Net
print_forum_chooser($vbphrase['forum'], "forumid[$thread[threadid]]"$thread['forumid']);
//-- 
Find Next (About line 600):
PHP Code:
$threadman->set_info('skip_first_post_update'true); 
Add to bellow:
PHP Code:
//--Added by: vt.lai - SinhVienIT.Net
$fid=intval($_POST['forumid'][$threadinfo['threadid']]);
if(
$fid)
   
$threadman->set('forumid'$fid);
//-------------- 
DOne !

Source: http://sinhvienit.net/@forum/threads/231664-chuyen-bai-viet-sang-box-khac-khi-duyet-bai-move-thread-to-other-forum-when-moderate/

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024