Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Logout and Login Issues

10 years 6 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi JomSocial,

I hope you can help! Basically i have two issues:

Issue 1. When in mobile view of my website and i try to logout, It wont logout. I had recently had a similar issue in desktop view, where i couldn't logout.

A colleague of yours told me to change the following to the code in desktop view and it worked successfully:

To fix the logout issue you must do the following:

1. copy /components/com_community/templates/default/toolbar.index.php to /templates/socialize/html/com_community/toolbar.index.php

2. copy /modules/mod_community_toolbar/tmpl/default.php to /templates/html/mod_community_toolbar/default.php

3. find and replace all
document.communitylogout.submit();
with
document.getElementById('communitylogout').submit();

.....BUT NOW WHEN IN MOBILE VIEW I CANT LOGOUT. SO I HAVE THE SAME ISSUE AS ABOVE BUT NOW IN MOBILE VIEW.

HOW CAN I FIX THIS ISSUE? Screanshot: take.ms/I117E


issue 2: With the JomSocial Redirect installed i can tell it what to do when someone logs in and when someone logs out. This is great BUT..The issue i have is when a customer receives an email with a link and they click on the link to go to a specific page; after the customer is prompted to login to the website it does not continue to that link they clicked on. How can i get it to continue to follow the link after the login prompt?

Thanks Guys,

Kind Regards,

Lee

10 years 6 months ago
Licenses:

Hi, Lee.

What versions do you use? This sissue should be solved in JomSocial 3.2.1.5 and Socialize 1.2.9.
Please, upgrade if needed.

Also I can't login to your backend to check versions...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi Guys,

I have trouble creating a new ticket as i cannot see any button for it. Anyway So...

The problem i am having is a redirection issue.
To put it simply, if a customer was to receive an email notification URL to view an item: The customer would click the URL link to view it, > it would ask to login to the site > after logging in it SHOULD take me to the item or URL i just clicked on. BUT IT DOESN'T.

If i was to disable the Jomsocial Redirect Plugin then it will work correctly. But obviously i need the Jomsocial Redirect plugin so if any new customers want to sign up then it will direct them to the Jomsocial Registration form.

What can i do?
Can an option be put in the Jomsocial Plugin correct this please? Or alternatively please provide me details of how to fix this myself

Thanks guys

Kind Regards,

Lee

10 years 5 months ago
Licenses:

Hi, Lee.

Do you have enabled "Redirect back to previous page" option in plugin?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi Michal,

I hope you are well!

Yes i do have the option "Redirect back to previous page" option Enabled.
When this option is enabled, it goes to a blank page after logging in. says "successfully logged in". It does not continue to the page / URL that you intended to go on.

Thank you

Kind Regards,

Lee

10 years 5 months ago
Licenses:

Hi, Lee.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 5 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

That's great thank you Michal! Please update me as soon as you guys can.

Thank you

Kind Regards,

Lee

10 years 5 months ago
Licenses:

Hi Lee,

1)
for logout button at mobile. you must changing the code at line 56 for /templates/socialize/html/com_community/toolbar.index.php:
from

<a href="javascript:void(0);" title="<?php echo JText::_('COM_COMMUNITY_LOGOUT'); ?>" onclick="document.communitylogout2.submit();">
to
document.getElementById('communitylogout2').submit();

2)
please make override for guests.denied.php, copy it from /components/com_community/templates/default/ to /templates/socialize/html/com_community/

and changing
$this->load('frontpage.guests.php');
to
$this->load('frontpage.guests');

also try this solution for profile page issue:
www.jomsocial.com/forum/technical-issues...-email-notifications

Regards,
Albert

10 years 5 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi Guys,

I have followed your steps in this topic but i am still having no luck with it. I have checked it 2 or 3 times. Can someone please help? Having a nightmare with this. Users that clicks on a URL in a email notification cant be directed to the page after login.

Is there something i am missing? I would really appreciate it if another set of eyes can take a look please? This is a major issue.

Kind Regards,

Lee

10 years 5 months ago
Licenses:

Hi Lee,

I saw your site nor using socialize template. and I check at moble view, I can logout with out any issue.
please provide me more detail. and provide me FTP access detail by editing your first post at this topic.
I will make the changes for you.

Regards,
Albert

10 years 5 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi Albertus,

I think the main point has been missed. Login in and out as standard is fine. But, lets go back to my original Question:

Hi Guys,

I have trouble creating a new ticket as i cannot see any button for it. Anyway So...

The problem i am having is a 'login redirection' issue.
To put it simply, if a customer was to receive an email notification URL to view an item:
1. The customer would click the URL link to view the page,
2. Then it would ask to login to the site
3. after logging in it SHOULD take me to the item or URL i just clicked on. BUT IT DOESN'T.

If i was to disable the Jomsocial Redirect Plugin then it will work correctly. But obviously i need the Jomsocial Redirect plugin so if any new customers want to sign up then it will direct them to the Jomsocial Registration form.

What can i do?
Can an option be put in the Jomsocial Plugin correct this please? Or alternatively please provide me details of how to fix this myself

Thanks guys

Kind Regards,

Lee


I have made the changes in this topic so that the redirection will go to the correct pages but i am still getting a blank page when i select the option 'Redirect back to previous page = yes' in the Plugin 'System - Jomsocial Redirect'

I hope this makes sense

Regards,

Lee

10 years 4 months ago
Licenses:

Hi Lee,

I already provide the solution for that:
www.jomsocial.com/forum/socialize-templa...-login-issues#111248

may i know what link for that issue? I just tried with private message notification for test user, at email I got:
http://[yousite].com/index.php?option=com_community&view=inbox&task=read&msgid=1
I open that link with browser, and ask for login. I logged in and redirected to message detail page:

Part of the message is hidden for the guests. Please log in or register to see it.

Regards,
Albert

Attachments:
10 years 4 months ago
  • Lee's Avatar
    Topic Author
  • Lee
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi Albertus,

Ok, let me give you a different example:

Step 1. Logout of your account first

Step 2. If you was to click on a registered link on the site like the 'Get Advertising' Menu item in the topbar next to the social icons, it will ask you to login first before continuing to that page.

Step 3. After clicking on the link it will ask to login first. After logging in it goes to a blank page with a logout button. WHY does it not continue to the page / link i just clicked on?

Kind regards,

Lee

10 years 4 months ago
Licenses:

Hi Lee,

now I got what you mean. I confirmed this is a bug with jomsocial redirect plugin.
please wait for the fix.

Regards,
Albert

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