Wordpress add plugin version alert - wordpress

In creating a plugin, how can I add a version update reminder for anyone using my plugin? This plugin will not be on Wordpress.org but on my own site. I am assuming the plugin checks on my server for a specific file and if the check version is same, no alert but if it is different an alert message will show? But how? Any direction would be appreciated.
The second part of this question is how to write the plugin to allow auto update like any plugins on wordpress? This way they can just click update and the plugin will just update.
Thanks.

I wouldn't host the plugin on your site for security reasons. There have been cases of malware hidden in plugins in the past and it's advised to get plugins from wp.org.
As for the alert system, you should use wp-cron.php to regularly check the txt file hosted on your server.

Related

When saved, WordPress editor automatically adds "rel=nofollow" to every external link

currently I'm running into this issue, where external links are automatically set to no-follow by WordPress. As of now I wasn't able to detect the source of this behaviour.
The page uses the Classic Editor (v1.6.2) Plugin - however, the problem still occurs without the use of this Plugin.
There are a bunch of other plugins installed but those are not directly involved with the post editin feature of WordPress. Are there any clues which might cause this issue?
If you need any information I can provide.
Which other Plugins are you using?
Are you maybe using RankMath or another SEO Plugin?
These have a setting to make all external links with "rel=nofollow". You would need to deactivate this or add an exceptions for specific domains.
Check the settings.

How do I remove/unpublish my plugin from https://wordpress.org/plugins?

I would like to remove my plugin from the plugin directory of wordpress because I dont want any new installs made with it. I can't find any solution from Google.
As of April 2020 you have the ability to close your own plugins without needing to contact them via email. Go to the ADVANCED VIEW link on sidebar of your plugin page and scroll down to the CLOSE THIS PLUGIN section. Read the warning. If that is acceptable to you, then click the button that says "I Understand..."
To remove a plugin from the WordPress repository, first delete the code via SVN. Then email plugins#wordpress.org using the email you registered with at wordpress.org (for the account that is the author of the plugin). They will delete it within a few days and email you back to confirm. They basically hide the plugin pages. The plugin slug remains blocked and your project can be resurrected if you can convince them to re-open it.

Can we lost any settings if we update plugin by single click?

I have a wordpress website. It will ask to update plugin again and again. So if i do these plugin update by clicking on update button, will any settings of plugin be lost ?
Whether plugin will get lost all previous setting or not, it is totally dependent on plugin logic.
E.g. I can develop a WordPress plugin which if somebody installs and updates later, can erase all previous setting. I can write a logic like that. So you can simply ask the same question to plugin developer as they can give you perfect answer.

Editing Wordpress Plugin after uploaded

After developing a plugin for Wordpress, I have to submit it to appear in the plugins page in Wordpress, can I edit in the plugin after uploading?
Or do I have to upload when I absolutely done with that version?
Thanks.
If you are referring to submitting your plugin to WordPress.org, then you would want that version to be completed prior to upload. Any subsequent changes would be a new version of the Plugin and should be updated accordingly. So your first release would be version 1, and a minor change might be v1.0.1 if you want to follow Semantic Versioning.
If you are referring to changing it from within a WordPress site's admin page, then it is possible to edit the plugin file. However this is kind of a security risk.
The editing after uploading the plugin fully depends upon the file permission which you have given. Check the WordPress Plugin Editor Screen for editing online after upload. And also this link to for more details.

Wordpress plugin for external DB login

Do any one know
any word press plugin that can used for external dB login ,apart from word press plugin
'External DB authentication' because it is not compactable for word press latest version 3.0.4
I have installed the External DB authentication plugin successfully, with a fresh installation of Wordpress 3.0.4. I have also been able to configure it and use it without any problem.
Could you please post the errors or problems you have encountered when you tried to install it?
I didn't know this plugin in fact, but works great, good to know about it!
Check this out: http://www.cedricve.me/blog/2011/07/18/how-to-make-use-of-wordpress-passwords/
It explains how you can make an external login with the credentials of a wordpress installation.
I hope this can help you ;)
Incase you wanted different features, that plugin didn't quite do everything I needed so I created my own called External Login:
https://wordpress.org/plugins/external-login/
If there's something it doesn't do that you require let me know as I'm always open to ideas on how to improve it.

Resources