- This topic has 4 replies, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Delete page + delete(d) action
Hi,
Would it be possible to make the delete template overridable so we can tweak the design without edit the template in the plugin directory.
Also if possible would be great if it could stay within the current design/layout instead of being a new html page with no styling.
Linked to this could a delete action be added so we know who has been deleted.
This would help us delete any linked forms entries (Gravity) or linked data via the email address.
Thanks,
Nick
Sorry, your questions are not clear. What deleted templates are you talking about?
Hi,
Currently when you allow users to delete their own account you see the delete page (/views/account_delete_warning.php) which is a blank white page with a message saying You are about to delete an account…… This is the template I was referring to about overriding etc.
Once the delete it approved and happened a new WordPress action would be great with the users email address so we can delete any linked data etc.
Thanks,
Nick
Currently when you allow users to delete their own account you see the delete page (/views/account_delete_warning.php) which is a blank white page with a message saying You are about to delete an account…… This is the template I was referring to about overriding etc.
If you are an adept PHP programmer, you can try your hand at customizing the views/account_delete_warning.php file, located in the plugin’s directory. But you must keep track of your modifications, or they will be removed; the next time you update the plugin.
Will have to do this if no other choice but thought these additions (loading the template from the theme folder like the other templates and the new add_action) would help others and be the cleaner solution.
Nick