WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 7.0.4.1

Version Description

  • Added "Server Connectivity" section to Advanced Settings
  • Cleaned up localization strings
  • Fixed conflict with Modernizer
Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 7.0.4.1
Comparing to
See all releases

Code changes from version 7.0.3.6 to 7.0.4.1

assets/css/main.css CHANGED
@@ -3,6 +3,10 @@ body {
3
  font-family: sans-serif;
4
  }
5
 
 
 
 
 
6
  #app_settings{
7
  padding-top:20px;
8
  }
@@ -12,13 +16,13 @@ fieldset {
12
  margin: 5px;
13
  padding: 10px;
14
  color: #666666;
15
- line-height: 3em;
16
  font-size: 12px;
17
  float:left;
18
  }
19
 
20
  .app {
21
  width:100%;
 
22
  }
23
 
24
  .app h2 {
@@ -364,4 +368,31 @@ margin: 10px 0px;
364
  background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
365
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
366
  background-color:#f6f6f6;
367
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  font-family: sans-serif;
4
  }
5
 
6
+ .canvas {
7
+ display: block;
8
+ }
9
+
10
  #app_settings{
11
  padding-top:20px;
12
  }
16
  margin: 5px;
17
  padding: 10px;
18
  color: #666666;
 
19
  font-size: 12px;
20
  float:left;
21
  }
22
 
23
  .app {
24
  width:100%;
25
+ line-height: 3em;
26
  }
27
 
28
  .app h2 {
368
  background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
369
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
370
  background-color:#f6f6f6;
371
+ }
372
+
373
+
374
+ .key-status {
375
+ padding: 0.4em 1em;
376
+ color: #fff;
377
+ text-align: center;
378
+ -webkit-border-radius: 3px;
379
+ border-radius: 3px;
380
+ border-width: 1px;
381
+ border-style: solid;
382
+ text-shadow: 0px 1px 0px rgba(0,0,0,0.4);
383
+ }
384
+
385
+ .key-description {
386
+ line-height: 1.6em;
387
+ margin-top:10px;
388
+ }
389
+
390
+ .key-status.failed {
391
+ background-color: #EB5353;
392
+ border: 1px solid #e62525;
393
+ }
394
+
395
+ .key-status.passed {
396
+ background-color: #45a147;
397
+ border: 1px solid #1E8520;
398
+ }
languages/readme.txt CHANGED
@@ -13,6 +13,7 @@ Instructions: https://shareaholic.com/tools/wordpress/translate
13
  * English (en)
