BBD Busted 1 Favorites

Rated 5 stars on devot:ee

A minimal weight, super simple cache buster for ExpressionEngine 3 and ExpressionEngine 4.

Get It Now

 

Compatibility: ExpressionEngine 3, ExpressionEngine 4,.

 

Or check it out here:

The Busted Plugin simply helps you with your development by providing a simple automated cache busting process for your files.

Busted will take your files and use a modified timestamp from the last time the files were modified to rename the file with appended made timestamp.

Even though this plugin saves you so much time and headache, it is a very basic plugin and simple to use.

There are a total of 2 parameters available to you as a user/developer:

  1. $file (Required)
  2. $marker (Optional)

Busted takes your flat file declaration and builds a timestamp based, cache busted declaration.

Original:

<link rel="stylesheet" href="/css/custom.css">

With Busted:

<link rel="stylesheet" href="{exp:busted file='/css/custom.css'}">

This generates something that looks like the following:

<link rel="stylesheet" href="/css/custom.css?busted=1470518390">

You can change your marker to be whatever you like. If you work in a team and want to mark who changed the file last, you can simply change your local version to reflect that like this:

<link rel="stylesheet" href="{exp:busted file='/css/custom.css'} marker='Brian'">

This would output the following:

<link rel="stylesheet" href="/css/custom.css?Brian=1470518390">
  • stefanos

    Very useful add-on during the development. Permit to.manage easily the many css version, avoiding he confusion.


Add a review


Star:EE 1 Favorites

Star:EE is a fun way to enable ratings for your channel entries in ExpressionEngine. 

It is SUPER flexible and easy to customize.

Star:EE also allows you to do some things like enable custom colored stars, number of stars used, multiple display types, custom CSS, and enables you to include your CSS and JS wherever you like for multiple usages.

Get It Now

 

Compatibility: ExpressionEngine 3, ExpressionEngine 4,.

 

Or check it out here:

Star:EE allows you to easily style a star rating system on your channel entries. You are not limited to a particular number for your ratings and you are able to style the stars to your own liking so that they can match your site's design.

Use Star:EE to capture how users feel about your site's content at a glance. We left out a control panel page and focused on usable features for designers and developers instead. Tweak the output of Star:EE statistics to work with any format you need for your project. Don't get limited with a "one style fits all" solution.

USAGE

At its' core, Star:EE is simple to initiate. You just drop the tag in and pass your {entry_id}.

The Star:EE Form

  • Star:EE Form: {exp:staree:form}
    • Parameters:
      • entry_id - Required - This is the only required parameter.
      • site_id - Allows you to use Star:EE on multiple sites.
      • form_id - Allows you to provide a form ID attribute to the Star:EE form.
      • form_class - Allows you to provide a form Class attribute to the Star:EE form.
      • allow_duplicates - By default this is set to false. If you would like to allow multiple submissions by the same visitor, you can change this to true.
      • add_styles - By default this is set to true. Use this when you include the styles using the {exp:staree:staree_style} tag to add your CSS elsewhere.
      • add_script - By default this is set to true. This tag allows you to keep the javascript from being loaded. Use this when you include the javascript using the {exp:staree:staree_script} tag to add your javascript elsewhere.
      • size - Options: [blank=normal] | mini | small | giant - Allows you to modify the size of the form (stars) being displayed.
      • stars - By default, Star:EE is set to a 5 star rating system. You may change this here by entering any number you wish.
      • color - Star:EE comes pre-styled but this option allows you to add a hex value color that you would like to display data with. The subtle drop shadows and hover states are auto-magically created based off of your hex input provided here.
      • clear - By default this is set to true as the row of stars auto clears. If you would like to run the form in-line, you may set this flag to false.
      • show_messages - By default this is set to true. Star:EE displays detailed error messages and a Success message. You may set this to false if you wish to not see these or you can specify your messages using the error_message and success_message parameters.
      • error_message - Allows you to provide a custom error message to display if something goes wrong. This field accepts a string argument. eg: OOPS! Something went wrong.
      • success_message - Allows you to provide a custom success message to display when finished. eg: Thanks!
      • limit_user - By default this is set to false. Setting this to true will require a membership and for that member to be logged in for them to vote.
      • limit_ip - By default this is set to false. Setting this to true will require a valid IP address in order to vote.

