Private messaging plugins + custom admin
Since the last time, I was able to make my own private messaging system. I do have some other questions which I will post in another “ask question” segment.
Since the last time, I was able to make my own private messaging system. I do have some other questions which I will post in another “ask question” segment.
OK this one is solved. I actually created a separate items that can be dragged in as a link, but are actually hard coded pieces of markup with adequate classes.
It sounds like you want a membership site that restricts content to certain membership levels. There are several membership plugins available for WordPress and several reviews of the options. One site what has several articles on membership plugins is: chrislema.com
Although users have access to go to /wp-admin/, they will not have access to do anything on there. There is no security risk involved to being able to have access /wp-admin/ for WooCommerce users. If you’d like however, you can setup an Apache protected directory with a password to /wp-admin/ that requires an additional user … Read more
Sometimes i find wordpress can be quite finiky when it comes to referencing files within the plugin. Specifying a full path seems to fix the problem. Try replacing… market_admin/icon.png With… /wp-content/plugins/your-plugin-name-goes-here/your-file-name-goes-here.png
Your form action point to the url in which the login form is displayed, and this is many times not the desired behavior when you write your own login form. You should let the login end point handle the login. The result should be something like <form …. action=”<?php echo esc_url( site_url( ‘wp-login.php’, ‘login_post’ ) … Read more
As long as you have SSH access you can write wp-cli based scripts to instull whatever you want. In theory you can also extend WHM/Cpanel to do that, but that is more of what hosting company will do and probably not relevant to “end users”
Not sure what the exact problem here is but you could try adding the following line in wp-config.php file define(‘FORCE_SSL_ADMIN’, true); Let me know how this works out.
Add the following code to your widget code: function fileSizeInfo($filesize) { $bytes = array(‘KB’, ‘KB’, ‘MB’, ‘GB’, ‘TB’); if ($filesize < 1024) $filesize = 1; for ($i = 0; $filesize > 1024; $i++) $filesize /= 1024; $dbSizeInfo[‘size’] = round($filesize, 3); $dbSizeInfo[‘type’] = $bytes[$i]; return $dbSizeInfo; } function databaseSize() { global $wpdb; $dbsize = 0; $rows … Read more
This code will boot out a user if they haven’t authored a post. For the purposes of this example, posts with a status of publish are considered “authored”. I’ve added some comments in the code to walk you through what’s going on – please reach out to me if you have any questions. <?php // … Read more