Version Description
- This update is important when you use encrypted urls.
=
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 6.4.01 |
Comparing to | |
See all releases |
Code changes from version 6.4.00 to 6.4.01
- readme.txt +21 -764
- wppa-ajax.php +7 -1
- wppa-album-admin-autosave.php +2 -2
- wppa-boxes-html.php +3 -2
- wppa-htaccess.php +36 -2
- wppa-maintenance.php +6 -4
- wppa-photo-admin-autosave.php +10 -10
- wppa-settings-autosave.php +7 -6
- wppa-thumbnails.php +2 -2
- wppa-utils.php +1 -1
- wppa.php +3 -3
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: opajaap
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source¤cy_code=USD&lc=US
|
4 |
Tags: photo, album, gallery, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto
|
5 |
-
Version: 6.4.
|
6 |
-
Stable tag: 6.
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
9 |
Requires at least: 3.9
|
@@ -63,7 +63,6 @@ You can find the plugin admin section under Menu Photo Albums on the admin scree
|
|
63 |
|
64 |
Translations:
|
65 |
|
66 |
-
There are translations in many languages. The frontend and admin sides are separately translatable.
|
67 |
<ul>
|
68 |
<li>Dutch translation by OpaJaap himself (<a href="http://www.opajaap.nl">Opa Jaap's Weblog</a>) (both)</li>
|
69 |
<li>Slovak translation by Branco Radenovich (<a href="http://webhostinggeeks.com/user-reviews/">WebHostingGeeks.com</a>) (frontend)</li>
|
@@ -85,13 +84,6 @@ Most themes comply with these requirements.
|
|
85 |
However, check these requirements in case of problems with new installations with themes you never had used before with wppa+ or when you modifies your theme.
|
86 |
* The server should have at least 64MB of memory.
|
87 |
|
88 |
-
= Upgrade notice =
|
89 |
-
This version is: Major rev# 4, Minor rev# 9, Fix rev# 6, Hotfix rev# 000.
|
90 |
-
If you are upgrading from a previous Major or Minor version, note that:
|
91 |
-
* If you modified wppa_theme.php and/or wppa_style.css, you will have to use the newly supplied versions. The previous versions are NOT compatible.
|
92 |
-
* If you set the userlevel to anything else than 'administrator' you may have to set it again. Note that changing the userlevel can be done by the administrator only!
|
93 |
-
* You may have to activate the sidebar widget again.
|
94 |
-
|
95 |
= Standard installation when not from the wp plugins page =
|
96 |
* Unzip and upload the wppa plugin folder to wp-content/plugins/
|
97 |
* Make sure that the folder wp-content/uploads/ exists and is writable by the server (CHMOD 755, some systems need CHMOD 777)
|
@@ -184,11 +176,30 @@ but, as explained earlier, this does not help when your hosting provider does no
|
|
184 |
If you have control over the server yourself: configure it to allow the use of enough memory.
|
185 |
Oh, just Google on 'picture resizer' and you will find a bunch of free programs that will easily perform the resizing task for you.
|
186 |
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
== Changelog ==
|
189 |
|
190 |
See for additional information: http://wppa.opajaap.nl/changelog/
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
= 6.4.00 =
|
193 |
|
194 |
= New Features =
|
@@ -883,760 +894,6 @@ See the <a href="http://wppa.opajaap.nl/video-support/">documentation.</a>
|
|
883 |
|
884 |
* Added link types to various virtual album widgets.
|
885 |
|
886 |
-
= 5.5.7 =
|
887 |
-
|
888 |
-
= Other Changes =
|
889 |
-
|
890 |
-
* Layout change in default album covers. All links are now below the body text when the photo is at the left hand side.
|
891 |
-
* In case of deadlock situations in maintenance procs, you can now now ignore the concurrency error in Table VIII-A0.
|
892 |
-
|
893 |
-
= 5.5.6 =
|
894 |
-
|
895 |
-
= Bug Fixes =
|
896 |
-
|
897 |
-
* Tags system is updated when a photo status changes ( e.g. from pending to publish ).
|
898 |
-
* Fixed a bug in lightbox on cover images.
|
899 |
-
* The import dir to album stopped at the first duplicate found. Fixed.
|
900 |
-
|
901 |
-
= 5.5.5 =
|
902 |
-
|
903 |
-
= Bug Fixes =
|
904 |
-
|
905 |
-
* Tags selected and input at front-end upload now always update the tags system properly so the tagged photos will be found immediately by the tag widgets and #tags shortcodes.
|
906 |
-
|
907 |
-
= Other Changes =
|
908 |
-
|
909 |
-
* The only way to exit fullscreen lightbox is the escape key. It depends on the browser type if the escape key must be hit twice.
|
910 |
-
* Many invisible internal changes to improve reliability, error handling and reporting and protection against programming errors that reduces the probability of the creation of new bugs.
|
911 |
-
|
912 |
-
= 5.5.4 =
|
913 |
-
|
914 |
-
= Bug Fixes =
|
915 |
-
|
916 |
-
* Fixed a potantial recursive error log resulting in a blank page when pretty links activated.
|
917 |
-
|
918 |
-
= New Features =
|
919 |
-
|
920 |
-
* Table IX-D2.1: Limit LasTen New. Limits the LasTen found images to those that are 'New'. Both in widget and in shortcode using album="#lasten".
|
921 |
-
|
922 |
-
= Other Changes =
|
923 |
-
|
924 |
-
* Icreased the choices in Table IX-D1 and 2.
|
925 |
-
|
926 |
-
= 5.5.3 =
|
927 |
-
|
928 |
-
= Bug Fixes =
|
929 |
-
|
930 |
-
* Fixed a potantial spurious lay-out issue on masonry rows thumbnail style.
|
931 |
-
|
932 |
-
= New Features =
|
933 |
-
|
934 |
-
* Max 3 tag selection box on frontend upload. The frontend upload dialog is now fully configurable. See Table II-H.
|
935 |
-
* A new shortcode to temporary change a setting on the page. Use shortcode [wppa_set name="a_legal_setting_slug" value="the_new_value"][/wppa_set].
|
936 |
-
See Table IX-A7 and 8.
|
937 |
-
|
938 |
-
= 5.5.2 =
|
939 |
-
|
940 |
-
= Bug Fixes =
|
941 |
-
|
942 |
-
* Fixed undefined vars in settings page 5.5.1.001.
|
943 |
-
* Fixed a bug in wppa_get_hires_url() 5.5.1.002.
|
944 |
-
* Fixed a missing /a on filmthumbnail links with pso.
|
945 |
-
* IPTC and EXIF keywords in photo descriptions are now translated and added to the photo index. You may need to rebuild the photo index in Table VIII-A9.
|
946 |
-
|
947 |
-
= New Features =
|
948 |
-
|
949 |
-
* Emails sent by the commenting system now contain a Reply link to the original page/photo where the comment was issued.
|
950 |
-
* Two versions of Masonry style thumbnail layout added. See Table IV-C3.
|
951 |
-
|
952 |
-
= Other Changes =
|
953 |
-
|
954 |
-
* In the shortcode generator: If Table IX-B4: 'Album sel hierarchic' is ticked, the album sequence in the selection box is alphabetic to the names of the albums.
|
955 |
-
If the box is UNticked, the album sequence is by descemding timestamp ( i.e. latest created/modified/uploaded album at the top ).
|
956 |
-
* Photo Download link will now also work on mobile devices.
|
957 |
-
* If Load Facebook sdk is selected in Table II-C17.9, it will only be loaded IF at least one of the settings Table II-C1,3,4,5,6 is ticked AND at least one of the settings Table II-C17.1, 17.2, 17.4 is ticked.
|
958 |
-
|
959 |
-
= 5.5.1 =
|
960 |
-
|
961 |
-
= Bug Fixes =
|
962 |
-
|
963 |
-
* The subtitle of the first lightbox picture did not show up. Fixed.
|
964 |
-
* Fixed an error: undefined var in settings.
|
965 |
-
|
966 |
-
= New Features =
|
967 |
-
|
968 |
-
* PSO and New Tab checkboxes for Film thumb images links. Table VI-B6.
|
969 |
-
|
970 |
-
= Other Changes =
|
971 |
-
|
972 |
-
* Improved error reporting on maintenance routines.
|
973 |
-
|
974 |
-
= 5.5.0 =
|
975 |
-
|
976 |
-
= Bug Fixes =
|
977 |
-
|
978 |
-
* Lightbox on thumbnails ( VI-B2 ) now also works on thumbnail type 'like album covers' ( IV-C3 ).
|
979 |
-
* Default parent always ( IX-D7.2 ) is now a checkbox as it should be, and indicates that frontend created albums should have the album in IX-D7.1 as parent.
|
980 |
-
* Lightbox on slideshows. If the photo is smaller than the frame, the hoover text ( title ) no longer shows the lightbox subtext html. This only works for the embedded lightbox.
|
981 |
-
* Default tags seemed not to work at front-end upload. Fixed.
|
982 |
-
* The shortcodegenerator asked for parent albums for several virtual albums where this is not implemented. It now asks for an optional multiple selection of albums to be used.
|
983 |
-
* The ubb's now also work on running slideshows.
|
984 |
-
* Swipe now also works on running slideshows.
|
985 |
-
|
986 |
-
= New Features =
|
987 |
-
|
988 |
-
* Quick select settings. All settings have one or more tags. Select up to 2 tags to open all settings that have at least those tags. See the Photo ALbums -> Settings admin page.
|
989 |
-
* Delete album at frontend. Table VII-B1.2
|
990 |
-
* Added Table IX-D15.1: Copy owner. Copies the owner on copy photo.
|
991 |
-
* Foreign shortcodes in album desc, album name and photo name are now possible if Table IX-J0 is checked.
|
992 |
-
* Table IV-A20. Thumbs first. Display the thumbnails before the sub-albums.
|
993 |
-
* Table IV-A21. Login links. 'You must login to...' links to wp login page.
|
994 |
-
|
995 |
-
= Other Changes =
|
996 |
-
|
997 |
-
* The frontend upload dialog now has a tags preview line. The user can see exactly what tags will be added to the photo after upload.
|
998 |
-
* Classic search has been discontinued. Search operations use the index db table. After update to this version you may be asked to rebuild the index tables.
|
999 |
-
* Changed a lot of default setting values. This only affects new installs.
|
1000 |
-
* Improved layout of FB Comments box in responsive themes ( I-A1 = auto ).
|
1001 |
-
|
1002 |
-
= 5.4.25 =
|
1003 |
-
|
1004 |
-
= Bug Fixes =
|
1005 |
-
|
1006 |
-
* Users with wppa admin rights and no moderate rights received security error #78 on changing photo status. Fixed ( 5.4.24.001 ).
|
1007 |
-
* Fixed a typo in link title from slide to thumbnail.
|
1008 |
-
|
1009 |
-
= New Features =
|
1010 |
-
|
1011 |
-
* Table VII-C6: Extended status is restricted. If Checked, setting photo status other than Publish or Pending requires administrator rights.
|
1012 |
-
If the user has moderate rights he can only set status to Publish or Pending.
|
1013 |
-
* New album title link types: 'the sub-albums' and 'the thumbnails'. Selectable on the edit album information admin screen.
|
1014 |
-
Also works on the cover photo if Table VI-B1 is set to 'same as title'.
|
1015 |
-
The View link is not affected and will still link to the 'content' i.e. sub-albums and thumbnails.
|
1016 |
-
* Table VI-C8: Album navigator widget link: you can now select thumbnails or slideshow.
|
1017 |
-
|
1018 |
-
= Other Changes =
|
1019 |
-
|
1020 |
-
* Added Brazilian Portugese front-end language files.
|
1021 |
-
* Table IV-B15. You can now switch the use of Ajax for slideshow pagelinks independantly.
|
1022 |
-
* When linking back from slide to thumbnail view, you will land on the correct thumbnail page and the actual thumbnail has a blue border to indicate the link source. This does not apply to the 'back to thumbnails' icon in the breadcrumb.
|
1023 |
-
|
1024 |
-
= 5.4.24 =
|
1025 |
-
|
1026 |
-
= Bug Fixes =
|
1027 |
-
|
1028 |
-
* The existance of a photo was not always properly detected when avoid duplicates was selected in Table VII-D7. Fixed.
|
1029 |
-
|
1030 |
-
= New Features =
|
1031 |
-
|
1032 |
-
* The length of a photo file name can be limited in Table I-A10.1.
|
1033 |
-
* The length of a photo name can be limited in Table I-A10.2.
|
1034 |
-
|
1035 |
-
= Other Changes =
|
1036 |
-
|
1037 |
-
* Top search for edit photos at the backend, it is no longer required to be administrator.
|
1038 |
-
Album admin access combined with moderate access is sufficient to search all photos ( Table VII-A ).
|
1039 |
-
Album admin access combined with Uploader edit ( Table VII-D2.1 ) enables the search for own photos only.
|
1040 |
-
|
1041 |
-
= 5.4.23 =
|
1042 |
-
|
1043 |
-
= Bug Fixes =
|
1044 |
-
|
1045 |
-
* Fixed a display bug of comalt thumbnails on responsive themes with column width of less than or equal to 100%.
|
1046 |
-
|
1047 |
-
= New Features =
|
1048 |
-
|
1049 |
-
* Added linktype 'the thumbnails' to slideshow linktypes in Table VI-B5.
|
1050 |
-
|
1051 |
-
= Other Changes =
|
1052 |
-
|
1053 |
-
* When Fotomoto is enabled, the source files are used for display if available, not the standard files.
|
1054 |
-
This enables the use of print resolution files in the cloud in combination with the Auto Pickup feature of Fotomoto.
|
1055 |
-
|
1056 |
-
= 5.4.22 =
|
1057 |
-
|
1058 |
-
= Bug Fixes =
|
1059 |
-
|
1060 |
-
* Fixed a problem of non visible slideshows on some installations ( 5.4.21.002 ).
|
1061 |
-
* Fixed a problem in rating when Ajax NON admin was not checked.
|
1062 |
-
* Fixed a link syntax error in frontend upload.
|
1063 |
-
* Fixed a slideshow layout problem on some themes with some browsers.
|
1064 |
-
* Fixed a popup image positioning issue.
|
1065 |
-
* Add gpx tags maintenance proc now also updates search index db table.
|
1066 |
-
* The Back to album table link at the top of the Manage (searched) photos now also works; not the bottom one only.
|
1067 |
-
* The search photos album entry in the album table now also shows up on the collapsable table when there are no ---separate--- albums.
|
1068 |
-
* Fixed a problem with responsive single photos ( type="photo" and type="mphoto" ).
|
1069 |
-
* Source saving now works as expected according to settings Table IX-H1 and 2.
|
1070 |
-
|
1071 |
-
= 5.4.21 =
|
1072 |
-
|
1073 |
-
= Bug Fixes =
|
1074 |
-
|
1075 |
-
* The links for the plugin CM Tooltip Glossary now also show the tooltips in dynamic content like photo descriptions in the slideshows.
|
1076 |
-
* Fixed a lay-out issue in descriptions caused by CM Tooltip Glossary.
|
1077 |
-
* The pagination of search results now also works when short query args is ticked in Table IV-A5. ( fixed 5.4.20.001 )
|
1078 |
-
* Fixed a conflict with bbPress.
|
1079 |
-
* Search index was not always properly updated when the photo tags were changed. Fixed.
|
1080 |
-
|
1081 |
-
= New Features =
|
1082 |
-
|
1083 |
-
* On the Album Admin page, a virtual album has been added with a search edit box.
|
1084 |
-
Enter (a) search token(s) and edit the photo(s) that match the search criteria. Search tokens must be seperated by commas: ','.
|
1085 |
-
This works for administrators always, non-admins need the switch in Table VII-D2: Uploader edit, and can edit their own photos only.
|
1086 |
-
This feature requires indexed search, if not activated already, Tick Table IX-E7 and run Table VIII-A8 and A9.
|
1087 |
-
* Table II-H5: Owner on new line. Places the (owner) addition to the photo name on a new line.
|
1088 |
-
* Setting in Table VII-D2.2: Uploader Moderate Comment. If checked the uploader can moderate the comments on his photos. Requires Tavle VII-D2.1: Uploader Edit.
|
1089 |
-
* Table IX-D7.2: Default parent always. For non-administrators: creating an album at the frontend will always set the parent to the default parent.
|
1090 |
-
* Implemented compatibility with plugin myCred. See Table IX-J4,5,6.
|
1091 |
-
|
1092 |
-
= Other Changes =
|
1093 |
-
|
1094 |
-
* Links in the breadcrumb are now also converted to pretty links if pretty links are enabled.
|
1095 |
-
|
1096 |
-
= 5.4.20 =
|
1097 |
-
|
1098 |
-
= Bug Fixes =
|
1099 |
-
|
1100 |
-
* Fixed a divide by zero error on the bulk edit screen when a thumbnail was missing.
|
1101 |
-
* The comten widget and shortcode no longer show duplicate photos, the recently commented photos will show all their comments in descending timestamp order.
|
1102 |
-
* Using cloudinary on ssl pages now correctly produces https image links.
|
1103 |
-
* Double clicking on the filmstrip incidently did hang up the slideshow. Fixed.
|
1104 |
-
|
1105 |
-
= New Features =
|
1106 |
-
|
1107 |
-
* Support for plugin CM Tooltip Glossary.
|
1108 |
-
Enable to act on album and photo descriptions in Table IX-J8.
|
1109 |
-
If you have this plugin active, you have to tick the box in Table IV-A13: Defer javascript,
|
1110 |
-
even if you do not want to let this plugin act on album and photo descriptions!
|
1111 |
-
|
1112 |
-
= Other Changes =
|
1113 |
-
|
1114 |
-
* Improved algorithm to decide when the random photo order has to be remebered onto the naxt page and when not.
|
1115 |
-
|
1116 |
-
= 5.4.19 =
|
1117 |
-
|
1118 |
-
= Bug Fixes =
|
1119 |
-
|
1120 |
-
* Photo tags may contain spaces, Now also in the application/addition of default tags in album admin.
|
1121 |
-
* On certain installations and frontend upload using ajax, a fatal error undefined function wppa_user_upload() occurred. Fixed.
|
1122 |
-
|
1123 |
-
= New Features =
|
1124 |
-
|
1125 |
-
* Maintenance proc Table VIII-B13: Edit tag.
|
1126 |
-
* Frontend upload can add tags if enabled in Table VII-B3.3.
|
1127 |
-
|
1128 |
-
= Other Changes =
|
1129 |
-
|
1130 |
-
* More info about files on the edit photo information screen.
|
1131 |
-
* Lifted an internal limitation so albums can now contain over 20.000 photos.
|
1132 |
-
* Filmstrip double arrows go to first or last slide instead of filmstrip length back and forth.
|
1133 |
-
|
1134 |
-
= 5.4.18 =
|
1135 |
-
|
1136 |
-
= Bug Fixes =
|
1137 |
-
|
1138 |
-
* Security fix.
|
1139 |
-
* Fixed a problem with random cover images.
|
1140 |
-
* Fixed a link problem.
|
1141 |
-
|
1142 |
-
= New Features =
|
1143 |
-
|
1144 |
-
* Frontend upload uses ajax with progression bar. Default activated, you can switch it off in Table IV-A1.2.
|
1145 |
-
* You can switch off the thumbnial preview images on the Import screen in Table IX-B14.
|
1146 |
-
|
1147 |
-
= Other Changes =
|
1148 |
-
|
1149 |
-
* Table IV-A2 is now Table IV-A1.2.
|
1150 |
-
* Moved Table VIII-B14 to Table VIII-A12, because it it is harmless to run.
|
1151 |
-
* Browsing through a lightbox set by keystrokes ( n=next, p=previous ) now loops around to the beginning or end. Both in 'normal' and in 'fullscreen' mode.
|
1152 |
-
* You need no longer tick the box 'Originals only' on the import screen, non originals are neglected always now.
|
1153 |
-
* You can turn off preview images on the import screen at Table IX-B14.
|
1154 |
-
* Changed jQuery(..).attr( 'value' ..) to jQuery(..).val(..) in wppa.(min.)js for compatibility with older versions of jQuery.
|
1155 |
-
|
1156 |
-
= 5.4.17 =
|
1157 |
-
|
1158 |
-
= Bug Fixes =
|
1159 |
-
|
1160 |
-
* Thumbnails with non-standard aspect ratio were displayed with fullsize aspect ratio. Fixed.
|
1161 |
-
* Fixed a problem that caused the pretty links not always being generated.
|
1162 |
-
* Fixed legendatext when lightbox is single images.
|
1163 |
-
* Regenerating thumbnails did not recompute sizes. Fixed.
|
1164 |
-
|
1165 |
-
= Other Changes =
|
1166 |
-
|
1167 |
-
* Added an errormessage that will be displayed if a multisite installation is mis-configured.
|
1168 |
-
|
1169 |
-
= 5.4.16 =
|
1170 |
-
|
1171 |
-
= Bug Fixes =
|
1172 |
-
|
1173 |
-
* Slideshows did not run on chrome an safari. Fixed.
|
1174 |
-
|
1175 |
-
= 5.4.15 =
|
1176 |
-
|
1177 |
-
= Bug Fixes =
|
1178 |
-
|
1179 |
-
* Fixed a layout problem in fullscreen lightbox legenda bar.
|
1180 |
-
* Fixed a slashed quotes problem in comments.
|
1181 |
-
* Fixed positionng of ubb's on responsive displays.
|
1182 |
-
|
1183 |
-
= New Features =
|
1184 |
-
|
1185 |
-
* Support for plugin EWWW Image Optimizer. Related settings: Table IX-D17 and Table VIII-B13.
|
1186 |
-
* Support for Lazy Load and HTML optimizing plugins. The filmstrip will show up properly when Table IV-A19 is ticked.
|
1187 |
-
|
1188 |
-
= Other Changes =
|
1189 |
-
|
1190 |
-
* Go back to thumbnails icon in breadcrumb bar is now grayscale, blue on hover.
|
1191 |
-
* Jpg image quality setting in Table IX-A2 now also applies to thumbnail image files.
|
1192 |
-
* Random seed no longer in querystring. This enables the use of quickcache for pages with querystrings.
|
1193 |
-
* Photosizes are now registered in the db to reduce file i/o. It is self learning, but you can run Table VIII-B14 to recalculate all.
|
1194 |
-
* Improved russian translation.
|
1195 |
-
* Import screen: you can switch off the zoom on hover of the thumbnails, and the non-originals will be hidden if you tick the Originals only box.
|
1196 |
-
* Only querystring arguments used in wppa+ are now checked on php injection.
|
1197 |
-
* Bulk edit goes to photosection directly on opening.
|
1198 |
-
|
1199 |
-
= 5.4.14 =
|
1200 |
-
|
1201 |
-
= Bug Fixes =
|
1202 |
-
|
1203 |
-
* Fixed a number of w3c validation errors.
|
1204 |
-
* Fixed a linkproblem when permalink structure is standard.
|
1205 |
-
|
1206 |
-
= New Features =
|
1207 |
-
|
1208 |
-
* Added fullscreen modes to lightbox. When in lightbox, press f. Related settings: Table II-G2.1, Table IV-G6.
|
1209 |
-
|
1210 |
-
= Other Changes =
|
1211 |
-
|
1212 |
-
* Changed priority of action to add metatags to get the open graph metatags higher up on the page.
|
1213 |
-
|
1214 |
-
= 5.4.12 =
|
1215 |
-
|
1216 |
-
= Bug Fixes =
|
1217 |
-
|
1218 |
-
* Fixed open graph metatags so that the right image is supplied also if it is in a virtual album.
|
1219 |
-
* Empty albums with only cover photo(s) will show a coverphoto in the albums widget.
|
1220 |
-
|
1221 |
-
= Other Changes =
|
1222 |
-
|
1223 |
-
* Console logs are now only printed in debug mode ( &debug ).
|
1224 |
-
* Improved the content of metatags for featured photos.
|
1225 |
-
* Performance improvement in indexing.
|
1226 |
-
|
1227 |
-
= 5.4.11 =
|
1228 |
-
|
1229 |
-
= Bug Fixes =
|
1230 |
-
|
1231 |
-
* Photo permalinks did not work for photos in albums with name like 'Album name extended' when the album 'Album name' also existed. Fixed.
|
1232 |
-
* Photo permalinks for photos uploaded in a version before filnames were saved ( long ago ) are no longer erroneously generated.
|
1233 |
-
* Fixed a layout problem with filmstrip in Chrome when zoomed out.
|
1234 |
-
* Remote import stopped working. Fixed.
|
1235 |
-
* Fixed a php notice in debug mode about undefined index.
|
1236 |
-
* Fixed an erroneous link in breadcrumb while in tags selection.
|
1237 |
-
|
1238 |
-
= New Features =
|
1239 |
-
|
1240 |
-
* You can select ---none--- in Table I-G2: Magnifier cursor size. This sets the cursor to pointer and the tooltip to the photo name.
|
1241 |
-
* Miniature pictures on the import screen.
|
1242 |
-
* Added maintenance proc: Add GPX tag. Makes sure all photos with gpx data have at least tag: Gpx.
|
1243 |
-
|
1244 |
-
= Other Changes =
|
1245 |
-
|
1246 |
-
* Click on filmstrip image now also goes to that slide when the show is running.
|
1247 |
-
|
1248 |
-
= 5.4.10 =
|
1249 |
-
|
1250 |
-
= Bug Fixes =
|
1251 |
-
|
1252 |
-
* Tags and exifdatetime were not copied on copying photo. Fixed.
|
1253 |
-
* Photonames in urls were not properly converted to their ids when the album spec was an enumeration. Fixed.
|
1254 |
-
* Changing upload limits for nonstandard roles worked, but the new values were not shown in Table VII-B5. Fixed.
|
1255 |
-
* All images now have an alt attribute if you configured it in Table IX-C4.
|
1256 |
-
* If a slideshow shortcode followed a single image shortcode, all images of the slideshow were scaled to fill the entire column. Fixed.
|
1257 |
-
|
1258 |
-
= New Features =
|
1259 |
-
|
1260 |
-
* The **WPPA+ Uploader Photos** widget now also supports the restriction to look inside (multiple) parentalbum trees only.
|
1261 |
-
* Width and horizontal alignment can now be set on the photo of the day widget admin page.
|
1262 |
-
* Table IV-A18: You can now optionally create the .htaccess file in the wppa/ folder to grant access to your photofiles.
|
1263 |
-
Switch it off if you want **All in one wp security plugin** to protect image hotlinking and you experience no other problems.
|
1264 |
-
|
1265 |
-
= Other Changes =
|
1266 |
-
|
1267 |
-
* Enhanced and more stable behaviour of Table IV-A5: Use short query args.
|
1268 |
-
* Added function wppa_get_youngest_photo_ids( $n = '3' ); that returns an array of n most recently added photo ids.
|
1269 |
-
|
1270 |
-
= 5.4.9 =
|
1271 |
-
|
1272 |
-
= Bug Fixes =
|
1273 |
-
|
1274 |
-
* Fixed some consistency issues in photo file names that were a spinoff from the fixes in 5.4.8.
|
1275 |
-
|
1276 |
-
= Other Changes =
|
1277 |
-
|
1278 |
-
* The shortcode generator now also makes it possible to specify the parent albums for w#owner and w#upldr.
|
1279 |
-
|
1280 |
-
= 5.4.8 =
|
1281 |
-
|
1282 |
-
= Bug Fixes =
|
1283 |
-
|
1284 |
-
* Security fix
|
1285 |
-
|
1286 |
-
= 5.4.7 =
|
1287 |
-
|
1288 |
-
= Bug Fixes =
|
1289 |
-
|
1290 |
-
* The subtitle 'By:' on the photo of the day widget is now translatable.
|
1291 |
-
* The selecion option '- select an album -' on the upload widget is now translatable.
|
1292 |
-
* At setup time an erroneously .htaccess file will no longer be created in wp-content.
|
1293 |
-
* Setting II-B5.1 was invisible when breadcrumbs were switched off. Fixed.
|
1294 |
-
|
1295 |
-
= New Features =
|
1296 |
-
|
1297 |
-
* Table II-G17 Overlay add owner to photoname. Same functionality as II-B5.1 and II-D1.1 for lightbox, works global for all lightbox name settings.
|
1298 |
-
* Table II-D4.1 Popup owner. Same functionality as II-B5.1 and II-D1.1 for popups.
|
1299 |
-
* Cache will now also be cleared for Quick Cache at settings change and uploads. ( Other supported caching plugins: wp-super-cache and w3Total cache. )
|
1300 |
-
It is still not a guarantee but a reasonable attempt to keep the page content in accordance with the data on the site.
|
1301 |
-
* In shortcodes, album="#upldr,username" may now also contain a parent album id: album="#upldr,username,parent".
|
1302 |
-
* A parent album may now also be an enumeration of album ids, both in #upldr as in #owner album specifications. Example: album="#upldr,#me,12.34..37"
|
1303 |
-
* New Thumbnail type for responsive themes in Table IV-C3: like album covers mcr.
|
1304 |
-
* Table IX-F7: Predefined watermark text, now also supports w#timestamp.
|
1305 |
-
|
1306 |
-
= Other Changes =
|
1307 |
-
|
1308 |
-
* Album name may not be empty. This has always been a rule. You can no longer clear the album name, or change it into a (series of) dot(s).
|
1309 |
-
* If your provider moved your installation to a different filesystem location,
|
1310 |
-
the sourcepath ( Table IX-H3 ) will now be corrected automaticly on entering the settings page.
|
1311 |
-
* Table II-B5 and II-B5.1 ( Show photo name and add owner on slideshow ) now work independantly.
|
1312 |
-
If only the owner is displayed, it will be without parenthesis.
|
1313 |
-
* Table II-D1 and II-D1.1 ( Show photo name and add owner on thumbnails ) now work independantly.
|
1314 |
-
If only the owner is displayed, it will be without parenthesis.
|
1315 |
-
* On the Import screen you can now set a maximum number of photos to be found on remote locations.
|
1316 |
-
If the remote location is an imagefile and the filename exclusive extension is numeric,
|
1317 |
-
an assumption is made that - at a maximum of the max setting - the successive numbers may also be imagefiles.
|
1318 |
-
|
1319 |
-
= 5.4.6 =
|
1320 |
-
|
1321 |
-
= Bug Fixes =
|
1322 |
-
|
1323 |
-
* Links from thumnails to slideshow did not work for virtual albums when album names in urls was activated because virtual albums have no name. Fixed.
|
1324 |
-
* The 'back to thumbnails' icon on slideshow breadcrumb now also works for virtual albums and no longer generate 404.
|
1325 |
-
* Fixed a lay-out issue in Table V.
|
1326 |
-
|
1327 |
-
= New Features =
|
1328 |
-
|
1329 |
-
* Name a file so that it will be the default image loaded for the album Cover Photo. See Table IX-D14: Default coverphoto.
|
1330 |
-
* Comment notify email to users already commented on the same photo. See Table IV-F5.1: Comment notify previous.
|
1331 |
-
* Added a maintenance proc to add leading zeros to numeric photo names ( Table VIII-B11 ).
|
1332 |
-
|
1333 |
-
= Other Changes =
|
1334 |
-
|
1335 |
-
* Tags and cats can now contain spaces. ( 5.4.5.001 )
|
1336 |
-
* Minor cosmetic changes in album admin.
|
1337 |
-
* The session db table now relies on auto_increment.
|
1338 |
-
|
1339 |
-
= 5.4.5 =
|
1340 |
-
|
1341 |
-
= Bug Fixes =
|
1342 |
-
|
1343 |
-
* When clicking the link Remake files in front edit photo, the Exit and Refresh button did not come back. Fixed.
|
1344 |
-
|
1345 |
-
= New Features =
|
1346 |
-
|
1347 |
-
* If source files are kept ( Table IX-H1,2 ) and the system is single site or multisite_global, there is an automatic permalink structure to source image files.
|
1348 |
-
Use the keyword w#pl in photo descriptions; if the source is not available, this keyword displays nothing.
|
1349 |
-
The permalink has the following structure: `http://www.mysite.com/wp-content/wppa-pl/My-album/My-photo.jpg`.
|
1350 |
-
My-album stands for the wppa+ album name, My-photo.jpg for the name of the photo.
|
1351 |
-
You can change the name wppa-pl into any convenient filesystem safe name like 'albums' in Table IX-H14: Permalink root.
|
1352 |
-
Make sure you choose a unique name inside .../wp-content/ for the permalink root.
|
1353 |
-
There is no hierarchical album structure, and it is your responsability to have no duplicate album names, and no duplicate photo names inside the same album.
|
1354 |
-
* The initial column width for responsive themes is now configurable in Table I-A1.1.
|
1355 |
-
* The lightbox will be repeatedly initialized during page construction to facilitate clicks before document.ready.
|
1356 |
-
|
1357 |
-
= Other Changes =
|
1358 |
-
|
1359 |
-
* Fixed various security issues.
|
1360 |
-
|
1361 |
-
= 5.4.4 =
|
1362 |
-
|
1363 |
-
= Bug Fixes =
|
1364 |
-
|
1365 |
-
* Album description is no longer shown on thumbnail displays if the display contains thumbnails of various albums.
|
1366 |
-
* On some installations accessing wppa+ photo files by their url ended up in a 404 error. Fixed. See Other Changes: .htaccess file.
|
1367 |
-
* Fixed a problem in the interpretation of querystring arguments where album or photo names contained single or double quotes.
|
1368 |
-
* Fixed a rights problem in front-end photo edit when upload rights were from Table VII-B only.
|
1369 |
-
* Fixed a problem in shortcodes with type="covers". Links from displays of such shortcodes never showed photos, only albums.
|
1370 |
-
* Albums selected with an album enumeration are now sorted accoring to the setting in Table IV-D1
|
1371 |
-
|
1372 |
-
= New Features =
|
1373 |
-
|
1374 |
-
* [wppa type="cover" album="#all"][/wppa] will now also work.
|
1375 |
-
|
1376 |
-
= Other Changes =
|
1377 |
-
|
1378 |
-
* A .htaccess file is now placed in the .../uploads/wppa/ folder to grant normal http access to wppa photo files.
|
1379 |
-
This is to prevent the effect working down to wppa/ from other plugins .htaccess files rewriting http access in the .../uploads/ folder to an attachment page and/or generating a 404 error.
|
1380 |
-
|
1381 |
-
= 5.4.3 =
|
1382 |
-
|
1383 |
-
= Bug Fixes =
|
1384 |
-
|
1385 |
-
* Fixed a rare problem in the conversion to pretty links, i.e. where the url contained 'wppa-' before the '?'.
|
1386 |
-
* Thumbnail popups squeezed to small square images in rare cases. Fixed. (5.4.2.001)
|
1387 |
-
* Fixed improper escaped titles in breadcrumb bar. (5.4.2.002)
|
1388 |
-
|
1389 |
-
= New Features =
|
1390 |
-
|
1391 |
-
* Table I-F13,14: Min and max fontsize for tagclouds.
|
1392 |
-
* Link from cover image to slideshow starting at cover image, see Table VI-B1: a slideshow starting at the photo.
|
1393 |
-
* If Table IV-A3 ( Photo names in urls ) is checked, wppa+ will generate urls with the photo names in all places now.
|
1394 |
-
* Added Table IV-A4 ( Album names in urls ). Works like IV-A2.
|
1395 |
-
* Added Table IV-A5 ( Use short query args ). Omits the wppa- prefix in query string arguments.
|
1396 |
-
Use only when there are no conflicting plugins, like music plugins, that interprete &album= etc.
|
1397 |
-
Note on using names in urls: Avoid duplicate album names and duplicate photo names within the same album!
|
1398 |
-
|
1399 |
-
= Other Changes =
|
1400 |
-
|
1401 |
-
* Removed the 'Create new style shortcode' checkbox from the TinyMce shortcode generator. It is replaced by the setting in Table IX-B13: We use scripts, with default being off.
|
1402 |
-
It is highly recommended to use shortcodes only ( no scripts ) as the development of scripted shortcode features is frozen and only maintained for backward compatibility.
|
1403 |
-
New features will only be available in new style shortcodes.
|
1404 |
-
* Shortcode generator for new style shortcodes has been rewritten and is now capable of generating all possible shortcodes.
|
1405 |
-
* Table IV-A has been renumbered.
|
1406 |
-
|
1407 |
-
= 5.4.2 =
|
1408 |
-
|
1409 |
-
= Bug Fixes =
|
1410 |
-
|
1411 |
-
* Import using ajax stopped working. Fixed
|
1412 |
-
|
1413 |
-
= 5.4.1 =
|
1414 |
-
|
1415 |
-
= Bug Fixes =
|
1416 |
-
|
1417 |
-
* Treecounts were not updated when a sub-album was deleted. Fixed.
|
1418 |
-
* Fixed a link problem from thumbnails to slideshow when ajax on and selection was #upldr.
|
1419 |
-
* Upload box did not show up when frontend upload enabled but user had no upload rights and album was public. Fixed.
|
1420 |
-
* Treecounts are now updated after a bulk change status action.
|
1421 |
-
* The behaviour of the lightbox on album widget has been restored to the situation before version 5.3.10, i.e. the photos in the album will be shown in a set.
|
1422 |
-
* On import, when there are only zipfiles to import, you will no longer be asked to specify a target album.
|
1423 |
-
|
1424 |
-
= New Features =
|
1425 |
-
|
1426 |
-
* New shortcode type: type="thumbs" will display the thumbnails only of an album that also contains sub-albums.
|
1427 |
-
* New shortcode type: type="covers" will display the covers of the sub-albums of the given album. Do not confuse with type"cover"!!
|
1428 |
-
* You can now set the minimum height of album covers ( Table I-D2 ) and of the text including the header ( Table I-D3 )
|
1429 |
-
to make it easier to size the covers verically equally.
|
1430 |
-
* Table VII-D10: Photo owner change. If checked, administrators can change the owner of the photo on the Album Admin -> Manage Photos screen.
|
1431 |
-
* Download link on lightbox displays ( Table VI-C1.4 ).
|
1432 |
-
* Added lightbox as a selection for the linktype of slideshow widget ( Table VI-A2 ).
|
1433 |
-
|
1434 |
-
= Other Changes =
|
1435 |
-
|
1436 |
-
* Erroneous treecounts will now be fixed automaticly, leaving a note in the wppa+ logfile ( See Table VIII-C1 ).
|
1437 |
-
* Table I-D has been expanded and renumbered.
|
1438 |
-
* Facebook share button is now new style; display type of share and like buttons is selectable. See Table II-C17.x
|
1439 |
-
|
1440 |
-
= 5.4.0 =
|
1441 |
-
|
1442 |
-
= Bug Fixes =
|
1443 |
-
|
1444 |
-
* All languages in names and descriptions are now indexed when using qTranslate and indexed search is used.
|
1445 |
-
* The selection of the photo of the day when set to topten will follow the 'top' policy as specified in Table IV-E17.
|
1446 |
-
* Fixed a bug in using custom css when Table IV-A9 ( Inline styles ) was UNchecked.
|
1447 |
-
* Directory to album import continued to ask for a target album where it should not. Fixed.
|
1448 |
-
|
1449 |
-
= Other Changes =
|
1450 |
-
|
1451 |
-
* Many changes to reduce server load ( less db queries ) and client load ( improved responsive algorithm ) and to improve stability.
|
1452 |
-
* Moved admin language files to separate plugin: <a href="http://wordpress.org/plugins/wppa-admin-language-pack/" >Wppa Admin Language Pack</a>
|
1453 |
-
* The use of a modified wppa-theme.php file is strongly discouraged.
|
1454 |
-
The old version of this file is NOT compatible with this release.
|
1455 |
-
If you want to use a modified version, you will have to tick Table IV-A12
|
1456 |
-
* The use of a modified wppa-style.css file is strongly discouraged.
|
1457 |
-
You should enter your custom css in Table IV-A10
|
1458 |
-
If you want to use a modified version, you will have to tick Table IV-A11
|
1459 |
-
|
1460 |
-
= 5.3.11 =
|
1461 |
-
|
1462 |
-
= Bug Fixes =
|
1463 |
-
|
1464 |
-
* Fixed a problem in Album admin and in Settings for systems with very many registered users.
|
1465 |
-
|
1466 |
-
= New Features =
|
1467 |
-
|
1468 |
-
* New keywords in photo description: w#album, alias of w#albumid, will be replaced by album id; and w#albumname.
|
1469 |
-
* Table IX-D15: FE Albums public. A switch to force the front-end created albums to be owned by --- public ---.
|
1470 |
-
* You can hide the display of the commenter's email address in the notify email to the uploader by unticking the box in Table IV-F10.
|
1471 |
-
|
1472 |
-
= Other Changes =
|
1473 |
-
|
1474 |
-
* Dramatically reduced the number of queries for the generation of meta tags
|
1475 |
-
|
1476 |
-
= 5.3.10 =
|
1477 |
-
|
1478 |
-
= Bug Fixes =
|
1479 |
-
|
1480 |
-
* Uploading watermark file caused a fatal error due to non existant function. Fixed.
|
1481 |
-
* Lightbox global stopped working. Fixed.
|
1482 |
-
* On large systems ( > 250.000 photos ) deleting a photo sometimes causes a 500 error. Fixed.
|
1483 |
-
|
1484 |
-
= New Features =
|
1485 |
-
|
1486 |
-
* You can enable an album download link on the album cover in Table VI-C2. If VI-C2.1 is ticked, the original source files will be used if they have been saved during upload/import.
|
1487 |
-
|
1488 |
-
= Other Changes =
|
1489 |
-
|
1490 |
-
* Cosmetic changes to the schedule date/time display in album admin
|
1491 |
-
|
1492 |
-
= 5.3.9 =
|
1493 |
-
|
1494 |
-
= Bug Fixes =
|
1495 |
-
|
1496 |
-
* Maintenance procedure Convert filesystem ( VIII-A10 ) stopped working. Fixed.
|
1497 |
-
* On ssl pages, the wppa+ internal symbol images had no secure urls. Fixed.
|
1498 |
-
* The medals and the New indicator on thumbnail images were hidden when the thumbnail frame was some size bigger than the thumbnail size. Fixed.
|
1499 |
-
* on a multisite where WPPA_MULTISITE_GLOBAL is defined as true, the tag widgets did work for the primary blog only. Fixed.
|
1500 |
-
* Every user could edit albuminfo of ---public--- albums at the frontend. This is fixed: album admin rights are now required to do so.
|
1501 |
-
* Treecounts on albumcovers were not always correct. Fixed.
|
1502 |
-
* When album admin was enabled in Table VII-A, and owners only was set, one had access to all albums at backend album admin. Fixed.
|
1503 |
-
|
1504 |
-
= New Features =
|
1505 |
-
|
1506 |
-
* Schedueling of the publication of photos. See the Album admin and Photo admin pages.
|
1507 |
-
* Added mintenance procedures: Re-add file-extensions to photonames and: Create all autopages.
|
1508 |
-
|
1509 |
-
= Other Changes =
|
1510 |
-
|
1511 |
-
* You can specify the Top criterium for topten displays created by shortcodes in Table IV-E17.
|
1512 |
-
* Many code changes in preparation of video support, to be released in version 5.4.0.
|
1513 |
-
* On the import screen, added a check if an album is selected when the update box is unticked.
|
1514 |
-
|
1515 |
-
= 5.3.8 =
|
1516 |
-
|
1517 |
-
= Bug Fixes =
|
1518 |
-
|
1519 |
-
* Running slideshow on the lightbox layer stopped when another slideshow was running on the page. Fixed.
|
1520 |
-
|
1521 |
-
= Other Changes =
|
1522 |
-
|
1523 |
-
* The alert boxes ( e.g. "Photo successfully uploaded" ) will be displayed when the page is almost loaded, if Table IV-A8 ( Defer javascript ) is ticked.
|
1524 |
-
* Besides the Edit link there is now also a Delete link under the thumbnail image, if the user is not blacklisted and is the photo owner or administrator, and Uploader edit is enabled in Table VII-D2.
|
1525 |
-
|
1526 |
-
= 5.3.7 =
|
1527 |
-
|
1528 |
-
= Bug Fixes =
|
1529 |
-
|
1530 |
-
* When Cloudinary activated, photo views in lightbox were not reported. Fixed.
|
1531 |
-
* Fixed page title in list sessions mainenance popup window.
|
1532 |
-
* Lightbox on slide works also on a touchscreen.
|
1533 |
-
* Improved session data handling. This will no longer excessively slow down the system.
|
1534 |
-
|
1535 |
-
= Other Changes =
|
1536 |
-
|
1537 |
-
* Having the capability Album Admin (wppa_admin) is sufficient to have edit access to an album, the role administrator is no longer required. This affects frontend edit album info.
|
1538 |
-
* If frontend photo edit is enabled in Table VII-D2, there will not only be an edit link in the description area of the slideshow display, but also under the thumbnail display.
|
1539 |
-
|
1540 |
-
= 5.3.6 =
|
1541 |
-
|
1542 |
-
= Bug Fixes =
|
1543 |
-
|
1544 |
-
* Changing small image sizes stopped reporting that thumbnails should be regenerated when required. Fixed.
|
1545 |
-
|
1546 |
-
= Other Changes =
|
1547 |
-
|
1548 |
-
* Landing pages will now really only be created when the actually are going to be used and no longer when the link type does not ask for a linkpage.
|
1549 |
-
* The re-creation of wpp-init.[lang].js files and wppa-dynamic.css is now only done when a setting is changed that affects the content of the files.
|
1550 |
-
|
1551 |
-
= 5.3.5 =
|
1552 |
-
|
1553 |
-
= Bug Fixes =
|
1554 |
-
|
1555 |
-
* Approving a pending photo at the frontend will now properly adjust the counts on the Album Admin page.
|
1556 |
-
|
1557 |
-
= New Features =
|
1558 |
-
|
1559 |
-
* You can edit album name and description at the frontend if it is enabled in Table VII-B1.1.
|
1560 |
-
* You can disable the possibility to rate photos by the uploader himself by unchecking the box in Table IV-E3.1.
|
1561 |
-
* You can force users to give a comment to validate their rating in Table IV-E3.2.
|
1562 |
-
|
1563 |
-
= Other Changes =
|
1564 |
-
|
1565 |
-
* If a line of text for the textual watermark is too long to fit on the photo, an attempt will be made to break it into two lines.
|
1566 |
-
There should be a space character in the right-hand half of the line. This also works on multiline watermark texts and texts that contain keywords.
|
1567 |
-
* All listing actions are now in Table VIII-C.
|
1568 |
-
|
1569 |
-
= 5.3.4 =
|
1570 |
-
|
1571 |
-
= Other Changes =
|
1572 |
-
|
1573 |
-
* WPPA+ is now fullly compatible with WP 3.9. Use 5.3.3 for WP 3.8.x
|
1574 |
-
|
1575 |
-
= 5.3.3 =
|
1576 |
-
|
1577 |
-
= Bug Fixes =
|
1578 |
-
|
1579 |
-
* Text under thumbnail popup displayed the photo name even when Table II-D4 was unchecked. Fixed.
|
1580 |
-
|
1581 |
-
= Other Changes =
|
1582 |
-
|
1583 |
-
* On entering the Settings admin page, an attempt will be made to fix damaged settings caused by improper functioning of delete_option().
|
1584 |
-
The results can be seen in the logfile ( Table VIII-A12 ). You will still have to verify the content of edit fields, because most of them may have an empty content.
|
1585 |
-
|
1586 |
-
= 5.3.2 =
|
1587 |
-
|
1588 |
-
= Bug Fixes =
|
1589 |
-
|
1590 |
-
* The problem in pathnames on windows servers has been reviewed, tested and is really fixed now.
|
1591 |
-
* You should no longer get a db erroressage referring an invalid name for an index.
|
1592 |
-
|
1593 |
-
= New Features =
|
1594 |
-
|
1595 |
-
* Added keyword w#id to the possible keywords in textual watermarks.
|
1596 |
-
* You should now be able to upload photos from smartphone cameras directly.
|
1597 |
-
|
1598 |
-
= Other Changes =
|
1599 |
-
|
1600 |
-
* The upload directory structure for multisite now also supports new style multisite.
|
1601 |
-
* The wp function wp_upload_dir(); is no longer used to retrieve the active path to the uploads dir. On many installations this function returns bogus data.
|
1602 |
-
If you changed the names of wp-content and/or the up-loads dir, add the lines to wp-config.php as described above.
|
1603 |
-
* Table VIII-A6 no longer cleans the database for missing photos, but is now named Lost and found, and will recover db entries for 'lost' photos.
|
1604 |
-
|
1605 |
-
= 5.3.1 =
|
1606 |
-
|
1607 |
-
= Bug Fixes =
|
1608 |
-
|
1609 |
-
* Windows backward filesystem slashes related problems in paths should be fixed now.
|
1610 |
-
* The og description transferred to wppa.js is now properly escaped. Fixes broken slideshows.
|
1611 |
-
* You should see no more [... is no yes/no setting] errors anymore.
|
1612 |
-
* Fixed a layout issue on comments in slideshows.
|
1613 |
-
|
1614 |
-
= 5.3.0 =
|
1615 |
-
|
1616 |
-
= Known problems =
|
1617 |
-
|
1618 |
-
* The shortcode generator button is absent due to changes in wp 3.9
|
1619 |
-
|
1620 |
-
= Bug Fixes =
|
1621 |
-
|
1622 |
-
* You can now repeatedly do Remake Photofiles on an individual photo without the need to reload the page.
|
1623 |
-
* Empty albums that contain empty albums only will now be seen as empty and will therefor be hidden when Table II-E6 is checked.
|
1624 |
-
* Fixed lay-out issues for sharetext.
|
1625 |
-
|
1626 |
-
= New Features =
|
1627 |
-
|
1628 |
-
* Text based watermarks, with dynamic text and the ability to upload new truetype fonts. See Table IX-F.
|
1629 |
-
* Watermark all photos. Table VIII-B9.
|
1630 |
-
* Search results display type can now be set in Table IX-E12.
|
1631 |
-
|
1632 |
-
= Other Changes =
|
1633 |
-
|
1634 |
-
* The plugin is now believed to support the change of the wp-content directory as described here: http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder
|
1635 |
-
* Due to the unreliability of the PHP superglobal $_SESSION ( the values may be unintentedly modified by Firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=991019 ),
|
1636 |
-
there is now a different implementation for the survival of session data between pageloads.
|
1637 |
-
* Cloudinary derived images are now at jpeg quality set in Table IX-A2.
|
1638 |
-
* Many internal modifications to speed up, simplify and improve maintainability of the plugin.
|
1639 |
-
|
1640 |
== About and Credits ==
|
1641 |
|
1642 |
* WP Photo Album Plus is extended with many new features and is maintained by J.N. Breetvelt, ( http://www.opajaap.nl/ ) a.k.a. OpaJaap
|
2 |
Contributors: opajaap
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source¤cy_code=USD&lc=US
|
4 |
Tags: photo, album, gallery, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto
|
5 |
+
Version: 6.4.01
|
6 |
+
Stable tag: 6.4.01
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
9 |
Requires at least: 3.9
|
63 |
|
64 |
Translations:
|
65 |
|
|
|
66 |
<ul>
|
67 |
<li>Dutch translation by OpaJaap himself (<a href="http://www.opajaap.nl">Opa Jaap's Weblog</a>) (both)</li>
|
68 |
<li>Slovak translation by Branco Radenovich (<a href="http://webhostinggeeks.com/user-reviews/">WebHostingGeeks.com</a>) (frontend)</li>
|
84 |
However, check these requirements in case of problems with new installations with themes you never had used before with wppa+ or when you modifies your theme.
|
85 |
* The server should have at least 64MB of memory.
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
= Standard installation when not from the wp plugins page =
|
88 |
* Unzip and upload the wppa plugin folder to wp-content/plugins/
|
89 |
* Make sure that the folder wp-content/uploads/ exists and is writable by the server (CHMOD 755, some systems need CHMOD 777)
|
176 |
If you have control over the server yourself: configure it to allow the use of enough memory.
|
177 |
Oh, just Google on 'picture resizer' and you will find a bunch of free programs that will easily perform the resizing task for you.
|
178 |
|
179 |
+
== Upgrade Notice ==
|
180 |
+
|
181 |
+
= 6.4.01 =
|
182 |
+
|
183 |
+
* This update is important when you use encrypted urls.
|
184 |
|
185 |
== Changelog ==
|
186 |
|
187 |
See for additional information: http://wppa.opajaap.nl/changelog/
|
188 |
|
189 |
+
= 6.4.01 =
|
190 |
+
|
191 |
+
= Bug Fixes =
|
192 |
+
|
193 |
+
* Under some circumstances the multitag widget did not work. Fixed.
|
194 |
+
* Could not update photo at the backend when sncrypted urls was active. Fixed.
|
195 |
+
* Move and copy photo did not work when the translated text of 'Please select an album to move the photo to first.' contained quotes as in French. Fixed.
|
196 |
+
* Filmstrip does not display correctly unless Table IV-A19 is ticked when encrypted urls is active. Fixed.
|
197 |
+
|
198 |
+
= Other Changes =
|
199 |
+
|
200 |
+
* Album crypt is shown on the album admin page.
|
201 |
+
* Added option: create 'no hotlinks' .htaccess files to Table IV-A18.
|
202 |
+
|
203 |
= 6.4.00 =
|
204 |
|
205 |
= New Features =
|
894 |
|
895 |
* Added link types to various virtual album widgets.
|
896 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
== About and Credits ==
|
898 |
|
899 |
* WP Photo Album Plus is extended with many new features and is maintained by J.N. Breetvelt, ( http://www.opajaap.nl/ ) a.k.a. OpaJaap
|
wppa-ajax.php
CHANGED
@@ -1020,7 +1020,13 @@ global $wppa_session;
|
|
1020 |
}
|
1021 |
|
1022 |
case 'update-photo':
|
1023 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
$nonce = $_REQUEST['wppa-nonce'];
|
1025 |
$item = $_REQUEST['item'];
|
1026 |
$value = isset( $_REQUEST['value'] ) ? $_REQUEST['value'] : '';
|
1020 |
}
|
1021 |
|
1022 |
case 'update-photo':
|
1023 |
+
if ( strlen( $_REQUEST['photo-id'] ) == 12 ) {
|
1024 |
+
$photo = wppa_decrypt_photo( $_REQUEST['photo-id'] );
|
1025 |
+
}
|
1026 |
+
else {
|
1027 |
+
$photo = $_REQUEST['photo-id'];
|
1028 |
+
}
|
1029 |
+
// $photo = $_REQUEST['photo-id'];
|
1030 |
$nonce = $_REQUEST['wppa-nonce'];
|
1031 |
$item = $_REQUEST['item'];
|
1032 |
$value = isset( $_REQUEST['value'] ) ? $_REQUEST['value'] : '';
|
wppa-album-admin-autosave.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* create, edit and delete albums
|
6 |
-
* Version 6.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -176,7 +176,7 @@ function _wppa_admin() {
|
|
176 |
?>
|
177 |
</p>
|
178 |
<p>
|
179 |
-
<?php
|
180 |
</p>
|
181 |
<input type="hidden" id="album-nonce-<?php echo $edit_id ?>" value="<?php echo wp_create_nonce('wppa_nonce_'.$edit_id); ?>" />
|
182 |
<table class="widefat wppa-table wppa-album-table">
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* create, edit and delete albums
|
6 |
+
* Version 6.4.01
|
7 |
*
|
8 |
*/
|
9 |
|
176 |
?>
|
177 |
</p>
|
178 |
<p>
|
179 |
+
<?php echo __('Album number:', 'wp-photo-album-plus') . ' ' . $edit_id . ', ' . __( 'Crypt', 'wp-photo-album-plus' ) . ': ' . $albuminfo['crypt']; ?>
|
180 |
</p>
|
181 |
<input type="hidden" id="album-nonce-<?php echo $edit_id ?>" value="<?php echo wp_create_nonce('wppa_nonce_'.$edit_id); ?>" />
|
182 |
<table class="widefat wppa-table wppa-album-table">
|
wppa-boxes-html.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
-
* Version 6.4.
|
7 |
*
|
8 |
*
|
9 |
*/
|
@@ -943,6 +943,7 @@ function wppa_get_multitag_html( $nperline = '2', $seltags = '' ) {
|
|
943 |
$result = '';
|
944 |
if ( wppa_opt( 'multitag_linkpage' ) ) {
|
945 |
$hr = wppa_get_permalink( $page );
|
|
|
946 |
if ( wppa_opt( 'multitag_linktype' ) == 'album' ) {
|
947 |
$hr .= 'wppa-album=0&wppa-cover=0&wppa-occur=1';
|
948 |
}
|
@@ -959,7 +960,7 @@ function wppa_get_multitag_html( $nperline = '2', $seltags = '' ) {
|
|
959 |
<script type="text/javascript">
|
960 |
function wppaProcessMultiTagRequest() {
|
961 |
var any = false;
|
962 |
-
var url="'.wppa_encrypt_url($hr).'";';
|
963 |
|
964 |
$result .= '
|
965 |
if ( jQuery( "#inverse-'.wppa( 'mocc' ).'" ).attr( "checked" ) ) {
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
+
* Version 6.4.01
|
7 |
*
|
8 |
*
|
9 |
*/
|
943 |
$result = '';
|
944 |
if ( wppa_opt( 'multitag_linkpage' ) ) {
|
945 |
$hr = wppa_get_permalink( $page );
|
946 |
+
$hr = str_replace( '&', '&', $hr );
|
947 |
if ( wppa_opt( 'multitag_linktype' ) == 'album' ) {
|
948 |
$hr .= 'wppa-album=0&wppa-cover=0&wppa-occur=1';
|
949 |
}
|
960 |
<script type="text/javascript">
|
961 |
function wppaProcessMultiTagRequest() {
|
962 |
var any = false;
|
963 |
+
var url="' . wppa_encrypt_url( $hr ) . '";';
|
964 |
|
965 |
$result .= '
|
966 |
if ( jQuery( "#inverse-'.wppa( 'mocc' ).'" ).attr( "checked" ) ) {
|
wppa-htaccess.php
CHANGED
@@ -22,7 +22,7 @@ function wppa_create_wppa_htaccess_( $filename ) {
|
|
22 |
|
23 |
switch ( wppa_opt( 'cre_uploads_htaccess' ) ) {
|
24 |
|
25 |
-
//
|
26 |
case 'grant':
|
27 |
$file = fopen( $filename, 'wb' );
|
28 |
if ( $file ) {
|
@@ -34,7 +34,41 @@ function wppa_create_wppa_htaccess_( $filename ) {
|
|
34 |
fclose( $file );
|
35 |
}
|
36 |
break;
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
// Destroy it
|
39 |
case 'remove':
|
40 |
@ unlink( $filename );
|
22 |
|
23 |
switch ( wppa_opt( 'cre_uploads_htaccess' ) ) {
|
24 |
|
25 |
+
// Grant access
|
26 |
case 'grant':
|
27 |
$file = fopen( $filename, 'wb' );
|
28 |
if ( $file ) {
|
34 |
fclose( $file );
|
35 |
}
|
36 |
break;
|
37 |
+
|
38 |
+
// No hotlink
|
39 |
+
case 'nohot':
|
40 |
+
$domain = site_url();
|
41 |
+
$domain = str_replace( 'https://', '', $domain );
|
42 |
+
$domain = str_replace( 'http://', '', $domain );
|
43 |
+
$domain = str_replace( 'www.', '', $domain );
|
44 |
+
$i = strpos( $domain, '/' );
|
45 |
+
if ( $i ) {
|
46 |
+
$domain = substr( $domain, 0, $i );
|
47 |
+
}
|
48 |
+
$i = strpos( $domain, '?' );
|
49 |
+
if ( $i ) {
|
50 |
+
$domain = substr( $domain, 0, $i );
|
51 |
+
}
|
52 |
+
$file = fopen( $filename, 'wb' );
|
53 |
+
if ( $file ) {
|
54 |
+
/*
|
55 |
+
<IfModule mod_rewrite.c>
|
56 |
+
RewriteEngine On
|
57 |
+
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?beta.opajaap.nl [NC]
|
58 |
+
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?beta.opajaap.nl.*$ [NC]
|
59 |
+
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F]
|
60 |
+
</IfModule>
|
61 |
+
*/
|
62 |
+
fwrite( $file, '<IfModule mod_rewrite.c>' );
|
63 |
+
fwrite( $file, "\n" . 'RewriteEngine On' );
|
64 |
+
fwrite( $file, "\n" . 'RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?' . $domain . ' [NC]' );
|
65 |
+
fwrite( $file, "\n" . 'RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?' . $domain . '.*$ [NC]' );
|
66 |
+
fwrite( $file, "\n" . 'RewriteRule \.(jpg|jpeg|png|gif|mp4|ogv|webm|mp3|wav|ogg)$ - [NC,F]' );
|
67 |
+
fwrite( $file, "\n" . '</IfModule>' );
|
68 |
+
fclose( $file );
|
69 |
+
}
|
70 |
+
break;
|
71 |
+
|
72 |
// Destroy it
|
73 |
case 'remove':
|
74 |
@ unlink( $filename );
|
wppa-maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains (not yet, but in the future maybe) all the maintenance routines
|
6 |
-
* Version 6.4.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -907,9 +907,11 @@ global $wpdb;
|
|
907 |
$result .= '
|
908 |
</td>
|
909 |
<td style="border-bottom:1px solid gray;" >';
|
910 |
-
|
911 |
-
|
912 |
-
|
|
|
|
|
913 |
$result .= '
|
914 |
</td>
|
915 |
</tr>';
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains (not yet, but in the future maybe) all the maintenance routines
|
6 |
+
* Version 6.4.01
|
7 |
*
|
8 |
*/
|
9 |
|
907 |
$result .= '
|
908 |
</td>
|
909 |
<td style="border-bottom:1px solid gray;" >';
|
910 |
+
if ( is_array( $data['uris'] ) ) {
|
911 |
+
foreach ( $data['uris'] as $uri ) {
|
912 |
+
$result .= $uri.'<br />';
|
913 |
+
}
|
914 |
+
}
|
915 |
$result .= '
|
916 |
</td>
|
917 |
</tr>';
|
wppa-photo-admin-autosave.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* edit and delete photos
|
6 |
-
* Version 6.4.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -176,16 +176,16 @@ global $wpdb;
|
|
176 |
<th>
|
177 |
<label ><?php echo 'ID = '.$photo['id'].'. '.__( 'Preview:' , 'wp-photo-album-plus'); ?></label>
|
178 |
<br />
|
179 |
-
<?php echo __( 'Crypt' ) . ': ' . $photo['crypt'] . '<br/>' ?>
|
180 |
<?php echo sprintf( __( 'Album: %d<br />(%s)' , 'wp-photo-album-plus'), $photo['album'], wppa_get_album_name( $photo['album'] ) ) ?>
|
181 |
<br /><br />
|
182 |
<?php if ( ! $is_video ) { ?>
|
183 |
<?php _e( 'Rotate' , 'wp-photo-album-plus') ?>
|
184 |
-
<a onclick="if ( confirm( '<?php
|
185 |
|
186 |
-
<a onclick="if ( confirm( '<?php
|
187 |
|
188 |
-
<a onclick="if ( confirm( '<?php
|
189 |
<br />
|
190 |
|
191 |
<span style="font-size: 9px; line-height: 10px; color:#666;">
|
@@ -208,7 +208,7 @@ global $wpdb;
|
|
208 |
reset( $is_video );
|
209 |
$big = str_replace( 'xxx', current( $is_video ), $big );
|
210 |
?>
|
211 |
-
<a href="<?php echo $big ?>" target="_blank" title="<?php
|
212 |
<?php echo wppa_get_video_html( array( 'id' => $photo['id'],
|
213 |
'width' => '160',
|
214 |
'height' => '160' * wppa_get_videoy( $photo['id'] ) / wppa_get_videox( $photo['id'] ),
|
@@ -223,7 +223,7 @@ global $wpdb;
|
|
223 |
$src = wppa_fix_poster_ext( $src, $photo['id'] );
|
224 |
}
|
225 |
?>
|
226 |
-
<a href="<?php echo $big ?>" target="_blank" title="<?php
|
227 |
<img src="<?php echo( $src ) ?>" alt="<?php echo( $photo['name'] ) ?>" style="max-width: 160px; vertical-align:middle;" />
|
228 |
</a><?php
|
229 |
if ( $has_audio ) {
|
@@ -247,7 +247,7 @@ global $wpdb;
|
|
247 |
|
248 |
<!-- Upload -->
|
249 |
<tr>
|
250 |
-
<th
|
251 |
<label><?php _e( 'Upload:' , 'wp-photo-album-plus'); ?></label>
|
252 |
</th>
|
253 |
<td>
|
@@ -357,7 +357,7 @@ global $wpdb;
|
|
357 |
<!-- Move -->
|
358 |
<tr >
|
359 |
<th >
|
360 |
-
<input type="button" style="" onclick="if( document.getElementById( 'moveto-<?php echo( $photo['id'] ) ?>' ).value != 0 ) { if ( confirm( '<?php _e( 'Are you sure you want to move this photo?' , 'wp-photo-album-plus') ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'moveto', document.getElementById( 'moveto-<?php echo( $photo['id'] ) ?>' ) ) } else { alert( '<?php
|
361 |
</th>
|
362 |
<td >
|
363 |
<select id="moveto-<?php echo $photo['id'] ?>" style="width:100%;" ><?php echo $album_select[$photo['album']] ?></select>
|
@@ -366,7 +366,7 @@ global $wpdb;
|
|
366 |
<!-- Copy -->
|
367 |
<tr >
|
368 |
<th >
|
369 |
-
<input type="button" style="" onclick="if ( document.getElementById( 'copyto-<?php echo( $photo['id'] ) ?>' ).value != 0 ) { if ( confirm( '<?php _e( 'Are you sure you want to copy this photo?' , 'wp-photo-album-plus') ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'copyto', document.getElementById( 'copyto-<?php echo( $photo['id'] ) ?>' ) ) } else { alert( '<?php
|
370 |
</th>
|
371 |
<td >
|
372 |
<select id="copyto-<?php echo( $photo['id'] ) ?>" style="width:100%;" ><?php echo $album_select[$photo['album']] ?></select>
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* edit and delete photos
|
6 |
+
* Version 6.4.01
|
7 |
*
|
8 |
*/
|
9 |
|
176 |
<th>
|
177 |
<label ><?php echo 'ID = '.$photo['id'].'. '.__( 'Preview:' , 'wp-photo-album-plus'); ?></label>
|
178 |
<br />
|
179 |
+
<?php echo __( 'Crypt', 'wp-photo-album-plus' ) . ': ' . $photo['crypt'] . '<br/>' ?>
|
180 |
<?php echo sprintf( __( 'Album: %d<br />(%s)' , 'wp-photo-album-plus'), $photo['album'], wppa_get_album_name( $photo['album'] ) ) ?>
|
181 |
<br /><br />
|
182 |
<?php if ( ! $is_video ) { ?>
|
183 |
<?php _e( 'Rotate' , 'wp-photo-album-plus') ?>
|
184 |
+
<a onclick="if ( confirm( '<?php echo esc_js( __( 'Are you sure you want to rotate this photo left?' , 'wp-photo-album-plus') ) ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'rotleft', 0, <?php echo ( wppa( 'front_edit' ) ? 'false' : 'true' ) ?> ); " ><?php _e( 'left' , 'wp-photo-album-plus'); ?></a>
|
185 |
|
186 |
+
<a onclick="if ( confirm( '<?php echo esc_js( __( 'Are you sure you want to rotate this photo 180°?' , 'wp-photo-album-plus') ) ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'rot180', 0, <?php echo ( wppa( 'front_edit' ) ? 'false' : 'true' ) ?> ); " ><?php _e( '180°' , 'wp-photo-album-plus'); ?></a>
|
187 |
|
188 |
+
<a onclick="if ( confirm( '<?php echo esc_js( __( 'Are you sure you want to rotate this photo right?' , 'wp-photo-album-plus') ) ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'rotright', 0, <?php echo ( wppa( 'front_edit' ) ? 'false' : 'true' ) ?> ); " ><?php _e( 'right' , 'wp-photo-album-plus'); ?></a>
|
189 |
<br />
|
190 |
|
191 |
<span style="font-size: 9px; line-height: 10px; color:#666;">
|
208 |
reset( $is_video );
|
209 |
$big = str_replace( 'xxx', current( $is_video ), $big );
|
210 |
?>
|
211 |
+
<a href="<?php echo $big ?>" target="_blank" title="<?php echo esc_attr( __( 'Preview fullsize video' , 'wp-photo-album-plus') ) ?>" >
|
212 |
<?php echo wppa_get_video_html( array( 'id' => $photo['id'],
|
213 |
'width' => '160',
|
214 |
'height' => '160' * wppa_get_videoy( $photo['id'] ) / wppa_get_videox( $photo['id'] ),
|
223 |
$src = wppa_fix_poster_ext( $src, $photo['id'] );
|
224 |
}
|
225 |
?>
|
226 |
+
<a href="<?php echo $big ?>" target="_blank" title="<?php echo esc_attr( __( 'Preview fullsize photo' , 'wp-photo-album-plus') ) ?>" >
|
227 |
<img src="<?php echo( $src ) ?>" alt="<?php echo( $photo['name'] ) ?>" style="max-width: 160px; vertical-align:middle;" />
|
228 |
</a><?php
|
229 |
if ( $has_audio ) {
|
247 |
|
248 |
<!-- Upload -->
|
249 |
<tr>
|
250 |
+
<th>
|
251 |
<label><?php _e( 'Upload:' , 'wp-photo-album-plus'); ?></label>
|
252 |
</th>
|
253 |
<td>
|
357 |
<!-- Move -->
|
358 |
<tr >
|
359 |
<th >
|
360 |
+
<input type="button" style="" onclick="if( document.getElementById( 'moveto-<?php echo( $photo['id'] ) ?>' ).value != 0 ) { if ( confirm( '<?php esc_js( _e( 'Are you sure you want to move this photo?' , 'wp-photo-album-plus') ) ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'moveto', document.getElementById( 'moveto-<?php echo( $photo['id'] ) ?>' ) ) } else { alert( '<?php echo esc_js( __( 'Please select an album to move the photo to first.' , 'wp-photo-album-plus') ) ?>' ); return false;}" value="<?php echo esc_attr( __( 'Move photo to' , 'wp-photo-album-plus') ) ?>" />
|
361 |
</th>
|
362 |
<td >
|
363 |
<select id="moveto-<?php echo $photo['id'] ?>" style="width:100%;" ><?php echo $album_select[$photo['album']] ?></select>
|
366 |
<!-- Copy -->
|
367 |
<tr >
|
368 |
<th >
|
369 |
+
<input type="button" style="" onclick="if ( document.getElementById( 'copyto-<?php echo( $photo['id'] ) ?>' ).value != 0 ) { if ( confirm( '<?php esc_js( _e( 'Are you sure you want to copy this photo?' , 'wp-photo-album-plus') ) ?>' ) ) wppaAjaxUpdatePhoto( <?php echo $photo['id'] ?>, 'copyto', document.getElementById( 'copyto-<?php echo( $photo['id'] ) ?>' ) ) } else { alert( '<?php echo esc_js( __( 'Please select an album to copy the photo to first.' , 'wp-photo-album-plus') ) ?>' ); return false;}" value="<?php echo esc_attr( __( 'Copy photo to' , 'wp-photo-album-plus') ) ?>" />
|
370 |
</th>
|
371 |
<td >
|
372 |
<select id="copyto-<?php echo( $photo['id'] ) ?>" style="width:100%;" ><?php echo $album_select[$photo['album']] ?></select>
|
wppa-settings-autosave.php
CHANGED
@@ -3427,16 +3427,17 @@ global $wppa_tags;
|
|
3427 |
wppa_setting($slug, '17', $name, $desc, $html, $help, $clas, $tags);
|
3428 |
|
3429 |
$name = __('Enable photo html access', 'wp-photo-album-plus');
|
3430 |
-
$desc = __('Creates
|
3431 |
-
$help =
|
3432 |
-
$help .= '\n'.esc_js(__('If set to remove .htaccess: remove any .htaccess file from ../wp-content/uploads/wppa/ and ../wp-content/uploads/wppa/thumbs', 'wp-photo-album-plus') );
|
3433 |
$slug = 'wppa_cre_uploads_htaccess';
|
3434 |
-
$opts = array( __('create .htaccess', 'wp-photo-album-plus'),
|
3435 |
-
__('remove .htaccess', 'wp-photo-album-plus'),
|
3436 |
-
__('
|
|
|
3437 |
);
|
3438 |
$vals = array( 'grant',
|
3439 |
'remove',
|
|
|
3440 |
'custom',
|
3441 |
);
|
3442 |
$html = wppa_select($slug, $opts, $vals);
|
3427 |
wppa_setting($slug, '17', $name, $desc, $html, $help, $clas, $tags);
|
3428 |
|
3429 |
$name = __('Enable photo html access', 'wp-photo-album-plus');
|
3430 |
+
$desc = __('Creates .htaccess files in .../uploads/wppa/ and .../uploads/wppa/thumbs/', 'wp-photo-album-plus');
|
3431 |
+
$help = '';
|
|
|
3432 |
$slug = 'wppa_cre_uploads_htaccess';
|
3433 |
+
$opts = array( __('create \'all access\' .htaccess files', 'wp-photo-album-plus'),
|
3434 |
+
__('remove .htaccess files', 'wp-photo-album-plus'),
|
3435 |
+
__('create \'no hotlinking\' .htaccess files', 'wp-photo-album-plus'),
|
3436 |
+
__('do not change existing .htaccess file(s)', 'wp-photo-album-plus'),
|
3437 |
);
|
3438 |
$vals = array( 'grant',
|
3439 |
'remove',
|
3440 |
+
'nohot',
|
3441 |
'custom',
|
3442 |
);
|
3443 |
$html = wppa_select($slug, $opts, $vals);
|
wppa-thumbnails.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Various funcions to display a thumbnail image
|
6 |
* Contains all possible frontend thumbnail types
|
7 |
*
|
8 |
-
* Version 6.4.
|
9 |
*
|
10 |
*/
|
11 |
|
@@ -1713,7 +1713,7 @@ function wppa_do_filmthumb( $id, $idx, $do_for_feed = false, $glue = false ) {
|
|
1713 |
$tmp = $do_for_feed ? 'film' : 'pre';
|
1714 |
$style = $glue ? 'style="'.wppa_get_thumb_frame_style( $glue, 'film' ).'"' : '';
|
1715 |
$result .= '<div' .
|
1716 |
-
' id="'.$tmp.'_wppatnf_'
|
1717 |
' class="thumbnail-frame"' .
|
1718 |
' ' . $style .
|
1719 |
' >';
|
5 |
* Various funcions to display a thumbnail image
|
6 |
* Contains all possible frontend thumbnail types
|
7 |
*
|
8 |
+
* Version 6.4.01
|
9 |
*
|
10 |
*/
|
11 |
|
1713 |
$tmp = $do_for_feed ? 'film' : 'pre';
|
1714 |
$style = $glue ? 'style="'.wppa_get_thumb_frame_style( $glue, 'film' ).'"' : '';
|
1715 |
$result .= '<div' .
|
1716 |
+
' id="'.$tmp.'_wppatnf_'.wppa_encrypt_photo($thumb['id']).'_'.wppa( 'mocc' ).'"' .
|
1717 |
' class="thumbnail-frame"' .
|
1718 |
' ' . $style .
|
1719 |
' >';
|
wppa-utils.php
CHANGED
@@ -1244,7 +1244,7 @@ function wppa_vfy_arg($arg, $txt = false) {
|
|
1244 |
else {
|
1245 |
$reason = ( defined('WP_DEBUG') && WP_DEBUG ) ? ': '.$arg.' is not numeric.' : '';
|
1246 |
$value = $_REQUEST[$arg];
|
1247 |
-
if ( $arg == 'photo-id' ) {
|
1248 |
$value = wppa_decrypt_photo( $value );
|
1249 |
}
|
1250 |
if ( ! is_numeric($value) ) wp_die('Security check failue'.$reason);
|
1244 |
else {
|
1245 |
$reason = ( defined('WP_DEBUG') && WP_DEBUG ) ? ': '.$arg.' is not numeric.' : '';
|
1246 |
$value = $_REQUEST[$arg];
|
1247 |
+
if ( $arg == 'photo-id' && strlen($value) == 12 ) {
|
1248 |
$value = wppa_decrypt_photo( $value );
|
1249 |
}
|
1250 |
if ( ! is_numeric($value) ) wp_die('Security check failue'.$reason);
|
wppa.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
* Plugin Name: WP Photo Album Plus
|
4 |
* Description: Easily manage and display your photo albums and slideshows within your WordPress site.
|
5 |
-
* Version: 6.4.
|
6 |
* Author: J.N. Breetvelt a.k.a. OpaJaap
|
7 |
* Author URI: http://wppa.opajaap.nl/
|
8 |
* Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
|
@@ -29,12 +29,12 @@ global $wpdb;
|
|
29 |
/* when new options are added and when the wppa_setup() routine
|
30 |
/* must be called right after update for any other reason.
|
31 |
*/
|
32 |
-
global $wppa_revno; $wppa_revno = '
|
33 |
|
34 |
/* This is the api interface version number
|
35 |
/* It is incremented at any code change.
|
36 |
*/
|
37 |
-
global $wppa_api_version; $wppa_api_version = '6-4-
|
38 |
|
39 |
/* start timers */
|
40 |
global $wppa_starttime; $wppa_starttime = microtime(true);
|
2 |
/*
|
3 |
* Plugin Name: WP Photo Album Plus
|
4 |
* Description: Easily manage and display your photo albums and slideshows within your WordPress site.
|
5 |
+
* Version: 6.4.01
|
6 |
* Author: J.N. Breetvelt a.k.a. OpaJaap
|
7 |
* Author URI: http://wppa.opajaap.nl/
|
8 |
* Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
|
29 |
/* when new options are added and when the wppa_setup() routine
|
30 |
/* must be called right after update for any other reason.
|
31 |
*/
|
32 |
+
global $wppa_revno; $wppa_revno = '6401';
|
33 |
|
34 |
/* This is the api interface version number
|
35 |
/* It is incremented at any code change.
|
36 |
*/
|
37 |
+
global $wppa_api_version; $wppa_api_version = '6-4-01-003';
|
38 |
|
39 |
/* start timers */
|
40 |
global $wppa_starttime; $wppa_starttime = microtime(true);
|