ExpressionEngine Add-ons

Favorites 5.0.3

Lets users add & edit entries and members as favorites.

  Overview

Favorites is the original and premier entry and member saving add-on for ExpressionEngine! With robust and feature rich functionality and templating tags, you're able to accomplish a wide variety of things that go beyond the essentials of "saving and unsaving".

Favorites allows your members to save both entries and other members as favorites (and save notes!), multiple times too if they wish, using an Admin pre-defined set of collections. Favorites can then be updated, switched to different collections, or removed altogether. The sky's the limit on this, as this could be manipulated to simulate bookmarks, following members, upvoting content, photo light boxes, etc.

Included functionality for Favorites is:

  • Display how many users saved the given entry/member.
  • Display lists of users that saved the given entry/member.
  • Display 'related' lists of other entries/members that were also saved to favorites by users.
  • Display ranked lists of entries/members that have been most favorited.
  • Display ranked lists of authors who's entries have been most favorited.
  • Display lists of saved entries/members for the currently logged in user.
  • Display lists of currently available collections.
  • Front end collection creation/editing form (for admins).

  Compatibility

The latest version of Favorites is 5.0.3. The chart below shows the current technical requirements and compatibility for the latest version of Favorites.

  What People Are Saying

This versatile add-on is essential for so many types of websites. I've used it on a celebrity chef's website to allow guests to save recipes to their "recipe box", I've used it on a book swapping site to load up books as favorites for later swapping. I've even used it on a site where user profiles were set up as channel entries, and favorites allowed other users to "friend" other profiles.

Ryan Battles

  Who's Using It

  Changelog

For updating instructions, please visit the documentation.

Updates

Updating Instructions #

If you're upgrading from Favorites 4.x on ExpressionEngine 2.x, it's recommended that you upload the new Favorites files to your new ExpressionEngine 3.x site directory just before running the EE2 -> EE3 upgrade. Proceed with the following instructions...

  1. Within your sites ./system/user/addons/ directory, delete the favorites folder and upload the new one from the /system/user/addons/ directory in your download package.
  2. Within your sites ./themes/user/ directory, delete the favorites folder and upload the new one from the /themes/user/ directory in your download package.
  3. Go to the Add-On Manager area in the ExpressionEngine control panel, scroll to down to the Third Party Add-Ons section, and find Favorites in the list, and click Update.
  4. If updating from Favorites 3.x, review the Favorites 3.x to 5.x Upgrade Guide and update your templates as necessary.

Changelog #

5.0.3 (June 22, 2016) #

  • Updated for compatibility with ExpressionEngine 3.4.

5.0.2 (April 29, 2016) #

  • Added support for PHP7.

5.0.1 (April 18, 2016) #

  • Updated Favorites for compatibility with ExpressionEngine 3.3's new icon set in the control panel.

5.0.0 (December 7, 2015) #

  • Updated Favorites to be compatible with ExpressionEngine 3+ (only). Favorites 4.x is required for ExpressionEngine 2.x.
  • Added {if favorites:no_results} conditional support for the Favorites:Info tag.
  • Fixed a bug where no results would sometimes display when the Favorites:Saved_By tag was used for members when the member was in fact saved by one or more users.
  • Fixed a bug where deleting members would not completely clean up Favorites data about the deleted member.
  • Fixed a bug where deleting members from the User add-on would not completely clean up Favorites data about the deleted member.

4.0.4 (April 27, 2015) #

  • Added collection_id="" parameter support for applicable Favorites tags.
  • Added paginate_base="" parameter to applicable Favorites tags.
  • Updated for compatibility with ExpressionEngine 2.10+.
  • Fixed a bug where an error would display in Favorites:Saved_By if the orderby="" parameter was not used.

4.0.3 (February 24, 2015) #

  • Added type="", favorites_member_id="" and favorites_username="" parameters to Favorites:Count to allow retrieving the total favorited entries/members for a specified user.
  • Fixed a bug where using a non-preexisting collection name in the collection="" parameter would not save to the default collection name instead.
  • Fixed a bug where only using the collection="" parameter could result in an invalid collection name error.

4.0.2 (January 27, 2015) #

  • Fixed a bug where using the Favorites:Info tag multiple times on a template with different collections would repeat the contents of the first Favorites:Info tag only.
  • Made some minor adjustments and improvements to the Demo Templates.

4.0.1 (January 15, 2015) #

  • Added a disable_pagination="yes" parameter to Favorites:Info and Favorites:Members tags to aid with potential pagination conflict issues.
  • Fixed a bug where the favorites_username="" and favorites_member_id="" parameters did not work in Favorites:Members tag.
  • Fixed some issues and makes some adjustments to the Favorites demo templates.

