PolarBlog Documentation
Last Updated: November 23, 2007
Introduction top
PolarBlog is an easily configurable embedded weblog solution. There are two primary target audiences for PolarBlog:
- Those who want a blog that can easily be integrated with their existing web site's look and feel.
- Users of Personal Weblog who are looking to easily migrate to a more feature rich solution without losing their existing Personal Weblog entries.
Because PolarBlog's look is all CSS based, it can also be configured to look and function as an independent entity that is not themed like the rest of a web site.
There are two factors that have driven the development of PolarBlog:
- My needs and desires out grew my previous solution. (Click here for the full explanation.)
- I couldn't find another solution I liked and I wanted to easily migrate my existing blog entries. When in doubt, do it yourself!
Features top
Standard Features top
- Runs with PHP Register Globals OFF.
- Runs with PHP Safe Mode ON.
- Runs with PHPE_STRICT error reporting.
- Validates as XHTML Strict Compliant.
- Validates as CSS Compliant.
- CSS control of display layout.
- Supports complete language localization.
- Fully configurable commenting system featuring IP blocking, banned keyword blocking and real-time spam IP blacklisting (RBL).
- Fully configurable trackback system featuring IP blocking, banned keyword blocking and real-time spam IP blacklisting (RBL).
- Ping-O-Matic! support.
- MySQL full-text searching and optionally, boolean full-text searching of entries.
- Supports multiple bloggers on a single webblog.
- Calendar display with entry navigation that includes entry count tooltip.
- Full index page of all entries sorted by date.
- Configurable recent entries display list.
- Permalink for each entry.
- Word count display for each entry.
- Google topic search link for each entry.
- Syndication via RSS 2.0
- Entry display enable/disable in entry editor.
- Entry create & update timestamp setting/resetting.
- Entry create & update timestamp shifting up to 24 hours forwards or backwards.
- Automatic replacement of double spaces in entries with two
entities.
- Automatic insertion of double line breaks (Auto-Break:
<br /><br />) for blank lines.
Optional Features top
Requirements top
- PHP >= 4.x
- MySQL >= V3.23.23 (required for full-text search)
- Web Browser (cookies required for administrative/logged in session support)
Installation top
The majority of the instructions in the New Installation section below apply to all installations. Users migrating from Personal Weblog (PWL) should follow these steps also and will be advised within when they should proceed to the Migrating from Personal Weblog section. Before beginning a migration installation you are highly recommended to read the Personal Weblog Compatibility section.
New Installation top
- Download the latest PolarBlog release.
- Familiarize yourself with the changes made to PolarBlog by reviewing the CHANGES file.
- If you are installing PolarBlog on a Gentoo Linux system, you should review this mailing list message.
- Untar the archive in your web directory. A directory will be created of the format "PB_vXX", where "XX" is the version number. (e.g. "PB_v10" for PolarBlog V1.0)
- Either rename the directory to "polarblog" (or another name of your choosing) or create a "polarblog" symbolic link to the current release directory.
- In order for RSS to work properly you MUST to complete the steps in the RSS Configuration section.
- Go to the PolarBlog CSS directory: cd polarblog/css
- Copy/enable one of the distribution CSS files: cp standard.css.dist standard.css You can edit this CSS file as required after completing the installation. If you would like to use the left navigation option, please see the Enabling Left Navigation appendix.
- Go to the PolarBlog configuration directory: cd polarblog/config
- Copy the distribution configuration file: cp config.php.dist config.php
- Edit your configuration file (config/config.php) as necessary. At the minimum you must set the following configuration settings for PolarBlog to function:
- LIB_PATH
- DB_PREFIX
- DB_HOST
- DB_NAME
- DB_USER
- DB_PASSWD
- CSS
You can learn more about these configuration options as well as all of the configuration options in the PolarBlog Configuration section below.
Note: The database DB_USER for normal PolarBlog operation only needs to have INSERT, SELECT and UPDATE privileges. For the installation process the DB_USER must also have the ability to ALTER, CREATE, DROP and INDEX tables.
Note: The installation process will create all the required database tables. You only need to create and specify the database for PolarBlog to use.
- If you are migrating from Personal Weblog (PWL), you should now go to the Migrating from Personal Weblog instructions below. If you are creating a new installation, please read on.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "New Installation"
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - The username you would like to use to login and administer your PolarBlog system. This is also your default login for posting entries.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Password Hint - A description that will jog your memory as to what your password is should you ever forget it. Passwords are encrypted in the database and cannot be recovered!
- Admin Post As - The name you would like your Admin entries posted as. For example: "Posted by Kevin"
- Admin Email - A valid email address for the Admin account.
- Verify the information you entered above and click the Submit button to create your initial PolarBlog database configuration.
- If the database configuration succeeded without any problems, You now MUST DELETE install.php! Failure to do so could possibly leave your database subject to potential corruption by others! You do not need to run any of the Upgrade Options you see listed on the installation screen.
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- If your web server supports .htaccess files, you are highly advised to review the .htaccess File section below and implement the recommendations there as necessary.
- Pointing your web browser to: http://www.your-domain.com/polarblog/ should now display your new PolarBlog installation.
- You may now want to adjust your configuration as described below as well as edit the CSS to meet your needs. Enjoy!
Migrating from Personal Weblog top
Begin by following the instruction in the Installation section above. You will be told when to come to this section and perform the following items.
- Your existing PWL installation should continue to function after completing this migration process. This will allow you to continue to use PWL until you are ready completely switch to PolarBlog.
- In order to protect yourself in the unlikely event that something does go wrong, Backup your PWL database! Also, should you decide you'd rather continue with PWL you will be able to restore your database.
- You should again edit your configuration file and set the "DB_PREFIX" value to what you are currently using for PWL. If you are not using a DB prefix for PWL, you should set this to an empty string.
- If your web server supports .htaccess files, you are highly advised to review the .htaccess File section below and implement the recommendations there as necessary.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Migrate from Personal Weblog (PWL)"
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - The username you would like to use to login and administer your PolarBlog system. This is also your default login for posting entries. PolarBlog does not use the same login credentials as your existing PWL installation. Also, all existing entries in your PWL database will be associated with this user. Later on you can add additional users and assign existing entries to them if you so desire.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Password Hint - A description that will jog your memory as to what your password is should you ever forget it. Passwords are encrypted in the database and cannot be recovered!
- Admin Post As - The name you would like your Admin entries posted as. For example: "Posted by Kevin"
- Admin Email - A valid email address for the Admin account.
- Verify the information you entered above and click the Submit button to migrate your PWL database to a PolarBlog database configuration.
- If the database migration succeeded without any problems, You now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- If your web server supports .htaccess files, you are highly advised to review the .htaccess File section below and implement the recommendations there as necessary.
- Pointing your web browser to: http://www.your-domain.com/polarblog/ should now display your new PolarBlog installation.
- You may now want to adjust your configuration as described below as well as edit the CSS to meet your needs. Enjoy!
- When you are ready to switch to PolarBlog and no longer need PWL, reinstall the install.php file and run the "Post PWL Migration Cleanup" option. This will remove the "vars" table as it is no longer required. Don't forget to DELETE install.php when you are finished! You can then delete the files associated with PWL from your server.
Upgrading from a previous version top
If you are upgrading from an older version of PolarBlog, this section contains instructions on any necessary steps that must be taken to install the newer version. You should review the PolarBlog CHANGES file to see a complete list of changes made in the release. The following are the standard upgrade procedures:
- Download the latest PolarBlog release.
- Untar the archive in your web directory. A directory will be created of the format "PB_vXX", where "XX" is the version number. (e.g. "PB_v10" for PolarBlog V1.0)
- Copy your configuration file (config/config.php) to its place in this new release directory tree.
- Copy your CSS file (css/*.css) to its place in this new release directory tree.
- Follow the instructions below for your specific upgrade and then continue here.
- In order for RSS to work you need to give the "polarblog" directory read/write permission: chmod 777 polarblog
- If you are upgrading from something other than the last released version, you only need to run the upgrade utility once even if multiple version upgrades say you need to run it. The upgrade utility will determine what changes are required to your database and perform them as necessary to make your system current. Depending upon how far behind you are you may need to add multiple configuration directives, CSS changes and/or other changes. In short, you should read through each version's upgrade instruction and complete the items as necessary.
- After completing the version specific upgrade instructions below, you should DELETE the install.php file! Failure to do so could possibly leave your database subject to corruption by others!
- Either rename the directory to "polarblog" (or another name of your choosing) or create a "polarblog" symbolic link to the current release directory.
-
V0.9.0 to V1.0.0
- Perform the general Upgrading instructions above.
- The following configuration options have been added:
- Added the DEFAULT_ARCHIVE_CNT configuration option.
- Rearranged the contents of the configuration file (config.php). It is recommended that your either create a new configuration file from the distribution file (config.php.dist), or perform a differential comparison of the distribution file and your current configuration file.
-
V1.0.0 to V1.0.1
- Perform the general Upgrading instructions above.
- The following configuration options have been added:
- Added the USE_LOGIN_LINK configuration option.
- Added the DOCTYPE configuration option.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file.
-
V1.0.1 to V1.0.2
- Perform the general Upgrading instructions above.
- The following configuration options have been added:
- Added the PAGE_TITLE configuration option.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file.
- The MySQL database class has been updated, but this should be transparent to PolarBlog operation.
-
V1.0.2 to V1.1.0
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- Added the JS_URL configuration option. It is unlikely that you will need to change this setting.
- Added the BOOLEAN_SEARCH configuration option. You should enable this setting only if you are using MySQL >= V4.01.
- Added the DISPLAY_ENTRY_DEFAULT configuration option.
- Review and adjust the settings in the Comments Configuration section as required. You should not need to adjust anything for the basic commenting system to function.
- Review and configure the settings in the Mailer Configuration section as required if you have chosen to enable it using the COMMENT_MAIL configuration setting.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file accordingly.
-
V1.1.0 to V1.2.0
- Perform the general Upgrading instructions above.
- The following configuration options have been added:
- Updated the DEFAULT_ARCHIVE_CNT configuration option from a default of 20 to 100.
- Added the BLOG_NAME configuration option. You should set this as appropriate for your installation.
- Added the USE_PINGER configuration option.
- Added the PREVIEW_WIDTH configuration option.
- Added the PREVIEW_HEIGHT configuration option.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file.
-
V1.2.0 to V1.2.1
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- No further actions are required.
-
V1.2.1 to V1.2.2
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- There are no new configuration options in this release.
- This release will correct the infinite looping problem in the commenting system that generally plagued new installations, but was also possible in PWL upgraded installations.
- No further actions are required.
-
V1.2.2 to V1.2.3
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release will correct the problem of not being able to comment on an entry.
- No further actions are required.
-
V1.2.3 to V1.3.0
- Perform the general Upgrading instructions above.
- The following configuration options have been added:
-
V1.3.0 to V1.4.0
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- Added the TOPIC_ICON_WIDTH configuration option.
- Added the TOPIC_ICON_HEIGHT configuration option.
- Added the USE_GZ_OUTPUT configuration option.
- Added the GZ_LEVEL configuration option.
- Added the GZ_DEBUG configuration option.
- Added the COMMENT_BLOCK_FILE configuration option.
- Added the USE_TOPIC_LINKS configuration option.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these directive changes and then update your current configuration file as appropriate.
- You advised to read the CHANGES file and check the Development Blog for more information.
-
V1.4.0 to V1.5.0
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release addresses some potential SQL query injection issues. There were no actual known issues, but the changes made in this release should further prevent them from becoming a possiblity.
- This release adds Entry & Comment Auto-Linking.
- No further actions are required.
-
V1.5.0 to V1.5.1
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- No further actions are required as this is strictly a bug fix release.
-
V1.5.1 to V1.5.2 (Groundhog)
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- No further actions are required as this is strictly a bug fix release.
-
V1.5.2 to V1.6.0 (Hitchhiker)
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release fixes a number of bugs as well as implements a variety of smaller changes. As always, you should review the CHANGES file which is updated and shiped with every release.
- The CSS for the Recent Entries, Topics and Other Blogs lists has been updated in the CSS files distributed with PolarBlog. Details about this change can be found in this PolarBlog CSS blog entry.
- The .htaccess File section below has been updated. You are advised to review this updated section.
-
V1.6.0 to V1.6.1 (Wild Turkey)
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release fixes an RSS feed generation error. As always, you should review the CHANGES file which is updated and shiped with every release.
-
V1.6.1 to V1.6.2 (Fungus Gnat)
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release fixes a serious comment deletion bug. As always, you should review the CHANGES file which is updated and shiped with every release.
- This release fixes a minor comment auto-linebreak bug.
-
V1.6.2 to V1.7.0 (Homing Pigeon)
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- Added the USE_TIMER configuration option.
- Added the POP3_MODE configuration option.
- Added the POP3_HOST configuration option.
- Added the POP3_PORT configuration option.
- Added the POP3_USER configuration option.
- Added the POP3_PASSWD configuration option.
- Added the POP3_MAIL configuration option.
- Added the POP3_TOPIC configuration option.
- Review and adjust these settings in the POP3 Configuration section as required.
- More information on configuring and using this feature can be found in the Posting via POP3 Email appendix.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file accordingly.
- A new CSS directive "pb_input_text" has been added. You will need to copy this new directive to your existing CSS file from one of the distribution CSS files. This new CSS directive replaces the current "pb_title" directive in most of the places it is used. These two directives are now used for:
- pb_title - The Entry Title and Entry Index date field.
- pb_input_text - Edit input field text (on comment add/edit and edit user/topic/entry).
-
V1.7.0 to V1.7.1 (Blind Squirrel)
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release includes the new installer that should have been in the V1.7.0 release! You must run the new upgrade utility in order to properly configure PolarBlog V1.7.0 to work properly. As always, you should review the CHANGES file which is updated and shiped with every release.
-
V1.7.1 to V1.7.2
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release includes an updated installer that addresses a user creation problem. The changes in the installer only affects new installations. If you are upgrading from V1.7.1 you do not need to run the install/upgrade utility to update to this release.
- As always, you should review the CHANGES file and check the Development Blog for more information.
-
V1.7.2 to V1.7.3
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- This release includes the missing code that enables the V1.7.0 post by email feature.
- As always, you should review the CHANGES file and check the Development Blog for more information.
-
V1.7.3 to V1.8.0 (Swainson's Hawk)
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- New CSS directives have been added. You will need to copy these new directives to your existing CSS file from one of the distribution CSS files or see css/standard.diff or css/left_nav.diff for more information.
- pb_title - The Entry Title and Entry Index date field.
- pb_input_text - Edit input field text (on comment add/edit and edit user/topic/entry). Replaces the current "pb_title" directive in most of the places it is used.
- pb_rbl_* - Several directives that format the new RBL Administration page.
- The following new language tags have been added. If you use a language other than my English please report any errors as these were done by electronic translation:
- CONFIRM_COMMENT_BL
- CONFIRM_COMMENT_WL
- CONFIRM_DELETE_COMMENT
- CONFIRM_DELETE_ENTRY
- DUPLICATE_ENTRY_MSG
- RBL_BLOCKED_SAVED
- RBL_BLOCKED_DEL
- LISTED_IPS
- IP_ADDRESS
- LAST_VISIT
- VISITS
- RBLS, REFERRER
- REF_FROM
- WHITELISTED
- ACTION
- DELETE
- BLACKLIST_IP
- WHITELIST_IP
- RBL_ADMIN_HDR
- KEYWORD
- OCCURRENCES
- LISTED_KEYWORDS
- ADD
- EXIT_RBL
-
V1.8.0 to V1.9.0 (Bloodhound)
- Perform the general Upgrading instructions above.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- Added the RBL_TEXT_CHECK configuration option.
- Added the USE_TRACKBACK configuration option.
- Added the TB_STRIP_TAGS configuration option.
- Added the TB_EXCERPT_LENGTH configuration option.
- Added the TB_AUTO_DISCOVERY configuration option.
- Added the USE_RSS configuration option.
- Added the USE_RSS_TOPICS configuration option.
- Added the RBL_IP_WHOIS configuration option.
- Review and adjust the settings in the Trackback Configuration section as required. You will need to have both USE_TRACKBACK and USE_COMMENTS enabled in order for the trackback system to function.
- Review and adjust the settings in the RSS Configuration section as required. You will now need to have USE_RSS in your configuration file if you want continue to use full blog RSS feed. By default USE_RSS_TOPICS is also enabled which permits per topic RSS feeds. For any of these files to be automatically created you MUST perform additional configuration as covered in the RSS Configuration section.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file accordingly.
- New CSS directives have been added. You will need to copy these new directives to your existing CSS file from one of the distribution CSS files or see css/standard.diff or css/left_nav.diff for more information.
- pb_title - The Entry Title and Entry Index date field.
- pb_input_text - Edit input field text (on comment add/edit and edit user/topic/entry). Replaces the current "pb_title" directive in most of the places it is used.
- pb_rbl_* - Several directives that format the new RBL Administration page.
- The following new language tags have been added. If you use a language other than my English please report any errors as these were done by electronic translation:
- CONFIRM_COMMENT_BL
- CONFIRM_COMMENT_WL
- CONFIRM_DELETE_COMMENT
- CONFIRM_DELETE_ENTRY
- DUPLICATE_ENTRY_MSG
- RBL_BLOCKED_SAVED
- RBL_BLOCKED_DEL
- LISTED_IPS
- IP_ADDRESS
- LAST_VISIT
- VISITS
- RBLS, REFERRER
- REF_FROM
- WHITELISTED
- ACTION
- DELETE
- BLACKLIST_IP
- WHITELIST_IP
- RBL_ADMIN_HDR
- KEYWORD
- OCCURRENCES
- LISTED_KEYWORDS
- ADD
- EXIT_RBL
-
V1.9.0 to V1.9.1
- Perform the general Upgrading instructions above.
- There are no new configuration options in this release.
- No further actions are required as this is strictly a bug fix release.
-
V1.9.1 to V1.10.0 (Wolverine)
- Perform the general Upgrading instructions above.
- There are no database changes in this release so you do not need to run the Upgrade Utility.
- DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- The following configuration options have been added:
- Added the COMMENT_MAIL_RESTRICT configuration option.
- Added the RBL_AKISMET_KEY configuration option.
- The default value for the RBL_IP_WHOIS configuration option has changed.
- It is recommended that you review the configuration distribution file (config.php.dist) to locate these new directives and then update your current configuration file accordingly.
- There are no new CSS directives in this release.
- The are no new language tags in this release.
-
V1.10.0 to V1.10.1
- Perform the general Upgrading instructions above.
- If you are not using the Akismet spam blocking option and not enabling the RBL_AKISMET_AUTODEL configuration option you do not need to run the Upgrade Utility. If you set this option to TRUE and you run the Upgrade Utility, your database will be purged of all IP address entries that would have been auto-deleted by the RBL System.
- Reinstall the install.php file.
- Point your web browser to http://your-domain.com/polarblog/install.php
- Select "Upgrade PolarBlog".
- You must now enter the following information:
- Database Connection Information - You should verify the filled in database information. Unless you have a compelling reason to change these settings, you should leave them set as they are. These settings should be correct as they are what you specified in the configuration file.
- Database Password & Database Password Verify - This is required to perform the database setup.
- Admin Username - This field is not used for the upgrade and may be left blank.
- Admin Password - The password for your Admin account.
- Admin Password Verify - The Admin password again for verfication.
- Verify the information you entered above and click the Submit button to update your PolarBlog database configuration.
- If the database upgrade succeeded without any problems, you now MUST DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- If your database configuration was not successful, you should be looking at a screen describing the error(s). Save this information and correct the problem(s) it identified. If you need further assistance, post a message describing the problem you are having and the error message(s) you received to the PolarBlog Mailing List.
- The following configuration options have been added:
- There are no new CSS directives in this release.
- The are no new language tags in this release.
-
V1.10.1 to V1.10.2
- Perform the general Upgrading instructions above.
- There are database changes in this release so you do need to run the Upgrade Utility.
- DELETE install.php! Failure to do so could possibly leave your database subject to corruption by others!
- There are no new configuration options in this release.
- There are no new CSS directives in this release.
- The are no new language tags in this release.
- It's recommended that you review the .htaccess File section below as the php_value date.timezone directive has been added for E_STRICT compliance in association with internal coding changes.
.htaccess File top
If your PHP installation is running with register_globals ON (very common hosted/ISP systems), it is HIGHLY RECOMMENDED that it be turned off for PolarBlog. It is recommend that use_trans_sid (more info/why?) which allows session ID's to be appended to a URL also be disabled as it too is a potential security risk. If your hosting provider (ISP) supports .htaccess files (as most do), then you can create a .htaccess file in your PolarBlog directory. This file should have 644 (u+rw,g+r,o+r) permissions and contain the following:
php_flag register_globals off
php_flag session.use_trans_sid off
You may also want to add the following PHP specific directives for additional security. Ideally, these directives (as well as those above) should be in the .htaccess file in your web server's root document directory (htdocs, public_html, www, etc.). This will cause any PHP errors to be logged to the specified file and not displayed on your web site.
php_flag display_errors off
php_flag log_errors on
php_value error_log /path/to/file/not/in/web/space/php_error.log
The following directives are highly recommend for E_STRICT compliance:
php_value date.timezone America/New_York
Note: The "error_log" file must be writable by your web server.
Configuration top
Standard Configuration top
There are a number of user configurable options that affect the way PolarBlog looks and behaves. All user adjustable settings are contained in the "config.php" file located in the "config" sub-directory. For a new installation you will need to copy "config.dist.php" to "config.php". Below is a listing of the various configuration options, their default values and an explanation of what each option does.
Paths & Session Configuration top
| Configuration Option |
Default Value |
| BASE_URL top |
http://www.your-domain.com/ |
| |
This is the default URL of PolarBlog. This value is automatically set and in most cases should not need to be changed. |
| LIB_PATH top |
/your/path/to/public_html/polarblog/lib/ |
| |
This is the full directory path to the PolarBlog libraries. This value is must be uniquely set for each installation. |
| JS_URL top |
BASE_URL/js |
| |
This is the URL to the PolarBlog JavaScript libraries. This configuration option was added in PolarBlog V1.1.0. |
| PB_SESSION_PATH top |
/tmp/ |
| |
This is the full directory path to where PolarBlog session files are stored. This is a major security risk, particularly if you are using PolarBlog on a virtually hosted server. It is HIGHLY RECOMMENDED that this be set to a directory within your user directory space if you are running on a virtual host. The directory permissions must be set such that the web process can read and write to this directory to maintain your session data. It is best to choose a directory outside of your web space. If you do need to create it within your web directory, you should create a ".htaccess" file to prevent a browser from being able to view the contents of the directory. |
| PB_SESSION_NAME top |
PolarBlog |
| |
This is the name of your PolarBlog session. It should not need to be changed, but if you feel the need you can do so here. |
Database Configuration top
| Configuration Option |
Default Value |
| DB_PREFIX top |
pb_ |
| |
This PolarBlog database table prefix value. This value is appended to all table names. If you are not migrating from PWL, this should not need to be changed, but if you feel the need you can do so here. For those that are migrating from PWL you need to set this value to whatever you are using in PWL. This may include setting it to an empty string if you did not specify a database prefix in PWL. |
| DB_HOST top |
localhost |
| |
This is the name of your MySQL host server. This value is must be uniquely set for each installation. |
| DB_NAME top |
mysql_database |
| |
This is the name of the MySQL database where you are installing PolarBlog. This value is must be uniquely set for each installation. |
| DB_USER top |
mysql_user |
| |
This is the username for the MySQL database where you are installing PolarBlog. This value is must be uniquely set for each installation. |
| DB_PASSWD top |
mysql_password |
| |
This is the password for the MySQL database where you are installing PolarBlog. This value is must be uniquely set for each installation. |
| DB_CONNECT top |
standard |
| |
This sets the connection type to the MySQL database server. This should be set to either "standard", "persistent" or "mysqli" if you are running on PHP5 and using MySQL >= V4.1.3. Persistent connections can provide a significant performance advantage for some installations, but please read the PHP manual regarding persistent database connections and the mysql_pconnect function before using this option. |
| DB_PORT top |
3306 |
| |
This is the port number for the MySQL host server where you are installing PolarBlog. For most installations you should not need to change this setting. |
Localization top
PolarBlog provides the ability to localize your configuration to display all system text, dates and times in your local format. Localization support was added in PolarBlog V1.3.0.
| Configuration Option |
Default Value |
| I18N_LANG top |
en_US |
| |
This defines the language and country for your PolarBlog installation. For information on how to set this language and country option, please see this language code and this country code information. If you are changing this setting you may need to also change the I18N_CHARSET and $config['rss']['encoding'] settings. |
| I18N_CHARSET top |
iso-8859-1 |
| |
This defines the character set that your PolarBlog will utilize. For information on setting this option, please see this character set information page. If you are changing this setting you may need to also change the I18N_LANG and $config['rss']['encoding'] settings. |
| I18N_DATE_SEPARATOR_FORMAT top |
%A, %B %e, %Y |
| |
This enables and sets the date format for the entry date separator bar. If you don't want the date separator bar, comment out this setting. For information on the available date format options, please see the PHP strftime function. This option supercedes the deprecated DATE_SEPARATOR_FORMAT option. |
| I18N_DATE_FORMAT top |
%I:%M%p %B %e, %Y |
| |
This sets the date format for each PolarBlog entry. For information on the available date format options, please see the PHP strftime function. This option supercedes the deprecated DATE_FORMAT option. |
| setlocale() top |
Commented out |
| |
If you are using PolarBlog in a language other than English, you may need to enable and configure this PHP function for your system. If it is required, typically you would set this to the same value as your I18N_CHARSET setting: setlocale(LC_ALL, 'es_ES') for Spanish or setlocale(LC_ALL, 'de_DE') for German. For more information see the PHP setlocale() manual page. |
Output Compression top
PolarBlog provides the ability to GZip your content output that is sent to the user's browser if it supports compression. Output Compression support was added in PolarBlog V1.4.0.
| Configuration Option |
Default Value |
| USE_GZ_OUTPUT top |
FALSE |
| |
This enables GZip output compression. Your PHP installation must be compiled with Zlib support in order to use this option. |
| GZ_LEVEL top |
6 |
| |
This sets the GZip output compression level. This setting can be from 0 (no compression) to 9 (maximum compression). The default value of 6 provides a good balance between very good compression and speed. |
| GZ_DEBUG top |
FALSE |
| |
This enables the outputting of informational debug headers in the GzContent class and should only be enabled for debugging purposes. |
Display Configuration top
| Configuration Option |
Default Value |
| BLOG_NAME top |
PolarBlog |
| |
This is the name of your blog. This configuration option was added in PolarBlog V1.2.0. |
| USE_PINGER top |
TRUE |
| |
This boolean setting enables/disables sending a ping notification to Ping-O-Matic! when you add or update an entry. This configuration option was added in PolarBlog V1.2.0. |
| DEFAULT_DISPLAY_CNT top |
5 |
| |
This sets the number of entries to display on each mail display page. |
| DEFAULT_RECENT_CNT top |
10 |
| DEFAULT_ARCHIVE_CNT top |
100 |
| |
This sets the number of entries to display on the index/archive page. This configuration option was changed in PolarBlog V1.2.0 from 20 to 100. |
DATE_SEPARATOR_FORMAT top |
h:ia T, j M Y |
| |
This option was deprecated in PolarBlog V1.3.0. This option has been replaced by I18N_DATE_SEPARATOR_FORMAT.This enables and sets the date format for the entry date separator bar. If you don't want the date separator bar, comment out this setting. For information on the available date format option, please see the PHP date function. |
DATE_FORMAT top |
h:iA T, j M Y |
| |
This option was deprecated in PolarBlog V1.3.0. This option has been replaced by I18N_DATE_FORMAT.This sets the date format for each PolarBlog entry. For information on the available date format options, please see the PHP date function. |
| TIME_ADJUST top |
0 * 3600 |
| |
This value will offset entry and update times by this amount of time in seconds. The default is "zero times 3600 seconds", or none. If you change the zero to an integer value it will offset all entries by this many hours. (e.g. 1 = 1 hour, -2 = -2 hours) The "times 3600" multiplier makes this value an hour setting (3600 second = 1 hour). Removing this will change the offset to seconds. For most installations you should not need to change this setting. |
| USE_POST_BY top |
TRUE |
| |
This boolean setting enables/disables the "Posted by" line in the entry header. |
| USE_LOGIN_LINK top |
FALSE |
| |
This boolean setting enables/disables the "Administration" menu when you are not logged in. By default, to login you must append "?login=1" to the URL. By enabling this option the Adminstration menu is always displayed and a "Login" link is provided when you are not logged in to PolarBlog. This configuration option was added in PolarBlog V1.0.1. |
| BOOLEAN_SEARCH top |
FALSE |
| |
This boolean setting enables/disables MySQL boolean full-text search mode. This option will allow boolean searches to be performed in PolarBlog. You must have MySQL V4.01 or greater to use this option. Please see this MySQL manual entry for information on how this works. If you have an older version of MySQL or simply do not want to allow boolean searching, please see this MySQL manual entry for information on standard full-text searching. This configuration option was added in PolarBlog V1.1.0. |
| USE_GOOGLE_LINK top |
TRUE |
| |
This boolean setting enables/disables the link to Google search for the entry topic in the entry footer. This configuration option was added in PolarBlog V1.3.0. |
| USE_WORD_COUNT top |
TRUE |
| |
This boolean setting enables/disables the word count display in the entry footer. This configuration option was added in PolarBlog V1.3.0. |
| DOCTYPE top |
XHTML Strict |
| |
This defines the doctype to use with PolarBlog. You can specify either 'HTML Strict', 'HTML Transitional', 'XHTML Strict' or 'XHTML Transitional' as the DOCTYPE value. If you enter an invalid value, PolarBlog will automatically default to 'XHTML Strict'. More information on DTD's may be found on this W3C page. This configuration option was added in PolarBlog V1.0.1. |
| CSS top |
standard.css |
| |
This defines the CSS to use with PolarBlog. PolarBlog includes two stylesheets in the distribution: standard.css.dist and left_nav.css.dist. You can use one of these or create your own based on one of these style sheets. The standard CSS displays your entries in the content pane on the left and blog controls on the right. The left_nav CSS shrinks and shift the content pane to the right and provides a left panel where you can insert your own custom navigation. Please see the Enabling Left Navigation appendix for more information on using the left side navigation. |
| USE_NAV top |
FALSE |
| |
This boolean setting enables/disables the displaying of the left navigation panel. Please see the Enabling Left Navigation appendix for more information on using the left side navigation. |
| NAV_FILE top |
nav.html |
| |
This is the name of a HTML or PHP file to use for the left navigation panel. The USE_NAV option must be enabled for this option to be utilized. Please see the Enabling Left Navigation appendix for more information on using the left side navigation. |
| PAGE_TITLE top |
PolarBlog |
| |
The page title element that appears at the top of the browser. This configuration option was added in PolarBlog V1.0.2. |
| TOP_HEADER top |
<h1>Top Header</h1> |
| |
The header text/HTML that appears at the top of every page. If you don't want this header to display, simply comment out this definition. |
| SUB_HEADER top |
Sub Header |
| |
The header text/HTML that appears at the top of the main/entry content pane. |
| BLOG_TAGLINE top |
Tagline message... |
| |
A brief tagline (blog description) of text that appears just below the SUB_HEADER in the main/entry content pane. If you don't want this header to display, simply comment out this definition. If you don't want this header to display, simply comment out this definition. |
| ENTRY_LINK top |
>>> Recent Entries |
| |
The link text in the control panel to return to the recent entries when the entry index is currently displayed. See also ARCHIVE_LINK. |
| ARCHIVE_LINK top |
>>> Entry Index |
| |
The link text in the control panel to display your entry index (archive) of previous entries when displaying your recent entries. See also ENTRY_LINK. |
| USE_TOPIC_LINKS top |
TRUE |
| |
Enable the displaying of blog topic links in the right control panel. This configuration option was added in PolarBlog V1.4.0. |
| PREV_ICON top |
BASE_URL/gfx/prev_star.gif |
| |
The path to the previous page navigation icon. |
| PREV_TEXT top |
TRUE |
| |
Enables/Disables the "Previous" text that appears to the right of the PREV_ICON. |
| NEXT_ICON top |
BASE_URL/gfx/next_star.gif |
| |
The path to the next page navigation icon. |
| NEXT_TEXT top |
TRUE |
| |
Enables/Disables the "Next" text that appears to the left of the NEXT_ICON. |
| EDIT_BODY_ROWS top |
15 |
| |
The number of rows in the entry editor's entry "body" text area. |
| EDIT_MORE_ROWS top |
15 |
| |
The number of rows in the entry editor's entry "more" text area. |
| EDIT_COLS top |
85 |
| |
The number of columns in the entry editor's entry "body" and "more" text areas. |
| DISPLAY_ENTRY_DEFAULT top |
TRUE |
| |
This boolean option allows you to control whether the "Display Entry" checkbox is checked or unchecked by default when adding a new entry. This configuration option was added in PolarBlog V1.1.0. |
| PREVIEW_WIDTH top |
910 |
| |
This controls the width of the popup window when previewing an entry. A value of 745 is recommended if you are using the left navigation style sheet. This configuration option was added in PolarBlog V1.2.0. |
| PREVIEW_HEIGHT top |
600 |
| |
This controls the height of the popup window when previewing an entry. This configuration option was added in PolarBlog V1.2.0. |
| TOPIC_ICON_WIDTH top |
32 |
| |
This controls the width of the topic icon in an entry. If this value is undefined (commented out), the icon will display in its native width. This configuration option was added in PolarBlog V1.4.0. |
| TOPIC_ICON_HEIGHT top |
32 |
| |
This controls the height of the topic icon in an entry. If this value is undefined (commented out), the icon will display in its native height. This configuration option was added in PolarBlog V1.4.0. |
| USE_TIMER top |
FALSE |
| |
This enables/disables the timing of entry and calendar generation and outputs HTML comments with its results. This is a performance debugging option and should not be left enabled all of the time as its usage slightly degrades the performance of PolarBlog. This configuration option was added in PolarBlog V1.7.0. |
Comments Configuration top
PolarBlog provides an optional fully nested commenting system to allow your readers to provide feedback on your posts. Below are the configuration directives that allow you to enable and configure the commenting system in PolarBlog. This commenting system was added in PolarBlog V1.1.0.
| Configuration Option |
Default Value |
| USE_COMMENTS top |
TRUE |
| |
Enables/Disables the commenting system. |
| COMMENT_ROWS top |
75 |
| |
The number of columns in the comment editor's text area. |
| COMMENT_COLS top |
15 |
| |
The number of rows in the comment editor's text area. |
| COMMENT_DATE_FORMAT top |
%l:%i%p %e, %b %Y |
| |
This sets the date format for each PolarBlog comment entry. For information on the available date format options, please see the MySQL date and time functions. |
| COMMENT_INDENT top |
30 |
| |
The number of pixels to indent comments. This is the number of pixels from the left margin, not from the entries left margin. The left margin for entries is 20 (210 for left_nav) by default (in the CSS). So the default of 30 will indent comments 10 pixels from the entries left margin. (30 - 20 = 10). If you are using the left_nav CSS a value of 210 will achive the same effect. |
| COMMENT_INDENT_INCREMENT top |
10 |
| |
The number of additional pixels to indent comment replies. All first level replies to a comment will be indented by this value. All subsequent replies to replies will be indented by this many more pixels. This creates the nesting of comments to help readers follow a conversation thread. See this entry for an example of this in action. |
| COMMENT_TAGS top |
<em><i><b><strong><br><code><pre><ol><ul><li> |
| |
HTML tags to allow in comments. HTML (or their XHTML equivalent) tags not listed here will automatically be stripped from user comments. This allows users to add some stylizing to their posts, but prevents them from inserting potentially evil and dangerous tags such as <script>. You are advised to use extreme caution if you add additional tags to this option. |
| COMMENT_MAIL top |
FALSE |
| |
Enables/Disables the sending of email notification on comments and comment replies. You should configure and test the Mailer Configuration before leaving this enabled permanently. |
| COMMENT_MAIL_RESTRICT V1.10.0 top |
TRUE |
| |
Enables/Disables the sending of email notification on comments (and trackbacks) to entries when the comment (or trackback) has been flagged as spam by the RBL system. When enabled, email will only be sent to the entry's author if the comment is not flagged as spam. If RBL_SAVE_BLOCKED is TRUE (the default), you will need to periodically visit the RBL Administration to review comments that are currently blocked from being displayed. From here you can select whether to display or delete individual or groups of comments. NOTE: Comments to replies are NOT affected by this setting as only comment not marked as spam are ever emailed to the replier. |
| COMMENT_BLOCK_FILE top |
NULL |
| |
A fully qualified file path to a file containing IP addresses and/or IP masks of IP addresses that should be blocked from posting comments to you blog. See the Comment IP Blocking appendix for further information on using this setting. This configuration option was added in PolarBlog V1.4.0. |
Trackback Configuration top
PolarBlog provides an optional trackback system to allow your readers to provide feedback on your posts via their blogs. The trackback system functions as a subset of the commenting system. As such, in order to use trackbacks, you must also enable USE_COMMENTS. Because trackbacks are a subset of the commenting system, the notifications, IP blocking and RBL blocking all apply to the trackback system also. Below are the configuration directives that allow you to enable and configure the trackback system in PolarBlog. This trackback system was added in PolarBlog V1.9.0.
| Configuration Option |
Default Value |
| USE_TRACKBACK top |
FALSE |
| |
Enables/Disables the trackback system system. You must also have USE_COMMENTS enabled to use the trackback system. |
| TB_AUTO_DISCOVERY top |
TRUE |
| |
Enables the addition of trackback auto-discovery information to you entries. |
| TB_STRIP_TAGS top |
TRUE |
| |
Specifies whether HTML tags should be stripped from trackback entries. |
| TB_EXCERPT_LENGTH top |
256 |
| |
The of characters to display in the trackback excerpt. Set this to FALSE to allow the full excert text to be displayed. |
POP3 Configuration top
PolarBlog provides an optional POP3 entry posting system. Below are the configuration directives that allow you to enable and configure the POP3 posting system in PolarBlog. More information using this option are covered in the Posting via POP3 Email appendix. This feature was added in PolarBlog V1.7.0.
| Configuration Option |
Default Value |
| POP3_MODE top |
FALSE |
| |
Enables/Disables the POP3 entry posting feature. Set to FALSE to disable the feature or set it to the SAPI name you intend to access. Generally this will probably be "cli" or "apache". For other options see PHP SAPI Name comment. More information on what you should set this value to are covered in the Posting via POP3 Email appendix. |
| POP3_HOST top |
NULL |
| |
The POP3 email server hostname to which you want to connect. |
| POP3_PORT top |
110 |
| |
The POP3 email server port to which you want to connect. Unless you know otherwise, you should use the default provided. |
| POP3_USER top |
NULL |
| |
The POP3 username for the email account you are connecting too. |
| POP3_PASSWD top |
NULL |
| |
The POP3 password for the email account you are connecting too. |
| POP3_MAIL top |
FALSE |
| |
Enables/Disables the sending of email replies on requests for available blog topics. More information on what you should set this value to are covered in the Posting via POP3 Email appendix. |
| POP3_TOPIC top |
0 |
| |
The default topic ID for entries posted via the POP3 Email interface. More information on what you should set this value to are covered in the Posting via POP3 Email appendix. |
Mailer Configuration top
PolarBlog offers the ability to send the PolarBlog owner and commentors (that provide an email address) an email message when comments or replies to comments are posted. Below are the configuration directives that allow you to configure the mailer to provide this option in PolarBlog. The configuration settings in this section will have no effect unless the COMMENT_MAIL directive above is set to TRUE. For addtional detailed information on using and configuring the mailing system, please see the PHPMailer homepage.
| Configuration Option |
Default Value |
| MAIL_TYPE top |
FALSE |
| |
The method to use to send email. Valid values for this setting are: FALSE (to disable mail), 'mail', 'sendmail', or 'smtp'. 'smtp' is recommended for most users. The FALSE option was added in V1.9.0. |
| MAIL_HOST top |
smtp.yourdomain.com |
| |
Sets the SMTP hostname. If your SMTP server is the same as your hostname, you can safely comment out this setting. If you are unsure, try commenting it out first and then enabling and configuring it if necessary. |
| MAIL_FROM top |
you@yourdomain.com |
| |
The email address that notifications should use for the email "From" value. |
| MAIL_FROM_NAME top |
Your Name |
| |
The real person name that notifications should use for the email "From" value. |
| MAIL_BCC_REPLY top |
TRUE |
| |
If enabled, a notification email will be blind copied to the MAIL_FROM (MAIL_FROM_NAME) on all comment replies. This allows you, the blog owner to be made of aware of replies to others comments on in your blog. If the comment that is being replied to does not have an email address and this option is enabled, the message will be sent to you instead of blind copying it. |
| MAIL_DEBUG top |
FALSE |
| |
If enabled this will display all error that occur while attempting to send an email notification. You should only enable this setting if you are attempting to debug mailer problems as it will display this debug information on your blog. |
RBL Configuration top
PolarBlog offers the ability to check a comment poster's IP address against a series of Realtime Blacklist services. This feature should prevent nearly all spam comments from being posted to your blog entries. Below are the configuration directives that allow you to configure the RBL option in PolarBlog. For information on managing the local RBL database, please see the RBL Administration section. If an IP address or mask is listed in the Comment IP Blocking system, that will cause the RBL lookup to be bypassed.
| Configuration Option |
Default Value |
| USE_RBL top |
FALSE |
| |
Enables/Disables the RBL spam blocking system. The basic functionality provided by enabling the RBL system is IP address lookup with the RBL services listed in the $rbl_services option. |
| RBL_REFERER_CHECK top |
TRUE |
| |
Specifies whether to check the referrer URL for blocked keywords. Keywords that are blocked can be configured using the RBL Administration feature. |
| RBL_URL_CHECK top |
TRUE |
| |
Specifies whether to check the commenter's URL for blocked keywords. The commenter's URL is the optional "Website" address that a user can enter that is displayed in the comment header. Keywords that are blocked can be configured using the RBL Administration feature. |
| RBL_TEXT_CHECK top |
TRUE |
| |
Specifies whether to check the comment text for blocked keywords. Keywords that are blocked can be configured using the RBL Administration feature. |
| RBL_BLOCK_KEYWORD top |
TRUE |
| |
Specifies whether to Blacklist an IP address when keywords are found by the RBL_REFERER_CHECK or RBL_URL_CHECK option if one or both of those options are enabled. |
| RBL_SAVE_BLOCKED top |
TRUE |
| |
When TRUE, specifies to save but not display a comment if the IP address is flagged by the RBL as bad. Setting this to FALSE will cause all comments flagged as bad to be automatically discarded. Users are advised to use caution before disabling this option as valid comments could inadvertently also be discarded. |
| $rbl_services top |
Array |
| |
Specifies the RBL services to utilize. By default this consists of rbl.init1.nl, sbl-xbl.spamhaus.org, dnsbl.ahbl.org and blocklist2.squawk.com. One of the best sources for possible RBL services to use is robtex Multi-RBL Check. You can enter an IP address and it will return a long list of RBL's it has checked and whether the IP address is listed or not. To add an RBL service, just add the RBL service's URL to this list. |
| RBL_IP_WHOIS V1.10.0 top |
http://www.robtex.com/ip/::IP::.html |
| |
This option provides a link to lookup IP addresses on comments and trackbacks. If you change this option, you must include the "::IP::" IP address replacement token in the URL you enter. |
| RBL_AKISMET_KEY V1.10.0 top |
FALSE |
| |
This option provides additional protection against comment and trackback spam. This option will only work if you are running PHP5 and have a valid Wordpress.com API key. Once you have an API key you should enter that value here. For more information on this option go here. |
| RBL_AKISMET_AUTODEL V1.10.1 top |
FALSE |
| |
This option, when enabled, will automatically delete any comments or trackbacks that the Akisment spam service blocks. This option only works when the Akismet spam blocking system is enabled by the RBL_AKISMET_KEY configuration option. |
RSS Configuration top
PolarBlog offers the ability to provide a RSS 2.0 data feed of your blog entries and optionally, RSS feeds for individual blog topics. In addition to these setting, you must also configure the RSS setting found in the RSS section of the $config Array.
| Configuration Option |
Default Value |
| USE_RSS top |
TRUE |
| |
Enables/Disables the RSS feed system. |
| USE_RSS_TOPICS top |
TRUE |
| |
Enables/Disables RSS feeds for individual topics. |
In order to generate the full RSS feed file, you must do the following to allow your web server to create the file:
- Set the permissions on the rss20.xml file to read/write permission. On a Unix/Linux you can do this from the command prompt in two easy steps by entering:
- touch /path/to/polarblog/touch rss20.xml (If the file doesn't already exist.)
- chmod 666 /path/to/polarblog/rss20.xml
- If you plan to use per topic RSS feeds you need to do the same thing for each of the topic RSS files. The format for these files is &