Changeset 167203
- Timestamp:
- 10/26/2009 01:28:22 PM (16 years ago)
- Location:
- fotobook/tags/3.1.7
- Files:
-
- 2 edited
-
fotobook.php (modified) (9 diffs)
-
readme.txt (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fotobook/tags/3.1.7/fotobook.php
r94691 r167203 7 7 Author: Aaron Harp 8 8 Author URI: http://www.aaronharp.com/ 9 Version: 3.1. 69 Version: 3.1.7 10 10 */ 11 11 … … 40 40 define('FB_OPTIONS_URL', 'options-general.php?page=fotobook/options-fotobook.php'); 41 41 define('FB_WEBSITE', 'http://www.aaronharp.com/dev/wp-fotobook/'); 42 define('FB_VERSION', 3.1 6);42 define('FB_VERSION', 3.17); 43 43 define('FB_DONATE', 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=aaron%40freshwebs%2enet&item_name=Fotobook%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8'); 44 44 … … 321 321 $album['location'] = addslashes($album['location']); 322 322 } 323 $album_query = sprintf("INSERT INTO %s SET page_id= %s, aid='%s', cover_pid='%s', owner=%s, name='%s', created=FROM_UNIXTIME(%s), modified=FROM_UNIXTIME(%s), description='%s', location='%s', link='%s', size=%s, hidden=%s, ordinal=%s",323 $album_query = sprintf("INSERT INTO %s SET page_id='%s', aid='%s', cover_pid='%s', owner='%s', name='%s', created=FROM_UNIXTIME(%s), modified=FROM_UNIXTIME(%s), description='%s', location='%s', link='%s', size='%s', hidden='%s', ordinal='%s'", 324 324 FB_ALBUM_TABLE, $page_id, $album['aid'], $album['cover_pid'], $album['owner'], $album['name'], $album['created'], $album['modified'], $album['description'], $album['location'], $album['link'], $album['size'], $hidden, $ordinal); 325 325 $wpdb->query($album_query); … … 336 336 $photo['caption'] = addslashes($photo['caption']); 337 337 } 338 $photo_query = sprintf("INSERT INTO %s SET pid= %s, aid=%s, owner=%s, src='%s', src_big='%s', src_small='%s', link='%s', caption='%s', created=FROM_UNIXTIME(%s), ordinal=%s",338 $photo_query = sprintf("INSERT INTO %s SET pid='%s', aid='%s', owner='%s', src='%s', src_big='%s', src_small='%s', link='%s', caption='%s', created=FROM_UNIXTIME(%s), ordinal='%s'", 339 339 FB_PHOTO_TABLE, $photo['pid'], $photo['aid'], $photo['owner'], $photo['src'], $photo['src_big'], $photo['src_small'], $photo['link'], $photo['caption'], $photo['created'], $ordinal); 340 340 $wpdb->query($photo_query); … … 401 401 add_option('fb_embedded_width', 0); 402 402 add_option('fb_hide_pages', 0); 403 update_option('fb_version', FB_VERSION);404 403 405 404 $photo_table_query = "CREATE TABLE ".FB_PHOTO_TABLE." ( … … 412 411 src_small varchar(255) NOT NULL default '', 413 412 link varchar(255) NOT NULL default '', 414 caption varchar(255) NOT NULL default '',413 caption text NOT NULL, 415 414 created datetime NOT NULL default '0000-00-00 00:00:00', 416 415 ordinal tinyint(4) NOT NULL default 0, … … 424 423 owner int(11) NOT NULL, 425 424 name varchar(255) NOT NULL default '', 426 description text NOT NULL default '',425 description text NOT NULL, 427 426 location varchar(255) NOT NULL default '', 428 427 link varchar(255) NOT NULL, … … 445 444 } 446 445 446 update_option('fb_version', FB_VERSION); 447 447 } 448 448 … … 477 477 $wpdb->query('ALTER TABLE '.FB_PHOTO_TABLE.' DROP INDEX id, ADD COLUMN id BIGINT(20) AUTO_INCREMENT NOT NULL FIRST, ADD PRIMARY KEY(id)'); 478 478 } 479 480 if(get_option('fb_version') < 3.17) 481 $wpdb->query('ALTER TABLE '.FB_PHOTO_TABLE.' CHANGE `caption` `caption` TEXT'); 479 482 } 480 483 -
fotobook/tags/3.1.7/readme.txt
r94691 r167203 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=aaron%40freshwebs%2enet&item_name=Fotobook%20Donation&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8 4 4 Tags: facebook, photos, images, gallery, fotobook, import, widget, media 5 Requires at least: 2. 3.36 Tested up to: 2. 77 Stable tag: 3.1. 65 Requires at least: 2.5 6 Tested up to: 2.8.4 7 Stable tag: 3.1.7 8 8 9 9 Fotobook is a WordPress plugin that will link to your Facebook account(s) and import all of your photo albums for use in your WordPress installation. It uses the Facebook's API so importing your photos is a breeze. … … 40 40 == Frequently Asked Questions == 41 41 42 = Fotobook isn't working, what's wrong? 42 = Fotobook isn't working, what's wrong? = 43 43 44 44 Before contacting me, make sure your host is running PHP 5. If not, contact their support to see if it can be changed or switch to a [host](http://www.dreamhost.com/r.cgi?275020/hosting.html|fotobook) that does have PHP 5. … … 78 78 Check out my [photo gallery](http://www.aaronharp.com/photo-gallery/). 79 79 80 == Support == 81 82 Submit any problems, questions, suggestions, or compliments on the [Facebook Discussion Board](http://www.facebook.com/board.php?uid=2254862517). Become a fan of the [Fotobook Application](http://www.facebook.com/apps/application.php?id=2254862517) to be notified when updates are available. 83 84 == Change History == 85 86 2009.02.15 - v3.1.6 80 == Changelog == 81 82 = 3.1.7 = 83 84 * Long photo captions are no longer truncated 85 * Fixed bug which could cause some of the photos to not be imported 86 * Fixed bug with Windows systems not creating the albums table. Manifested itself by acting like it imported the albums and then saying "There are no albums." 87 88 = 3.1.6 = 87 89 88 90 * Fixed bug where changes to album order were not saved 89 91 * Fixed other small bugs 90 92 91 2008.11.20 - v3.1.5 93 = 3.1.5 = 92 94 93 95 * Added cron script for automatically updating albums (see settings panel) … … 95 97 * Fixed duplicate key bug when importing photos of multiple users (props Darrell) 96 98 97 2008.11.19 - v3.1.4 99 = 3.1.4 = 98 100 99 101 * Fixed bug where album pages were showing 404 errors … … 102 104 * WP Ajax hook is now used for requests 103 105 104 2008.07.30 - v3.1.3 106 = 3.1.3 = 105 107 106 108 * Widget can now be added manually to the sidebar. See FAQ section … … 112 114 * Added debug info to the settings page 113 115 114 2008.07.04 - v3.1.1 116 = 3.1.1 = 115 117 116 118 * Fixed error when user is not tagged in any photos 117 119 * Fixed some display/formatting issues 118 120 119 2008.06.13 - v3.1 121 = 3.1 = 120 122 121 123 * Fotobook now creates an album of photos that the user is tagged in … … 129 131 * Other small tweaks and fixes 130 132 131 2008.05.17 - v3.0.7 133 = 3.0.7 = 132 134 133 135 * Disabled output buffering for albums because it was causing too many issues. 134 136 135 2008.04.29 - v3.0.6 137 = 3.0.6 = 136 138 137 139 * Fixed fatal error on activation with some setups. 138 140 139 2008.04.12 - v3.0.5 141 = 3.0.5 = 140 142 141 143 * Modified feature for inserting photos into posts to work with WP 2.5's new media library. … … 145 147 * Cleaned up the code. 146 148 147 2008.04.06 - v3.0.3 149 = 3.0.3 = 148 150 149 151 * Disabled Wordbook actions when adding and deleting album pages to prevent Wordbook from re-instantiating the Facebook API class. 150 152 * Fixed fatal 'Session key invalid or no longer valid' error when upgrading to version 3. 151 153 152 2008.03.20 - v3.0.2 154 = 3.0.2 = 153 155 154 156 * Updated to the latest versions of the PHP4 & 5 Facebook API clients. Huge speed boost for photo imports with PHP5. 155 157 156 2008.03.19 - v3.0.1 158 = 3.0.1 = 157 159 158 160 * Fixed bug where albums would be imported but it would still say "There are no albums." 159 161 * Fixed issue with local scope of $table_prefix during plugin activation in WP2.5. 160 162 161 2008.03.15 - v3.0 163 = 3.0 = 162 164 163 165 * Added support for linking to multiple Facebook accounts … … 172 174 * Cleaned up the code a bit. 173 175 174 2007.09.03 - v2.1 176 = 2.1 = 175 177 176 178 * Photos from hidden albums are no longer shown in sidebars. And hidden albums are no longer accessible by their permalink. … … 182 184 * Added “Remove All” button in the manage page to get rid of all albums and photos and start over (some people have had problems with partial imports). 183 185 184 2007.07.10 - v2.0.1 186 = 2.0.1 = 185 187 186 188 * Fixed an array_slice backwards compatibility issue with pre PHP 5.0.2 servers 187 189 188 2007.07.09 - v2.0 190 = 2.0 = 189 191 190 192 * Revamped to work with Facebook’s API … … 193 195 * Got rid of all the messy cURL and regex stuff. 194 196 195 2007.04.11 - v1.3.1 197 = 1.3.1 = 196 198 197 199 * Fixed to work with Facebook’s new look 198 200 199 2007.03.27 - v1.3 201 = 1.3 = 200 202 201 203 * IMPORTANT: You must deactivate and reactivate the Fotobook plugin after installing this version. … … 205 207 * Other minor changes 206 208 207 2007.01.28 - v1.2.1 209 = 1.2.1 = 208 210 209 211 * The long-awaited WP 2.1 compatibility fix. … … 211 213 * IMPORTANT: If you already have albums imported, you will need to re-cache them all after installing this update. If you still have problems, then try deleting them and adding them again. If it still doesn’t work, let me know =) 212 214 213 2007.01.04 - v1.2 215 = 1.2 = 214 216 215 217 * Fixed bug that was causing the main album page to not load … … 218 220 * New albums are now added to the top instead of bottom 219 221 220 2006.12.18 - v1.1.1 222 = 1.1.1 = 221 223 222 224 * Small layout bug fixes 223 225 224 2006.12.14 - v1.1 226 = 1.1 = 225 227 226 228 * cURL is no longer required … … 228 230 * Cleaned up the code 229 231 230 2006.11.29 - v1.0 232 = 1.0 = 231 233 232 234 * First release 233 235 236 == Support == 237 238 Submit any problems, questions, suggestions, or compliments on the [Facebook Discussion Board](http://www.facebook.com/board.php?uid=2254862517). Become a fan of the [Fotobook Application](http://www.facebook.com/apps/application.php?id=2254862517) to be notified when updates are available. 239 234 240 == Help Out! == 235 241
Note: See TracChangeset
for help on using the changeset viewer.