Recent content by sajal

  1. S

    XF 2.1 How to unserialize Redis session data?

    I have user session data stored in Redis like this...
  2. S

    XF 2.1 Disable add-on from database

    Is there any easy and safe way to disable addon from db directly? I tried to set active to 0 in the xf_addon, but that doens't seem to be enough!
  3. S

    XF 2.1 What is last_activity field used for?

    I'm struggling a bit to grasp the exact purpose of the last_activity field in the user table. When I log in and out, it doesn't seem to update. Shouldn't that be considered a "visit"? In the admin's user search, there's a filter labeled "Last visited between," but it doesn't seem to detect...
  4. S

    XF 2.1 Is there anyway to know user's last login date?

    @jeb35 I just found out that, the card you pointed out displays the last activity actually, but not the last seen. Snippet from the template: <dt>{{ phrase('last_seen') }}</dt> <dd dir="auto"> <xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" />...
  5. S

    XF 2.1 Is there anyway to know user's last login date?

    @jeb35 Ok, thanks. I'll try to see where I can find this piece of information in db.
  6. S

    XF 2.1 Is there anyway to know user's last login date?

    Is there anyway to know user's last login date? I have just looked into the db, and I can see that there's this "last_activity" field in the xf_user table. But, I want to just know last login date of users, even if users didn't perform any activity after login. Any help would be greatly...
  7. S

    XF 2.1 Does XF 2.1.3 support username edit feature?

    Thank you so much @Sim for your reply!
  8. S

    XF 2.1 Does XF 2.1.3 support username edit feature?

    Just wanted to check if the XF 2.1.3 allows the users to change the username? I can see that the XF 2.2.X supports it.
  9. S

    XF 2.1 How to skip CSRF token for a specific route?

    I have a custom POST route which is called from third party, so it's not possible to pass CSRF token. How to skip it? Because when I try to call it, it gives me 400 bad request security error.
  10. S

    XF 2.1 How to find the entry from xf_session table by user-id?

    I want to find the entry from the xf_session table by user-id instead of session-id. How to do that? Any help would be greatly appriciated.
  11. S

    XF 2.1 [E_NOTICE] Trying to get property 'is_discouraged' of non-object src/XF/Pub/Controller/AbstractController.php:365

    When the user logs in and redirected to home page, why I get the following error in the Server error log. In frontend, I can see " An error occurred while the page was being generated. Please try again later.". Any help would be greatly appreciated: [E_NOTICE] Trying to get property...
  12. S

    XF 2.1 Not able to use third party composer library

    @Sim Thanks a million, I'll check it out right away!
  13. S

    XF 2.1 Not able to use third party composer library

    I want to use this "league/oauth2-client" library. I have installed it via Composer. Now when I try to use it in my controller file like this: use League\OAuth2\Client\Provider\GenericProvider; use League\OAuth2\Client\Provider\Exception\IdentityProviderException; I get the error: Error...
  14. S

    XF 2.1 Why custom route prefix is getting deleted

    I have created a new plugin. And I've added a new public route for this plugin. Not sure, but every now and then it's getting deleted. Not sure what could be the issue?
Top Bottom