My Enhanced BBCode Hack v10 - Released! And UPGRADED to v11
- layingback
- Site Admin
My Enhanced BBCode Hack v10 - Released! And UPGRADED to v11
A heads up that I'm just finishing up the work on the latest version of my Enhanced BBCode.
New features are limited to a few input characters (©, ® and ™), a real functioning Indent, support for 500px.com who have now switched to using %3D in place of = in their image urls, and a feature which adds a link to a member's profile if you preface the username with an @ symbol.
But this version has taken more work than any of the previous ones! Perhaps the 2 biggest changes are under the skin:
- The Help has been thoroughly extended - not only does it now cover everything, it is also illustrated
- Some of you may have been aware that nbbcode.php called deprecated routines (preg_replace with /e modifier to be specific), this has now been lifted completely, meaning this BBCode can live on without issues of backward compatibility, etc.*
A copy of the new Help file can be found here, although the rest of the code hasn't been uploaded here - yet.
As for v9, it requires PHP 5.3 or later, so is basically for DF 9.4 (on?).
*I had been seriously concerned about how we would proceed if there was no way (as stated on a certain site) to move this code forward once PHP drops support for preg_replace /e modifier completely. But that's behind us now that I've found a way. The BBCode syntax parser remains the same, I've only changed the method of generating the final HTML, so hopefully everything should still function, and will be fully backward compatible - something that was not likely to occur if a more drastic code replacement was required. The found solution requires PHP 5.3 - that that requirement was already in place from DJ Maze's revised tag nesting parser included in v9.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
Last edited by layingback on Thu Nov 19, 2015 17:50; edited 2 times in total
- layingback
- Site Admin
Re: My Enhanced BBCode Hack - v10 Coming
OK the latest version of my Enhanced BBCode is installed here now for you to try.
Here's how the above can be formatted now ...
New features are limited to a few input characters (©, ® and ™), a real functioning Indent, support for 500px.com who have now switched to using %3D in place of = in their image urls, and a feature which adds a link to a member's profile if you preface the username with an @ symbol, like @layingback - it will add a link and display as shown. (Note: you do need to leave a space after the username too, as the usual punctuation symbols are allowable in a username. ) Non-matching usernames will appear as @not-a-user.
But this version has taken more work than any of the previous ones! Perhaps the 2 biggest changes are under the skin:
- The Help has been thoroughly extended - not only does it now cover everything, it is also illustrated
- Some of you may have been aware that nbbcode.php called deprecated routines (preg_replace with /e modifier to be specific), this has now been lifted completely, meaning this BBCode can live on without issues of backward compatibility, etc.*
A copy of the new Help file can be found here, although the rest of the code hasn't been uploaded here - yet.
As for v9, it requires PHP 5.3 or later, so is basically for DF 9.4 (on?).
*I had been seriously concerned about how we would proceed if there was no way (as stated on a certain site) to move this code forward once PHP drops support for preg_replace /e modifier completely. But that's behind us now that I've found a way. The BBCode syntax parser remains the same, I've only changed the method of generating the final HTML, so hopefully everything should still function, and will be fully backward compatible - something that was not likely to occur if a more drastic code replacement was required. The found solution requires PHP 5.3 - that that requirement was already in place from DJ Maze's revised tag nesting parser included in v9.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
- layingback
- Site Admin
Re: My Enhanced BBCode Hack - v10 --- Now Released!
As the updated title indicates this is now available in Downloads.
Please note this has not been independently Beta tested yet - although it is on this site and my PENTAXslr.eu site. Those of a squeamish disposition my want to wait a few days until the usual beta testers report back
ENJOY!
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
- layingback
- Site Admin
Re: My Enhanced BBCode Hack - v10 --- Now Released!
Here's a couple of quick screenshots showing the new features, for reDesign and default themes.


(Also includes the existing Quotes to show how this has not changed - even though both Quote and Indent use <blockquote> to work their magic.)
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
- rosbif
- BetaTester
Re: My Enhanced BBCode Hack - v10 --- Now Released!
Have downloaded (sorry didn't notice it before!) and will update my sites in the next few days. Will report back here with any findings!
Thanks as ever!
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.4.1
- rosbif
- BetaTester
Re: My Enhanced BBCode Hack - v10 --- Now Released!
Updated my four sites - all working perfectly (so far!) and very easy to follow instructions. Thank as ever!
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.4.1
- layingback
- Site Admin
Re: My Enhanced BBCode Hack - v10 --- Now Released!
A further enhancement to my Enhanced BBCode - yeah, yeah, I know I said I couldn't see any other enhancements to add!
The newest version - not yet released - add but 1 new feature ...
Remember how DJMaze improved List handling in the last release? Well it occurred to me that the List feature was now almost good enough to use for another purpose. A few tweaks to only a couple of lines of code ( not counting the hundreds of lines of code I had to tweak to figure that out! ) and you can get this:
A 2 or 3 level menu from within a BBCode input section !!! Links can be of any of the current url formats, and can link to anywhere a free-standing link could go to. Obviously you would usually want to use a [url= type of link, vs a [url] type, in order to specify both a link and a separate text label, and one of the 'local' url formats (ie. no http://) so that it opens on the same page.
The entire List entry must be just a url statement, no extra leading or trailing text. But other than that, no real restrictions.
Of course you might want the above to be displayed as a normal list, like so:
But that's easy too. The only difference between the 2 is that the first one added [list=m] for menu!
The list=m feature still needs to be documented, then I'll release.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
Last edited by layingback on Thu Sep 24, 2015 22:15; edited 1 time in total
- layingback
- Site Admin
Re: My Enhanced BBCode Hack - v11 Released!
OK, a little more work, and I think it is now ready for release ...
The big change for this release is detailed in the previous post (above). There are also a few minor improvements in the code for some of the changes in the v10 release (although I doubt anyone has encountered the issue).
Also mouse-over HTML titles have been dropped from Lists. They didn't do much, were potentially a problem for assertive readers, and sure got in the way of the new menus!
The BBCode Help file has been further updated to include the menu feature, add mouse-over titles to the interactive help keyboard image, and fix a couple of typos. I've also made it clear, if you are an administrator - which features are not displayed to a normal users.
Note that Admin-only features are NOT disabled for non-Admins, because is you've edited a user's article those features, you may still want them to be able to re-edit the article without losing your as-Admin edits. Instead the features are simply not disclosed to the normal user, either in the on-screen hints or in the BBCode help file.
Find the latest version here: Downloads
Please read the instructions carefully: As well as new CSS additions (for the menus), there are also 2 small edits needed to Pro_News CSS if you are a user of my excellent Pro_News module, as there are conflicts from the old days before I developed my Enhanced BBCode.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum