As a small token of my appreciation to everyone who has helped BoltWire make some pretty big advances this year, and just to show a bit of Christmas cheer--I'm happy to release version 5.07. It's one whopper of a Christmas present.
8 Bug Fixes 10 New Features (mostly small) 9 Improvements to Code 2 Streamlining Changes The download actually ended up SMALLER than 5.06! Please read the changelog carefully before upgrading. I wish our entire BoltWire community a wonderful holiday season! Cheers, Dan PS. I've put the XPack on temporary hold (for a month or two) as I'm working on another major project--kind of an XPack for churches. Between the XPack and ChurchZAP--BoltWire is getting stretched farther every day. Couldn't be more excited about how it is coming along. Will keep you posted when the release of XPack gets a bit closer *The Cutting Edge...**boltwire5.07.zip <http://www.boltwire.com/downloads/go&v=5&r=07> December 25, 2015* - Slight fix to start.php, to fix a broken link and to allow customization of .htcodes location. Also updated start.php tutorial. - Reworked underlying code in login and logout process to better handle persistent logins. Should not change current behavior however. Note the BoltWire site now has working persistent logins... - Added a couple nifty features to the search function--namely, prev and next. An example is easier than an explanation. The start page must be in the array. [(search prev start={p} group=forum fmt=[[{+p}|PREV]] end=END)] [(search next start={p} group=forum fmt=[[{+p}|NEXT]] end=END)] - Did a pretty major rewrite of the mail function to allow easy drop in capabilities for mail scripts like swiftmailer or phpmailer, etc. Basically it now calls a new BOLTmail function in library.php that has a webhook for myBOLTmail. - In so doing, simplified the core mail function to call site.auth.mail always. Also changed how the email body is generated. Now default allows for vars, conditions, and links. Can set content=text for plain text emails, and content=html for most html tags. If I did everything right, this should not otherwise affect existing sites. - Made the inlist query data processor smarter so can do both: #1(,)A,B,C and #1(,)Bob. The first checks to see if #1 is in the list A,B,C. The second checks if Bob is an item in list #1. Basically it checks which side has the commas. If commas in both sides, stays with current approach which is the second one above. - Changed list and search function so include parameter overrides when, type, and other restrictors. - Changed BOLTMfuncs so variable parameters have their quote marks unescaped. Not sure full consequences, but makes it possible to store full parameter strings as data vars. Slightly experimental--markups.php ~241. - Slight fix to memberships function returning incorrect results when viewing another members memberships as BOLTadmin. - Fixed the field replacement function (at last) so can use simple {+1} and {+2} for info parts. Can still do {+#1} and {+#2}--I just never could remember that markup. - Deleted the site.members page from the core, as the member mgmt page in the expansion pack will be a good bit better. I also moved site.language.template to the expansion pack, where it will be integrated with our google translate site language pack creator. Those don't seem to meet our core philosophy goal #2. - I moved the citations markup from the core to the expansion pack. If you need this, let me know--I can give it to you as a simple plugin. It just seemed to fit better with all the bonus markups in the expansion pack as it is not core html code. - Added a simple zones function which returns the hierarchical page for a zone. Just a couple lines--but useful in various situations. - Fixed linkrot feature so it still works if the missing mark is turned off. Also turned it on by default and added a page holder for this to the core. - Improved the BOLTinfoPeek function to avoid adding an extra line return when setting a new info value. - Wrapped the settings in site.config with anchors. Recommend doing this to your sites as well if you plan to get the expansion pack which has a super cool config management tool. - Added a legend parameter to query searches. Much easier. Have flagged the site.config approach as deprecated. - Added a hook in the page saving process for a notify module. - Added a vspace=false parameter in the include function to turn off vertical spacing. Great for including stuff in text areas with some markup you want to process. - Turned off the memberships message when logging in. - Added a small hook for a plugin you can use to import pages from one site to another. Pretty nifty idea -- will affects urls with an importcode get value. - Radio and checked boxes can now use source function as the default checked value, without having to unescape the output. - Added a central BOLTcrypt function which essentially adds a hook if you want to do some kind of custom password encryption. In the process I removed the special crypt parameter in the BOLTFlogin function. This shouldn't affect anyone unless they are using a custom login script that relies on this. - Added a new dev utility--for developers. Basically can do dev('search', 'group=... parameters'); and it is a shortcut for BOLTFsearch(BOLTargs('group=... parameters')); The optional 3rd parameter allows you to pass in dev values and the 4th parameter can be set to C, or X to tap into conditions and commands respectively. - Fixed slight bug in redirect function when cleanURL's enabled that changed dots in local get values to forward slashes in redirect url. - Added a button class to the default style sheet that turns links into buttons. Matches form buttons exactly. - Fixed an old bug (feature?) so now when you set an info field to a null value, that info field gets deleted. Before, you had to use the delete info var function. Setting a value='' resulted in the command being igored. If you have relied on this before, this could affect your site. - Added a hook for users to create custom type functions (using myBOLTtypeMyName). This allows for very speedy and customized typing of search values. I also deprecated the hook for the custom sort functions as I simply plan to rename that hook similarly (adding my to BOLTsortMyName). Probably will go through whole code and look for hooks to make sure all have my's in front. -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.