Back to vBulletin 3 Articles

How to add your own template group
by Logikos 04 Oct 2004

If you would like to keep your AdminCp Area nice and clean like i do and are looking for a way to group all those custom templates that say arcade_XXXX all over the place, well lets put them in its own group.

Open includes/adminfunctions_template.php

Scroll ALL the way to the bottom and you will see the following:

PHP Code:
// template groups
$only = array
(
        
// phrased groups
        
'buddylist' => $vbphrase['group_buddy_list'],
        
'calendar' => $vbphrase['group_calendar'],
        
'faq' => $vbphrase['group_faq'],
        
'reputation' => $vbphrase['group_user_reputation'],
        
'poll' => $vbphrase['group_poll'],
        
'pm' => $vbphrase['group_private_message'],
        
'register' => $vbphrase['group_registration'],
        
'search' => $vbphrase['group_search'],
        
'usercp' => $vbphrase['group_user_control_panel'],
        
'usernote' => $vbphrase['group_user_note'],
        
'whosonline' => $vbphrase['group_whos_online'],
        
'showgroup' => $vbphrase['group_show_groups'],
        
'posticon' => $vbphrase['group_post_icon'],
        
'userfield' => $vbphrase['group_user_profile_field'],
        
'bbcode' => $vbphrase['group_bb_code_layout'],
        
'help' => $vbphrase['group_help'],
        
'editor' => $vbphrase['group_editor'],
        
'forumdisplay' => $vbphrase['group_forum_display'],
        
'forumhome' => $vbphrase['group_forum_home'],
        
'pagenav' => $vbphrase['group_page_navigation'],
        
'postbit' => $vbphrase['group_postbit'],
        
'threadbit' => $vbphrase['group_threadbit'],
        
'im_' => $vbphrase['group_instant_messaging'],
        
'memberinfo' => $vbphrase['group_member_info'],
        
'memberlist' => $vbphrase['group_members_list'],
        
'modify' => $vbphrase['group_modify_user_option'],
        
'new' => $vbphrase['group_new_posting'],
        
'showthread' => $vbphrase['group_show_thread'],
        
'smiliepopup' => $vbphrase['group_smilie_popup'],
        
'subscribe' => $vbphrase['group_subscribed_thread'],
        
'whoposted' => $vbphrase['group_who_posted'],
        
'threadadmin' => $vbphrase['group_thread_administration'],
        
'phpinclude' => $vbphrase['group_php_include_code'],
        
'navbar' => $vbphrase['group_navigation_breadcrumb'],
        
'printthread' => $vbphrase['group_printable_thread'],
        
'attachmentlist' => $vbphrase['group_attachment_list'],
        
'subscription' => $vbphrase['group_paid_subscriptions'],


        
'aaa' => 'AAA Old Backup'
); 
Above the 'aaa' => 'AAA Old Backup' You can place your groups name.

For instance if you installed the arcade hack all there templates say:

arcade_blah
arcade_blah
arcade_blah
arcade_blah

Then you would add the following above 'aaa' => 'AAA Old Backup':

PHP Code:
'arcade' => $vbphrase['arcade_hack_templates'], 
Then you would add a new phrase call arcade_hack_templates with the text Arcade Hack Templates.

Now the 'arcade => part means which templates are we going to put in this group. And only the templates that start with arcade. and the $vbphrase['arcade_hack_templates'] part is the name of the catogory/group your templates will be under.

So now you should be able to make your own. Hope this is usefull for new hackers!

You can download the tutorial in a .txt format below.
Attached Files
File Type: txt group_templates_tutorial.txt (4.6 KB, 126 views)

Similar Mods

Group Template vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024