Version Description
- Added Update Message for New Versions
- Changes in Few Files.
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.0.80 |
Comparing to | |
See all releases |
Code changes from version 2.0.79 to 2.0.80
- assets/css/stylesheet.css +13 -0
- contact-bank.php +28 -1
- readme.txt +6 -1
assets/css/stylesheet.css
CHANGED
@@ -3835,4 +3835,17 @@ li.active a, li.active a:hover
|
|
3835 |
.service-div-settings .desc p
|
3836 |
{
|
3837 |
line-height: 2em !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3838 |
}
|
3835 |
.service-div-settings .desc p
|
3836 |
{
|
3837 |
line-height: 2em !important;
|
3838 |
+
}
|
3839 |
+
|
3840 |
+
.framework_plugin_message
|
3841 |
+
{
|
3842 |
+
font-weight: 400;
|
3843 |
+
background: #d54d21;
|
3844 |
+
padding: 1em;
|
3845 |
+
margin: 10px 0;
|
3846 |
+
}
|
3847 |
+
.framework_plugin_message > p
|
3848 |
+
{
|
3849 |
+
color: #fff;
|
3850 |
+
margin: 0px !important;
|
3851 |
}
|
contact-bank.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -12,6 +12,7 @@ Author URI: http://tech-banker.com
|
|
12 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
13 |
if (!defined("CONTACT_BK_PLUGIN_DIR")) define("CONTACT_BK_PLUGIN_DIR", plugin_dir_path( __FILE__ ));
|
14 |
if (!defined("CONTACT_BK_PLUGIN_DIRNAME")) define("CONTACT_BK_PLUGIN_DIRNAME", plugin_basename(dirname(__FILE__)));
|
|
|
15 |
if (!defined("contact_bank")) define("contact_bank", "contact_bank");
|
16 |
if (!defined("tech_bank")) define("tech_bank", "tech-banker");
|
17 |
if (!defined("CONTACT_BK_PLUGIN_BASENAME")) define("CONTACT_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
|
@@ -896,6 +897,30 @@ function contact_bank_plugin_row($links,$file)
|
|
896 |
}
|
897 |
return (array)$links;
|
898 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
899 |
add_filter("plugin_row_meta","contact_bank_plugin_row", 10, 2 );
|
900 |
/*************************************************************************************/
|
901 |
add_action("admin_bar_menu", "add_contact_bank_icon",100);
|
@@ -917,5 +942,7 @@ add_shortcode("contact_bank", "contact_bank_short_code");
|
|
917 |
register_uninstall_hook(__FILE__,"plugin_uninstall_script_for_contact_bank");
|
918 |
|
919 |
add_action( "network_admin_menu", "create_global_menus_for_contact_bank" );
|
|
|
|
|
920 |
|
921 |
?>
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 2.0.80
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
12 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
13 |
if (!defined("CONTACT_BK_PLUGIN_DIR")) define("CONTACT_BK_PLUGIN_DIR", plugin_dir_path( __FILE__ ));
|
14 |
if (!defined("CONTACT_BK_PLUGIN_DIRNAME")) define("CONTACT_BK_PLUGIN_DIRNAME", plugin_basename(dirname(__FILE__)));
|
15 |
+
if (!defined("CONTACT_BK")) define("CONTACT_BK","contact-bank/contact-bank.php");
|
16 |
if (!defined("contact_bank")) define("contact_bank", "contact_bank");
|
17 |
if (!defined("tech_bank")) define("tech_bank", "tech-banker");
|
18 |
if (!defined("CONTACT_BK_PLUGIN_BASENAME")) define("CONTACT_BK_PLUGIN_BASENAME", plugin_basename(__FILE__));
|
897 |
}
|
898 |
return (array)$links;
|
899 |
}
|
900 |
+
//--------------------------------------------------------------------------------------------------------------//
|
901 |
+
// CODE FOR PLUGIN UPDATE MESSAGE
|
902 |
+
//--------------------------------------------------------------------------------------------------------------//
|
903 |
+
function contact_bank_plugin_update_message($args)
|
904 |
+
{
|
905 |
+
$response = wp_remote_get( 'http://plugins.svn.wordpress.org/contact-bank/trunk/readme.txt' );
|
906 |
+
if ( ! is_wp_error( $response ) && ! empty( $response['body'] ) )
|
907 |
+
{
|
908 |
+
// Output Upgrade Notice
|
909 |
+
$matches = null;
|
910 |
+
$regexp = '~==\s*Changelog\s*==\s*=\s*[0-9.]+\s*=(.*)(=\s*' . preg_quote($args['Version']) . '\s*=|$)~Uis';
|
911 |
+
$upgrade_notice = '';
|
912 |
+
if ( preg_match( $regexp, $response['body'], $matches ) ) {
|
913 |
+
$changelog = (array) preg_split('~[\r\n]+~', trim($matches[1]));
|
914 |
+
$upgrade_notice .= '<div class="framework_plugin_message">';
|
915 |
+
foreach ( $changelog as $index => $line ) {
|
916 |
+
$upgrade_notice .= "<p>".$line."</p>";
|
917 |
+
}
|
918 |
+
$upgrade_notice .= '</div> ';
|
919 |
+
echo $upgrade_notice;
|
920 |
+
}
|
921 |
+
}
|
922 |
+
}
|
923 |
+
|
924 |
add_filter("plugin_row_meta","contact_bank_plugin_row", 10, 2 );
|
925 |
/*************************************************************************************/
|
926 |
add_action("admin_bar_menu", "add_contact_bank_icon",100);
|
942 |
register_uninstall_hook(__FILE__,"plugin_uninstall_script_for_contact_bank");
|
943 |
|
944 |
add_action( "network_admin_menu", "create_global_menus_for_contact_bank" );
|
945 |
+
// in_plugin_update_message Hook called for function to check updates
|
946 |
+
add_action("in_plugin_update_message-".CONTACT_BK,"contact_bank_plugin_update_message" );
|
947 |
|
948 |
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
|
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -532,6 +532,11 @@ In order to set Shortcode for a Form, you need to follow these steps :
|
|
532 |
|
533 |
== Changelog ==
|
534 |
|
|
|
|
|
|
|
|
|
|
|
535 |
= 2.0.79 =
|
536 |
|
537 |
* Added Compatibility with Multisite WordPress
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
+
Stable tag: 2.0.80
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
532 |
|
533 |
== Changelog ==
|
534 |
|
535 |
+
= 2.0.80 =
|
536 |
+
|
537 |
+
* Added Update Message for New Versions
|
538 |
+
* Changes in Few Files.
|
539 |
+
|
540 |
= 2.0.79 =
|
541 |
|
542 |
* Added Compatibility with Multisite WordPress
|