The Star:EE Style Tag

The Star:EE style tag allows you to add the required styles to your template for the module. This is handy if you would like to use multiple Star:EE tags or simply want to add it to the head of your document.

  • Star:EE Style: {exp:staree:staree_style}
    • Parameters:
      • color - Like the color parameter for the {exp:staree:form} tag, you can specify a custom hex color for your Star:EE implementation.
      • NOTE: If you add a custom color this tag outputs the entire stylesheet link. If you use it without a color, it will just render the path.
      • {exp:staree:staree_style} will output (actual_path)
      • {exp:staree:staree_style color="#0089cf"} will output <link rel="stylesheet" type="text/css" href="actual_path">

The Star:EE Script Tag

The Star:EE script tag allows you to add the required javascript to your template for the module. This is handy if you would like to render the script tags in the head/footer of your document.

  • Star:EE Script: {exp:staree:staree_script}
    • Parameters:
      • NA - If you use this script output tag then you must set the add_script parameter to false in the {exp:staree:form} tag.

The Star:EE Rate Count Tag

The Star:EE rate count tag allows you to output the number of times an entry_id had been rated.

  • Star:EE Rate Count: {exp:staree:rate_count}
    • Parameters:
      • entry_id (Required) - You must pass in the entry_id of the item you want the count for.

The Star:EE Rate Average Tag

The Star:EE rate average tag allows you to output the numeric rating of an entry_id that you specify.

  • Star:EE Rate Average: {exp:staree:rate_avg}
    • Parameters:
      • entry_id (Required) - You must pass in the entry_id of the item you want the rating for.

The Star:EE Average Stars Tag

The Star:EE average stars tag allows you to output the visual rating of an entry_id that you specify in stars.

  • Star:EE Average Stars: {exp:staree:avg_stars}
    • Parameters:
      • entry_id (Required) - You must pass in the entry_id of the item you want the rating for.
      • add_styles - By default this is set to true. You must set this to false if you have already added the styles for Star:EE in an earlier usage.
      • stars - Like the {exp:staree:form} tag, Star:EE is, by default, a 5 stars rating system. You may change this here to match your rating if you changed your rating count initially.

Environmentall:EE Friendly

Black Belt Designs' Environmentall:EE Friendly allows you to set up your development site via WAMP or MAMP as well as your production site and manage your ExpressionEngine config settings for multiple environments easily via the Control Panel.

Get It Now

 

Compatibility: ExpressionEngine 3,.

 

Or check it out here:

Environmentall:EE Friendly simplifies managing your multi-environment config file. While there are various ways out there to do this, they all require you to manually configure your system config.php file.

Many of the questions we see are regarding managing multiple environments and how to modify or edit the config.php file in order to better ease the workflow.

For some developers this is an easy process. Many have their own methods already established.

For others, this is confusing and/or problematic.

Using Environmentall:EE Friendly makes this extremely easy. Manage all of your variables from the control panel.

As an added BONUS, if you go to your Menu Manager via Settings->Menu Manager and either create your own or edit the Default menu set, you can add Environmentall:EE Friendly to your main CP so you always know which environment you are working in.

One caveat is that if you manually configure or set your variables in the form, they must be correct or you will not be connected.

(Same as with your config.php file itself)

Requirements

Installation

Installing Environmentall:EE Friendly is easy. Simply load the environmentallee_friendly folder to your user addons system folder and load the themes folder to the user themes folder on the public_html location.

Usage

Once installed, you simply enter the information as you would for your Development and Production environments for each environment respectively.

Development

Click on Development in the left sidebar to enter or edit your development environment settings.

You will be able to manage two groups of settings for your environment.

The top section will allow you to specify your development TLD, your development {base_path}, and your development {base_url}.

