The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Old Vb Settings for config file
Found this settings file on my external D. I cant' remember if it was for vb 3 or 4 and what setting I had to be careful of.
Code:
// Force all userinfo queries to include avatar information. This can be used to show the browsing user's avatar in the navbar, for example. //define('AVATAR_ON_NAVBAR', 1); // Skip check for install and tools files. Potential security risk! If you define this, vBulletin won't show the normal error that you get when you have not yet deleted the tools.php and installation files. //define('BYPASS_FILE_CHECK', 1); // Set whether or not vBulletin is running in demo mode //define('DEMO_MODE', 1); // Use this to unconditionally disable all hooks/plugins/products on vBulletin. Useful for debugging or for fixing broken boards. //define('DISABLE_HOOKS', 1); // Force hooks to be used, even if they are not enabled in the settings. DISABLE_HOOKS (above) overrides FORCE_HOOKS //define('FORCE_HOOKS', 1); // Good for test boards. This unconditionally disables all emails that vBulletin might have tried to send. //define('DISABLE_MAIL', 1); // Define this if you don't want the password in the login box to be zapped onsubmit. This is useful for integrating vBulletin with other software when you want the user's password to be submitted // in plaintext instead of MD5'd. //define('DISABLE_PASSWORD_CLEARING', 1); // Do not redirect/reload the ACP after importing a product XML file. //define('DISABLE_PRODUCT_REDIRECT', 1); // Send cron log entries to browser //define('ECHO_CRON_LOG', 1); // Windows servers may want lines delimited this way //define('FORCE_MAIL_CRLF', 1); // Automatic advance - enable if you want to get through upgrades quickly without reading the text //define('HIDEPROCEED', 1); // Secondary usergroup will not override Primary "Show on Members List" setting //define('MEMBERLIST_INCLUDE_SECONDARY', 1); // Set as false to disable the Javascript-based disabling of criteria in the notice add/edit code //define('NOTICE_CRITERIA_JS', 0); // Disable javascript progress meter in ACP //define('NO_IMPORT_DOTS', 1); // Use explain syntax for sql queries; good for checking during optimization //define('POST_EXPLAIN', 1); // Don't use a vBulletin database connection; good for integration if your CMS has it's own DB suite //define('SKIPDB', 1); // Reduces the number of cookie headers returned - IIS might run better. //define('SKIP_AGGRESSIVE_LOGOUT', 1); // Skip check of Post requests against the referrer domain whitelist. Potential security risk! //define('SKIP_REFERRER_CHECK', 1); //define('CSRF_SKIP_LIST', 'postnews'); //Skip the CSRF check when($_POST['postnews'] == 'postnews') define('CSRF_PROTECTION', true); //Enable the CSRF PROTECTION for the current script. define('THIS_SCRIPT', 'index'); //Very apparent constant, useful to run some scripts based on the script being used. //Ex: caching some templates for certain script instead of caching them for every page, this will help to reduce the memory usages. //And many many possible usages. //define('NOPMPOPUP', true); //Disable the PM pop up dialogue. //define('SESSION_BYPASS', true); //Don't update the lastactivity or lastvisit fields for the current logged in user. //define('LOCATION_BYPASS', true); //Don't register where is the user (in which forum or thread etc). //define('NOCOOKIES', true); //Don't send any cookies. //define('SKIP_REFERRER_CHECK', true); //Don't check the referrer website, this will help to accept post requests from other websites. |
2 благодарности(ей) от: | ||
Dr.CustUmz, z3r0 |
#2
|
||||
|
||||
This should be an article and quick glimpse looks like these will work with vB3 (may be for both versions?) Thanks for the share, some settings I didnt know about ^^
added **** why would you use Code:
define('THIS_SCRIPT', 'index'); |
#3
|
|||
|
|||
No mention of config only settings, meaning its just a reference file with misc settings in :up:
|
#4
|
||||
|
||||
I don't remember where i got this from. but those were the settings provided if i remember correctly for vb3.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|