Customizing SMF > Portals, Bridges, and Integrations
New tools to help integrating SMF with something else
nathanmc:
Hi Andre,
And now there is another issue....
I can no longer use the quick login to the forum. It says incorrect password. Then on the subsequent screen I reenter the password and it logs in. But, when I click on Members (for example) it thinks I'm not logged in.
Can you please assist...
Thak you.
nathanmc:
Hi there,
I've fixed the registration issue, my fault, I had the code in the wrong spot of the main registration process.
However, I still have the above SMF login problem. Not related to my own system setup, this is just trying to log directly into SMF.
Any assistance would be wonderful.
nathanmc:
I've now fixed the login problem, thanks to "miikka_" via post:
http://www.simplemachines.org/community/index.php?topic=363778.msg2551833#msg2551833
Basically, the www was missing from the Settings.php file $boardurl
This fixed the problem!!
Hope this helps others and I do wonder why this occurred?
nathanmc:
Hi everyone,
I've finally been able to integrate Registration, Logging In and Logging out with my website via the API.
Unfortunately (it seems) SMF doesn't automatically remove the Login Logout and Register buttons when registration functionality is disabled and "Show a quick login on every page" is off.
Therefore, after reading hundreds of topics/posts, I found that you can at least redirect the login by placing a redirect at the top of the file "LogInOut.php" and "Register.php" (found in the Sources folder).
However, I'm still trying to remove the LOGOUT button from the menu.
Can someone please help me with this?
Thank you.
Kindred:
???
if registration is disabled, then yes... SMF removes (does nto display) the register button.
However, of course it continues to show the login or logout button.... Those are not part of registration.
to remove those, you would delete or comment out the button listing from the menu array in subs.php
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version