diff --git a/README.md b/README.md index 102df1f..34a207e 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,13 @@ ##WP AdZonia## WordPress Advertisement Manager Plugin
Version 1.2.1
-Developer: Mayeenul Islam (@mayeenulislam) +Developer: Mayeenul Islam (@mayeenulislam)
[**nano**designs](http://nanodesignsbd.com) A simplest and easiest Advertisement Manager Plugin for WordPress sites, and most astonishingly - it's in WordPress' way. You can call the advertisements into your template using a simple function: , or you can call the ad in anywhere using the shortcode: [wp-adzonia id="#"], or you can use the AdZonia widget into any widget-enabled area of your site. +A new feature is added in v1.2.1 as a *beta feature* that enables any ad to show in predefined areas directly from the admin panel, without any coding. *Isn't that cool!* + ###Screenshots### WP AdZonia - List of advertisements

List of advertisements

@@ -28,6 +30,7 @@ Thanks also to Shimul Islam, Tareq Hasan, Sisir Kanti Adhikari. And thanks also * Admin panel tabs for Image ad and Code ad * No-js elements are considered and implemented * Additional functions for more user-friendliness +* Show ad in predefined places *Beta Feature ####1.2#### * Completely Translation-ready diff --git a/assets/banner-1544x500.png b/assets/banner-1544x500.png index b398ed0..a694c49 100644 Binary files a/assets/banner-1544x500.png and b/assets/banner-1544x500.png differ diff --git a/assets/banner-772x250.png b/assets/banner-772x250.png index c6c37c1..805f79d 100644 Binary files a/assets/banner-772x250.png and b/assets/banner-772x250.png differ diff --git a/assets/screenshot-2.png b/assets/screenshot-2.png index 6630ad7..6367c7c 100644 Binary files a/assets/screenshot-2.png and b/assets/screenshot-2.png differ diff --git a/css/admin-style.css b/css/admin-style.css index 6db00e5..fff5188 100644 --- a/css/admin-style.css +++ b/css/admin-style.css @@ -1 +1 @@ -.text-center{text-align:center}.dead{color:grey}.required,.ad-inactive{color:#dd3d36}.orange{color:orange}.clearfix{clear:both}.row:before,.row:after{content:"";display:table}.row:after{clear:both}.adz-meta-table td{vertical-align:top}.adz-meta-div .p-icon{font-size:.8125rem;vertical-align:sub}.adz-label-td,.adz-info-td{min-width:80px;font-size:.8125rem}.adz-img-table .adz-info-td{width:80%}.adz-img-table input[type='text']#wpadz_ad_image{width:85%;margin-right:1%}.adz-info-td input[type='text'],.adz-info-td textarea{-webkit-border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;width:100%}.adz-info-td textarea#wpadz_ad_code{font-family:Consolas,Monaco,monospace}#adzonia-info{background:#f3f3f3}body.post-type-adzonia.post-new-php #postexcerpt.postbox{background:#f3f3f3}.adz-tooltip-icon{font-size:1.125rem;color:#999;position:relative;cursor:pointer}.adz-tooltip-icon:hover{color:#555}.adz-tooltip-icon:hover:after{content:attr(data-tooltip);position:absolute;background-color:rgba(0,0,0,0.6);color:#fff;padding:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px;-khtml-border-radius:10px;border-radius:10px;z-index:9999;white-space:normal;width:160px;top:-5px;left:20px;font-family:"Open Sans",sans-serif;font-size:.8125rem;line-height:1.2}#adzonia-tabs ul.tab-switches{margin:0;padding:0}#adzonia-tabs ul.tab-switches li{display:inline-block;float:left;border:solid 1px #ccc;font-size:.9rem;margin-bottom:0}#adzonia-tabs ul.tab-switches li:first-of-type{-webkit-border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-o-border-radius:5px 0 0 5px;-khtml-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px;border-right-width:0}#adzonia-tabs ul.tab-switches li:last-of-type{-webkit-border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-o-border-radius:0 5px 5px 0;-khtml-border-radius:0 5px 5px 0;border-radius:0 5px 5px 0;border-left-width:0}#adzonia-tabs ul.tab-switches li.ui-state-default{background-color:#dbdbdb}#adzonia-tabs ul.tab-switches li.ui-state-default a{color:#666;text-shadow:0 1px 0 #fff}#adzonia-tabs ul.tab-switches li.ui-tabs-active{background-color:#2ea2cc;border-color:#0074a2}#adzonia-tabs ul.tab-switches li.ui-tabs-active a{color:#fff;text-shadow:0 0 0 #fff}#adzonia-tabs ul.tab-switches li a{display:block;padding:5px 30px;text-decoration:none}#adzonia-tabs ul.tab-switches li a:focus{border:0;-webkit-box-shadow:0 0 0 #fff;-moz-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff}#adzonia-tabs .adzonia-tab-contents{padding-top:20px} \ No newline at end of file +.text-center{text-align:center}.dead{color:grey}.required,.ad-inactive{color:#dd3d36}.orange{color:orange}.clearfix{clear:both}.row:before,.row:after{content:"";display:table}.row:after{clear:both}.adzonia-left-column{float:left;width:78%}.adzonia-right-column{float:right;width:20%}@media(max-width:728px){.adzonia-left-column,.adzonia-right-column{float:none;clear:both;width:100%}}.adz-meta-table td{vertical-align:top}.adz-meta-div .p-icon{font-size:.8125rem;vertical-align:sub}.adz-label-td,.adz-info-td{min-width:80px;font-size:.8125rem}.adz-img-table .adz-info-td{width:80%}.adz-img-table input[type='text']#wpadz_ad_image{width:85%;margin-right:1%}.adz-info-td input[type='text'],.adz-info-td textarea{-webkit-border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;width:100%}.adz-info-td textarea#wpadz_ad_code{font-family:Consolas,Monaco,monospace}#adzonia-info{background:#f3f3f3}body.post-type-adzonia.post-new-php #postexcerpt.postbox{background:#f3f3f3}.adz-tooltip-icon{font-size:1.125rem;color:#999;position:relative;cursor:pointer}.adz-tooltip-icon:hover{color:#555}.adz-tooltip-icon:hover:after{content:attr(data-tooltip);position:absolute;background-color:rgba(0,0,0,0.6);color:#fff;padding:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px;-khtml-border-radius:10px;border-radius:10px;z-index:9999;white-space:normal;width:160px;top:-5px;left:20px;font-family:"Open Sans",sans-serif;font-size:.8125rem;line-height:1.2}#adzonia-tabs ul.tab-switches{margin:0;padding:0}#adzonia-tabs ul.tab-switches li{display:inline-block;float:left;border:solid 1px #ccc;font-size:.9rem;margin-bottom:0}#adzonia-tabs ul.tab-switches li:first-of-type{-webkit-border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-o-border-radius:5px 0 0 5px;-khtml-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px;border-right-width:0}#adzonia-tabs ul.tab-switches li:last-of-type{-webkit-border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-o-border-radius:0 5px 5px 0;-khtml-border-radius:0 5px 5px 0;border-radius:0 5px 5px 0;border-left-width:0}#adzonia-tabs ul.tab-switches li.ui-state-default{background-color:#dbdbdb}#adzonia-tabs ul.tab-switches li.ui-state-default a{color:#666;text-shadow:0 1px 0 #fff}#adzonia-tabs ul.tab-switches li.ui-tabs-active{background-color:#2ea2cc;border-color:#0074a2}#adzonia-tabs ul.tab-switches li.ui-tabs-active a{color:#fff;text-shadow:0 0 0 #fff}#adzonia-tabs ul.tab-switches li a{display:block;padding:5px 30px;text-decoration:none}#adzonia-tabs ul.tab-switches li a:focus{border:0;-webkit-box-shadow:0 0 0 #fff;-moz-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff}#adzonia-tabs .adzonia-tab-contents{padding-top:20px} \ No newline at end of file diff --git a/css/admin-style.less b/css/admin-style.less index 448938b..6a67075 100644 --- a/css/admin-style.less +++ b/css/admin-style.less @@ -31,6 +31,22 @@ .row:after{ clear: both; } +.adzonia-left-column{ + float: left; + width: 78%; +} +.adzonia-right-column{ + float: right; + width: 20%; +} +@media (max-width:728px){ + .adzonia-left-column, + .adzonia-right-column{ + float: none; + clear: both; + width: 100%; + } +} .adz-meta-table{ td{ vertical-align: top; diff --git a/dev/DEV-DIRECTIVES.md b/dev/DEV-DIRECTIVES.md index 81431cc..8fbaf81 100644 --- a/dev/DEV-DIRECTIVES.md +++ b/dev/DEV-DIRECTIVES.md @@ -1,9 +1,10 @@ #Direction for the Developers -NO NEED TO COPY the following files: +**NO NEED TO COPY** the following files: -- lessmixins.less -- adzonia-scripts.js (after changes just minify it and replace the js/adzonia-scripts.min.js) +- lessmixins.less +- adzonia-scripts.js (after changes just minify it and replace the js/adzonia-scripts.min.js) +--- **nano**designs
Dhaka
-[nanodesignsbd.com](http://nanodesignsbd.com) \ No newline at end of file +[**nano**designsbd.com](http://nanodesignsbd.com) \ No newline at end of file diff --git a/languages/wp-adzonia-bn_BD.po b/languages/wp-adzonia-bn_BD.po index 6c4dd62..fde428c 100644 --- a/languages/wp-adzonia-bn_BD.po +++ b/languages/wp-adzonia-bn_BD.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: WP AdZonia\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-02-10 13:49+0600\n" -"PO-Revision-Date: 2015-02-10 13:49+0600\n" +"POT-Creation-Date: 2015-02-10 21:00+0600\n" +"PO-Revision-Date: 2015-02-10 21:02+0600\n" "Last-Translator: Mayeenul Islam \n" "Language-Team: nanodesigns \n" "Language: bn_BD\n" @@ -21,10 +21,10 @@ msgstr "নির্দেশনা" #: ../manual/inner-manual.php:2 msgid "" -"Advertisements added using AdZonia, can be displayed in 3 alternative ways " +"Advertisements added using AdZonia, can be displayed in 4 alternative ways " "—" msgstr "" -"AdZonia ব্যবহার করে যোগ করা বিজ্ঞাপন ৩টি আলাদা পদ্ধতিতে দেখানো যেতে পারে —" +"AdZonia ব্যবহার করে যোগ করা বিজ্ঞাপন ৪টি আলাদা পদ্ধতিতে দেখানো যেতে পারে —" #: ../manual/inner-manual.php:4 msgid "" @@ -60,7 +60,20 @@ msgstr "" "( function_exists( "show_adzonia" ) ) show_adzonia( # ); ?>। শুধু বিজ্ঞাপনটির আইডি হ্যাশ-এর (#) স্থলে বসিয়ে নিন।" -#: ../manual/inner-manual.php:8 +#: ../manual/inner-manual.php:7 +msgid "" +"Predefined Areas — a new beta feature is " +"added to show advertisement in predefined areas, directly from the admin " +"panel without any coding. Just you have to set the location where " +"you want to show the ad. (it's an additional feature all the 3 above)" +msgstr "" +"পূর্বনির্ধারিত স্থানে — একটি নতুন বেটা ফিচার যোগ " +"করা হয়েছে, যাতে পূর্বনির্ধারিত স্থানসমূহে অ্যাডমিন প্যানেল থেকে সরাসরি বিজ্ঞাপন " +"দেখানো যাবে, কোনো কোড না করেই। শুধু আপনাকে বিজ্ঞাপনটি কোথায় দেখাতে চান, তার " +"স্থানটি বাছাই করে দিতে হবে। (এটি উপরের তিনটি পদ্ধতির পাশাপাশি অতিরিক্ত একটি " +"ফিচার)" + +#: ../manual/inner-manual.php:9 msgid "" "For more detailed instructions see our AdZonia GitHub manual. To " @@ -103,8 +116,12 @@ msgstr "" "এই সেটিংগুলো ছাড়াও আপনার বিজ্ঞাপন দারুণ কাজ করবে।

" #: ../wp-adzonia.php:124 -msgid "check the box to load AdZonia CSS into the site's front-end" -msgstr "ওয়েবসাইটের ফ্রন্ট-এন্ডে AdZonia সিএসএস লোড করতে টিকচিহ্ন দিন" +msgid "" +"check the box to show Ads as inline element rather block element. It will " +"load AdZonia CSS into the site's front-end" +msgstr "" +"বিজ্ঞাপনগুলোকে ব্লক এলিমেন্ট হিসেবে না দেখিয়ে ইনলাইন এলিমেন্ট হিসেবে দেখাতে হলে " +"ওয়েবসাইটের ফ্রন্ট-এন্ডে AdZonia সিএসএস লোড করতে টিকচিহ্ন দিন" #: ../wp-adzonia.php:129 msgid "" @@ -119,88 +136,88 @@ msgstr "" msgid "Load jQuery from plugin" msgstr "প্লাগইন থেকে জেকুয়েরি লোড করুন" -#: ../wp-adzonia.php:219 ../wp-adzonia.php:220 ../wp-adzonia.php:230 -#: ../wp-adzonia.php:607 +#: ../wp-adzonia.php:236 ../wp-adzonia.php:237 ../wp-adzonia.php:247 +#: ../wp-adzonia.php:679 msgid "AdZonia" msgstr "AdZonia" -#: ../wp-adzonia.php:221 ../wp-adzonia.php:224 +#: ../wp-adzonia.php:238 ../wp-adzonia.php:241 msgid "New AdZonia" msgstr "নতুন AdZonia" -#: ../wp-adzonia.php:222 +#: ../wp-adzonia.php:239 msgid "Add New AdZonia" msgstr "নতুন AdZonia যোগ" -#: ../wp-adzonia.php:223 +#: ../wp-adzonia.php:240 msgid "Edit AdZonia" msgstr "AdZonia সম্পাদনা" -#: ../wp-adzonia.php:225 +#: ../wp-adzonia.php:242 msgid "View AdZonia" msgstr "AdZonia দেখাও" -#: ../wp-adzonia.php:226 +#: ../wp-adzonia.php:243 msgid "Search AdZonia" msgstr "AdZonia অনুসন্ধান" -#: ../wp-adzonia.php:227 +#: ../wp-adzonia.php:244 msgid "No AdZonia is created yet. Try making one first" msgstr "কোনো AdZonia তৈরি করা হয়নি। আগে একটা তৈরি করা যাক" -#: ../wp-adzonia.php:228 +#: ../wp-adzonia.php:245 msgid "No AdZonia found in Trash" msgstr "ময়লার ঝুড়িতে কোনো AdZonia পাওয়া যায়নি" -#: ../wp-adzonia.php:229 +#: ../wp-adzonia.php:246 msgid "Parent AdZonia:" msgstr "শীর্ষ AdZonia:" -#: ../wp-adzonia.php:269 +#: ../wp-adzonia.php:286 msgid "AdZonia Specification" msgstr "AdZonia বৃত্তান্ত" -#: ../wp-adzonia.php:283 +#: ../wp-adzonia.php:300 msgid "Ad Image" msgstr "ছবি বিজ্ঞাপন" -#: ../wp-adzonia.php:284 +#: ../wp-adzonia.php:301 msgid "Add an image if you wish to show an image ad" msgstr "একটি ছবি যোগ করুন যদি আপনি ছবি বিজ্ঞাপন (ব্যানার বিজ্ঞাপন) দেখাতে চান" -#: ../wp-adzonia.php:289 +#: ../wp-adzonia.php:306 msgid "Ad Code" msgstr "কোড বিজ্ঞাপন" -#: ../wp-adzonia.php:290 +#: ../wp-adzonia.php:307 msgid "If your ad is a Code-ad, then write down the code here" msgstr "যদি আপনি কোড বিজ্ঞাপন দিতে চান, তাহলে কোড এখানে লিখুন, কিংবা পেস্ট করুন" -#: ../wp-adzonia.php:295 +#: ../wp-adzonia.php:312 msgid "End Date" msgstr "শেষ তারিখ" -#: ../wp-adzonia.php:296 +#: ../wp-adzonia.php:313 msgid "Choose a date until when the ad will be visible" msgstr "যে তারিখ পর্যন্ত বিজ্ঞাপনটি দেখাতে চান, সেই তারিখটি বাছাই করুন" -#: ../wp-adzonia.php:301 +#: ../wp-adzonia.php:318 msgid "Target URL" msgstr "লক্ষ্য ইউআরএল" -#: ../wp-adzonia.php:302 +#: ../wp-adzonia.php:319 msgid "Enter the URL, to where the ad will direct the viewer after clicking" msgstr "বিজ্ঞাপনে ক্লিক করলে দর্শক যেখানে যাবে, সেই লিংকটি এখানে লিখুন" -#: ../wp-adzonia.php:307 +#: ../wp-adzonia.php:324 msgid "Location" msgstr "স্থান" -#: ../wp-adzonia.php:308 +#: ../wp-adzonia.php:325 msgid "Choose a location to show the ad in predefined areas" msgstr "পূর্বনির্ধারিত স্থানে বিজ্ঞাপনটি দেখাতে এখান থেকে বাছাই করুন" -#: ../wp-adzonia.php:333 +#: ../wp-adzonia.php:350 msgid "" "Either create an Image ad (), or a Code ad " @@ -213,35 +230,47 @@ msgstr "" "করুন। দুটোর মিশেল আসলে কাজে আসবে না, দুঃখিত।
\n" " লক্ষ করুন: \"লক্ষ্য ইউআরএল\" শুধুমাত্র ছবি বিজ্ঞাপন-এর ক্ষেত্রে প্রযোজ্য।" -#: ../wp-adzonia.php:470 +#: ../wp-adzonia.php:530 msgid "ID" msgstr "আইডি" -#: ../wp-adzonia.php:471 +#: ../wp-adzonia.php:531 msgid "Preview" msgstr "প্রাকদর্শন" -#: ../wp-adzonia.php:473 +#: ../wp-adzonia.php:533 msgid "Until" msgstr "পর্যন্ত" -#: ../wp-adzonia.php:474 +#: ../wp-adzonia.php:534 msgid "Shortcode" msgstr "শর্টকোড" -#: ../wp-adzonia.php:608 +#: ../wp-adzonia.php:622 +msgid "" +"WARNING: Assigned ad is expired! Extend the term " +"or Delete it." +msgstr "" +"লক্ষ করুন: নির্ধারিত বিজ্ঞাপনটি মেয়াদোত্তীর্ণ হয়ে গেছে! সময় " +"বাড়িয়ে দিন কিংবা মুছে ফেলুন।" + +#: ../wp-adzonia.php:628 +msgid "Sorry! No such Ad exists!" +msgstr "দুঃখিত! এরকম কোনো বিজ্ঞাপন নেই!" + +#: ../wp-adzonia.php:680 msgid "AdZonia widget to call the advertisement easily." msgstr "সহজে বিজ্ঞাপন দেখাতে AdZonia উইজেট ব্যবহার করুন।" -#: ../wp-adzonia.php:638 +#: ../wp-adzonia.php:710 msgid "Title:" msgstr "শিরোনাম:" -#: ../wp-adzonia.php:642 +#: ../wp-adzonia.php:714 msgid "Advertisements:" msgstr "বিজ্ঞাপনসমূহ:" -#: ../wp-adzonia.php:644 +#: ../wp-adzonia.php:716 msgid "Choose one..." msgstr "বেছে নিন..." diff --git a/manual/inner-manual.php b/manual/inner-manual.php index 3bb3479..602a32c 100644 --- a/manual/inner-manual.php +++ b/manual/inner-manual.php @@ -1,8 +1,9 @@

-

+

AdZonia GitHub manual. To reduce the plugin size we shifted the manual there.', 'wp-adzonia' ); ?>

\ No newline at end of file diff --git a/wp-adzonia.php b/wp-adzonia.php index 3216972..70cf437 100644 --- a/wp-adzonia.php +++ b/wp-adzonia.php @@ -64,12 +64,20 @@ function adzonia_settings_page_callback() {

-
- - - -
- +
+
+ + + +
+
+ +
+ +
+ +
+
"; + echo " "; } // Troubleshoot Section