SquirrelMail  
Donations
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors
Bounties













Security Notice
Phishing campain
Version 1.4.15
Security Upgrade
Plugins - Compatibility
Category: Miscellaneous

This plugin allows any other plugin access to the functions and special variables needed to make it backward (and forward) compatible with most versions of SM in wide use. This eliminates the need for duplication of certain functions throughout many plugins. It also provides functionality that helps check that plugins have been installed and set up correctly.

A matrix of plugins that specifically require the Compatibility plugin to be installed (and what version thereof) is located here.


Version 2.0.16
by Paul Lesniewski on Feb 1, 2010
Please support this plugin's development: Donate to this author
[ compatibility-2.0.16-1.0.tar.gz tarball (65636 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Added security token functions sm_get_user_security_tokens(), sm_generate_security_token(), and sm_validate_security_token()

Older versions

Version 2.0.15
by Paul Lesniewski on Nov 6, 2009
[ compatibility-2.0.15-1.0.tar.gz tarball (9663 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Updated check_plugin_dependencies()
  • Updated minor change in sq_call_function_suppress_errors()


Version 2.0.14
by Paul Lesniewski on Jan 3, 2009
[ compatibility-2.0.14-1.0.tar.gz tarball (27810 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Added is_ssl_secured_connection()
  • Added sq_is_writable()
  • Added sq_create_tempfile()
  • Added get_process_owner_info()
  • Update with changes in sqsetcookie() and that it was added to 1.4.16


Version 2.0.13
by Paul Lesniewski on Jul 27, 2008
[ compatibility-2.0.13-1.0.tar.gz tarball (14456 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Synchronized sq_send_mail() and sqauth_save_password() with changes in SquirrelMail
  • Synchronized get_plugin_requirement() with changes in SquirrelMail


Version 2.0.12
by Paul Lesniewski on Jul 12, 2008
[ compatibility-2.0.12-1.0.tar.gz tarball (3920 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Added set_uri_vars()
  • Added check_file_contents()
  • Added $load_only_one to load_config()
  • Added include directories for 1.4.15 and 1.4.16
  • Added lame-duck stand-in for ngettext() when needed under SquirrelMail versions less than 1.5.1 that are not running at least PHP 4.2.0 with the gettext extension


Version 2.0.11
by Paul Lesniewski on Mar 11, 2008
[ compatibility-2.0.11-1.0.tar.gz tarball (19019 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Moved sq_send_mail(), since it was added to SM core
  • Added debug constants from 1.5.2


Version 2.0.10
by Paul Lesniewski on Feb 13, 2008
[ compatibility-2.0.10-1.0.tar.gz tarball (5996 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Note that SquirrelMail 1.4.13+ (as well as 1.5.1+) no longer requires a source patch
  • Added sq_call_function_suppress_errors()
  • Added get_secured_config_value()
  • Added get_smtp_user()
  • Added sq_send_mail()


Version 2.0.9
by Paul Lesniewski on Oct 1, 2007
[ compatibility-2.0.9-1.0.tar.gz tarball (15775 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Synchronize with addition of sqauth_read_password() to SM 1.4.11
  • Improve get_current_hook_name() function in SM 1.5.1+ (no need to upgrade except for use with SM 1.5.1+)
  • Removed sq_popen() and family


Version 2.0.8
by Paul Lesniewski on Jul 7, 2007
[ compatibility-2.0.8-1.0.tar.gz tarball (9433 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Fix mistyped function call, which should not have shown up unless using old or broken setups. Thanks to Yoshinori Mamoto.
  • Fixed sqm_baseuri() location change that creates bug for versions 1.4.5 and below
  • Added sq_popen() and family
  • Added list_files()


Version 2.0.7
by Paul Lesniewski on Apr 6, 2007
[ compatibility-2.0.7-1.0.tar.gz tarball (11474 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Added sqauth_save_password() and sqauth_read_password() from 1.5.1 to compatibility library
  • Added documentation note that plugin authors should not use checkForJavascript() under 1.4.x
  • Added get_plugin_version(), updated check_plugin_version()
  • Added sq_htmlspecialchars()
  • Added sq_change_text_domain()
  • Added get_plugin_requirement()
  • Added get_plugin_dependencies(), check_plugin_dependencies()
  • Changed internal legacy inclusion mechanism for better organization and easier maintenance
  • Adjusted for new SM_VERSION constant in SM 1.5.2


Version 2.0.6
by Paul Lesniewski on Jan 18, 2007
[ compatibility-2.0.6.tar.gz tarball (10761 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Fixed issues from the last release: eval code return bug that showed only under 1.5.1 and PHP notice issue when used with the Multilogin plugin under 1.4.x.


Version 2.0.5
by Paul Lesniewski on Jan 16, 2007
[ compatibility-2.0.5-1.0.tar.gz tarball (4206 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Revamped legacy mechanism; cleaned up include files and included functions (as mentioned in the README, if plugin authors find functions they need for better compatibility, please get in touch)
  • Added missing include in the case of errors in load_config
  • Added get_current_hook_name(), add_plugin(), remove_plugin() and reposition_plugin_on_hook() functions
  • Remove use of SM_PATH in functions file in case it is not available
  • load_config() and check_plugin_setup() can now also return after an error to allow the caller to handle the error
  • Added patches through SquirrelMail version 1.4.9 and 1.5.0 (Compatibility plugin is natively loaded in 1.5.1 and up)



Version 2.0.4
by Paul Lesniewski on Nov 12, 2005
[ compatibility-2.0.4.tar.gz tarball (44533 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Sorry, folks. Changed the location of the compatibility patch again. When upgrading to this version, you *MUST* remove the patch from version 2.0.3 (to do so, just re-run the patch for that version *BEFORE* you unpack and install this version). As with before, patches from version 2.0.2 or previous will do no harm if left in place. If you are using version 2.0.3, upgrade is especially recommended.


Version 2.0.3
by Paul Lesniewski on Nov 9, 2005
[ compatibility-2.0.3.tar.gz tarball (5042 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Changed the location of the compatibility patch. Everyone upgrading to this version will need to re-run the patch! The old compatibility patch becomes obsolete, but it does not hurt anything to be left in place.


Version 2.0.2
by Paul Lesniewski on Oct 20, 2005
[ compatibility-2.0.2.tar.gz tarball (8054 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Added load_config function for use by other plugins
  • Added new sqsetcookie and sqsession_start functions to includes
  • Added new checkForJavascript function to includes


Version 2.0.1
by Paul Lesniewski on Jul 21, 2005
[ compatibility-2.0.1.tar.gz tarball (13611 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Documentation change (plugins *never* need to include Compatibility directly)
  • Added 1.4.6 includes directory
  • Added is_plugin_enabled() up to 1.4.5 and 1.5.0


Version 2.0
by Paul Lesniewski on Jun 21, 2005
[ compatibility-2.0.tar.gz tarball (9203 d/l) Help ]
Requires: SquirrelMail 0.5 or above

Description:
  • Reorganized code so that plugin authors do not need to specifically use "compatibility_" functions


Version 1.3
by Paul Lesniewski on Apr 23, 2004
[ compatibility-1.3.tar.gz tarball (74926 d/l) Help ]
Requires: (none)

Description:
  • Added compatibility_check_plugin_setup() that helps verify that a plugin has been installed and set up correctly
  • Added new $compatibility_sm_path variable for easier plugin coding...
  • Updated for compatibility (!) with new version reporting API


Version 1.2
by Paul Lesniewski on Apr 1, 2003
[ compatibility-1.2.tar.gz tarball (48230 d/l) Help ]
Requires: (none)

Description:
  • Fix for theme problem with plugins under SM 1.4


Version 1.1
by Paul Lesniewski on Mar 6, 2003
[ compatibility-1.1.tar.gz tarball (6774 d/l) Help ]
Requires: (none)

Description:
  • (Minor fix) Some applications of this plugin were experiencing unusual include order, so added an include of the global.php file to be safe.
  • Even though older versions of SquirrelMail have some of the functions that this plugin duplicates, because they have session issues, the compatibility version of those functions now takes precedence over older SquirrelMail core code.


Version 1.0
by Paul Lesniewski on Mar 1, 2003
[ This version is not available. You might be able to get it by asking on the "squirrelmail-plugins" mailing list or by contacting the author. ]
Requires: (none)

Description: Initial release.

If you have problems with the download or decompressing...
Internet Explorer
Right-click on the file, then select "Save Target As"
Firefox, Mozilla, Netscape
Right-click on the file, then select "Save Link As"
Opera
Right-click on the file, then select "Save Link Document As"
Lynx and Links
Press "d" on the link to download the file directly.
  • Untarring problems: Your browser might have un-gzipped it for you automatically. Try just "tar xvf" instead of "tar xvfz". Also, the plugins archive isn't gzipped (it is a tarball of .tar.gz files)
  • Macintosh users: Just hold down your mouse button to get the menu instead of right-clicking.
  • If all else fails, seek our help
© 1999-2010 by The SquirrelMail Project Team