Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Who's Online

123468

Comments

  • yes, I totally wish I could wait... anyone using the who's Online 1.1 on Vanilla 0.9.3?
  • yes, I totally wish I could wait... anyone using the who's Online 1.1 on Vanilla 0.9.3?
    I am, but with a really old revision of 0.9.3

    It's entirely possible that your version of vanilla is too new, and the extension has to be updated to match.
  • holy crap, zombie thread again!
  • oh, and who's online was only written to be compatible with 0.9.2.
  • There's an 0.9.3 version
  • oh yeah, there was that edit. yeah. what he said.
  • edited April 2006
    It's entirely possible that your version of vanilla is too new,
    My 0.9.3 is only a couple of weeks old, so that does sound likely, thanks.

    I've also commented in the HTML Formatter Exploit discussion to see if that is still a problem.
  • Version 1.1 was fixed to work with Vanilla 0.9.3 IIRC.

    If I have time tomorrow night, I'm going to start working on a version that will work with Vanilla 1.0. I'll let you know when it's working.
  • edited May 2006
    Good news! michaelontheroof did all the work for me! The extension now works under Vanilla 1.0

    You can now find the extension here:
    http://www.thirty5.net/code/vanilla/whosonline/vanilla1.0/WhosOnline.zip

    or here:
    http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=29
  • Yeah! :)
  • Installing the Who's Online extension on a clean install of Vanilla 1 I get the following error message:

    "A fatal, non-recoverable error has occurred
    Technical information (for support personel):

    Error Message
    An error occurred while updating your account.
    Affected Elements
    WhosOnline.UpdateDateLastActive();

    The error occurred on or near: You have an error in your SQL syntax near 'u set DateLastActive=now() where u.UserID = '1' ' at line 1

    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs
    "


    Has anyone seen this or know what is happening? Any help would be great. Thanks.
  • edited May 2006
    I installed this extension without any errors, but I think it has a problem with the Friendly Url's extension being used as well. When you have both installed and click on either Discussions, Categories etc... on the menu and then try to click a users profile in the Who's Online list the URL is wrong. Also, I don't know for sure but I don't think the guest count is working.

    Anyone have a quick fix for this?

    Installed on the latest svn version btw.
  • roguefoxx : > "I think it has a problem with the Friendly Url's extension being used as well."

    If it helps, I hadn't gotten to installing the friendly URLs extension.
  • That looks like a problem with the SqlBuilder class. But, just for kicks, what SQL server (MySQL? Postgres? SQLite?)/version are you running?
  • blizeHblizeH ✭✭
    Has anyone found out how to fix the links when friendly URLs are installed?
  • edited June 2006
    I use these rules for a problem like that with spell checker and Attachement:
    #Prevent some little bad effect of these #rules on some extensions RewriteRule ^(discussions|categories|search|post|settings|people)/(extensions|themes|images)/(.*) $2/$3 [QSA,L] #If a discusion has "extensions" for title. RewriteRule ^discussion/.+/extensions/(extensions)/(.*) $1/$2 [QSA,L] RewriteRule ^(discussions|discussion|account|search|post)/.+/(extensions|themes|images)/(.*) $2/$3 [QSA,L]
    They work for me. But I Havn't tried this extension
  • edited June 2006
    Should be better (Friendly Urls is off just now, Havn't tried this new set yet):
    #Prevent some little bad effects of these #rules on relative link in some extensions RewriteRule ^(discussions|categories|search|post|settings|people)/(extensions|themes|images)/(.*) $2/$3 [QSA,L] RewriteRule ^discussion/([0-9]+/){1,2}[^/]*/(extensions|themes|images)/(.*) $2/$3 [QSA,L] RewriteRule ^(discussions|discussion|account|search|post)/.+/(extensions|themes|images)/(.*) $2/$3 [QSA,L]
  • edited June 2006
    I just installed WhosOnline. It should work with these rules:
    #Prevent some little bad effects of these #rules on relative link in some extensions RewriteRule ^(discussions|categories|search|post|settings|people|[0-9]+)/(extensions|themes|images|ajax)/(.*) $2/$3 [QSA,L] RewriteRule ^(discussions|categories|search|post|settings|people|[0-9]+)/(account.php|categories.php|comments.php|extension.php|index.php|people.php|post.php|search.php|settings.php) $2 [QSA,L] RewriteRule ^discussion/([0-9]+/){1,2}[^/]*/(extensions|themes|images|ajax)/(.*) $2/$3 [QSA,L] RewriteRule ^discussion/([0-9]+/){1,2}[^/]*/(account.php|categories.php|comments.php|extension.php|index.php|people.php|post.php|search.php|settings.php) $2 [QSA,L] RewriteRule ^(discussions|account|search|post|[0-9]+)/.+/(extensions|themes|images|ajax)/(.*) $2/$3 [QSA,L] RewriteRule ^(discussions|account|search|post|[0-9]+)/.+/(account.php|categories.php|comments.php|extension.php|index.php|people.php|post.php|search.php|settings.php) $2 [QSA,L]
  • Is it worth building these rewrite rules into the friendly url extension? Or are they specific for certain jobs? I tried understanding what they did but it went over my head a bit :(
  • edited June 2006
    WhosOnline create links like this one:
    <h2>Who's Online</h2> <ul><li> <a href="account.php?u=1" title="0 seconds ago">Damien</a></li></ul>
    From http://lussumo.com/community/comments.php?DiscussionID=617&page=3 (this page with Friendly Urls off), the link send you to http://lussumo.com/community/account.php?u=1.
    From http://lussumo.com/community/discussion/617/3/whos-online/#Comment_31408 this page with Friendly Urls on), the link send you to http://lussumo.com/community/discussion/617/3/whos-online/account.php?u=1, nowhere.

    These rules should prevent any bad links like that,
    From any Friendly Urls location :
    (discussions|categories|search|post|settings|people|[0-9]+)/ or
    ^discussion/([0-9]+/){1,2}[^/]*/ or
    (discussions|account|search|post|[0-9]+)/.+/

    To any files in the vanilla root directory:
    (account.php|categories.php|comments.php|extension.php|index.php|people.php|post.php|search.php|settings.php)

    or To any directlies (just the one that could be present in a relative link on a page):
    (extensions|themes|images|ajax)
This discussion has been closed.