Gallery Bank: WordPress Photo Gallery Plugin - Version 3.0.11

Version Description

  • Few Bugs Fixed
  • Removed Unwated Banners
Download this release

Release Info

Developer Gallery-Bank
Plugin Icon 128x128 Gallery Bank: WordPress Photo Gallery Plugin
Version 3.0.11
Comparing to
See all releases

Code changes from version 3.0.10 to 3.0.11

assets/css/stylesheet.css CHANGED
@@ -1,3 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .widget_premium_feature
2
  {
3
  color: #FF0000;
1
+ .gb_text_control
2
+ {
3
+ color: #FFF;
4
+ font-size: 15px;
5
+ line-height: 26px;
6
+ margin-top: 8px;
7
+ float: left;
8
+ width: auto;
9
+ margin-left: 10px;
10
+ }
11
+ .gb_buy_pro
12
+ {
13
+ cursor:pointer;
14
+ min-width: 800px;
15
+ border: 1px solid #1b6394;
16
+ padding: 5px;
17
+ margin: 12px 0;
18
+ background: #AE3A3A;
19
+ position: relative;
20
+ overflow: hidden;
21
+ }
22
+ .gb_text_control span {
23
+ font-size: 13px;
24
+ opacity: 0.8;
25
+
26
+ }
27
+ .gb_buy_pro .gb_message_buttons
28
+ {
29
+ float: right;
30
+ border: 1px solid #FF6D1E;
31
+ font-size: 13px;
32
+ margin: 12px;
33
+ padding: 4px 0;
34
+ color: #FFF;
35
+ text-shadow: 0 1px 3px #FF6D1E;
36
+ font-weight: bold;
37
+ background: #FF6D1E;
38
+ -moz-border-radius: 3px;
39
+ border-radius: 3px;
40
+ -webkit-border-radius: 3px;
41
+ text-decoration: none;
42
+ height: 35px;
43
+ text-align: center;
44
+ width: 110px;
45
+ -moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
46
+ -webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
47
+ box-shadow: 0px 1px 1px 0 #FF6D1E inset;
48
+
49
+ }
50
+ .gb_buy_pro .gb_message_buttons:hover, .gb_buy_pro .gb_message_buttons:focus
51
+ {
52
+ background: #FF6D1E;
53
+ color: #FFF;
54
+ border: 1px solid #FF6D1E;
55
+ -moz-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
56
+ -webkit-box-shadow: 0px 1px 1px 0 #FF6D1E inset;
57
+ box-shadow: 0px 1px 1px 0 #FF6D1E inset;
58
+ }
59
  .widget_premium_feature
60
  {
61
  color: #FF0000;
assets/images/gallery-bank-developer-edition.png DELETED
Binary file
assets/images/gallery-bank-eco-edition.png DELETED
Binary file
assets/images/gallery-bank-pro-edition.png DELETED
Binary file
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.10
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -124,11 +124,33 @@ function add_gallery_bank_icon($meta = TRUE)
124
  "title" => __("Purchase Pro Version", gallery_bank))
125
  );
126
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  $version = get_option("gallery-bank-pro-edition");
128
  if($version == "" || $version == "3.0")
129
  {
130
- add_action('admin_init', 'plugin_install_script_for_gallery_bank');
131
- }
 
 
 
 
 
 
132
  add_action("admin_bar_menu", "add_gallery_bank_icon", 100);
133
  add_action("plugins_loaded", "gallery_bank_plugin_load_text_domain");
134
  register_activation_hook(__FILE__, "plugin_install_script_for_gallery_bank");
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.11
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
124
  "title" => __("Purchase Pro Version", gallery_bank))
125
  );
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">
133
+ It\'s time to upgrade your <strong>Gallery Bank Standard Edition</strong> to <strong>Premium</strong> Edition!<br />
134
+ <span>Extend standard plugin functionality with 200+ awesome features! <br/>Go for Premium Version Now! Starting at <strong>10£/- only</strong></span>
135
+ </div>
136
+ <a class="button gb_message_buttons" href="admin.php?page=gallery_bank_purchase&msg=no">CLOSE</a>
137
+ <a class="button gb_message_buttons" target="_blank" href="http://wordpress.org/support/view/plugin-reviews/gallery-bank?filter=5">RATE US 5 ★</a>
138
+ <a class="button gb_message_buttons" target="_blank" href="http://tech-banker.com/gallery-bank/demo/">LIVE DEMO</a>
139
+ <a class="button gb_message_buttons" target="_blank" href="http://tech-banker.com/gallery-bank/">UPGRADE NOW</a>
140
+ </div>
141
+ </div>';
142
+ }
143
  $version = get_option("gallery-bank-pro-edition");
144
  if($version == "" || $version == "3.0")
145
  {
146
+ add_action("admin_init", "plugin_install_script_for_gallery_bank");
147
+ }
148
+ $show_banner = get_option("gallery-bank-banner");
149
+ if($show_banner == "")
150
+ {
151
+ add_action("admin_notices", "gallery_bank_banner",1);
152
+ }
153
+
154
  add_action("admin_bar_menu", "add_gallery_bank_icon", 100);
155
  add_action("plugins_loaded", "gallery_bank_plugin_load_text_domain");
156
  register_activation_hook(__FILE__, "plugin_install_script_for_gallery_bank");
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Gallery Bank ===
2
  Contributors: Gallery-Bank,contact-banker
3
- Tags: admin,best gallery plugin,comments,filterable gallery,gallery,gallery album,gallery wordpress plugin,grid gallery,image,images,links,page,pagination gallery,pagination portfolio,photo,photo albums,photos,picture,pictures,plugin,portfolio gallery,Post,posts,responsive gallery,sidebar,slideshow,thumbnails,videos,widget,wordpress gallery plugin,wp gallery,wp gallery plugin
4
  Requires at least: 3.3
