Topic-icon Controlling multiple login forms

Active Subscriptions:

None
What is the typical procedure to limit all the login forms from various extensions for unlogged in users

For instance I am using easybloy jomsocial and jfb connect mainly. Nothing wrong with any of the login forms but having each of them appear on respective menu items is probably disconcerting to users. I imagine that the best way has something to do with restricting access to various menu items based on the users logged in status, but before I go ahead and dive into that operation I want to make sure its the best, fastest, or only way to handle this issue.

All three of these extensions integrate together and yet I still have the easybloglogin for the write blog page. the jomsocial + jfb login for the jomsocial page. and the jfb module im using as my standard on all the pages i put it. I would have hoped the integration of all these components would have a standard entry page for unlogged in users....

so whats the best practice here so i dont burn 2 hours doing the wrong thing!!!
The topic has been locked.
Support Specialist
11 years 2 weeks ago #53369 by alzander
There really isn't a 'best practice'. This is a common question (or problem) with Joomla. Some extensions have options to disable their login forms, others don't. Some extensions will always redirect to 'their own' login form if you try to hit a restricted page in their extension, others will let you select whether to use their login for or the standard Joomla form.

One of the easiest ways to redirect any of the individual login page URLs to a specific login URL that you want all users to use. The redirection can be performed in the Redirect component, that comes with Joomla, the .htacess file, or with 3rd party SEF extensions.

I hope that helps with some ideas, but if I misunderstood your question or you need more suggestions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hm. I guess this is a little more complicated than I anticipated. I don't see how a redirect will work. Won't all users be directed to the login form regardless if they are logged in? Are you saying there is a URL that for instance easyblog is accessing when someone accesses an entirely different URL off my site, and that I could redirect the requests to that URL? so when access to menu item easy blog triggers a login form it is redirecting that page even tho the URL in the browser remains my designated URL?
The topic has been locked.
Support Specialist
11 years 2 weeks ago #53373 by alzander
I don't know specifically how your site works or what exactly you're trying to solve. I just heard that you have many login forms.

Generally, what this means, is that users are getting redirected to different pages on your site, like:
/jomsocial/login
/easyblog/login
index.php?option=com_users&view=login
Or others. The ones above are just examples, of course, but hopefully that's clear. If that's what's happening, then you need to setup redirections for each of those URLs to go to whatever URL you want all logins to occur on.

I hope that helps explain some more, but if not, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
This link solved all my problems! Thanks for the help


brian.teeman.net/joomla/415-the-guest-us...nu-items-and-modules
The topic has been locked.
Support Specialist
11 years 1 week ago #53409 by alzander
Wow, that's a great link. Brian Teeman is somewhat the father of Joomla and his recommendations/suggestions are usually spot on. I'm glad you found that and thanks for sharing!

Alex
The topic has been locked.