Posts: 6
Threads: 3
Joined: Apr 2014
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
Posts: 6
Threads: 3
Joined: Apr 2014
I am trying to use the "Front-End User Login Plugin"
http://get-simple.info/extend/plugin/front-end-user-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
Posts: 10
Threads: 1
Joined: Feb 2024
2024-06-03, 08:27:47
(This post was last modified: 2024-06-03, 08:29:08 by aurafx.)
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 %}
Posts: 10
Threads: 1
Joined: Feb 2024
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/front-end-user-login-enhanced/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.
Posts: 6
Threads: 3
Joined: Apr 2014
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