• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fast Phrases 1.1.0 2017-09-30

No permission to download
Compatible XF 1.x versions
1.5
This is an upgrade to the earlier version of Fast Phrases. I've added syntax for PHP phrases and the product now handles phrases with params.

This product is intended for developers who have dozens or even hundreds of phrases to create. The most important change is that once you save a phrase you are redirected back to the Create New Phrase form instead of the Phrases page. Several of the input settings are retained.

Features:

Save and Create New Button: When you click this to save the phrase you are redirected to a fresh Create New Phrase form but with Title Prefix, Number of Words in Title, Add-on and Cache this phrase globally input values retained.​
Create Title Button: After you paste in or type the phrase text you can click this to create a phrase title. Spaces are replaced with underscores, punctuation is removed and non-standard letters are converted to plain Latin text.​
New Handles Complex Phrases With Params: If your phrase contains params the correct syntax is generated in the copy inputs, which you can copy with a button click.​
Substitutions: This setting in the admin CP Options provides the regular expressions to convert non-standard letters to plain Latin. Most western European languages are covered. You can add more as needed.​
Number of Words in Title: The default value can be set in Options but you can change it in the form also. You can change this setting before or after you have created a title. The value is retained after you save.​
Title Prefix: This allows you to prepend a prefix to your phrases to associate them with your add-on product.​
Copy Xen Tag: The Create Title feature creates the phrase title and also creates a ready-to-use xen phrase tag to paste into your template. Editing the Title input also changes this value.​
New Copy PHP: I've added a new copy input that shows the correct syntax for using the phrase in PHP. Editing the Title input changes this value.​
Copy Buttons for Title, Xen Tag and PHP: You can click any of these to copy the contents of the corresponding (disabled) text input without selecting text.​
New Example Of Tag And PHP Syntax: The correct syntax for xen tags and PHP is shown in a box at the bottom of the form.​
Other Features:
Direct Link to Create New Phrase: This is in the sidebar and shows only in debug mode.​
Search by Add-On: This allows you to search phrases by add-on instead of title or text values.​
Odds and Ends:

Template names and phrases begin with "fp_"
Bug Fix:

Added ü to the list of non-standard characters to replace.​
Installation:
The usual, unzip the product file, upload the contents of the "ROOT" folder to your forum root, upload the XML file in the admin CP.
If you are upgrading, the only file change is js/nerbert/fast_phrases.js. Uninstall the old product file and install the new one.
fp-110.png
Likes: HWS
Author
Nerbert
Downloads
9
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Nerbert