Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom user registration
#1
Hello everyone

I have a basic site where users can freely download a software. Now I want to build a feature where if a user clicks on the download link he is redirected to a page where he enters just the company name (& password) he works for and only after that the user can download the software. I am not much a PHP developer can I do this feature in getsimple ? Or is there other alternative ?

It is a kind of user registration but with a custom form.

thanks
Emax
Reply
#2
I am trying to use the "Front-End User Login Plugin"

http://get-simple.info/extend/plugin/fro...login/202/

but then when I try to enable the either login or registration form
<?php echo show_login_box(); ?>

(I am adding the string from the editor page of get simple) it does not show up anything.
Probably I am not doing it right ..

thanks for any help
Reply
#3
because this code uses PHP you have to insert this tag in your template.php file, it cant be used in the HTML Editor directly, or alternatively you could use DynPages plugin to include this code in a component which could be used in the HTML editor via a shortcode

DynPages Plugin: http://get-simple.info/extend/plugin/dynpages/81/

example install DynPages plugin, create a component named whatever you like

lets say you create a component with the name
login-box

you would paste the login box code
<?php echo show_login_box(); ?>

in this component and save, then include the component in any page via the HTML edito using the shortcode
{% login-box %}
Juan Pecan - My Personal Website - https://aurafx.site
Reply
#4
I would also recommend that you use the updated version of Front-end User Login

Front-End User Login Enhanced:
http://get-simple.info/extend/plugin/fro...anced/809/

this "Enhanced" version is what I use personally and it would be easy to add users to a group and show relevant content for a user in that group.

using a function to check what group, or in your case "company" a user belongs to , we can then show them relevant information or "software" llinks.
Juan Pecan - My Personal Website - https://aurafx.site
Reply
#5
thanks for you answers. I just have couple of questions:

1. if you use front-end user login how can I change the login form page ? I need to add another information like "company" how can I do that ?
2. the whole list of users where is it stored ? can I view it in a simple way ?

thanks
Reply




Users browsing this thread: 4 Guest(s)