To make this easier to manage, we have added a Use Current button which will grab your default settings you have already set for the current environment you are in.

The bottom section will allow you to manage your database information for your development environment.

Like the top section, we have added a Use Current button which will grab your default settings you have already set for the current environment you are in.

Production

Click on Production in the left sidebar to enter or edit your production environment settings.

You will be able to manage two groups of settings for your environment.

The top section will allow you to specify your production TLD, your production {base_path}, and your production {base_url}.

To make this easier to manage, we have added a Use Current button which will grab your default settings you have already set for the current environment you are in.

The bottom section will allow you to manage your database information for your production environment.

Like the top section, we have added a Use Current button which will grab your default settings you have already set for the current environment you are in.

Basic

A standard usage of Environmentall:EE Friendly would follow this flow:

  1. Build development website in WAMP/MAMP normally using the domain your-domain.dev
  2. Install Environmentall:EE Friendly
  3. Click on Development
  4. Click on Use Current on both top and bottom sections
  5. Click Save Settings
  6. Click on Production
  7. Set your TLD for the production server/live site
  8. Set your Path for the production website the same as you would your Default base path in Settings->URL and Path Settings in the EE CP
  9. Set your URL for the production website the same as you would your Default base URL in Settings->URL and Path Settings in the EE CP
  10. Set your database information the same as you would for a typical install using your production Database NameUsernamePassword, etc...
  11. Click Save Settings

Once you click Save Settings, Environmentall:EE Friendly adds the variables and logic needed to test against your fields to determine which database and files to load to your main config.php file for you. No need to edit or manage this file again. For safety reasons, a backup of that file is created in the user/config/ folder so if anything were to happen you can simply delete the new file and rename the backup.

Save Settings also triggers Environmentall:EE Friendly to build a development_config.php and a production_config.php file to overwrite the main config.php file variables depending on where you are.


BBD Stringer 1 Favorites

Rated 5 stars on devot:ee

Stringer allows you to access and modify strings using PHP while not enabling PHP in templates. You can also wrap the output and use HTML delimiters.

Get It Now

 

Compatibility: ExpressionEngine 3, ExpressionEngine 4,.

 

Or check it out here:

BBD Stringer

Stringer allows you to access, modify, and manipulate strings using PHP while not enabling PHP in templates.

 {exp:stringer  
    function = "" // Select the PHP string function you would like to use. Full list available on php.net  
    param[n] = "" // This is open ended, in which [n] equals sequential numbers to allow you more control over the functions and their parameters as they might change through time.  
                     param1="" param2="" etc…  
    delimiter = "" // This parameter allows you to specify the parameter you would like to utilize in array data construction and output.  
    index = "" // This parameter allows you to specify the index you would like to utilize in array data output.  
    reverse = "" // Due to parsing and run order for certain string functions, this field allows you to reverse the order of the parameters you specify.  
                    For safety, it will allow any casing versions of "yes" or "y".  
    wrapper = "" // If you would like to wrap your return_data in a set of tags, drop the tag here.
} 
    {your_content} 
{/exp:stringer}

For examples, see the images above. All functions should be working as expected. If you find something off or not reacting the way you would expect, please refer to the PHP String Function docs here and make sure you have properly included/used the available parameters. If you need to reverse the order of the string inclusion, try using reverse and changing the order of your parameters first. Get creative with it. For example, extend other addons like SEO Lite from Bjorn Borresen by using the SEO Lite - ‘extra tags’ feature in combination with the BBD Stringer power to auto-magically pull a content relevant Title attribute for your page. YES! BBD Stringer works inside the SEO Lite template. See images above for an example. The source view was modified to see that it pulled from the copy field.

<title>{exp:stringer function="explode" param1=". " index="0" reverse="y"}{extra:headline}{/exp:stringer} | Black Belt Designs, LLC</title>

