Version Description
Download this release
Release Info
Developer | Tomdever |
Plugin | wpForo Forum |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
- readme.txt +12 -4
- wpf-includes/class-permissions.php +2 -2
- wpf-includes/class-posts.php +9 -11
- wpf-includes/functions-template.php +16 -2
- wpf-includes/functions.php +2 -2
- wpf-includes/wpf-hooks.php +8 -6
- wpf-themes/classic/index.php +45 -39
- wpf-themes/classic/style-rtl.css +2 -1
- wpf-themes/classic/style.css +2 -1
- wpforo.php +2 -2
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
|
|
3 |
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
|
4 |
Requires at least: 4.1
|
5 |
Tested up to: 5.4
|
6 |
-
Stable tag: 1.8.
|
7 |
Requires PHP: 5.6 and higher
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -165,12 +165,19 @@ Find wpForo forum plugin addons on [gVectors Team website...](https://gvectors.c
|
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
-
= wpForo Forum 1.8.0 | 22.07.2020 =
|
169 |
|
170 |
-
[wpForo Forum v1.8.0 Release Summary](https://wpforo.com/community/wpforo-announcements/wpforo-1-8-0-is-released/)
|
171 |
|
172 |
-
IMPORTANT: wpForo 1.8.
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
* Added: The core is improved and adopted for page builders
|
175 |
* Added: You can use wpForo shortcodes in Elementor plugin
|
176 |
* Added: Now you can add forum in custom post types and in child pages
|
@@ -196,6 +203,7 @@ IMPORTANT: wpForo 1.8.0 is not compatible with old versions of addons. Please up
|
|
196 |
|
197 |
IMPORTANT NOTES for UPDATE
|
198 |
|
|
|
199 |
- After the update, please delete all caches.
|
200 |
- If you have a Minifier/Optimizer plugins please delete all caches.
|
201 |
- If you use CDN and found some issues please purge it.
|
3 |
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
|
4 |
Requires at least: 4.1
|
5 |
Tested up to: 5.4
|
6 |
+
Stable tag: 1.8.1
|
7 |
Requires PHP: 5.6 and higher
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
+
= wpForo Forum 1.8.0 / 1.8.1 | 22.07.2020 =
|
169 |
|
170 |
+
[wpForo Forum v1.8.0 / v1.8.1 Release Summary](https://wpforo.com/community/wpforo-announcements/wpforo-1-8-0-is-released/)
|
171 |
|
172 |
+
IMPORTANT: wpForo 1.8.x versions are not compatible with old versions of addons. Please update addons right after the wpForo update and delete all caches.
|
173 |
|
174 |
+
* version 1.8.1
|
175 |
+
* Fixed Bug: Topic and Post editor title issue
|
176 |
+
* Fixed Bug: Missing titles in Recent Posts widget
|
177 |
+
* Fixed Bug: Cannot update wpForo Polls addon
|
178 |
+
* Fixed Bug: Forum is crashed if you use "Turn WordPress to wpForo" option
|
179 |
+
* ----
|
180 |
+
* version 1.8.0
|
181 |
* Added: The core is improved and adopted for page builders
|
182 |
* Added: You can use wpForo shortcodes in Elementor plugin
|
183 |
* Added: Now you can add forum in custom post types and in child pages
|
203 |
|
204 |
IMPORTANT NOTES for UPDATE
|
205 |
|
206 |
+
- Forum template files are modified. The modifications were made in index.php, search.php and some profile template files. If you have the old customized copies of mentioned template files in your WP theme /wpforo/ folder please update them.
|
207 |
- After the update, please delete all caches.
|
208 |
- If you have a Minifier/Optimizer plugins please delete all caches.
|
209 |
- If you use CDN and found some issues please purge it.
|
wpf-includes/class-permissions.php
CHANGED
@@ -486,7 +486,7 @@ class wpForoPermissions{
|
|
486 |
//Primary Usergroup Access
|
487 |
if( wpfval( $permissions, $usergroup ) ){
|
488 |
if(wpfval($this->accesses, $permissions[ $usergroup ], 'cans')){
|
489 |
-
$user_accesses['primary'][ $forum['forumid'] ] = unserialize($this->accesses[ $permissions[ $usergroup ] ]
|
490 |
}
|
491 |
}
|
492 |
//Secondary Usergroup Access
|
@@ -494,7 +494,7 @@ class wpForoPermissions{
|
|
494 |
foreach( $secondary_usergroups as $secondary_usergroup ){
|
495 |
if( wpfval( $permissions, $secondary_usergroup ) ){
|
496 |
if(wpfval($this->accesses, $permissions[ $secondary_usergroup ], 'cans')){
|
497 |
-
$user_accesses['secondary'][ $secondary_usergroup ][ $forum['forumid'] ] = unserialize($this->accesses[ $permissions[ $secondary_usergroup ] ]
|
498 |
}
|
499 |
}
|
500 |
}
|
486 |
//Primary Usergroup Access
|
487 |
if( wpfval( $permissions, $usergroup ) ){
|
488 |
if(wpfval($this->accesses, $permissions[ $usergroup ], 'cans')){
|
489 |
+
$user_accesses['primary'][ $forum['forumid'] ] = unserialize($this->accesses[ $permissions[ $usergroup ] ]['cans']);
|
490 |
}
|
491 |
}
|
492 |
//Secondary Usergroup Access
|
494 |
foreach( $secondary_usergroups as $secondary_usergroup ){
|
495 |
if( wpfval( $permissions, $secondary_usergroup ) ){
|
496 |
if(wpfval($this->accesses, $permissions[ $secondary_usergroup ], 'cans')){
|
497 |
+
$user_accesses['secondary'][ $secondary_usergroup ][ $forum['forumid'] ] = unserialize($this->accesses[ $permissions[ $secondary_usergroup ] ]['cans']);
|
498 |
}
|
499 |
}
|
500 |
}
|
wpf-includes/class-posts.php
CHANGED
@@ -325,7 +325,7 @@ class wpForoPost{
|
|
325 |
$body = wpforo_kses(trim($body), 'post');
|
326 |
|
327 |
$topicid = wpforo_bigintval( (isset($topicid) ? $topicid : $post['topicid']) );
|
328 |
-
$title =
|
329 |
$body = $body ? stripslashes($body) : stripslashes($post['body']);
|
330 |
$status = isset($status) ? intval($status) : intval($post['status']);
|
331 |
$private = isset($private) ? intval($private) : intval($post['private']);
|
@@ -334,14 +334,14 @@ class wpForoPost{
|
|
334 |
|
335 |
if( FALSE !== WPF()->db->update(
|
336 |
WPF()->tables->posts,
|
337 |
-
array(
|
338 |
-
'title'
|
339 |
-
'body'
|
340 |
-
'modified'
|
341 |
-
'status'
|
342 |
-
'name'
|
343 |
-
'email'
|
344 |
-
),
|
345 |
array('postid' => $postid),
|
346 |
array('%s','%s','%s','%d','%s','%s'),
|
347 |
array('%d')
|
@@ -1895,8 +1895,6 @@ class wpForoPost{
|
|
1895 |
if( intval($topic['layout']) === 3 ) {
|
1896 |
$field['label'] = wpforo_phrase( 'Your question', false );
|
1897 |
if($title) $field['value'] = $prefix_answer . ': ' . $title;
|
1898 |
-
}elseif( intval($topic['layout']) === 4 ){
|
1899 |
-
$field = array();
|
1900 |
}else{
|
1901 |
$field['label'] = wpforo_phrase( 'Title', false );
|
1902 |
if($title) $field['value'] = $prefix_re . ': ' . $title;
|
325 |
$body = wpforo_kses(trim($body), 'post');
|
326 |
|
327 |
$topicid = wpforo_bigintval( (isset($topicid) ? $topicid : $post['topicid']) );
|
328 |
+
$title = trim($title) ? stripslashes(sanitize_text_field(trim($title))) : stripslashes($post['title']);
|
329 |
$body = $body ? stripslashes($body) : stripslashes($post['body']);
|
330 |
$status = isset($status) ? intval($status) : intval($post['status']);
|
331 |
$private = isset($private) ? intval($private) : intval($post['private']);
|
334 |
|
335 |
if( FALSE !== WPF()->db->update(
|
336 |
WPF()->tables->posts,
|
337 |
+
array(
|
338 |
+
'title' => $title,
|
339 |
+
'body' => $body,
|
340 |
+
'modified' => current_time( 'mysql', 1 ),
|
341 |
+
'status' => $status,
|
342 |
+
'name' => $name,
|
343 |
+
'email' => $email,
|
344 |
+
),
|
345 |
array('postid' => $postid),
|
346 |
array('%s','%s','%s','%d','%s','%s'),
|
347 |
array('%d')
|
1895 |
if( intval($topic['layout']) === 3 ) {
|
1896 |
$field['label'] = wpforo_phrase( 'Your question', false );
|
1897 |
if($title) $field['value'] = $prefix_answer . ': ' . $title;
|
|
|
|
|
1898 |
}else{
|
1899 |
$field['label'] = wpforo_phrase( 'Title', false );
|
1900 |
if($title) $field['value'] = $prefix_re . ': ' . $title;
|
wpf-includes/functions-template.php
CHANGED
@@ -769,7 +769,14 @@ class wpForo_Widget_recent_replies extends WP_Widget {
|
|
769 |
<?php endif; ?>
|
770 |
<?php endif; ?>
|
771 |
<div class="wpforo-list-item-right" <?php if( !$instance['display_avatar'] ): ?> style="width:100%"<?php endif; ?>>
|
772 |
-
<p class="posttitle"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
773 |
<?php if( !$current && $instance['display_new_indicator'] ) wpforo_unread_button($post['topicid'], '', true, $post['postid']) ?>
|
774 |
</p>
|
775 |
<p class="posttext"><?php echo esc_html(wpforo_text($post['body'], 55)); ?></p>
|
@@ -807,7 +814,14 @@ class wpForo_Widget_recent_replies extends WP_Widget {
|
|
807 |
<?php endif; ?>
|
808 |
<?php endif; ?>
|
809 |
<div class="wpforo-list-item-right" <?php if( !$instance['display_avatar'] ): ?> style="width:100%"<?php endif; ?>>
|
810 |
-
<p class="posttitle"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
811 |
<?php if( !$current && $instance['display_new_indicator'] ) wpforo_unread_button($post['topicid'], '', true, $post['postid']) ?>
|
812 |
</p>
|
813 |
<p class="posttext"><?php echo esc_html(wpforo_text($post['body'], 55)); ?></p>
|
769 |
<?php endif; ?>
|
770 |
<?php endif; ?>
|
771 |
<div class="wpforo-list-item-right" <?php if( !$instance['display_avatar'] ): ?> style="width:100%"<?php endif; ?>>
|
772 |
+
<p class="posttitle">
|
773 |
+
<a href="<?php echo esc_url($post['url']) ?>"><?php
|
774 |
+
if( $t = esc_html( trim($post['title']) ) ) {
|
775 |
+
echo $t;
|
776 |
+
}else{
|
777 |
+
echo wpforo_phrase('RE', false, 'default') . ': ' . esc_html( trim( wpforo_topic( $post['topicid'], 'title' ) ) );
|
778 |
+
} ?>
|
779 |
+
</a>
|
780 |
<?php if( !$current && $instance['display_new_indicator'] ) wpforo_unread_button($post['topicid'], '', true, $post['postid']) ?>
|
781 |
</p>
|
782 |
<p class="posttext"><?php echo esc_html(wpforo_text($post['body'], 55)); ?></p>
|
814 |
<?php endif; ?>
|
815 |
<?php endif; ?>
|
816 |
<div class="wpforo-list-item-right" <?php if( !$instance['display_avatar'] ): ?> style="width:100%"<?php endif; ?>>
|
817 |
+
<p class="posttitle">
|
818 |
+
<a href="<?php echo esc_url($post_url) ?>"><?php
|
819 |
+
if( $t = esc_html( trim($post['title']) ) ) {
|
820 |
+
echo $t;
|
821 |
+
}else{
|
822 |
+
echo wpforo_phrase('RE', false, 'default') . ': ' . esc_html( trim( wpforo_topic( $post['topicid'], 'title' ) ) );
|
823 |
+
} ?>
|
824 |
+
</a>
|
825 |
<?php if( !$current && $instance['display_new_indicator'] ) wpforo_unread_button($post['topicid'], '', true, $post['postid']) ?>
|
826 |
</p>
|
827 |
<p class="posttext"><?php echo esc_html(wpforo_text($post['body'], 55)); ?></p>
|
wpf-includes/functions.php
CHANGED
@@ -117,7 +117,7 @@ function is_wpforo_url($url = ''){
|
|
117 |
$result = false;
|
118 |
if( wpforo_is_admin($url) ){
|
119 |
$result = false;
|
120 |
-
}elseif( WPF()->use_home_url ){
|
121 |
$result = true;
|
122 |
}elseif( WPF()->permastruct ){
|
123 |
$current_url = wpforo_get_url_query_vars_str($url);
|
@@ -141,7 +141,7 @@ function is_wpforo_shortcode_page($url = ''){
|
|
141 |
$key = 'is_wpforo_shortcode_page_' . $url;
|
142 |
if( WPF()->sql_cache->is_exist($key) ) return WPF()->sql_cache->get($key);
|
143 |
|
144 |
-
$result = !wpforo_is_admin($url) && !
|
145 |
|
146 |
WPF()->sql_cache->set($key, $result);
|
147 |
return $result;
|
117 |
$result = false;
|
118 |
if( wpforo_is_admin($url) ){
|
119 |
$result = false;
|
120 |
+
}elseif( WPF()->use_home_url && !is_wpforo_exclude_url($url) ){
|
121 |
$result = true;
|
122 |
}elseif( WPF()->permastruct ){
|
123 |
$current_url = wpforo_get_url_query_vars_str($url);
|
141 |
$key = 'is_wpforo_shortcode_page_' . $url;
|
142 |
if( WPF()->sql_cache->is_exist($key) ) return WPF()->sql_cache->get($key);
|
143 |
|
144 |
+
$result = !wpforo_is_admin($url) && !is_wpforo_url($url) && has_shortcode( wpforo_get_wp_post_content($url), 'wpforo' );
|
145 |
|
146 |
WPF()->sql_cache->set($key, $result);
|
147 |
return $result;
|
wpf-includes/wpf-hooks.php
CHANGED
@@ -189,9 +189,7 @@ function wpftpl( $filename ){
|
|
189 |
}
|
190 |
|
191 |
function wpforo_init_template(){
|
192 |
-
echo '<div id="wpforo">';
|
193 |
include( wpftpl('index.php') );
|
194 |
-
echo '</div>';
|
195 |
}
|
196 |
|
197 |
add_shortcode( 'wpforo', 'wpforo_load' );
|
@@ -257,7 +255,7 @@ function wpforo_hook_usage( $hook = '' ) {
|
|
257 |
function wpforo_template_include($template){
|
258 |
if( is_wpforo_page() && !is_wpforo_shortcode_page() && ($wpforo_template = wpftpl('index.php')) ){
|
259 |
return $wpforo_template;
|
260 |
-
}
|
261 |
return $template;
|
262 |
}
|
263 |
|
@@ -2788,12 +2786,16 @@ function wpforo_is_recaptcha_configured(){
|
|
2788 |
}
|
2789 |
|
2790 |
add_action( 'plugins_loaded', function(){
|
2791 |
-
if( function_exists('WPF_POLL') ){
|
2792 |
if( version_compare(WPFORO_VERSION, '1.7.7', '>') && version_compare(WPFOROPOLL_VERSION, '1.0.5', '<=') ){
|
2793 |
-
|
|
|
2794 |
|
2795 |
WPF()->dissmissed['poll_version_is_old'] = 0;
|
2796 |
update_option('wpforo_dissmissed', WPF()->dissmissed);
|
|
|
|
|
|
|
2797 |
}
|
2798 |
}
|
2799 |
});
|
@@ -2801,7 +2803,7 @@ add_action( 'plugins_loaded', function(){
|
|
2801 |
add_action('admin_notices', function(){
|
2802 |
if( wpfkey(WPF()->dissmissed, 'poll_version_is_old') && !(int) WPF()->dissmissed['poll_version_is_old'] ){
|
2803 |
$class = 'notice notice-error';
|
2804 |
-
$message = '<div style="font-size: 16px; padding: 10px 0;"><strong>'. __( 'wpForo Polls
|
2805 |
$message .= ' <a href="'. admin_url( wp_nonce_url('admin.php?page=wpforo-community&wpfaction=wpforo_dissmiss_poll_version_is_old', 'wpforo-dissmiss-poll-version-is-old') ) .'">['. __('dismiss', 'wpforo') .']</a>';
|
2806 |
printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message );
|
2807 |
}
|
189 |
}
|
190 |
|
191 |
function wpforo_init_template(){
|
|
|
192 |
include( wpftpl('index.php') );
|
|
|
193 |
}
|
194 |
|
195 |
add_shortcode( 'wpforo', 'wpforo_load' );
|
255 |
function wpforo_template_include($template){
|
256 |
if( is_wpforo_page() && !is_wpforo_shortcode_page() && ($wpforo_template = wpftpl('index.php')) ){
|
257 |
return $wpforo_template;
|
258 |
+
}
|
259 |
return $template;
|
260 |
}
|
261 |
|
2786 |
}
|
2787 |
|
2788 |
add_action( 'plugins_loaded', function(){
|
2789 |
+
if( !(int)wpfval(WPF()->dissmissed, 'poll_version_is_old') && function_exists('WPF_POLL') ){
|
2790 |
if( version_compare(WPFORO_VERSION, '1.7.7', '>') && version_compare(WPFOROPOLL_VERSION, '1.0.5', '<=') ){
|
2791 |
+
remove_action('widgets_init', array(WPF_POLL(), 'init_widgets'));
|
2792 |
+
remove_action('wpforo_before_init', array(WPF_POLL(), 'init'));
|
2793 |
|
2794 |
WPF()->dissmissed['poll_version_is_old'] = 0;
|
2795 |
update_option('wpforo_dissmissed', WPF()->dissmissed);
|
2796 |
+
} else {
|
2797 |
+
WPF()->dissmissed['poll_version_is_old'] = 1;
|
2798 |
+
update_option('wpforo_dissmissed', WPF()->dissmissed);
|
2799 |
}
|
2800 |
}
|
2801 |
});
|
2803 |
add_action('admin_notices', function(){
|
2804 |
if( wpfkey(WPF()->dissmissed, 'poll_version_is_old') && !(int) WPF()->dissmissed['poll_version_is_old'] ){
|
2805 |
$class = 'notice notice-error';
|
2806 |
+
$message = '<div style="font-size: 16px; padding: 10px 0;"><strong>'. __( 'wpForo Polls addon is disabled!', 'wpforo' ) . '</strong><p style="font-size:15px; margin-bottom:0px;">' . __(' Your addon version is not compatible with the current version of wpForo. Please update the addon or downgrade wpForo to 1.7.7', 'wpforo') . '</p></div>';
|
2807 |
$message .= ' <a href="'. admin_url( wp_nonce_url('admin.php?page=wpforo-community&wpfaction=wpforo_dissmiss_poll_version_is_old', 'wpforo-dissmiss-poll-version-is-old') ) .'">['. __('dismiss', 'wpforo') .']</a>';
|
2808 |
printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message );
|
2809 |
}
|
wpf-themes/classic/index.php
CHANGED
@@ -8,49 +8,55 @@
|
|
8 |
|
9 |
if( WPF()->use_home_url ) get_header(); ?>
|
10 |
<?php extract(WPF()->current_object, EXTR_OVERWRITE); ?>
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
}else{
|
35 |
-
wpforo_template();
|
36 |
}
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
45 |
<?php endif; ?>
|
|
|
46 |
</div>
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
</div>
|
51 |
-
<?php endif; ?>
|
52 |
-
<div class="wpf-clear"></div>
|
53 |
</div>
|
54 |
|
55 |
-
<?php
|
56 |
-
if( WPF()->use_home_url ) get_footer(); ?>
|
8 |
|
9 |
if( WPF()->use_home_url ) get_header(); ?>
|
10 |
<?php extract(WPF()->current_object, EXTR_OVERWRITE); ?>
|
11 |
+
|
12 |
+
<div id="wpforo">
|
13 |
+
|
14 |
+
<?php include( wpftpl('header.php') ); ?>
|
15 |
+
|
16 |
+
<div class="wpforo-main">
|
17 |
+
<div class="wpforo-content <?php if(WPF()->api->options['sb_location_toggle'] === 'right') echo 'wpfrt' ?>" <?php echo is_active_sidebar('forum-sidebar') ? '' : 'style="width:100%"' ?>>
|
18 |
+
<?php do_action( 'wpforo_content_start' ); ?>
|
19 |
+
<?php if( !in_array( WPF()->current_user_status, array('banned', 'trashed')) ) :
|
20 |
+
|
21 |
+
if( !WPF()->current_object['is_404'] ){
|
22 |
+
if(WPF()->current_object['template'] === 'lostpassword'){
|
23 |
+
echo do_shortcode('[wpforo-lostpassword]');
|
24 |
+
}elseif(WPF()->current_object['template'] === 'resetpassword'){
|
25 |
+
echo do_shortcode('[wpforo-resetpassword]');
|
26 |
+
}elseif(WPF()->current_object['template'] === 'page'){
|
27 |
+
wpforo_page();
|
28 |
+
}elseif( wpforo_is_member_template() ) {
|
29 |
+
wpforo_template('profile');
|
30 |
+
}elseif( in_array(WPF()->current_object['template'], array('forum', 'topic')) ){
|
31 |
+
wpforo_template('forum');
|
32 |
+
if( WPF()->current_object['template'] === 'topic' ){
|
33 |
+
wpforo_template('topic');
|
34 |
+
} else {
|
35 |
+
wpforo_admin_cpanel();
|
36 |
+
}
|
37 |
+
}else{
|
38 |
+
wpforo_template();
|
39 |
}
|
40 |
}else{
|
41 |
+
wpforo_template('404');
|
42 |
}
|
43 |
+
|
44 |
+
else : ?>
|
45 |
+
<p class="wpf-p-error">
|
46 |
+
<?php wpforo_phrase('You have been banned. Please contact to forum administrators for more information.') ?>
|
47 |
+
</p>
|
48 |
+
<?php endif; ?>
|
49 |
+
</div>
|
50 |
+
<?php if (is_active_sidebar('forum-sidebar')) : ?>
|
51 |
+
<div class="wpforo-right-sidebar">
|
52 |
+
<?php dynamic_sidebar('forum-sidebar') ?>
|
53 |
+
</div>
|
54 |
<?php endif; ?>
|
55 |
+
<div class="wpf-clear"></div>
|
56 |
</div>
|
57 |
+
|
58 |
+
<?php include( wpftpl('footer.php') ); ?>
|
59 |
+
|
|
|
|
|
|
|
60 |
</div>
|
61 |
|
62 |
+
<?php if( WPF()->use_home_url ) get_footer(); ?>
|
|
wpf-themes/classic/style-rtl.css
CHANGED
@@ -780,9 +780,10 @@ RTL Style of Classic Theme
|
|
780 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep{padding: 20px 10px 5px 0px;margin: 5px 12px 0px 0px;font-size: 13px;text-transform: uppercase;font-weight: bold;}
|
781 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep i{margin-left: 3px;}
|
782 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep span{font-weight: bold;}
|
|
|
783 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4{width: calc(100% - 110px);margin: 0 auto 0 0;}
|
|
|
784 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-reply-form-title{font-size: 16px;margin: 20px 0 10px 0;font-weight: normal;line-height: 20px;display: block;}
|
785 |
-
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-post-create .wpf-subject{display: none;}
|
786 |
#wpforo #wpforo-wrap #wpf-form-wrapper.wpfel-4 .mce-toolbar .mce-btn-group .mce-btn.mce-last { float: none; }
|
787 |
|
788 |
@media all and (max-width: 1000px){
|
780 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep{padding: 20px 10px 5px 0px;margin: 5px 12px 0px 0px;font-size: 13px;text-transform: uppercase;font-weight: bold;}
|
781 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep i{margin-left: 3px;}
|
782 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep span{font-weight: bold;}
|
783 |
+
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-post-create .wpf-field-name-title{display:none;}
|
784 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4{width: calc(100% - 110px);margin: 0 auto 0 0;}
|
785 |
+
#wpforo #wpforo-wrap .reply-wrap .wpf-form-wrapper.wpfel-4{width: 100%;}
|
786 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-reply-form-title{font-size: 16px;margin: 20px 0 10px 0;font-weight: normal;line-height: 20px;display: block;}
|
|
|
787 |
#wpforo #wpforo-wrap #wpf-form-wrapper.wpfel-4 .mce-toolbar .mce-btn-group .mce-btn.mce-last { float: none; }
|
788 |
|
789 |
@media all and (max-width: 1000px){
|
wpf-themes/classic/style.css
CHANGED
@@ -785,9 +785,10 @@ Author: gVectors Team
|
|
785 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep{padding: 20px 0 5px 10px;margin: 5px 0 0 12px;font-size: 13px;text-transform: uppercase;font-weight: bold;}
|
786 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep i{margin-right: 3px;}
|
787 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep span{font-weight: bold;}
|
|
|
788 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4{width: calc(100% - 110px);margin: 0 0 0 auto;}
|
|
|
789 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-reply-form-title{font-size: 16px;margin: 20px 0 10px 0;font-weight: normal;line-height: 20px;display: block;}
|
790 |
-
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-post-create .wpf-subject{display: none;}
|
791 |
#wpforo #wpforo-wrap #wpf-form-wrapper.wpfel-4 .mce-toolbar .mce-btn-group .mce-btn.mce-last { float: none; }
|
792 |
|
793 |
@media all and (max-width: 1000px){
|
785 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep{padding: 20px 0 5px 10px;margin: 5px 0 0 12px;font-size: 13px;text-transform: uppercase;font-weight: bold;}
|
786 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep i{margin-right: 3px;}
|
787 |
#wpforo #wpforo-wrap .wpfl-4 .wpf-replies-sep span{font-weight: bold;}
|
788 |
+
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-post-create .wpf-field-name-title{display:none;}
|
789 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4{width: calc(100% - 110px);margin: 0 0 0 auto;}
|
790 |
+
#wpforo #wpforo-wrap .reply-wrap .wpf-form-wrapper.wpfel-4{width: 100%;}
|
791 |
#wpforo #wpforo-wrap .wpf-form-wrapper.wpfel-4 .wpf-reply-form-title{font-size: 16px;margin: 20px 0 10px 0;font-weight: normal;line-height: 20px;display: block;}
|
|
|
792 |
#wpforo #wpforo-wrap #wpf-form-wrapper.wpfel-4 .mce-toolbar .mce-btn-group .mce-btn.mce-last { float: none; }
|
793 |
|
794 |
@media all and (max-width: 1000px){
|
wpforo.php
CHANGED
@@ -5,14 +5,14 @@
|
|
5 |
* Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
|
6 |
* Author: gVectors Team
|
7 |
* Author URI: https://gvectors.com/
|
8 |
-
* Version: 1.8.
|
9 |
* Text Domain: wpforo
|
10 |
* Domain Path: /wpf-languages
|
11 |
*/
|
12 |
|
13 |
//Exit if accessed directly
|
14 |
if( !defined( 'ABSPATH' ) ) exit;
|
15 |
-
if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.8.
|
16 |
|
17 |
function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
|
18 |
add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );
|
5 |
* Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
|
6 |
* Author: gVectors Team
|
7 |
* Author URI: https://gvectors.com/
|
8 |
+
* Version: 1.8.1
|
9 |
* Text Domain: wpforo
|
10 |
* Domain Path: /wpf-languages
|
11 |
*/
|
12 |
|
13 |
//Exit if accessed directly
|
14 |
if( !defined( 'ABSPATH' ) ) exit;
|
15 |
+
if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.8.1');
|
16 |
|
17 |
function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
|
18 |
add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );
|