- Back up your data before you begin. Visit http://yourthinkupinstall/install/backup.php to try the web-based database backup tool, or, NEW! at the command line, cd to /yourthinkupinstall/install/cli/ and run php backup.php.
- Extract the thinkup zip file you downloaded over your existing installation's files.
- Visit your ThinkUp installation and walk through the database updates.
Developers: If you've already run both the 1/2/2011 migration and the 1/24/2011 migration by hand in the course of development, all you have to do is update the database version in your options table. To do so, run the following SQL before you update your ThinkUp files:
UPDATE tu_options SET option_value='0.8' WHERE namespace='application_options' AND option_name='database_version';
- NEW! Top 20 Words. Our absolute favorite new ThinkUp feature is courtesy of Mark Wilkie: on any post that has more than 20 replies, click on the "Top 20 words" link in the sidebar menu. ThinkUp will display a summary of most frequently-used words in a reply set. Click on one to see all the replies which contain the word. Here's an example of Top 20 words in action.
NEW! Web-based application-wide settings. We're continuing to move as many ThinkUp settings out of the config.inc.php file and into the database as possible. In ThinkUp's Settings area, an admin can now click on the Settings tab to open or close the installation's registration page, and set reCAPTCHA keys, as well.
Important Note: This setting has registration closed by default on all new installations and upgraded installations. It overrides anything that is currently listed in your config.inc.php file, meaning, it deprecates the $THINKUP_CFG['is_registration_open'] variable and reCAPTCHA keys set there. If registration is open on your ThinkUp installation right now, after you upgrade to beta 8, you MUST log in as an admin and check this box to explicitly reopen it and transfer your reCAPTCHA keys into the text fields there and save. Apologies for the aggressive change here, but we want everyone's installation to be closed/more secure by default.
NEW! Instagr.am support. Thanks to Amy, all new Instagr.am images that the crawler encounters in beta 8 show up as thumbnails inline in ThinkUp's post listings.
NEW! Activate accounts from the web interface. Thanks to Randi, if your installation's new account activation email is getting sent to spam, you can now log in as an admin and activate new user account by pressing an "Activate" button in the web interface. (You can also deactivate accounts as well.) In Settings, you'll see this button listed in the "All ThinkUp Accounts" tab.
NEW! Command line interface to backups and migrations. Thanks to Mark, advanced users with large databases can now back up their ThinkUp installation and run potentially large/slow database migrations at the command line. (For example, one of beta 8's migrations changes the width of the tu_posts.post_text field; on my 12M row table, this took over an hour.) To use the command line tools, SSH in your server and CD to ThinkUp's install/cli/ folder. There you can run php backup.php or php upgrade.php. The Upgrade script will show you the total time elapsed at the end of the migration. If the crawler is running when you attempt the migration, the upgrade process will let you know and tell you to try again later when the crawl process is complete.
FIXED! Facebook posts no longer cut off. Speaking of database migrations, Facebook posts, which can be up to 420 characters in length, are no longer cut off due to the too-small size of ThinkUp's post_text field.
FIXED! Twitter usernames linked correctly. Thanks to suth's ninja regex skills, ThinkUp more accurately links Twitter user names, and doesn't do things like link a lone @ symbol mid-tweet.
FIXED! Notification emails less likely to get marked as spam. Thanks to Sam, email notifications from ThinkUp have the correct From: address set (using your web server's domain name), which makes those messages less likely to get shuttled into the spam folder.
Beta 8 represents 34 commits by 9 authors (3 first-timers!) and contains a total of 3,445 passing tests, up 251 from beta 7. Here's the complete version diff.
Thanks to everyone who contributed to this release in the form of mailing list messages, wiki updates, IRC tech support, bug reports, suggestions, and code contributions, especially Mark, Amy, Randi, suth, Sam, piyushmishra and Mat.
Let us know if you have any problems with the upgrade!