1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[rellect] Last Seen Policy 1.0.7

Members who hide their online status won't see the online status of others (Inspired by WhatsApp).

  1. rellect

    rellect Well-Known Member

    rellect submitted a new resource:

    Last Seen Policy - Members who hide their online status won't see the online status of others (Inspired by WhatsApp).

    Read more about this resource...
     
    owtlawatv, RhysR, maszd and 2 others like this.
  2. Kerby

    Kerby Active Member

    Interesting. But is it possible to just visit profilesite of target user as guest to find status? Or did you block this for guests?
     
  3. rellect

    rellect Well-Known Member

    That's a good point which I forgot to test. I've fixed this case. Thanks.
    (Guests have permissions as well, so if set that they must share their online status, they will no longer be able to see online status of anyone)
     
  4. rellect

    rellect Well-Known Member

    rellect updated Last Seen Policy with a new update entry:

    v1.0.1

    Read the rest of this update entry...
     
  5. Kerby

    Kerby Active Member

    your added new option is only a 100% or 0% visibility for guests. but a possible option should be, that guests can see all status from users that have the visibility enabled. Guests should only can't see the disabled visibility users.
     
    RhysR likes this.
  6. rellect

    rellect Well-Known Member

    That's not correct, if the permission "must share online status" is activated for guests, then they can't see the online status of anyone.
    But if that permission isn't set, then guests can see the online status as usual (of those who don't hide it).
     
    Kerby likes this.
  7. rellect

    rellect Well-Known Member

    rellect updated Last Seen Policy with a new update entry:

    v1.0.2

    Read the rest of this update entry...
     
    RoldanLT, 51463 and maszd like this.
  8. JamesBrown

    JamesBrown Well-Known Member

    I get an error when installing the xml file

    Server Error
    Cannot load class using XFCP. Load the class using the correct loader first.

    1. XenForo_Autoloader->autoload()
    2. spl_autoload_call() in rellect/LastSeenPolicy/XenForo/Model/User.php at line 3
    3. include() in XenForo/Autoloader.php at line 119
    4. XenForo_Autoloader->autoload()
    5. spl_autoload_call()
    6. class_exists() in XenForo/Helper/Php.php at line 62
    7. XenForo_Helper_Php::validateCallback() in XenForo/Helper/Php.php at line 124
    8. XenForo_Helper_Php::validateCallbackPhrased() in XenForo/DataWriter/CodeEventListener.php at line 101
    9. XenForo_DataWriter_CodeEventListener->_preSave() in XenForo/DataWriter.php at line 1446
    10. XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1385
    11. XenForo_DataWriter->save() in XenForo/Model/CodeEvent.php at line 405
    12. XenForo_Model_CodeEvent->importEventListenersAddOnXml() in XenForo/Model/AddOn.php at line 316
    13. XenForo_Model_AddOn->importAddOnExtraDataFromXml() in XenForo/Model/AddOn.php at line 226
    14. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
    15. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 188
    16. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 351
    17. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    18. XenForo_FrontController->run() in /var/www/vhosts/mysite.co.uk/httpdocs/forum/admin.php at line 13
     
  9. rellect

    rellect Well-Known Member

    I'll release an update now to fix this, thanks.
     
  10. rellect

    rellect Well-Known Member

    maszd likes this.
  11. owtlawatv

    owtlawatv Member

    thank you!
     
    rellect likes this.
  12. MirandaSings

    MirandaSings Active Member

    Can this be disabled for guests? I can't view their activity
     
  13. rellect

    rellect Well-Known Member

    How your permissions are set?
     
  14. JamesBrown

    JamesBrown Well-Known Member

    Now if only the people who hide their online status could not see the who's online block, this addon would be perfect.
     
  15. rellect

    rellect Well-Known Member

    Good point about the online block, forgot about that. But I don't think hiding it completely is necessary, it can still be used to show the number of members online (without mentioning any names).
     
  16. JamesBrown

    JamesBrown Well-Known Member

    Yes, just not showing the names would be great. If they can't see who's online they are less likely to hide themselves (y)
     
  17. JamesBrown

    JamesBrown Well-Known Member

    Hi @rellect any closer to hiding who is online in the online block? Cheers
     
  18. rellect

    rellect Well-Known Member

    Hey, sorry couldn't find time for this yet as I have other commitments that takes priority.
     
    JamesBrown likes this.
  19. rellect

    rellect Well-Known Member

    rellect updated Last Seen Policy with a new update entry:

    v1.0.4

    Read the rest of this update entry...
     
    51463 likes this.
  20. Mouth

    Mouth Well-Known Member

    Error being produced ....

    Code:
    Server Error Log
    Error Info
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'user.is_staff' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Petesul, Today at 15:41
    Stack Trace
    #0 library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\t\tSELECT se...')
    #1 library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\t\tSELECT se...')
    #2 library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\t\tSELECT se...')
    #3 library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('\r\n\t\t\t\tSELECT se...', Array)
    #4 library/XenForo/Model/Session.php(39): Zend_Db_Adapter_Abstract->fetchAll('\r\n\t\t\t\tSELECT se...')
    #5 library/XenForo/Model/Session.php(469): XenForo_Model_Session->getSessionActivityRecords(Array)
    #6 library/XenForo/ControllerPublic/Logout.php(44): XenForo_Model_Session->processLastActivityUpdateForLogOut(41931)
    #7 library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Logout->actionIndex()
    #8 library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #9 index.php(13): XenForo_FrontController->run()
    #10 {main}
    Request State
    array(3) {
      ["url"] => string(102) "https://site/logout/?_xfToken=41931%2C1455936052%2Cf0f2<>"
      ["_GET"] => array(2) {
        ["/logout/"] => string(0) ""
        ["_xfToken"] => string(57) "41931,1455936052,f0f2fc1ce0bf61b690de<>"
      }
      ["_POST"] => array(0) {
      }
    }
    
     

Share This Page