If you view the images above, you will see that the “extra:headline” field was a multi-sentence paragraph. Using explode, we were able to use the entry data to make the title tag more relevant to the entry. At the time of this build, the following PHP String functions are available. This was built in a way that should support all future functions as well.

  • addcslashes - Quote string with slashes in a C style
  • addslashes - Quote string with slashes
  • bin2hex - Convert binary data into hexadecimal representation
  • chop - Alias of rtrim
  • chr - Return a specific character
  • chunk_split - Split a string into smaller chunks
  • convert_cyr_string - Convert from one Cyrillic character set to another
  • convert_uudecode - Decode a uuencoded string
  • convert_uuencode - Uuencode a string
  • count_chars - Return information about characters used in a string
  • crc32 - Calculates the crc32 polynomial of a string
  • crypt - One-way string hashing
  • echo - Output one or more strings
  • explode - Split a string by string
  • fprintf - Write a formatted string to a stream
  • get_html_translation_table - Returns the translation table used by htmlspecialchars and htmlentities
  • hebrev - Convert logical Hebrew text to visual text
  • hebrevc - Convert logical Hebrew text to visual text with newline conversion
  • hex2bin - Decodes a hexadecimally encoded binary string
  • html_entity_decode - Convert all HTML entities to their applicable characters
  • htmlentities - Convert all applicable characters to HTML entities
  • htmlspecialchars_decode - Convert special HTML entities back to characters
  • htmlspecialchars - Convert special characters to HTML entities
  • implode - Join array elements with a string
  • join - Alias of implode
  • lcfirst - Make a string’s first character lowercase
  • levenshtein - Calculate Levenshtein distance between two strings
  • localeconv - Get numeric formatting information
  • ltrim - Strip whitespace (or other characters) from the beginning of a string
  • md5_file - Calculates the md5 hash of a given file
  • md5 - Calculate the md5 hash of a string
  • metaphone - Calculate the metaphone key of a string
  • money_format - Formats a number as a currency string
  • nl_langinfo - Query language and locale information
  • nl2br - Inserts HTML line breaks before all newlines in a string
  • number_format - Format a number with grouped thousands
  • ord - Return ASCII value of character
  • parse_str - Parses the string into variables
  • print - Output a string
  • printf - Output a formatted string
  • quoted_printable_decode - Convert a quoted-printable string to an 8 bit string
  • quoted_printable_encode - Convert a 8 bit string to a quoted-printable string
  • quotemeta - Quote meta characters
  • rtrim - Strip whitespace (or other characters) from the end of a string
  • setlocale - Set locale information
  • sha1_file - Calculate the sha1 hash of a file
  • sha1 - Calculate the sha1 hash of a string
  • similar_text - Calculate the similarity between two strings
  • soundex - Calculate the soundex key of a string
  • sprintf - Return a formatted string
  • sscanf - Parses input from a string according to a format
  • str_getcsv - Parse a CSV string into an array
  • str_ireplace - Case-insensitive version of str_replace.
  • str_pad - Pad a string to a certain length with another string
  • str_repeat - Repeat a string
  • str_replace - Replace all occurrences of the search string with the replacement string
  • str_rot13 - Perform the rot13 transform on a string
  • str_shuffle - Randomly shuffles a string
  • str_split - Convert a string to an array
  • str_word_count - Return information about words used in a string
  • strcasecmp - Binary safe case-insensitive string comparison
  • strchr - Alias of strstr
  • strcmp - Binary safe string comparison
  • strcoll - Locale based string comparison
  • strcspn - Find length of initial segment not matching mask
  • strip_tags - Strip HTML and PHP tags from a string
  • stripcslashes - Un-quote string quoted with addcslashes
  • stripos - Find the position of the first occurrence of a case-insensitive substring in a string
  • stripslashes - Un-quotes a quoted string
  • stristr - Case-insensitive strstr
  • strlen - Get string length
  • strnatcasecmp - Case insensitive string comparisons using a “natural order” algorithm
  • strnatcmp - String comparisons using a “natural order” algorithm
  • strncasecmp - Binary safe case-insensitive string comparison of the first n characters
  • strncmp - Binary safe string comparison of the first n characters
  • strpbrk - Search a string for any of a set of characters
  • strpos - Find the position of the first occurrence of a substring in a string
  • strrchr - Find the last occurrence of a character in a string
  • strrev - Reverse a string
  • strripos - Find the position of the last occurrence of a case-insensitive substring in a string
  • strrpos - Find the position of the last occurrence of a substring in a string
  • strspn - Finds the length of the initial segment of a string consisting entirely of characters contained within a given mask.
  • strstr - Find the first occurrence of a string
  • strtok - Tokenize string
  • strtolower - Make a string lowercase
  • strtoupper - Make a string uppercase
  • strtr - Translate characters or replace substrings
  • substr_compare - Binary safe comparison of two strings from an offset, up to length characters
  • substr_count - Count the number of substring occurrences
  • substr_replace - Replace text within a portion of a string
  • substr - Return part of a string
  • trim - Strip whitespace (or other characters) from the beginning and end of a string
  • ucfirst - Make a string’s first character uppercase
  • ucwords - Uppercase the first character of each word in a string
  • vfprintf - Write a formatted string to a stream
  • vprintf - Output a formatted string
  • vsprintf - Return a formatted string
  • wordwrap - Wraps a string to a given number of characters
  • stefanos

    With BBD Stringer, easily you can modify easily the string manage the strings through PHP, without necessety to enable PHP in template. Gteat add-on!


