Login script

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
hanb

Login script

Post by hanb »

CMS version 1.0.6 with frontendusers
I am new to cms and need some help with coding. My website works ok, but I want to use user login coding to avoid spam etc.
I get theusernumber and passwortd request with the captcha request to type in, but i do not know how to code around this and have actions depending on the correct login or failure. Also I need users to register if they do not exist.
I am looking for some coding examples on how to code this into my content page. I have very little php experience, but can read code as I used to be a programmer when I was young.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Login script

Post by calguy1000 »

for users to register themselves you need the 'SelfRegistration' module.

to display different content to different users, you need the CustomContent module.

and then, you need to learn the {get_template_vars} tag, and smarty at smarty.php.net/manual/en
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”