I'm still catching up on the little things - here's a list of v2.1.3. updates:
- Updated /ndxzsite/plugin/plugin.new_statistics.php (referrer issue)
- Updated /ndxzstudio/system/index.php (small object bug)
- Updated /ndxzstudio/system/files.php (mobile theme selection)
- Updated /ndxzstudio/exhibits/files.php (mobile format selection)
- Updated /ndxzstudio/lib/hooks.php (incorrect variable type)
- Updated sorting for upgrades - now you should get the correct version number
- Updated /ndxzsite/default/style.css for the "New" indicator
You simply only need to reupload the /ndxzstudio folder (backup first!). And then click on the upgrade link inside the studio.
Reupload /ndxzsite/default/style.css if you use the "New" indicator or apply the update to whatever theme you might be using (I've commented where it exists in the file).
I've had a bunch of nice email recently - I really appreciate the support. Thank you!
Believe it or not I get totally stressed out with regards to you guys upgrading your sites. I don't want it to be difficult or worse, see you ruin a perfectly good site. I wish the upgrade process was easier but we have what we have for now.
These are some things you can do before you upgrade a site:
1. Are you running PHP 5.4 or greater? You need this. PHP changed in version 5.4 and we had to write code a little differently to accommodate. Your webhost very likely has the pieces in plan to upgrade your server. For some perspective, PHP 5.3 is nearly 10 years old - if you don't update your server today you may very well need to update tomorrow.
2. Backup your site. Now. Did you do it? Do it before you do anything else. Failure to do this could result in the loss of your site. It's also simply a good habit with regards to your work.
3. Read our news stream. Read any notes around the download link (people already keep missing that it says PHP 5.4 is required). Read the upgrade instructions. Look at the threads at the top of the forum (same questions over and over). There is good information.
4. If you have any good ideas or information about upgrading send them my way - I'd love to make this easier.
5. When you get a little stressed, take a break, then come back and see if things make a little more sense.
That's it! I hope things go well...
Thursday, 12 January 2017
Today I pushed out version 2.1.2.
Your old statistics script will not work. Disable standard statistics and enable New Statistics via the plugins section. If you are upgrading, you will need to replace root /index.php of your site, as well.
This is a list of things that were worked on for this release:
- added New Statistics plugin
- added site password to core plugins
- added Assets control panel back
- added cache folder (sorry!)
- updated "New" indicator for index
- fixed small bug in overlay (visual index)
- fixed small display but in Slideshow
- fixed bug in upgrade system
- fixed style plugin for mobile
- fixed caching (and for mobile too)
- fixed bug for inserting link email
Indexhibit is now on Github. I hope we find some contributors who can help make the core better (right now it's the most important thing). I am planning to put out an update every three or four months at our website.
At my website I will be releasing a variety of themes, plugins and a little more in the coming months. These are not core Indexhibit and I'm doing this for fun!
There is more, but this note is long enough...stay tuned!
Wednesday, 4 January 2017
I am hanging around the forum more than usual lately to see how things are going with v2.1 and so far it's pretty good. Of course, upgrading a site is not as effortless as I wish it could be - and I don't forsee a time when Indexhibit has some kind of auto-upgrade button (it's alot of work).
I have been finding some important bugs as things progress around newer versions of PHP. These are a couple things that will be coming next week:
- reworked Statistics so they are not affected by adblocking. This is a substantial change and I'll certainly post more info when I put out the release. Indexhibit statistics are only meant to be rudimentary - they will never be better than Google Analytics (but even GA gets block by adblock).
- I found small bugs in Slideshow and Visual Index Overlay. You might not have even noticed but on my test server it was loud and clear.
- I put Assets back in Admin.
- Caching isn't really working well enough - expect some small changes.
- And a few other small bug fixes.
I don't want to be making big changes with each release but I do want to get things to be stable.
If you were thinking about upgrading you might wait until v2.1.2 is released towards the middle of next week. I think the bigger changes will all be completed with that release.
Happy New Year!
If you've already read the standard update tutorial you know that you simply need to update the files in the /ndxzstudio folder and the site will be mostly good. But, with v2.1 you do need to go a bit further because PHP had some updgrades to how code was to be written. Without updating all of your exhibit format and plugin files in /ndxzsite/plugin eventually you will get error messages (when your webhost upgrades your server).
However, you do not want to update your theme folder unless you wish to use Indexhibit in it's most default form. If you have made any updates to templates or CSS then be sure to back them up and do not update those folders.
Additionally, because of the new mobile format you must update the root index.php if you wish to make use of it.
A few files have been removed from the plugins folder which is worth making note of:
- plugin.expanding_menus.php - this is now redundant. It was replaced years ago with Indexpand. If you were using the old expanding menus you can simply switch to Indexpand and setup options for it.
- plugin.ndxz_movement.php - this plugin had it's time and place in 2006 but I don't think it's necessary any more. Remove it from your template.
- plugin.ie_layout.php - again, this is really out-of-date. If you are using it in your template simply remove it - it's completely unnecessary now.
And some addititions to the plugins folder which are also worth noting:
- plugin.change_maxsize.php - you can enable this in Plugins. This allows you to increase the upload size for images. Don't go too far - an image that is too large could crash your server (nothing we can do about that).
- plugin.mobile_ready.php - once you are all updated to v2.1 (or greater) you can enable this plugin to have a site that works better on a mobile phone (it's essentially the Over Over format).
I'm searching for a better way to deal with update information. I too wish we had an auto-update button but that is alot of work. Maybe in the future...
Have fun and be safe on the rest of your holidays!
PS: Note, v2.1.1 will be released within the next week which deals with a few bugs I've recently discovered. I'll post again with more information at that time.
There is more to say, but just to keep things short, Indexhibit v2.1 was just placed on the server. Download at the same old place.
What is it? Here is a quick recap of what's going on:
- updated to work with php7
- refresh of default theme (larger, clearer type)
- added mobile adaptive format
- added ability to use email for login
- added Slideshow format
- added plugin for changing max image size upload
- fixed password retrieval system
- fixed uploader (divs) issue
- fixed overlay
- fixed youtube plugin
- changed youtube.gif to yt.gif very weird chrome bug
- updated/changed default thumbnail sizes
- updated/changed default image sizes
- https ready
- removed annoying sleep functions (sorry)
The biggest things on the list would be that it works on PHP7, addition of a mobile theme and jiggering of the login system.
The mobile theme works in addition to whatever theme you are using. Simply enable it in Admin > Plugins and it will work. This is not a responsive theme - it will only work on your phone and uses a particular exhibit format (Mobile) for display. You can edit each of them separately.
The login system has always been a pain. It worked and then didn't work and then it worked again and it worked on some servers and then it didn't. I took it apart, found a good helper library to help and it seems good now. There will still be some servers where for security reasons it will not work - this is where the Password Reset Script (found in Plugins on our site) is still relevant. Let's hope this works even 75% of the time now because I get alot of email about this unfortunately.
I'm trying to put together a set of files for updating existing Indexhibit sites - give me a day to put this together. If you find any issues please email support [at] indexhibit [dot] org. I'll try to do what I can to help.
I have years worth of material sitting around in various folders - and I keep discovering more. I'm probably going to slowly start releasing them via my own website since all of this is supposed to be fun for me to do - not everything I do is specifically for Indexhibit. I'll post more about this when I'm ready to play.
PS: Special thanks to Paul Schreiber and Lukasz Mordawski for helping out with the PHP7 update.