Two suggestions
-
I have two more suggestions for you guys.
1. Add support for AJAX login/register modal window. By that I mean to add an option to replace “You must be logged in to post a comment” link with the AJAX modal window plugin. Some of these plugins, like ZM Ajax Login & Register for example, have a shortcode option. What I want is to have an option inside WpDiscuz settings to change this link in comment-form/form.php:
$login = preg_replace(‘!>([^<]+)!is’, ‘>’ . $wc_core->wc_options_serialized->wc_phrases[‘wc_logged_in_text’], $login);
into this shortcode:
[ajax_login]
so the users don’t have to wait for a wp-login.php page to load and wait again to be redirected to the comment section.
I’m not a PHP developer so I don’t know if that is possible.
2. Option to ban an IP address of a comment. For example, to have a “Block this user’s IP address” option when moderating comments in a Dashboard. Another good thing would be to have a timeout interval for that ban, for example: 1h, 24h, 7 days, 15 days, 1 month, 3 months, 6 months, 1 year, forever. This isn’t an important option because there are anti-spam plugins available, but I thought it would be nice to have it integrated.
The topic ‘Two suggestions’ is closed to new replies.