4.0.0 (November 18, 2014) #

  • Added demo templates to Favorites to help demonstrate and teach usage of add-on.
  • Added favoriting functionality for saving EE member profiles.
  • Added ability to have custom collection names for channel entries and members.
  • Added new Favorites:Form tag to securely handle and enhance the adding of new favorites.
  • Added new Favorites:Edit tag for the ability to edit/update favorites.
  • Added the ability to save notes for each favorite.
  • Added the ability to save an entry or member more than once, to different collections.
  • Added new Favorites:Info tag, a loop that is used for displaying the currently logged in members favorite data for each entry/member, and helping with handling the formatting for adding/removing/editing favorites.
  • Added prefixed variable names to all Favorites template tags (ex: {favorites:variable_name}).
  • Added new Favorites:Members tag, which displays all saved member account favorites for the currently logged in user.
  • Added availability of avatar variables and conditionals for all member data-related template tags.
  • Added "error_page" parameter for custom error pages functionality for all form tags.
  • Added new Favorites:Collections tag that displays a list of all collections for the site, filterable by entry collections or member collections (or both).
  • Added new Favorites:Collection_Form tag, used for adding and updating existing collections on the front end templates.
  • Overhauled Favorites control panel interface.
  • Updated the Favorites:Entry_Count to be named Favorites:Count, and updated its behavior to be more simplified and recognize collections and members.
  • Updated the Favorites:Shared tag to be named Favorites:Related_Entries for channel entries, and Favorites:Related_Members for members.
  • Updated the Favorites:Rank tag to be named Favorites:Rank_Entries for channel entries, and Favorites:Rank_Members for members.
  • Updated the Favorites:Members tag to be named Favorites:Saved_By to better clarify what it does, and free up the "Members" tag name for member profile favoriting functionality.
  • Updated all Favorites tags that loop data to have advanced pagination.
  • Updated all applicable previously existing tags to have "collection" parameters and variables to make use of new collection functionality.
  • Renamed the Favorites:Author_Rank tag to Favorites:Rank_Authors to be more consistent with other tag names.
  • Removed the Favorites:Saved tag in favor of the new robust Favorites:Info tag.
  • Removed error language from Favorites module control panel preferences and into normal EE language files.
  • Removed the Favorites:Save tag in favor of new Favorites:Form tag.

3.1.3 (March 26, 2014) #

  • Updated for compatibility with ExpressionEngine 2.8.
  • Added column checks for uninstall in case erroneous installs are missing columns to default ExpressionEngine tables.

3.1.2 (September 18, 2013) #

  • Updated for compatibility with ExpressionEngine 2.7.

3.1.1 (May 1, 2013) #

  • Updated for compatibility with ExpressionEngine 2.6.

3.1.0 (January 29, 2013) #

  • Removed support for ExpressionEngine 1.x (Favorites is now EE2 only).
  • Added offline documentation files to download package.
  • Added favorites_id to the 'delete_favorite_end' extension hook.
  • Fixed a bug where adding default preferences would cause errors when using MySQL in strict mode.

3.0.5 (January 26, 2012) #

  • Added new extension hooks: 'delete_all_favorites_start', 'delete_all_favorites_end', 'delete_favorite_start', 'delete_favorite_end'.
  • Updated pagination to support ExpressionEngine 2.4.
  • Fixed a bug where the Favorites:Entries tag would not correctly order results with pagination.

3.0.4 (January 17, 2012) #

  • Removed usage of EE's depreciated set_gmt function.
  • Fixed some minor stying issues in both the EE1 and EE2 control panel.
  • Fixed a bug where an SQL error was thrown when using the Favorites:Rank and filtering against an invalid category.
  • Fixed a bug where ordering by 'favorites_date' and using a limit returned the wrong entries.
  • Fixed a bug in Favorites:Rank where using a search:field_name="value" filter that returned zero entries was throwing a MySQL error.
  • Fixed a bug where specifying an entry via url_title would cause Favorites:Shared to return no results.
  • Fixed a bug where ordering Favorites:Rank by 'count' with 'sort' parameter set to 'asc' would return incorrectly ordered results.
  • Fixed a bug where users updating from versions less than 2.5.3 might get SQL errors on update.
  • Fixed a bug where language data in Preferences was being double escaped upon save.

3.0.3 (August 15, 2011) #

  • Converted Favorites to use Solspace Add-on Builder Framework, and Solspace Bridge for EE 1.x.
  • Added compatibility for NSM Addon Updater.
  • Fixed a bug where old extension hooks were left in place when upgrading in EE1.

3.0.2 (December 17, 2010) #

  • Updated and enhanced Favorites module CP area (in EE 2.x) to conform completely to native EE styling.
  • Removed "flow_ui" theme from Favorites module in EE 1.x.
  • Fixed a bug where an additional stray preference was added to the DB upon install.

3.0.1 (September 29, 2010) #

  • Added a preference to the Favorites CP to enable/disable the auto-favoriting for authors feature.
  • Fixed a bug where the dynamic="" parameter wasn't working in the Entries tag in EE 2.x.
  • Fixed some bugs with the insert_favorite_start & insert_favorite_end extension hooks.
  • Fixed a bug where site preferences could be present more than once in the database.

3.0.0 (May 24, 2010) #

  • Added compatibility for ExpressionEngine 2.x.

  Pro Services

Need help with an implementation of Favorites? Need Favorites to do more? We're available for hire!

If you're interested in any of the above services, or have questions about them, fill out the form below to begin our conversation!

  EE Aftercare

Ongoing repairs, additions, and adjustments are a normal part of the life cycle of a web site. With EE Aftercare, you have someone on your team who you can trust to take care of your web site. Solspace brings years of experience in developing, refurbishing, and supporting EE web sites. With EE Aftercare, you have a high-end developer on your team, working with you to have the best and most effective possible web presence.

Learn more about EE Aftercare