Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

JomSocial toolbar logout button not fully logging out from site.

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Please you try disable cache setting and change handler to PHP on Joomla configuration , follow this screenshot.



thank you!

Attachments:
6 years 6 months ago
Licenses:
JomSocial Active

Hi Dimas,
Thanks for your reply.
Everything was same as your screenshot, apart from the session handler, changed from 'database' to 'PHP' and working fine now. T
Thanks
Stephen

6 years 6 months ago
Licenses:
JomSocial Active

@Dimas please change the link like I wrote in below post and the logout works perfect.
There are also wrong links in different files like toolbar template

6 years 6 months ago
Licenses:
JomSocial Active

Changing to PHP session handler does make logout work like it should. With JomSocial 4.4.4. leaving it on Database it still does not work. PHP session handler makes whole site slow on response in my case.

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I think this issue is coming from Joomla itself, because our logout link use standard Joomla code

thank you!

6 years 6 months ago
Licenses:
JomSocial Active

Hi Dimas,
Since you identified the previous issue earlier, logout is now working as it should. As such I think the plugin was also responsible for logout issue.
Thanks
Stephen

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

you're welcome Stephen, but there is no plugin issue on this topic.. but if you find something just let me know.. :)

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

you're welcome Stephen, but there is no plugin issue on this topic.. but if you find something just let me know.. :)

6 years 6 months ago
Licenses:
JomSocial Active
6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

oh the logout issue is not related with that plugin

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

To fix this
- open this file components/com_community/controllers/system.php, add this code

//prevent guest
         $user = CFactory::getUser();
         if(!$user->id){
             die;
         }
after this code
public function ajaxGetAdagency(){

- and open this file plugins/system/jomsocialredirect/jomsocialredirect.php, add this code
JFactory::getApplication()->getSession()->destroy();
after this code
JFactory::getApplication()->logout();

thank you!

6 years 6 months ago
Licenses:
JomSocial Active

Awesome! Please add option to plg_jomsocialredirect for disabling welcome message on successful login in next week 4.4.5 release ;)

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Thank you for the idea, indeed that message is bit annoying.. we will make it later.

thank you!

6 years 5 months ago
Licenses:
JomSocial Active

I have to use Session Handler: Database (15 min.) again. With it site works a little bit faster (popup/modal windows opens instantly; with PHP option - it "Loading..." few seconds first).

But with Session Handler: Database sometimes LogOut'ing doesn't work properly. :(


Sorry for my English
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW