Add placeholder in URL?

Dominik L Posted in Technical Support 4 months ago

Hello!

I'd like to link the profile deletion option from gdpr component on a custom site.

how can I add a placeholder for the username in the url?

https://queermeet-dev1.de/u/PLACEHOLDER HERE/edit?section=deleteacc

Replies
Indonesian Arsalan Shah Replied 4 months ago

how to create a page in ossn? see hello world component. It can be created by use of ossn_page_handler function.

German Dominik L Replied 4 months ago

How can I create a custom URL?

Indonesian Arsalan Shah Replied 4 months ago

Create a custom URL that redirect them to actual URL and then use following to get username

  ossn_loggedin_user()->username