vBadvanced CMPS

Add Module: PHP File Module


Main Options
Module Title
Active
Setting this option to 'No' will prevent this module from being shown on any pages.
PHP File Module Options
File to Include
Module Parent
With some select modules (such as the News Archive) it may be necessary to specify a parent module. If this module requires a parent module you may specify that parent here.
Identifier
PHP file modules require a unique identifier to help identify the module and its settings. Please note that this cannot be changed later and the identifier used for each PHP module must be unique.
Templates Used
Here you may enter a list of any templates that are called within your PHP file and used in this module. This is necessary to cache the templates as well as figure out which templates belong to this module when downloading modules. Separate each template with a carriage return (new line).
Initialize BB Code Parser
If this module uses vBulletin BB codes in any way, this option must be turned on.
Initialize Forum Permissions
If this module pulls information regarding your forums, threads, or posts, and you wish to apply your vBulletin forum permissions to this module, this option must be turned on.
Initialize Moderator Cache/Permissions
If this module requires information for your moderator permissions (ie: uses the can_moderate() function), this option must be turned on to initialize your moderator permissions.
Initialize Ignored Users
If this module pulls information regarding your forum's threads, or posts, and you wish to prevent threads/posts from users on a member's ignore list or users listed in your "Tachy Goes to Coventry" vBulletin setting from being displayed, this option must be turned on.
Clean File Output
If your are trying to include a PHP file that was not written specifically for vBulletin or vBadvanced, it may be necessary to "clean" the output of this file. If you add a module and the content prints out as the first thing on the top your page, this is a good indication that it needs to be cleaned.


Module Wrapper Template Options
This section deals with options that may be applied to your 'adv_portal_module_wrapper' template. Please note that the options are only applicable if the 'Use Module Wrapper Template' option below is set to 'Yes'. Also note that all templates should use the following format if this setting is enabled:
<tr>
<td class="$bgclass"> <!-- Your code here --> </td>
</tr>
Use Module Wrapper Template
This option will "wrap" a template ('adv_portal_module_wrapper', unless an Alternative template is specified) around the output of this Module template. This is intended to keep your modules uniform and make it easy to change the look of most all modules by editing one template.
Alternative Module Wrapper Template
If you would like, you may specify a different template to wrap around the contents of this module by entering its title here. If left blank, this module will use the 'adv_portal_module_wrapper' template instead if the setting above is enabled.
Module Link
If you would like the title of this Module to link to another page on your site you may enter the file that this Module should link to here.
Title Row Colspan
If the module will have more than one table cell in the code which is output, you may set a colspan value here that will be placed in the main title row of the wrapper template.
Form Code
If your module requires a <form> tag, you may enter the code for that form tag here. This allows for the code to be placed above the table and comply with XHTML standards.
Collapse Module by Default
Turn this option on if you would like this module to appear collapsed and require your users to click the "expand" image before revealing the content of the module. Note that your "Enable Collapsible Modules" setting must be enabled for this to work.


Usergroup Permissions
Here you may specify which usergroups will be able to view this module.


vBulletin v3.8.7, Copyright ©2000-2013, Jelsoft Enterprises Ltd.