Version Description
- New Help Popup Introduced
- Compatiblity with 3.8.3
Download this release
Release Info
Developer | Gallery-Bank |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 3.0.18 |
Comparing to | |
See all releases |
Code changes from version 3.0.17 to 3.0.18
- assets/css/stylesheet.css +97 -0
- gallery-bank.php +2 -3
- lib/add-new-album-class.php +5 -0
- lib/gallery-bank-class.php +2 -0
- readme.txt +8 -3
- views/dashboard.php +75 -0
assets/css/stylesheet.css
CHANGED
@@ -2495,7 +2495,104 @@ Popover
|
|
2495 |
line-height: 20px;
|
2496 |
outline: 0;
|
2497 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2498 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2499 |
@media (min-width: 768px) and (max-width: 979px) {
|
2500 |
.hidden-desktop {
|
2501 |
display: inherit !important;
|
2495 |
line-height: 20px;
|
2496 |
outline: 0;
|
2497 |
}
|
2498 |
+
/*************************** Gallery Bank Information Popup********************************/
|
2499 |
+
.gallery_bank_popup_box .ui-dialog-titlebar {
|
2500 |
+
background : #AE3A3A;
|
2501 |
+
color : #fff;
|
2502 |
+
font-size : 1.5em;
|
2503 |
+
font-weight : normal;
|
2504 |
+
height : auto;
|
2505 |
+
line-height : 2.5;
|
2506 |
+
padding : 0 1em;
|
2507 |
+
}
|
2508 |
+
|
2509 |
+
.gallery_bank_popup_box .ui-dialog-titlebar span {
|
2510 |
+
text-align : left;
|
2511 |
+
}
|
2512 |
+
|
2513 |
+
.gallery_bank_popup_box .ui-dialog-titlebar button {
|
2514 |
+
width : 30px;
|
2515 |
+
height : 30px;
|
2516 |
+
color : #ffffff;
|
2517 |
+
top : 15px;
|
2518 |
+
right : 15px;
|
2519 |
+
margin : 0;
|
2520 |
+
padding : 0;
|
2521 |
+
}
|
2522 |
+
|
2523 |
+
.gallery_bank_popup_box .ui-dialog-titlebar button:before {
|
2524 |
+
color : #ffffff;
|
2525 |
+
}
|
2526 |
+
|
2527 |
+
.gallery_bank_popup_box .ui-dialog-titlebar button:hover:before {
|
2528 |
+
color : #fff;
|
2529 |
+
}
|
2530 |
|
2531 |
+
.gallery_bank_popup_box .ui-icon,
|
2532 |
+
.gallery_bank_popup_box .ui-icon:hover {
|
2533 |
+
background : none !important;
|
2534 |
+
}
|
2535 |
+
|
2536 |
+
#gallery_bank_popup {
|
2537 |
+
padding : 0;
|
2538 |
+
margin : 0;
|
2539 |
+
}
|
2540 |
+
|
2541 |
+
#gallery_bank_popup li {
|
2542 |
+
border-bottom : 1px solid #AE3A3A;
|
2543 |
+
padding : 1em 2em;
|
2544 |
+
overflow : hidden;
|
2545 |
+
list-style : decimal;
|
2546 |
+
list-style-position : inside;
|
2547 |
+
}
|
2548 |
+
|
2549 |
+
#gallery_bank_popup li p {
|
2550 |
+
margin-top : 0;
|
2551 |
+
margin-left: 13px;
|
2552 |
+
}
|
2553 |
+
|
2554 |
+
#gallery_bank_popup li h4 {
|
2555 |
+
margin : 0;
|
2556 |
+
}
|
2557 |
+
|
2558 |
+
#gallery_bank_popup .gb_close_popup {
|
2559 |
+
position : relative;
|
2560 |
+
display : block;
|
2561 |
+
width : 98%;
|
2562 |
+
line-height : 3;
|
2563 |
+
text-align : right;
|
2564 |
+
color : #AE3A3A;
|
2565 |
+
}
|
2566 |
+
.wp-core-ui .gb_buttons
|
2567 |
+
{
|
2568 |
+
border: 1px solid #FF6D1E;
|
2569 |
+
font-size: 13px;
|
2570 |
+
padding: 4px 0;
|
2571 |
+
color: #FFF;
|
2572 |
+
text-shadow: 0 1px 3px #FF6D1E;
|
2573 |
+
font-weight: bold;
|
2574 |
+
background: #FF6D1E;
|
2575 |
+
-moz-border-radius: 3px;
|
2576 |
+
border-radius: 3px;
|
2577 |
+
-webkit-border-radius: 3px;
|
2578 |
+
text-decoration: none;
|
2579 |
+
height: 35px;
|
2580 |
+
text-align: center;
|
2581 |
+
width: 100px;
|
2582 |
+
-moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2583 |
+
-webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2584 |
+
box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2585 |
+
margin-left: 13px;
|
2586 |
+
}
|
2587 |
+
.wp-core-ui .gb_buttons:hover, .wp-core-ui .gb_buttons:focus
|
2588 |
+
{
|
2589 |
+
background: #FF6D1E;
|
2590 |
+
color: #FFF;
|
2591 |
+
border: 1px solid #FF6D1E;
|
2592 |
+
-moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2593 |
+
-webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2594 |
+
box-shadow: 0px 1px 1px 0 #FF6D1E inset;
|
2595 |
+
}
|
2596 |
@media (min-width: 768px) and (max-width: 979px) {
|
2597 |
.hidden-desktop {
|
2598 |
display: inherit !important;
|
gallery-bank.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 3.0.
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -58,7 +58,7 @@ function plugin_install_script_for_gallery_bank()
|
|
58 |
/*************************************************************************************/
|
59 |
function plugin_uninstall_script_for_gallery_bank()
|
60 |
{
|
61 |
-
|
62 |
}
|
63 |
/*************************************************************************************/
|
64 |
function gallery_bank_plugin_load_text_domain()
|
@@ -126,7 +126,6 @@ function add_gallery_bank_icon($meta = TRUE)
|
|
126 |
}
|
127 |
function gallery_bank_banner()
|
128 |
{
|
129 |
-
|
130 |
echo'<div id="ux_buy_pro" class="updated">
|
131 |
<div class="gb_buy_pro">
|
132 |
<div class="gb_text_control">
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 3.0.18
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
/*************************************************************************************/
|
59 |
function plugin_uninstall_script_for_gallery_bank()
|
60 |
{
|
61 |
+
delete_option("gallery-bank-info-popup");
|
62 |
}
|
63 |
/*************************************************************************************/
|
64 |
function gallery_bank_plugin_load_text_domain()
|
126 |
}
|
127 |
function gallery_bank_banner()
|
128 |
{
|
|
|
129 |
echo'<div id="ux_buy_pro" class="updated">
|
130 |
<div class="gb_buy_pro">
|
131 |
<div class="gb_text_control">
|
lib/add-new-album-class.php
CHANGED
@@ -298,6 +298,11 @@ else
|
|
298 |
);
|
299 |
die();
|
300 |
}
|
|
|
|
|
|
|
|
|
|
|
301 |
}
|
302 |
}
|
303 |
function process_image_upload($image, $width, $height)
|
298 |
);
|
299 |
die();
|
300 |
}
|
301 |
+
else if ($_REQUEST["param"] == "update_option")
|
302 |
+
{
|
303 |
+
update_option("gallery-bank-info-popup", "no");
|
304 |
+
die();
|
305 |
+
}
|
306 |
}
|
307 |
}
|
308 |
function process_image_upload($image, $width, $height)
|
lib/gallery-bank-class.php
CHANGED
@@ -140,6 +140,7 @@ function backend_scripts_calls()
|
|
140 |
wp_enqueue_script("jquery");
|
141 |
wp_enqueue_script("jquery-ui-draggable");
|
142 |
wp_enqueue_script("jquery-ui-sortable");
|
|
|
143 |
wp_enqueue_script("farbtastic");
|
144 |
wp_enqueue_script("imgLiquid.js", GALLERY_BK_PLUGIN_URL . "/assets/js/imgLiquid.js");
|
145 |
wp_enqueue_script("jquery.dataTables.min.js", GALLERY_BK_PLUGIN_URL . "/assets/js/jquery.dataTables.min.js");
|
@@ -165,6 +166,7 @@ function frontend_plugin_js_scripts_gallery_bank()
|
|
165 |
function backend_css_calls()
|
166 |
{
|
167 |
wp_enqueue_style("farbtastic");
|
|
|
168 |
wp_enqueue_style("jquery.plupload.queue.css", GALLERY_BK_PLUGIN_URL . "/assets/css/jquery.plupload.queue.css");
|
169 |
wp_enqueue_style("stylesheet.css", GALLERY_BK_PLUGIN_URL . "/assets/css/stylesheet.css");
|
170 |
wp_enqueue_style("font-awesome.css", GALLERY_BK_PLUGIN_URL . "/assets/css/font-awesome/css/font-awesome.css");
|
140 |
wp_enqueue_script("jquery");
|
141 |
wp_enqueue_script("jquery-ui-draggable");
|
142 |
wp_enqueue_script("jquery-ui-sortable");
|
143 |
+
wp_enqueue_script("jquery-ui-dialog");
|
144 |
wp_enqueue_script("farbtastic");
|
145 |
wp_enqueue_script("imgLiquid.js", GALLERY_BK_PLUGIN_URL . "/assets/js/imgLiquid.js");
|
146 |
wp_enqueue_script("jquery.dataTables.min.js", GALLERY_BK_PLUGIN_URL . "/assets/js/jquery.dataTables.min.js");
|
166 |
function backend_css_calls()
|
167 |
{
|
168 |
wp_enqueue_style("farbtastic");
|
169 |
+
wp_enqueue_style("wp-jquery-ui-dialog");
|
170 |
wp_enqueue_style("jquery.plupload.queue.css", GALLERY_BK_PLUGIN_URL . "/assets/css/jquery.plupload.queue.css");
|
171 |
wp_enqueue_style("stylesheet.css", GALLERY_BK_PLUGIN_URL . "/assets/css/stylesheet.css");
|
172 |
wp_enqueue_style("font-awesome.css", GALLERY_BK_PLUGIN_URL . "/assets/css/font-awesome/css/font-awesome.css");
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Gallery-Bank,contact-banker
|
3 |
Tags: admin, album, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, gallery, gallery album, gallery bank, gallery wordpress plugin, grid gallery, image, image album, image slider, images, links, media, nextgen, page, pagination gallery, pagination portfolio, photo album, photo albums, photo gallery, photo slider, photos, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, post, posts, responsive gallery, seo image,sidebar, slideshow, thumbnails, videos, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to: 3.8.
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -46,7 +46,7 @@ It provides a powerful engine for uploading and managing galleries of images & v
|
|
46 |
|
47 |
Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
|
48 |
|
49 |
-
***April
|
50 |
`
|
51 |
<a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
|
52 |
|
@@ -223,6 +223,11 @@ With Global Settings, you can define different settings for Thumbnails, Albums,
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
226 |
= 3.0.17 =
|
227 |
|
228 |
* Language Updated - German
|
2 |
Contributors: Gallery-Bank,contact-banker
|
3 |
Tags: admin, album, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, gallery, gallery album, gallery bank, gallery wordpress plugin, grid gallery, image, image album, image slider, images, links, media, nextgen, page, pagination gallery, pagination portfolio, photo album, photo albums, photo gallery, photo slider, photos, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, post, posts, responsive gallery, seo image,sidebar, slideshow, thumbnails, videos, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 3.8.3
|
6 |
+
Stable tag: 3.0.18
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
46 |
|
47 |
Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
|
48 |
|
49 |
+
***April 16, 2014: We're happy to announce that Gallery Bank reached 107,700+ plugin downloads in only 11 months. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
|
50 |
`
|
51 |
<a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
|
52 |
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 3.0.18 =
|
227 |
+
|
228 |
+
* New Help Popup Introduced
|
229 |
+
* Compatiblity with 3.8.3
|
230 |
+
|
231 |
= 3.0.17 =
|
232 |
|
233 |
* Language Updated - German
|
views/dashboard.php
CHANGED
@@ -1,5 +1,44 @@
|
|
1 |
<?php
|
2 |
global $wpdb;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
$album = $wpdb->get_results
|
4 |
(
|
5 |
$wpdb->prepare
|
@@ -236,6 +275,34 @@
|
|
236 |
jQuery(".hovertip").tooltip();
|
237 |
jQuery(document).ready(function()
|
238 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
jQuery(".imgLiquidFill").imgLiquid({fill:true});
|
240 |
var oTable = jQuery("#data-table-album").dataTable
|
241 |
({
|
@@ -260,6 +327,14 @@ jQuery(document).ready(function()
|
|
260 |
allow_resize: true
|
261 |
});
|
262 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
function delete_album(album_id)
|
264 |
{
|
265 |
var r = confirm("<?php _e( "Are you sure you want to delete this Album?", gallery_bank ); ?>");
|
1 |
<?php
|
2 |
global $wpdb;
|
3 |
+
$popup = get_option("gallery-bank-info-popup");
|
4 |
+
if($popup == "")
|
5 |
+
{
|
6 |
+
?>
|
7 |
+
<ol id="gallery_bank_popup" title="Important First Steps" style="display:none;">
|
8 |
+
<li class="add_new_album" id="add_new_album">
|
9 |
+
<h4>Add New Album</h4>
|
10 |
+
<p>
|
11 |
+
Gallery Bank provides you a feature to add elegant and beautiful gallery albums with images and videos.
|
12 |
+
</p>
|
13 |
+
<a href="http://tech-banker.com/gallery-bank/documentation/" target="_blank" class="button gb_buttons">Read More</a>
|
14 |
+
</li>
|
15 |
+
<li class="shortcode" id="shortcode">
|
16 |
+
<h4>Implement Shortcode</h4>
|
17 |
+
<p>
|
18 |
+
Gallery Bank have 117 ways to display your galleries.</br> Just try out different
|
19 |
+
shortcode on your Wordpress Page or Post.
|
20 |
+
</p>
|
21 |
+
<a href="http://tech-banker.com/gallery-bank/documentation/frequently-asked-questions-shortcodes-gallery-bank/" target="_blank" class="button gb_buttons">Read More</a>
|
22 |
+
</li>
|
23 |
+
<li class="Upgrade" id="Upgrade">
|
24 |
+
<h4>Upgrade to Pro Version</h4>
|
25 |
+
<p>
|
26 |
+
Gallery Bank is an one time Investment. To enjoy full features of Gallery Bank,
|
27 |
+
Upgrade to Premium Version Now! Starting at 10£/- only.
|
28 |
+
</p>
|
29 |
+
<a href="http://tech-banker.com/gallery-bank" target="_blank" class="button gb_buttons">Upgrade Now</a>
|
30 |
+
</li>
|
31 |
+
<li class="help" id="help">
|
32 |
+
<h4>Help to Improve</h4>
|
33 |
+
<p>
|
34 |
+
Gallery Bank would like to collect anonymous data about features you use to help improve this plugin.
|
35 |
+
</p>
|
36 |
+
<a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank" class="button gb_buttons">Read More</a>
|
37 |
+
</li>
|
38 |
+
<a href="javascript:void(0);" onclick="close_popup()" class="gb_close_popup">Dismiss</a>
|
39 |
+
</ol>
|
40 |
+
<?php
|
41 |
+
}
|
42 |
$album = $wpdb->get_results
|
43 |
(
|
44 |
$wpdb->prepare
|
275 |
jQuery(".hovertip").tooltip();
|
276 |
jQuery(document).ready(function()
|
277 |
{
|
278 |
+
<?php
|
279 |
+
if($popup == "")
|
280 |
+
{
|
281 |
+
?>
|
282 |
+
jQuery("#gallery_bank_popup").dialog(
|
283 |
+
{
|
284 |
+
dialogClass: "wp-dialog gallery_bank_popup_box",
|
285 |
+
modal: true,
|
286 |
+
closeOnEscape: true,
|
287 |
+
title: gallery_bank_popup.title,
|
288 |
+
width: "auto",
|
289 |
+
resizable: true,
|
290 |
+
draggable: false,
|
291 |
+
create: function ( event, ui ) {
|
292 |
+
jQuery( this ).css( "maxWidth", "600px" );
|
293 |
+
},
|
294 |
+
close: function(event)
|
295 |
+
{
|
296 |
+
jQuery( "#gallery_bank_popup" ).dialog( "close" );
|
297 |
+
jQuery.post(ajaxurl, "param=update_option&action=add_new_album_library", function(data)
|
298 |
+
{
|
299 |
+
});
|
300 |
+
}
|
301 |
+
|
302 |
+
});
|
303 |
+
<?php
|
304 |
+
}
|
305 |
+
?>
|
306 |
jQuery(".imgLiquidFill").imgLiquid({fill:true});
|
307 |
var oTable = jQuery("#data-table-album").dataTable
|
308 |
({
|
327 |
allow_resize: true
|
328 |
});
|
329 |
});
|
330 |
+
function close_popup()
|
331 |
+
{
|
332 |
+
jQuery( "#gallery_bank_popup" ).dialog( "close" );
|
333 |
+
jQuery.post(ajaxurl, "param=update_option&action=add_new_album_library", function()
|
334 |
+
{
|
335 |
+
});
|
336 |
+
|
337 |
+
}
|
338 |
function delete_album(album_id)
|
339 |
{
|
340 |
var r = confirm("<?php _e( "Are you sure you want to delete this Album?", gallery_bank ); ?>");
|