Add a review


Parentals 2 Favorites

Rated 5 stars on devot:ee

This plugin lets you fetch info about parents of given category (direct parent and root). Credit to Yuri Salimovskiy for the original Category Parents pi

Get It Now

 

Compatibility: ExpressionEngine 3,.

 

Or check it out here:

This plugin lets you fetch info about parents of given category (direct parent and root).

Parameters:
category - category id to fetch parent (mandatory)
exclude_self="yes" - exclude the current category from output

{exp:parentals:parent category="{category_id}"}
    {cat_id}
    {cat_name}
    {cat_url_title}
    {cat_description}
    {cat_image}
    {cat_parent_id}
{/exp:parentals:parent}

{exp:parentals:root category="{category_id}"}
    {cat_id}
    {cat_name}
    {cat_url_title}
    {cat_description}
    {cat_image}
    {cat_parent_id}
{/exp:parentals:root}

{exp:parentals:all_parents category="{category_id}"}
    {cat_id}
    {cat_name}
    {cat_url_title}
    {cat_description}
    {cat_image}
    {cat_parent_id}
{/exp:parentals:all_parents}


BBD Chopper 8 Favorites

Rated 5 stars on devot:ee

Allows you to create excerpts of your entries by removing HTML tags and limited the excerpt by character count, word count or a specific marker you insert into your content. Thanks to Brett DeWoody for providing Hacksaw. I needed one for EE3 and created the same functionality from it since it was let go.

Get It Now

 

Compatibility: ExpressionEngine 3, ExpressionEngine 4,.

 

Or check it out here:

If you ever used Brett DeWoody's EE Hacksaw, then you were probably sad to see it was labeled INACTIVE. I know I was. That's why I revived it in an ExpressionEngine 3 friendly version.

All of the functionality remains the same as it did with the older versions in EE2.

Chopper takes your entry's content and whittles it down to a more manageable size. It strips the HTML and limits the excerpts by character count, word count or cutoff marker.

To use Chopper simply wrap the content you want to truncate with the exp:chopper tag, like this:

<code>{exp:chopper} {your_content} {/exp:chopper} </code>

There are several parameters you can use to control how the content is truncated. These options are:

chars   = ""          // Limit by number of characters

words   = ""         // Limit by number of words

cutoff = ""            // Limit by a specific cutoff string

append =""        // String to append to the end of the excerpt

allow   = ""         // HTML tags you want to allow. Ex allow=""

For example, if you want to limit your excerpt to 100 words you would do this:

<code>{exp:chopper words="100"} {your_content} {/exp:chopper} </code>

By default Chopper will strip all HTML from your excerpt. If you would like to keep some basic HTML you can use the"allow" parameter to keep specific HTML tags. For example, let's say you want to keep <p> and <b> tags:

