[6.3.x] [beta] Random Quotes - 05/26/2002 7:09 AM
Mod Name: Random Quotes
Description: Displays random quotes on the forum summary page.
Can be enabled/disabled from the UBBâ„¢ Control Panel.
Quotes can be edited from the Control Panel.
JCTemplates supported.
By: Idle
Email: [email protected]
Date: May 26th, 2002
Version: 2.0
Requirements: 6.3.0 Beta Release 1 or newer.
Compatability: 6.3.x or newer.
Tested On: 6.3.0 Beta Release 1 and 6.3.0
Files Modified: ubb_forum_summary.cgi, cp.cgi, cp_lib.cgi, vars_wordlets_cp.cgi, cp_common.pl, public_forum_summary.pl
New Files: cp_quotes.cgi, cp_vars_idle.pl, cp_view_quotes.pl, cp_edit_quotes.pl, vars_idle.cgi (additional three quote files)
Download: ZIP File or MultiHack v2.0
Updates: v1.1 -
Instead of using a hardcoded filelist array, it now retrieves a list of files in the quotes directory.
With this method, adding/removing new quote files is much easier.
All you have to do is either delete a file from your NonCGI/quotes directory, or upload a new one (make sure the format is always "thequote|author").
v2.0 -
Major code changes. Two bugs spotted and fixed. New features include:
Existing users will need to re-hack the following files:
ubb_lib_2.cgi - remove previous changes for this mod
ubb_forum_summary.cgi - redo step two for this file
cp.cgi - refer to instructions
Description: Displays random quotes on the forum summary page.
Can be enabled/disabled from the UBBâ„¢ Control Panel.
Quotes can be edited from the Control Panel.
JCTemplates supported.
By: Idle
Email: [email protected]
Date: May 26th, 2002
Version: 2.0
Requirements: 6.3.0 Beta Release 1 or newer.
Compatability: 6.3.x or newer.
Tested On: 6.3.0 Beta Release 1 and 6.3.0
Files Modified: ubb_forum_summary.cgi, cp.cgi, cp_lib.cgi, vars_wordlets_cp.cgi, cp_common.pl, public_forum_summary.pl
New Files: cp_quotes.cgi, cp_vars_idle.pl, cp_view_quotes.pl, cp_edit_quotes.pl, vars_idle.cgi (additional three quote files)
Download: ZIP File or MultiHack v2.0
Updates: v1.1 -
Instead of using a hardcoded filelist array, it now retrieves a list of files in the quotes directory.
With this method, adding/removing new quote files is much easier.
All you have to do is either delete a file from your NonCGI/quotes directory, or upload a new one (make sure the format is always "thequote|author").
v2.0 -
Major code changes. Two bugs spotted and fixed. New features include:
- All files with extensions .cgi and .txt will be read within the quotes directory
Existing users will need to re-hack the following files:
ubb_lib_2.cgi - remove previous changes for this mod
ubb_forum_summary.cgi - redo step two for this file
cp.cgi - refer to instructions