Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Without that particular plugin, one option might be to create a separate database outside of WordPress (say a different database using MySQL). That database would have users and comments as well as administrators and authorizations setup in tables. You could create a registration page that would update your database the way you would want it. Then you could use MySQL queries (and maybe there are existing WordPress plugins for that although CGI scripts are my current preference) so you could have your php code that would run to complete what you are asking for. I use the insert-php plugin to write php code directly within the page to prototype with.

    I wrote a custom-plugin with a short-code that goes on each page where allow-comments needs to be overridden to allow it, because I was frustrated with the general settings not working; but it is not yet prime-time for general release.

    I used a custom-plugin and wrote a shortcode to perform the desired function. It kind of worked.

    I am having a simple difficulty with this theme and the default WordPress 4.4.2 installation. I have selected “Allow people to post comments on new articles” ( controlled by http://localhost/wordpress/wp-admin/options-discussion.php ) and when I write a new page, the comment form is simply missing unless I manually select it and quick edit it. The regular edit does not have the option (that I can find at least) to show the comment form.

    It seems to me that options-discussion.php is not working some how, but I cannot seem to debug it and I am doing it manually for now with a quick edit on every page (that is frustrating).

    The heart (“active ingredient”) of the plugin is:

    //For now only showing show comments-twenty-sixteen
    //Adapted from http://wp-time.com/disable-comment-in-wordpress/
    global $wpdb;
    $wpdb->query(” UPDATE $wpdb->posts SET comment_status = ‘open’ WHERE comment_status = ‘closed’ “);
    update_option(‘comment_status’, ‘open’);

    $wpdb->query(” UPDATE $wpdb->posts SET default_comment_status = ‘open’ WHERE default_comment_status = ‘closed’ “);
    update_option(‘default_comment_status’, ‘open’);

    Why is this not working completely? Right now, only when the plugin is in place does it allow the comment field to show on the page on reload. But it does not set it globally.

    Thread Starter stephenelliott

    (@stephenelliott)

    Thank you so much for the above link, and I appreciate that. It is fantastic that the effort has been started. With Wikipedia, each user has a home page to sandbox with. Also with WordPress this is possible – for each person to log his particular issue with a website dedicated to it until the content is in polished enough form to publish on the main WordPress Codex site.

    I appreciate feedback being posted here or also comments being posted to the newly-setup site [Link redacted]

    Thank you everyone with your help with the issue. And thank you WordPress team for providing WordPress as a program and its wonderful support.

    Thread Starter stephenelliott

    (@stephenelliott)

    I am accustomed to the 5-minute install working. A lot of people need WordPress on their own servers. (It is not some fringe installation.)

    From the 5 minute-install:

    If you are installing WordPress on your own web server, follow the <b>Using phpMyAdmin</b> or <b>Using the MySQL Client</b> instructions below to create your WordPress username and database.

    https://codex.ww.wp.xz.cn/Installing_WordPress#Detailed_Instructions

    These instructions should have a link to troubleshooting the installation with the error messages that can come up and accurate resolution paths for each message. A WordPress installer should not have to even approach the support forums for this issue since it is basic to typical installations of the program.

    Thread Starter stephenelliott

    (@stephenelliott)

    Unfotunately with this issue, it is the same issue, and it is still recurring after 1 year’s time. (I just experienced the issue, and it was not easy to resolve.) This https://ww.wp.xz.cn/support/topic/missing-the-mysql-extension-1?replies=8 link is the one that came out most relevant. I had used Google Search, so it the one that the public is referencing a lot to try to fix the issue, but it does not solve the problem.

    1. With software debugging, the usual course is to type in the exact error message on the support site. I tried that again fresh on the WordPress Support site and I got this link as the first response:

    https://ww.wp.xz.cn/search/Your+PHP+installation+appears+to+be+missing+the+MySQL+extension+which+is+required+by+WordPress?forums=1

    But that does not resolve the issue, because it does not have the correct configuration for Apache which is one of the major sources of this problem with the latest Apache and PHP software.

    So I feel that that post should be reopened and the issue needs to be more clearly documented on the WordPress support site.

Viewing 7 replies - 1 through 7 (of 7 total)