<code>{exp:chopper words="100" allow="<p><b>"} {your_content} {/exp:chopper} </code>

This would strip all HTML except paragraph (<p>) and bold (<b>) tags.

Another way to limit content is by a cutoff string. This is similar to the way Wordpress's "more" feature works. In your content you could add a specific string to indicate the spot you want the excerpt to stop. Let's say you use "<!--END-->". To cut the excerpt off at this location you would do this:

<code>{exp:chopper cutoff="<!-- END -->"} {your_content} {/exp:chopper}</code>

The "cutoff" parameter can be coupled with the "words" parameter in case you forget to add the cutoff string to some of your entries. This way the excerpt will be truncated at the cutoff string, OR after X words.

You can add any string at the end of the excerpt using the "append" parameter, like this:

<code>{exp:chopper words="100" append="..."} {your_content} {/exp:chopper} </code>

This would append "..." to the end of the excerpt.

I am not sure what all other addons this will work with right now since there are so few ready for EE3 right now. 









  • Biscuiterie

    Very useful and effcicent. Thanks a lot.

  • FirstClassCode

    Great plugin, does exactly what we need it to do. Good job!

  • Loughlin

    Top marks to Black Belt Design. Great to see a Hacksaw replacement for EE3. Kudos!

  • ejaeDesign

    Thanks for making this available for EE3! So glad to have this after EE Hacksaw was not ported over.

  • octopusink

    Works as advertised! I was dependant on Hacksaw, so was really glad to find an EE3 version.

  • toolstudios

    Thanks for this!!! Works just like it says it does!


Add a review


devot:ee Fetch


devot:ee Fetch just takes advantage of the devot:ee developer API in order to pull your developer stats from the devot:ee site in order to use them on your page.

Get It Now

 

Compatibility: ExpressionEngine 3,.

 

Or check it out here:


devot:ee Fetch just takes advantage of the devot:ee developer API in order to pull your developer stats from the devot:ee site in order to use them on your page.

Fetch your public data from the devot:ee site for your addons.

Fetch your public data from the devot:ee site for your addons.

You must first add your API Key and Secret Key to the script above.

  • $file (Required) - This is the name of the file you want to retrieve. This is the {url_title} of the devot:ee location.
  • $return_data - This is a LOT of information, so I thought it best to just throw it in a tag pair so you can pick and choose what you like.
  • title
    • <code></code>
  • developer
    • <code></code>
      • developer_name
        • <code>{dv_developer_name}</code>
      • developer_alt
        • <code>{dv_developer_alt}</code>
      • developer_links
        • <code>{dv_developer_links}{/dv_developer_links}</code>
          • title
            • <code>{dv_link_title}</code>
          • url
            • <code>{dv_link_url}</code>
  • license
    • <code></code>
  • categories
    • <code></code>
      • category
        • <code>{dv_category}</code>
  • party
    • <code></code>
  • version_support
    • <code></code>
      • version_name
        • <code>{dv_version_name}</code>
      • version_supported - (bool)
        • <code>{dv_version_supported}</code>
  • compatibility
    • <code></code>
      • component
        • <code>{dv_component}</code>
      • compatibility - (bool)
        • <code>{dv_compatible}</code>
  • requirements
    • <code></code>
      • requirement
        • <code>{dv_requirement}</code>
      • required - (bool)
        • <code>{dv_required}</code>
  • summary
    • <code></code>
  • description
    • <code></code>
  • links
    • <code></code>
      • title
        • <code>{dv_link_title}</code>
      • url
        • <code>{dv_link_url}</code>
  • hooks
    • <code></code>
      • hook
        • <code>{dv_hook}</code>
  • rating_percentage
    • <code>0</code>
  • rating
    • <code></code>
  • votes
    • <code></code>
  • favorites
    • <code></code>
  • reviews
    • <code></code>
      • author_name
        • <code>{dv_author_name}</code>
      • author_url
        • <code>{dv_author_url}</code>
      • date
        • <code>{dv_date}</code>
      • review
        • <code>{dv_review}</code>