Version Description
- HOTFIX
Download this release
Release Info
Developer | na1vez |
Plugin | Uptolike Social Share Buttons |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.9 to 1.5.0
- api_functions.php +0 -1
- readme.txt +216 -227
- uptolike_share_widget.php +1 -1
- widget_options.php +3 -1
api_functions.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
<?php
|
2 |
-
//1.4.8 12/04/16
|
3 |
|
4 |
const HOST = 'https://uptolike.com/';
|
5 |
|
1 |
<?php
|
|
|
2 |
|
3 |
const HOST = 'https://uptolike.com/';
|
4 |
|
readme.txt
CHANGED
@@ -1,228 +1,217 @@
|
|
1 |
-
|
2 |
-
Contributors: Uptolike Team
|
3 |
-
Tags: +1, UpToLike, AddThis, social buttons, bookmark, bookmarking, like, share, share button,
|
4 |
-
Requires at least: 3.0.1
|
5 |
-
Tested up to: 4.5
|
6 |
-
Stable tag: 1.
|
7 |
-
|
8 |
-
Uptolike Social Share Buttons -
|
9 |
-
|
10 |
-
== Description ==
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
*
|
15 |
-
*
|
16 |
-
*
|
17 |
-
*
|
18 |
-
*
|
19 |
-
*
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
*
|
40 |
-
*
|
41 |
-
*
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
*
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
*
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
*
|
122 |
-
* Исправлен баг
|
123 |
-
*
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
*
|
129 |
-
|
130 |
-
= 1.4.
|
131 |
-
*
|
132 |
-
*
|
133 |
-
|
134 |
-
|
135 |
-
*
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
*
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
* Bug
|
201 |
-
|
202 |
-
= 1.2.
|
203 |
-
*
|
204 |
-
|
205 |
-
= 1.2.
|
206 |
-
*
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
* Bug
|
212 |
-
|
213 |
-
= 1.2.
|
214 |
-
*
|
215 |
-
|
216 |
-
= 1.
|
217 |
-
* Enhancement: cut spaces in cryptkey field
|
218 |
-
* Enhancement: feedback link
|
219 |
-
* Enhancement: access to plugins by top menu item
|
220 |
-
|
221 |
-
= 1.2.1 =
|
222 |
-
* Bug Fix: minor bug fixes
|
223 |
-
|
224 |
-
= 1.2.0 =
|
225 |
-
* Enhancement: user registration.
|
226 |
-
|
227 |
-
= 1.0.0 =
|
228 |
* Initial release
|
1 |
+
=== Uptolike Social Share Buttons ===
|
2 |
+
Contributors: Uptolike Team
|
3 |
+
Tags: +1, UpToLike, AddThis, social buttons, bookmark, bookmarking, like, share, share button, sharing, social bookmarking, social bookmarks, social buttons, кнопки соцсетей, социальные кнопки
|
4 |
+
Requires at least: 3.0.1
|
5 |
+
Tested up to: 4.5
|
6 |
+
Stable tag: 1.5.0
|
7 |
+
|
8 |
+
Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
|
9 |
+
|
10 |
+
== Description ==
|
11 |
+
|
12 |
+
**What Can You Do With UpToLike Social Share Buttons?**
|
13 |
+
|
14 |
+
* Create custom buttons that will visually appeal to users
|
15 |
+
* Easily manage social activity online
|
16 |
+
* Increase online engagement through Shares and Likes
|
17 |
+
* Attract new visitors from social networks
|
18 |
+
* Collect and analyze the social activity of users
|
19 |
+
* Adjust content strategy based on analytics
|
20 |
+
|
21 |
+
UpToLike is a single interface from which you can manage the appearance and efficiency of social buttons on your site, as well as collect and analyze statistics on
|
22 |
+
likes, shares, returns, new users, sources of social traffic, and more.
|
23 |
+
|
24 |
+
**Which social networks does UpToLike Social Share Buttons support?**
|
25 |
+
|
26 |
+
UpToLike is compatible with 25 popular social networking sites. It supports the following functions: Bookmark, Print, Email, Follow, etc.
|
27 |
+
|
28 |
+
**Unique Functions of UpToLike Social Share Buttons**
|
29 |
+
|
30 |
+
* Customization of social buttons:
|
31 |
+
1. 3 different shapes
|
32 |
+
2. 3 sizes
|
33 |
+
3. Hover effect (increase, clockwise rotation)
|
34 |
+
4. 14 button styles
|
35 |
+
5. Button background
|
36 |
+
6. Text color
|
37 |
+
7. Text size of the counter
|
38 |
+
|
39 |
+
* Social Media Following
|
40 |
+
* Automatic text selection: the system gives you the option to share a highlighted piece of text on a social network
|
41 |
+
* Gathering unique statistics of social media activity
|
42 |
+
|
43 |
+
**Uptolike Social Share Buttons - бесплатный русскоязычный плагин социальных кнопок**
|
44 |
+
|
45 |
+
**Какие задачи выполняет плагин Uptolike?**
|
46 |
+
|
47 |
+
* Установить на сайте красивые, полностью кастомизрованные социальные кнопки, которые будут нравиться пользователям
|
48 |
+
* Управлять социальной активностью пользователей на сайте
|
49 |
+
* Увеличивать показатель шаринга на сайте
|
50 |
+
* Привлекать новых посетителей из социальных сетей
|
51 |
+
* Собирать и анализировать статистику социальной активности пользователей
|
52 |
+
* Корректировать контент-стратегию
|
53 |
+
|
54 |
+
Uptolike – единый интерфейс, откуда можно управлять эффективностью социальных кнопок на сайте, а также собирать и анализировать статистику по лайкам, шарам, количеству возвратов, количеству привлеченных новых пользователей, источниках социального трафика и так далее.
|
55 |
+
|
56 |
+
**Какие социальные сети поддерживает Uptolike?**
|
57 |
+
|
58 |
+
Uptolike поддерживает 25 популярных социальных сетей: Вконтакте, Facebook, Одноклассники, Twitter, и т.д.
|
59 |
+
|
60 |
+
**Уникальные фишки Uptolike**
|
61 |
+
|
62 |
+
* Полная кастомизация социальных кнопок:
|
63 |
+
1. 3 формы
|
64 |
+
2. 3 размера
|
65 |
+
3. эффект при наведении (увеличение, поворот по часовой стрелке)
|
66 |
+
4. 14 стилей кнопок
|
67 |
+
5. настройка фона кнопок
|
68 |
+
6. выбор цвета текста
|
69 |
+
7. установка размера текста счётчика
|
70 |
+
|
71 |
+
* Функция фолловинга
|
72 |
+
* Функция цитирования по тексту – выделенный участок текста автоматически предлагается расшарить в социальной сети
|
73 |
+
* Уникальная статистика социальной активности на сайте
|
74 |
+
* Кнопки социальных сетей, адаптированные под мобильные устройства
|
75 |
+
|
76 |
+
== Installation ==
|
77 |
+
1. Go to Plugins -> Add New
|
78 |
+
2. Search for Uptolike
|
79 |
+
3. Install the plugin called *Uptolike Social Share Buttons* and activate it
|
80 |
+
4. Adjust your settings
|
81 |
+
5. Request and fill the secret key field, if you want to receive the statistics
|
82 |
+
6. Enjoy!
|
83 |
+
|
84 |
+
***
|
85 |
+
|
86 |
+
1. Выберите Плагины -> Добавить новый
|
87 |
+
2. В строке поиска введите Uptolike
|
88 |
+
3. Установите плагин *Uptolike Social Share Buttons* и активируйте
|
89 |
+
4. Настройте внешний вид кнопок
|
90 |
+
5. Для отображения статистики получите на адресс электронной почты секретный ключ и введите его на странице Статистика
|
91 |
+
6. Наслаждайтесь!
|
92 |
+
|
93 |
+
== Frequently Asked Questions ==
|
94 |
+
Answers to Frequently Asked Questions you can find at http://uptolike.ru/faq
|
95 |
+
|
96 |
+
***
|
97 |
+
|
98 |
+
Ответы на часто задаваемые вопросы вы можете найти на http://uptolike.ru/faq
|
99 |
+
|
100 |
+
== Screenshots ==
|
101 |
+
1. Customizing sharing buttons
|
102 |
+
2. Buttons appearance
|
103 |
+
3. Traffic and sharing statistics
|
104 |
+
|
105 |
+
== Changelog ==
|
106 |
+
= 1.5.0 =
|
107 |
+
* HOTFIX
|
108 |
+
|
109 |
+
= 1.4.9 =
|
110 |
+
* HOTFIX
|
111 |
+
* Исправлен баг отображением плагина на специальных страницах
|
112 |
+
* Добавлена настройка вывода плагина на отдельных записях(товаров)
|
113 |
+
|
114 |
+
= 1.4.8 =
|
115 |
+
* HOTFIX
|
116 |
+
* Исправлен баг с [шорткодом]
|
117 |
+
* Исправлен баг с настройками
|
118 |
+
|
119 |
+
= 1.4.7 =
|
120 |
+
* Исправлена логика вывода виджета на всех страницах
|
121 |
+
* Исправлен баг с ориентацией панели
|
122 |
+
* Исправлен баг с дублированием параметра data-url
|
123 |
+
* Исправлен баг с параметрами плагина по умолчанию
|
124 |
+
* Рефакторинг кода
|
125 |
+
* Реструктуризация плагина
|
126 |
+
|
127 |
+
= 1.4.6 =
|
128 |
+
* Исправлено корректное отображение виджета на главной странице
|
129 |
+
|
130 |
+
= 1.4.5 =
|
131 |
+
* Code refactor
|
132 |
+
* Minor fix
|
133 |
+
|
134 |
+
= 1.4.4 =
|
135 |
+
* Bug fix
|
136 |
+
|
137 |
+
= 1.4.3 =
|
138 |
+
* Bug fix
|
139 |
+
|
140 |
+
= 1.4.2 =
|
141 |
+
* Bug fix
|
142 |
+
* Enhancement: rename
|
143 |
+
|
144 |
+
= 1.4.1 =
|
145 |
+
* Enhancement: settings
|
146 |
+
|
147 |
+
= 1.4.0 =
|
148 |
+
* Bug fix
|
149 |
+
|
150 |
+
= 1.3.9 =
|
151 |
+
* Enhancement: settings
|
152 |
+
|
153 |
+
= 1.3.8 =
|
154 |
+
* Enhancement: new control panel
|
155 |
+
* Bug fix
|
156 |
+
|
157 |
+
= 1.3.7 =
|
158 |
+
* Enhancement: security
|
159 |
+
|
160 |
+
= 1.3.6 =
|
161 |
+
* Bug fix
|
162 |
+
|
163 |
+
= 1.3.5 =
|
164 |
+
* Enhancement: new align and shortcode settings
|
165 |
+
|
166 |
+
= 1.3.4 =
|
167 |
+
* Bug fix
|
168 |
+
|
169 |
+
= 1.3.3 =
|
170 |
+
* Enhancement
|
171 |
+
|
172 |
+
= 1.3.2 =
|
173 |
+
* Bug fix
|
174 |
+
|
175 |
+
= 1.3.1 =
|
176 |
+
* Enhancement: widget area
|
177 |
+
|
178 |
+
= 1.3.0 =
|
179 |
+
* Bug fix
|
180 |
+
|
181 |
+
= 1.2.9 =
|
182 |
+
* Bug Fix: minor changes
|
183 |
+
|
184 |
+
= 1.2.8 =
|
185 |
+
* Enhancement: new settings
|
186 |
+
* Bug Fix
|
187 |
+
|
188 |
+
= 1.2.7 =
|
189 |
+
* Bug Fix: minor bug fixes
|
190 |
+
|
191 |
+
= 1.2.6 =
|
192 |
+
* Enhancement: new feature - on archive
|
193 |
+
|
194 |
+
= 1.2.5 =
|
195 |
+
* Bug fix: minor bugs with short tag option
|
196 |
+
|
197 |
+
= 1.2.4 =
|
198 |
+
* Enhancement: new feature - on static page
|
199 |
+
* Enhancement: security
|
200 |
+
* Bug fix
|
201 |
+
|
202 |
+
= 1.2.3 =
|
203 |
+
* Bug fix: show on main
|
204 |
+
|
205 |
+
= 1.2.2 =
|
206 |
+
* Enhancement: cut spaces in cryptkey field
|
207 |
+
* Enhancement: feedback link
|
208 |
+
* Enhancement: access to plugins by top menu item
|
209 |
+
|
210 |
+
= 1.2.1 =
|
211 |
+
* Bug Fix: minor bug fixes
|
212 |
+
|
213 |
+
= 1.2.0 =
|
214 |
+
* Enhancement: user registration.
|
215 |
+
|
216 |
+
= 1.0.0 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
* Initial release
|
uptolike_share_widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: UpToLike Social Share Buttons
|
4 |
* Plugin URI: https://uptolike.com/
|
5 |
* Description: Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
|
6 |
-
* Version: 1.
|
7 |
* Requires at least: 4.1
|
8 |
* Tested up to: 4.5
|
9 |
* Author: Uptolike Team
|
3 |
* Plugin Name: UpToLike Social Share Buttons
|
4 |
* Plugin URI: https://uptolike.com/
|
5 |
* Description: Uptolike Social Share Buttons - social bookmarking widget with sharing statistics.
|
6 |
+
* Version: 1.5.0
|
7 |
* Requires at least: 4.1
|
8 |
* Tested up to: 4.5
|
9 |
* Author: Uptolike Team
|
widget_options.php
CHANGED
@@ -528,10 +528,12 @@ function get_widget_code($url = '') {
|
|
528 |
|
529 |
$widget_code = str_replace('data-pid="-1"', 'data-pid="' . $data_pid . '"', $widget_code);
|
530 |
$widget_code = str_replace('data-pid=""', 'data-pid="' . $data_pid . '"', $widget_code);
|
531 |
-
$widget_code = str_replace('div data', 'div data-url="' . $url . '"
|
532 |
$widget_code = preg_replace('!del-url="(.*?)"!si', '', $widget_code);
|
533 |
$widget_code = str_replace('del-url', '', $widget_code);
|
534 |
$widget_code = str_replace('del-', '', $widget_code);
|
|
|
|
|
535 |
$align = $options['widget_align'];
|
536 |
|
537 |
$align_style = 'style="text-align: ' . $align . ';"';
|
528 |
|
529 |
$widget_code = str_replace('data-pid="-1"', 'data-pid="' . $data_pid . '"', $widget_code);
|
530 |
$widget_code = str_replace('data-pid=""', 'data-pid="' . $data_pid . '"', $widget_code);
|
531 |
+
$widget_code = str_replace('div data', 'div data-url="' . $url . '" data', $widget_code);//data-url duplicate
|
532 |
$widget_code = preg_replace('!del-url="(.*?)"!si', '', $widget_code);
|
533 |
$widget_code = str_replace('del-url', '', $widget_code);
|
534 |
$widget_code = str_replace('del-', '', $widget_code);
|
535 |
+
$widget_code = str_replace('data--', 'data-', $widget_code);
|
536 |
+
$widget_code = str_replace(' data-url ', ' ', $widget_code);
|
537 |
$align = $options['widget_align'];
|
538 |
|
539 |
$align_style = 'style="text-align: ' . $align . ';"';
|