5
  Tested up to: 3.8.1
6
- Stable tag: 3.0.10
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
- ***March 28, 2014: We're happy to announce that Gallery Bank reached 97,400+ plugin downloads in only 10 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
 
@@ -222,7 +222,12 @@ With Global Settings, you can define different settings for Thumbnails, Albums,
222
 
223
  == Changelog ==
224
 
225
- = 3.0.9 =
 
 
 
 
 
226
 
227
  * Few Bugs Fixed
228
  * New Language Added - Ukrainian
1
  === Gallery Bank ===
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.1
6
+ Stable tag: 3.0.11
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
+ ***March 31, 2014: We're happy to announce that Gallery Bank reached 99,000+ 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
 
222
 
223
  == Changelog ==
224
 
225
+ = 3.0.11 =
226
+
227
+ * Few Bugs Fixed
228
+ * Removed Unwated Banners
229
+
230
+ = 3.0.10 =
231
 
232
  * Few Bugs Fixed
233
  * New Language Added - Ukrainian
views/dashboard.php CHANGED
@@ -119,7 +119,7 @@
119
  <div class="separator-doubled"></div>
120
  <a rel="prettyPhoto[gallery]" href="<?php echo GALLERY_BK_PLUGIN_URL . "/assets/images/how-to-setup-short-code.png";?>">How to setup Short-Codes for Gallery Bank into your WordPress Page/Post?</a>
121
  <div class="fluid-layout">
122
- <div class="layout-span9">
123
  <div class="widget-layout">
124
  <div class="widget-layout-title">
125
  <h4><?php _e( "Existing Albums Overview", gallery_bank ); ?></h4>
@@ -132,8 +132,8 @@
132
  <th style="width:13%"><?php _e( "Title", gallery_bank ); ?></th>
133
  <th style="width:16%"><?php _e( "Total Images", gallery_bank ); ?></th>
134
  <th style="width:15%"><?php _e( "Date", gallery_bank ); ?></th>
135
- <th style="width:16%"><?php _e( "Short-Codes", gallery_bank ); ?></th>
136
- <th style="width:15%"></th>
137
  </tr>
138
  </thead>
139
  <tbody>
@@ -226,29 +226,6 @@
226
  </div>
227
  </div>
228
  </div>
229
- <div class="layout-span3">
230
- <div class="widget-layout">
231
- <div class="widget-layout-body" style="text-align: center">
232
- <a target="_blank" href="http://tech-banker.com/gallery-bank/">
233
- <img width="200px" src="<?php echo GALLERY_BK_PLUGIN_URL . "/assets/images/gallery-bank-eco-edition.png";?>"/>
234
- </a>
235
- </div>
236
- </div>
237
- <div class="widget-layout">
238
- <div class="widget-layout-body" style="text-align: center">
239
- <a target="_blank" href="http://tech-banker.com/gallery-bank/">
240
- <img width="200px" src="<?php echo GALLERY_BK_PLUGIN_URL . "/assets/images/gallery-bank-pro-edition.png";?>"/>
241
- </a>
242
- </div>
243
- </div>
244
- <div class="widget-layout">
245
- <div class="widget-layout-body" style="text-align: center">
246
- <a target="_blank" href="http://tech-banker.com/gallery-bank/">
247
- <img width="200px" src="<?php echo GALLERY_BK_PLUGIN_URL . "/assets/images/gallery-bank-developer-edition.png";?>"/>
248
- </a>
249
- </div>
250
- </div>
251
- </div>
252
  </div>
253
  </div>
254
  </div>
119
  <div class="separator-doubled"></div>
120
  <a rel="prettyPhoto[gallery]" href="<?php echo GALLERY_BK_PLUGIN_URL . "/assets/images/how-to-setup-short-code.png";?>">How to setup Short-Codes for Gallery Bank into your WordPress Page/Post?</a>
121
  <div class="fluid-layout">
122
+ <div class="layout-span12">
123
  <div class="widget-layout">
124
  <div class="widget-layout-title">
125
  <h4><?php _e( "Existing Albums Overview", gallery_bank ); ?></h4>
132
  <th style="width:13%"><?php _e( "Title", gallery_bank ); ?></th>
133
  <th style="width:16%"><?php _e( "Total Images", gallery_bank ); ?></th>
134
  <th style="width:15%"><?php _e( "Date", gallery_bank ); ?></th>
135
+ <th style="width:14%"><?php _e( "Short-Codes", gallery_bank ); ?></th>
136
+ <th style="width:17%"></th>
137
  </tr>
138
  </thead>
139
  <tbody>
226
  </div>
227
  </div>
228
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  </div>
230
  </div>
231
  </div>
views/purchase_pro_version.php CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <form id="gallery_bank_pricing" class="layout-form">
2
  <div class="fluid-layout">
3
  <div class="layout-span12">
1
+ <?php
2
+ if (isset($_REQUEST["msg"]))
3
+ {
4
+ if(esc_attr($_REQUEST["msg"]) == "no")
5
+ {
6
+ update_option("gallery-bank-banner", "no");
7
+ ?>
8
+ <style type="text/css" >
9
+ #ux_buy_pro
10
+ {
11
+ display:none;
12
+ }
13
+ </style>
14
+ <?php
15
+ }
16
+ }
17
+ ?>
18
  <form id="gallery_bank_pricing" class="layout-form">
19
  <div class="fluid-layout">
20
  <div class="layout-span12">