14
  * Simplified Chinese (zh_CN) by [Larry Zhang](http://zhxl.me)
15
  * Greek (el) by [Takis Bouyouris](http://www.nevma.gr)
 
16
  * Contribute a translation!
17
 
18
  == Notes ==
13
  * English (en)
14
  * Simplified Chinese (zh_CN) by [Larry Zhang](http://zhxl.me)
15
  * Greek (el) by [Takis Bouyouris](http://www.nevma.gr)
16
+ * German (de) by Lothar Schiborr
17
  * Contribute a translation!
18
 
19
  == Notes ==
languages/shareaholic-el_EL.mo ADDED
Binary file
languages/shareaholic-el_EL.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 Shareaholic | share buttons, analytics, related content
2
+ # This file is distributed under the same license as the Shareaholic | share buttons, analytics, related content package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Shareaholic | share buttons, analytics, related content "
6
+ "7.0.0.8\n"
7
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/shareaholic\n"
8
+ "POT-Creation-Date: 2013-07-09 22:02:07+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2013-07-29 15:28+0200\n"
13
+ "Last-Translator: Takis Bouyouris <takis@nevma.gr>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+
17
+ #: admin.php:258
18
+ msgid "Settings successfully saved"
19
+ msgstr "Οι ρυθμίσεις έχουν αποθηκευτεί με επιτυχία"
20
+
21
+ #: templates/advanced_settings.php:3
22
+ msgid "Shareaholic: Advanced Settings"
23
+ msgstr "Shareaholic: Λεπτομερείς Ρυθμίσεις"
24
+
25
+ #: templates/advanced_settings.php:5
26
+ msgid "You rarely should need to edit the settings on this page."
27
+ msgstr ""
28
+ "Η ανάγκη να επεξεργαστείτε τις ρυθμίσεις σε αυτή τη σελίδα είναι πολύ σπάνια."
29
+
30
+ #: templates/advanced_settings.php:15
31
+ msgid "Disable Analytics"
32
+ msgstr "Απενεργοποιήστε τα Στατιστικά"
33
+
34
+ #: templates/advanced_settings.php:15
35
+ msgid "(it is recommended NOT to disable analytics)"
36
+ msgstr "(συνίσταται να ΜΗΝ απενεργοποιήσετε τα στατιστικά)"
37
+
38
+ #: templates/advanced_settings.php:21
39
+ msgid "Do not automatically include <code>Open Graph</code> tags"
40
+ msgstr "Μην συμπεριλάβετε αυτόματα τα tags του <code>Open Graph</code>"
41
+
42
+ #: templates/advanced_settings.php:21
43
+ msgid "(it is recommended NOT to disable open graph tags)"
44
+ msgstr "(συνίσταται να ΜΗΝ απενεργοποιήσετε τα tags του open graph)"
45
+
46
+ #: templates/advanced_settings.php:26 templates/settings.php:71
47
+ msgid "Save Changes"
48
+ msgstr "Αποθήκευση αλλαγών"
49
+
50
+ #: templates/deprecation_warnings.php:6
51
+ msgid ""
52
+ "is being deprecated. Please update the code found in the following files:"
53
+ msgstr ""
54
+ "συνίσταται να μην χρησιμοποιείται πια. Παρακαλούμε ανανεώστε τον κώδικα στις "
55
+ "παρακάτω γραμμές:"
56
+
57
+ #: templates/failed_to_create_api_key.php:6
58
+ #: templates/terms_of_service_notice.php:6
59
+ msgid ""
60
+ "Action required: You've installed Shareaholic for WordPress. We're ready "
61
+ "when you are. %sGet started now &raquo;%s"
62
+ msgstr ""
63
+ "Δώστε προσοχή εδώ: Το Shareaholic για το WordPress έχει εγκατασταθεί. Είστε "
64
+ "έτοιμοι. %sΞεκινήστε τώρα &raquo;%s"
65
+
66
+ #: templates/failed_to_create_api_key_modal.php:2
67
+ msgid "Setup Shareaholic"
68
+ msgstr "Ρυθμίστε το Shareaholic"
69
+
70
+ #: templates/failed_to_create_api_key_modal.php:7
71
+ msgid ""
72
+ "It appears that we are having some trouble setting up Shareaholic for "
73
+ "WordPress right now. This is usually temporary. Please revisit this section "
74
+ "after a few minutes or click \"retry\" now."
75
+ msgstr ""
76
+ "Παρουσιάστηκε κάποιο πρόβλημα κατά τη ρύθμιση του Shareaholic για το "
77
+ "WordPress. Συνήθως αυτό είναι προσωρινό. Παρακαλούμε επισκεφθείτε αυτή την "
78
+ "περιοχή σε μερικά λεπτά ή πανήστε \"Προσπαθήστε ξανά\" τώρα."
79
+
80
+ #: templates/failed_to_create_api_key_modal.php:12
81
+ msgid "Retry"
82
+ msgstr "Προσπαθήστε ξανά"
83
+
84
+ #: templates/failed_to_create_api_key_modal.php:14
85
+ msgid "or, try again later"
86
+ msgstr "ή προσπαθήστε ξανά αργότερα"
87
+
88
+ #: templates/footer.php:8
89
+ msgid ""
90
+ "If you like our work, show some love and %sgive us a good rating%s. Made "
91
+ "with much love in Boston, Massachusetts."
92
+ msgstr ""
93
+ "Αν σας αρέσει η δουλειά μας, τότε δείξτε μας την αγάπη σας και %δώστε μας "
94
+ "μια καλή βαθμολογία%s. Κατασκευάστηκε στη Βοστώνη της Μασσαχουσέττης με πολύ "
95
+ "αγάπη."
96
+
97
+ #: templates/meta_boxes.php:6
98
+ msgid "Hide Share Buttons"
99
+ msgstr "Κρύψτε τα κουμπιά για το share"
100
+
101
+ #: templates/meta_boxes.php:16
102
+ msgid "Hide Related Content"
103
+ msgstr "Κρύψτε το Σχετικό Περιεχόμενο"
104
+
105
+ #: templates/meta_boxes.php:26
106
+ msgid "Do not include Open Graph tags"
107
+ msgstr "Μη συμπεριλάβετε τα tags για το Open Graph"
108
+
109
+ #: templates/settings.php:3
110
+ msgid "Shareaholic: Available Apps"
111
+ msgstr "Shareaholic: Διαθέσιμες Εφαρμογές"
112
+
113
+ #: templates/settings.php:19
114
+ msgid "Share Buttons"
115
+ msgstr "Κουμπιά για share"
116
+
117
+ #: templates/settings.php:46
118
+ msgid "Related Content / Recommendations"
119
+ msgstr "Σχετικό Περιεχόμενο / Προτάσεις"
120
+
121
+ #: templates/terms_of_service_modal.php:2
122
+ msgid "Thanks for Installing"
123
+ msgstr "Ευχαριστούμε που το Εγκαταστήσατε"
124
+
125
+ #: templates/terms_of_service_modal.php:4
126
+ msgid ""
127
+ "%sShareaholic%s gives you the essential tools you need to become a "
128
+ "successful publisher."
129
+ msgstr ""
130
+ "Το %sShareaholic%s σας παρέχει τα απαραίτητα εργαλεία για να γίνετε ένας "
131
+ "επιτυχημένεος εκδότης."
132
+
133
+ #: templates/terms_of_service_modal.php:8
134
+ msgid ""
135
+ "%sShare buttons%s let your readers post your content to their favorite "
136
+ "networks."
137
+ msgstr ""
138
+ "Τα κουμπιά για το %sShare%s επιτρέπουν στους αναγνώστες σας να κάνουν post "
139
+ "το περιεχόμενό σας στα αγαπημένα τους social networks."
140
+
141
+ #: templates/terms_of_service_modal.php:12
142
+ msgid ""
143
+ "%sRelated content%s keeps people on your site and turns visitors into "
144
+ "readers."
145
+ msgstr ""
146
+ "Το %sΣχετικό Περιεχόμενο%s κάνεις τους χρήστες σας να επανέρχονται στην "
147
+ "ιστοσελίδα σας και τους μετατρέπει σε αναγνώστες σας."
148
+
149
+ #: templates/terms_of_service_modal.php:16
150
+ msgid ""
151
+ "%sAnalytics%s gives you the insight to create tailored content and grow your "
152
+ "site."
153
+ msgstr ""
154
+ "Τα %sΣτατιστικά%s σας δίνουν τη δυνατότητα να δημιουργείτε εξειδικευμένο "
155
+ "περιεχόμενο και να ανπτύσσετε την ιστοσελίδα σας."
156
+
157
+ #: templates/terms_of_service_modal.php:20
158
+ msgid "Get Started"
159
+ msgstr "Ξεκινήστε"
160
+
161
+ #: templates/terms_of_service_modal.php:21
162
+ msgid ""
163
+ "By clicking \"Get Started\" you agree to Shareholic's %sTerms of Service%s "
164
+ "and %sPrivacy Policy%s."
165
+ msgstr ""
166
+ "Πατώντας \"Ξεκινήστε\" συμφωνείτε στους %sΌρους Χρήσης%s και την %sΠολιτική "
167
+ "Εμπιστευτικότητας%s του Shareaholic."
168
+
169
+ #: templates/why_to_sign_up.php:104
170
+ msgid "Edit General Website Settings"
171
+ msgstr "Επεξεργασία Γενικών Ρυθμίσεων Ιστοσελίδας"
172
+
173
+ #: utilities.php:81
174
+ msgid "Settings"
175
+ msgstr "Ρυθμίσεις"
176
+
177
+ #. Plugin Name of the plugin/theme
178
+ msgid "Shareaholic | share buttons, analytics, related content"
179
+ msgstr "Shareaholic | κουμπιά για share, στατιστικά, σχετικό περιεχόμενο"
180
+
181
+ #. Plugin URI of the plugin/theme
182
+ msgid "https://shareaholic.com/publishers/"
183
+ msgstr "https://shareaholic.com/publishers/"
184
+
185
+ #. Description of the plugin/theme
186
+ msgid ""
187
+ "Whether you want to get people sharing, grow your fans, make money, or know "
188
+ "who's reading your content, Shareaholic will help you get it done. See <a "
189
+ "href=\"admin.php?page=shareaholic-settings\">configuration panel</a> for "
190
+ "more settings."
191
+ msgstr ""
192
+ "Παρακινήστε τους χρήστες σας να κάνουν share το περιεχόμενό σας, αναπτύξτε "
193
+ "τη βάση των χρηστών σας, παρακολουθήστε ποιος διαβάζει το περιεχόμενό σας. "
194
+ "Με το Shareaholic θα το καταφέρετε. Πηγαίνεται στην <a href=\"admin.php?"
195
+ "page=shareaholic-settings\">κεντρική οθόνη</a> για περισσότερες ρυθμίσεις."
196
+
197
+ #. Author of the plugin/theme
198
+ msgid "Shareaholic"
199
+ msgstr "Shareaholic"
200
+
201
+ #. Author URI of the plugin/theme
202
+ msgid "https://shareaholic.com"
203
+ msgstr "https://shareaholic.com"
languages/shareaholic-fr_FR.po ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Shareaholic | share buttons, analytics, related content v7.0.3.6\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-09-06 23:43:15+0000\n"
7
+ "Last-Translator: admin <jay@shareaholic.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-Country: FRANCE\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
+ "X-Poedit-Basepath: ../\n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
languages/shareaholic-it_IT.po ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Shareaholic | share buttons, analytics, related content v7.0.3.6\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-09-06 23:44:26+0000\n"
7
+ "Last-Translator: admin <jay@shareaholic.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: Italian\n"
15
+ "X-Poedit-Country: ITALY\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
+ "X-Poedit-Basepath: ../\n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #: admin.php:230
24
+ #: admin.php:297
25
+ #@ shareaholic
26
+ msgid "Settings successfully saved"
27
+ msgstr ""
28
+
29
+ #: admin.php:291
30
+ #@ shareaholic
31
+ msgid "Settings successfully reset. Refresh this page to complete the reset."
32
+ msgstr ""
33
+
34
+ #: templates/advanced_settings.php:3
35
+ #@ default
36
+ msgid "Shareaholic: Advanced Settings"
37
+ msgstr ""
38
+
39
+ #: templates/advanced_settings.php:7
40
+ #@ shareaholic
41
+ msgid "You rarely should need to edit the settings on this page."
42
+ msgstr ""
43
+
44
+ #: templates/advanced_settings.php:7
45
+ #@ shareaholic
46
+ msgid "After changing any Shareaholic advanced setting, it is good practice to clear any WordPress caching plugins (if you are using one, like W3 Total Cache or WP Super Cache)."
47
+ msgstr ""
48
+
49
+ #: templates/advanced_settings.php:14
50
+ #@ default
51
+ msgid "Advanced"
52
+ msgstr ""
53
+
54
+ #: templates/advanced_settings.php:19
55
+ #@ shareaholic
56
+ msgid "Disable Analytics"
57
+ msgstr ""
58
+
59
+ #: templates/advanced_settings.php:19
60
+ #@ shareaholic
61
+ msgid "(it is recommended NOT to disable analytics)"
62
+ msgstr ""
63
+
64
+ #: templates/advanced_settings.php:25
65
+ #@ shareaholic
66
+ msgid "Do not automatically include <code>Open Graph</code> tags"
67
+ msgstr ""
68
+
69
+ #: templates/advanced_settings.php:25
70
+ #@ shareaholic
71
+ msgid "(it is recommended NOT to disable open graph tags)"
72
+ msgstr ""
73
+
74
+ #: templates/advanced_settings.php:28
75
+ #: templates/settings.php:90
76
+ #@ shareaholic
77
+ msgid "Saving Changes..."
78
+ msgstr ""
79
+
80
+ #: templates/advanced_settings.php:28
81
+ #: templates/settings.php:90
82
+ #@ shareaholic
83
+ msgid "Save Changes"
84
+ msgstr ""
85
+
86
+ #: templates/advanced_settings.php:36
87
+ #@ default
88
+ msgid "Server Connectivity"
89
+ msgstr ""
90
+
91
+ #: templates/advanced_settings.php:38
92
+ #@ default
93
+ msgid "All Shareaholic servers are reachable"
94
+ msgstr ""
95
+
96
+ #: templates/advanced_settings.php:39
97
+ #@ default
98
+ msgid "Shareaholic should be working correctly. All Shareaholic servers are accessible."
99
+ msgstr ""
100
+
101
+ #: templates/advanced_settings.php:41
102
+ #@ default
103
+ msgid "Unable to reach any Shareaholic server"
104
+ msgstr ""
105
+
106
+ #: templates/advanced_settings.php:41
107
+ #@ shareaholic
108
+ msgid "Checking..."
109
+ msgstr ""
110
+
111
+ #: templates/advanced_settings.php:41
112
+ #@ default
113
+ msgid "Re-check"
114
+ msgstr ""
115
+
116
+ #: templates/advanced_settings.php:42
117
+ #, php-format
118
+ #@ default
119
+ msgid "A network problem or firewall is blocking all connections from your web server to Shareaholic.com. <strong>Shareaholic cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href=\"%s\" target=\"_blank\">this information about Shareaholic and firewalls</a>. Let us <a href=\"#\" onclick=\"%s\">know</a> too, so we can follow up!"
120
+ msgstr ""
121
+
122
+ #: templates/advanced_settings.php:52
123
+ #@ default
124
+ msgid "Reset"
125
+ msgstr ""
126
+
127
+ #: templates/advanced_settings.php:53
128
+ #@ shareaholic
129
+ msgid "This will reset all of your settings and start you from scratch. This can not be undone."
130
+ msgstr ""
131
+
132
+ #: templates/advanced_settings.php:55
133
+ #@ shareaholic
134
+ msgid "Resetting Plugin..."
135
+ msgstr ""
136
+
137
+ #: templates/advanced_settings.php:55
138
+ #@ shareaholic
139
+ msgid "Reset Plugin"
140
+ msgstr ""
141
+
142
+ #: templates/deprecation_warnings.php:6
143
+ #@ shareaholic
144
+ msgid "will be deprecated SOON. Please update the code found in the following files at your convenience:"
145
+ msgstr ""
146
+
147
+ #: templates/failed_to_create_api_key.php:6
148
+ #: templates/terms_of_service_notice.php:6
149
+ #, php-format
150
+ #@ shareaholic
151
+ msgid "Action required: You've installed Shareaholic for WordPress. We're ready when you are. %sGet started now &raquo;%s"
152
+ msgstr ""
153
+
154
+ #: templates/failed_to_create_api_key_modal.php:2
155
+ #@ shareaholic
156
+ msgid "Setup Shareaholic"
157
+ msgstr ""
158
+
159
+ #: templates/failed_to_create_api_key_modal.php:7
160
+ #@ shareaholic
161
+ msgid "It appears that we are having some trouble setting up Shareaholic for WordPress right now. This is usually temporary. Please revisit this section after a few minutes or click \"retry\" now."
162
+ msgstr ""
163
+
164
+ #: templates/failed_to_create_api_key_modal.php:12
165
+ #@ shareaholic
166
+ msgid "Retry"
167
+ msgstr ""
168
+
169
+ #: templates/failed_to_create_api_key_modal.php:14
170
+ #@ shareaholic
171
+ msgid "or, try again later"
172
+ msgstr ""
173
+
174
+ #: templates/footer.php:8
175
+ #, php-format
176
+ #@ shareaholic
177
+ msgid "If you like our work, show some love and %sgive us a good rating%s. Made with much love in Boston, Massachusetts."
178
+ msgstr ""
179
+
180
+ #: templates/meta_boxes.php:6
181
+ #@ shareaholic
182
+ msgid "Hide Share Buttons"
183
+ msgstr ""
184
+
185
+ #: templates/meta_boxes.php:16
186
+ #@ shareaholic
187
+ msgid "Hide Related Content"
188
+ msgstr ""
189
+
190
+ #: templates/meta_boxes.php:26
191
+ #@ shareaholic
192
+ msgid "Do not include Open Graph tags"
193
+ msgstr ""
194
+
195
+ #: templates/settings.php:3
196
+ #@ shareaholic
197
+ msgid "Shareaholic: Available Apps"
198
+ msgstr ""
199
+
200
+ #: templates/settings.php:22
201
+ #, php-format
202
+ #@ shareaholic
203
+ msgid "First time here? Read %sUnderstanding the new Shareaholic for WordPress interface and configuration settings.%s"
204
+ msgstr ""
205
+
206
+ #: templates/settings.php:22
207
+ #, php-format
208
+ #@ shareaholic
209
+ msgid "If you are upgrading from an earlier version of Shareaholic for WordPress and need help, have a question or have a bug to report, please %slet us know%s."
210
+ msgstr ""
211
+
212
+ #: templates/settings.php:25
213
+ #@ shareaholic
214
+ msgid "Share Buttons"
215
+ msgstr ""
216
+
217
+ #: templates/settings.php:26
218
+ #@ shareaholic
219
+ msgid "Pick where you want your buttons to be displayed. Click \"Edit\" to customize look & feel, themes, share counters, alignment, etc."
220
+ msgstr ""
221
+
222
+ #: templates/settings.php:52
223
+ #@ shareaholic
224
+ msgid "Related Content / Recommendations"
225
+ msgstr ""
226
+
227
+ #: templates/settings.php:53
228
+ #@ shareaholic
229
+ msgid "Pick where you want Related Content to be displayed. Click \"Edit\" to customize look & feel, themes, block lists, etc."
230
+ msgstr ""
231
+
232
+ #: templates/settings.php:75
233
+ #@ shareaholic
234
+ msgid "Data Status:"
235
+ msgstr ""
236
+
237
+ #: templates/settings.php:79
238
+ #@ shareaholic
239
+ msgid "Processing"
240
+ msgstr ""
241
+
242
+ #: templates/settings.php:81
243
+ #@ shareaholic
244
+ msgid "Ready"
245
+ msgstr ""
246
+
247
+ #: templates/terms_of_service_modal.php:2
248
+ #@ shareaholic
249
+ msgid "Thanks for Installing!"
250
+ msgstr ""
251
+
252
+ #: templates/terms_of_service_modal.php:4
253
+ #, php-format
254
+ #@ shareaholic
255
+ msgid "%sShareaholic%s gives you the essential tools you need to become a successful publisher."
256
+ msgstr ""
257
+
258
+ #: templates/terms_of_service_modal.php:8
259
+ #, php-format
260
+ #@ shareaholic
261
+ msgid "%sShare buttons%s enables your readers to spread your content."
262
+ msgstr ""
263
+
264
+ #: templates/terms_of_service_modal.php:12
265
+ #, php-format
266
+ #@ shareaholic
267
+ msgid "%sRelated content%s keeps people on your site and turns visitors into readers."
268
+ msgstr ""
269
+
270
+ #: templates/terms_of_service_modal.php:16
271
+ #, php-format
272
+ #@ shareaholic
273
+ msgid "%sAnalytics%s gives you all the insights you need to grow your site."
274
+ msgstr ""
275
+
276
+ #: templates/terms_of_service_modal.php:20
277
+ #@ shareaholic
278
+ msgid "Get Started »"
279
+ msgstr ""
280
+
281
+ #: templates/terms_of_service_modal.php:21
282
+ #, php-format
283
+ #@ shareaholic
284
+ msgid "By clicking \"Get Started\" you agree to Shareholic's %sTerms of Service%s and %sPrivacy Policy%s."
285
+ msgstr ""
286
+
287
+ #: templates/why_to_sign_up.php:2
288
+ #@ shareaholic
289
+ msgid "Customize even more with a FREE Shareaholic account."
290
+ msgstr ""
291
+
292
+ #: templates/why_to_sign_up.php:3
293
+ #@ shareaholic
294
+ msgid "Such as:"
295
+ msgstr ""
296
+
297
+ #: templates/why_to_sign_up.php:5
298
+ #@ shareaholic
299
+ msgid "Customize tweets coming from your website."
300
+ msgstr ""
301
+
302
+ #: templates/why_to_sign_up.php:6
303
+ #@ shareaholic
304
+ msgid "Choose your URL Shortener, or use your own."
305
+ msgstr ""
306
+
307
+ #: templates/why_to_sign_up.php:7
308
+ #@ shareaholic
309
+ msgid "Choose from various themes and styles."
310
+ msgstr ""
311
+
312
+ #: templates/why_to_sign_up.php:8
313
+ #@ shareaholic
314
+ msgid "Exclude pages from Recommendations engine."
315
+ msgstr ""
316
+
317
+ #: templates/why_to_sign_up.php:9
318
+ #@ shareaholic
319
+ msgid "Plus tons of great features and customization options."
320
+ msgstr ""
321
+
322
+ #: templates/why_to_sign_up.php:11
323
+ #@ shareaholic
324
+ msgid "Edit General Website Settings"
325
+ msgstr ""
326
+
327
+ #: utilities.php:92
328
+ #@ shareaholic
329
+ msgid "Settings"
330
+ msgstr ""
331
+
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: shareaholic
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
- Tested up to: 3.6
6
- Stable tag: 7.0.3.6
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -148,6 +148,11 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
148
 
149
  == Changelog ==
150
 
 
 
 
 
 
151
  = 7.0.3.6 =
152
  * New "Vertical" theme for Related Content!
153
  * Added a note about caching plugins; organized the "Advanced Settings" page
@@ -934,6 +939,9 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
934
 
935
  == Upgrade Notice ==
936
 
 
 
 
937
  = 7.0.3.6 =
938
  New "Vertical" theme for Related Content! Organized the "Advanced Settings" page and Shareaholic shortcode now support title, link and summary parameters.
939
 
2
  Contributors: shareaholic
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
+ Tested up to: 3.6.1
6
+ Stable tag: 7.0.4.1
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
148
 
149
  == Changelog ==
150
 
151
+ = 7.0.4.1 =
152
+ * Added "Server Connectivity" section to Advanced Settings
153
+ * Cleaned up localization strings
154
+ * Fixed conflict with Modernizer
155
+
156
  = 7.0.3.6 =
157
  * New "Vertical" theme for Related Content!
158
  * Added a note about caching plugins; organized the "Advanced Settings" page
939
 
940
  == Upgrade Notice ==
941
 
942
+ = 7.0.4.1 =
943
+ New "Server Connectivity" section added under "Advanced Settings"
944
+
945
  = 7.0.3.6 =
946
  New "Vertical" theme for Related Content! Organized the "Advanced Settings" page and Shareaholic shortcode now support title, link and summary parameters.
947
 
shareaholic.php CHANGED
@@ -1,22 +1,33 @@
1
  <?php
2
  /**
3
- * The main and first file!
4
  *
5
  * @package shareaholic
6
- * @version 7.0.3.6
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 7.0.3.6
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
 
 
16
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
17
  */
18
 
19
 
 
 
 
 
 
 
 
 
 
20
  /**
21
  * if we ever wanted to disable warning notices, use the following:
22
  * error_reporting(E_ALL ^ E_NOTICE);
@@ -42,7 +53,7 @@ require_once(SHAREAHOLIC_DIR . '/deprecation.php');
42
  */
43
  class Shareaholic {
44
  const URL = 'https://shareaholic.com';
45
- const VERSION = '7.0.3.6';
46
  /**
47
  * Starts off as false so that ::get_instance() returns
48
  * a new instance.
1
  <?php
2
  /**
3
+ * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.0.4.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 7.0.4.1
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
+ Text Domain: shareaholic
17
+ Domain Path: /languages
18
  Credits & Thanks: https://shareaholic.com/tools/wordpress/credits
19
  */
20
 
21
 
22
+ /**
23
+ * Make sure we don't expose any info if called directly
24
+ *
25
+ */
26
+ if ( !function_exists( 'add_action' ) ) {
27
+ echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
28
+ exit;
29
+ }
30
+
31
  /**
32
  * if we ever wanted to disable warning notices, use the following:
33
  * error_reporting(E_ALL ^ E_NOTICE);
53
  */
54
  class Shareaholic {
55
  const URL = 'https://shareaholic.com';
56
+ const VERSION = '7.0.4.1';
57
  /**
58
  * Starts off as false so that ::get_instance() returns
59
  * a new instance.
templates/advanced_settings.php CHANGED
@@ -1,18 +1,17 @@
1
  <div class='wrap'>
2
  <div id="icon-options-general" class="icon32"></div>
3
- <h2><?php echo sprintf(__('Shareaholic: Advanced Settings', 'shareaholic')); ?></h2>
4
  <div style="margin-top:20px;"></div>
5
 
6
  <div class='unit size4of5' style="min-height:300px;">
 
7
 
8
- <span class="helper"><i class="icon-star"></i> <?php echo sprintf(__('You rarely should need to edit the settings on this page.', 'shareaholic')); ?> <?php echo sprintf(__('After changing any Shareaholic advanced setting, it is good practice to clear any WordPress caching plugins (if you are using one).', 'shareaholic')); ?></p></span>
9
-
10
  <form name='advanced_settings' method='post' action='<?php echo $action ?>'>
11
  <?php wp_nonce_field($action, 'nonce_field') ?>
12
  <input type='hidden' name='already_submitted' value='Y'>
13
  <div class='clear'>
14
  <fieldset class="app">
15
- <legend><h2><?php echo sprintf(__('Advanced', 'shareaholic')); ?></h2></legend>
16
  <input type='checkbox' id='tracking' name='shareaholic[disable_tracking]' class='check'
17
  <?php if (isset($settings['disable_tracking'])) { ?>
18
  <?php echo ($settings['disable_tracking'] == 'on' ? 'checked' : '') ?>
@@ -33,14 +32,27 @@
33
 
34
  <div class='clear'></div>
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  <form name='reset_settings' method='post' action='<?php echo $action ?>'>
37
  <?php wp_nonce_field($action, 'nonce_field') ?>
38
  <input type='hidden' name='reset_settings' value='Y'>
39
  <fieldset class="app">
40
- <legend><h2><?php echo sprintf(__('Reset', 'shareaholic')); ?></h2></legend>
41
- <?php echo sprintf(__('This will reset all of your settings and start you from scratch. This can not be undone.', 'shareaholic')); ?>
42
  <div class='clear'></div>
43
- <input type='submit' onclick="this.value='<?php echo sprintf(__('Resetting Plugin...', 'shareaholic')); ?>';" value='<?php echo sprintf(__('Reset Plugin', 'shareaholic')); ?>'>
44
  </fieldset>
45
 
46
  <div class='clear' style="padding-bottom:35px;"></div>
@@ -49,4 +61,4 @@
49
  </div>
50
  </div>
51
  <?php ShareaholicAdmin::show_footer(); ?>
52
- <?php ShareaholicAdmin::include_snapengage(); ?>
1
  <div class='wrap'>
2
  <div id="icon-options-general" class="icon32"></div>
3
+ <h2><?php _e('Shareaholic: Advanced Settings', 'shareaholic'); ?></h2>
4
  <div style="margin-top:20px;"></div>
5
 
6
  <div class='unit size4of5' style="min-height:300px;">
7
+ <span class="helper"><i class="icon-star"></i> <?php echo sprintf(__('You rarely should need to edit the settings on this page.', 'shareaholic')); ?> <?php _e('After changing any Shareaholic advanced setting, it is good practice to clear any WordPress caching plugins (if you are using one, like W3 Total Cache or WP Super Cache).', 'shareaholic'); ?></p></span>
8
 
 
 
9
  <form name='advanced_settings' method='post' action='<?php echo $action ?>'>
10
  <?php wp_nonce_field($action, 'nonce_field') ?>
11
  <input type='hidden' name='already_submitted' value='Y'>
12
  <div class='clear'>
13
  <fieldset class="app">
14
+ <legend><h2><?php _e('Advanced', 'shareaholic'); ?></h2></legend>
15
  <input type='checkbox' id='tracking' name='shareaholic[disable_tracking]' class='check'
16
  <?php if (isset($settings['disable_tracking'])) { ?>
17
  <?php echo ($settings['disable_tracking'] == 'on' ? 'checked' : '') ?>
32
 
33
  <div class='clear'></div>
34
 
35
+ <fieldset class="app">
36
+ <legend><h2><?php _e('Server Connectivity', 'shareaholic'); ?></h2></legend>
37
+ <?php if (ShareaholicUtilities::connectivity_check() == "SUCCESS") { ?>
38
+ <span class="key-status passed"><?php _e('All Shareaholic servers are reachable', 'shareaholic'); ?></span>
39
+ <div class="key-description"><?php _e('Shareaholic should be working correctly.', 'shareaholic'); ?> <?php _e('All Shareaholic servers are accessible.', 'shareaholic'); ?></div>
40
+ <?php } else { // can't connect to any server ?>
41
+ <span class="key-status failed"><?php _e('Unable to reach any Shareaholic server', 'shareaholic'); ?></span> <a href="#" onClick="window.location.reload(); this.innerHTML='<?php _e('Checking...', 'shareaholic'); ?>';"><?php _e('Re-check', 'shareaholic'); ?></a>
42
+ <div class="key-description"><?php echo sprintf( __('A network problem or firewall is blocking all connections from your web server to Shareaholic.com. <strong>Shareaholic cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Shareaholic and firewalls</a>. Let us <a href="#" onclick="%s">know</a> too, so we can follow up!'), 'http://blog.shareaholic.com/shareaholic-hosting-faq/', 'SnapEngage.startLink();','</a>'); ?></div>
43
+ <?php } ?>
44
+ </fieldset>
45
+
46
+ <div class='clear'></div>
47
+
48
  <form name='reset_settings' method='post' action='<?php echo $action ?>'>
49
  <?php wp_nonce_field($action, 'nonce_field') ?>
50
  <input type='hidden' name='reset_settings' value='Y'>
51
  <fieldset class="app">
52
+ <legend><h2><?php _e('Reset', 'shareaholic'); ?></h2></legend>
53
+ <?php _e('This will reset all of your settings and start you from scratch. This can not be undone.', 'shareaholic'); ?>
54
  <div class='clear'></div>
55
+ <input type='submit' onclick="this.value='<?php _e('Resetting Plugin...', 'shareaholic'); ?>';" value='<?php _e('Reset Plugin', 'shareaholic'); ?>'>
56
  </fieldset>
57
 
58
  <div class='clear' style="padding-bottom:35px;"></div>
61
  </div>
62
  </div>
63
  <?php ShareaholicAdmin::show_footer(); ?>
64
+ <?php ShareaholicAdmin::include_snapengage(); ?>
utilities.php CHANGED
@@ -592,6 +592,16 @@ class ShareaholicUtilities {
592
  $language_id = 3; // Chinese (Simplified)
593
  } elseif (strpos($site_language, 'zh-tw') !== false) {
594
  $language_id = 4; // Chinese (Traditional)
 
 
 
 
 
 
 
 
 
 
595
  } else {
596
  $language_id = NULL;
597
  }
@@ -709,6 +719,25 @@ class ShareaholicUtilities {
709
  public static function localize() {
710
  load_plugin_textdomain('shareaholic', false, basename(dirname(__FILE__)) . '/languages/');
711
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
712
 
713
  /**
714
  * This is a wrapper for the Recommendations Status API
592
  $language_id = 3; // Chinese (Simplified)
593
  } elseif (strpos($site_language, 'zh-tw') !== false) {
594
  $language_id = 4; // Chinese (Traditional)
595
+ } elseif (strpos($site_language, 'ja-') !== false) {
596
+ $language_id = 19; // Japanese
597
+ } elseif (strpos($site_language, 'ar-') !== false) {
598
+ $language_id = 1; // Arabic
599
+ } elseif (strpos($site_language, 'sv-') !== false) {
600
+ $language_id = 32; // Swedish
601
+ } elseif (strpos($site_language, 'tr-') !== false) {
602
+ $language_id = 34; // Turkish
603
+ } elseif (strpos($site_language, 'el-') !== false) {
604
+ $language_id = 14; // Greek
605
  } else {
606
  $language_id = NULL;
607
  }
719
  public static function localize() {
720
  load_plugin_textdomain('shareaholic', false, basename(dirname(__FILE__)) . '/languages/');
721
  }
722
+
723
+ /**
724
+ * Server Connectivity check
725
+ *
726
+ */
727
+ public static function connectivity_check() {
728
+ $health_check_url = Shareaholic::URL . "/haproxy_health_check";
729
+ $response = ShareaholicCurl::get($health_check_url);
730
+ $body = $response['body'];
731
+ if(is_array($response) && array_key_exists('body', $response)) {
732
+ if ($body == "OK"){
733
+ return "SUCCESS";
734
+ } else {
735
+ return "FAIL";
736
+ }
737
+ } else {
738
+ return "FAIL";
739
+ }
740
+ }
741
 
742
  /**
743
  * This is a wrapper for the Recommendations Status API