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.

whos online.

2»

Comments

  • Line 143 is the wrong one to edit... You'll need to change the if statement on lines 149 and 150 to make this work, but I don't have the time at the moment to figure out the best way to do it. Maybe someone else can take a closer look.
  • Yeah, line 149: if (in_array($Context->SelfUrl, array("account.php", "categories.php", "comments.php", "index.php", "post.php", "search.php", "settings.php")) && !$Context->Session->User->Preference("HideWhosOnline")) {
  • Will the $Context->Session->User->Preference("HideWhosOnline") bomb out and throw an error because its a guest and not an actual logged in user?
  • Possibly yeah... couldn't you get round that by just putting an @ infront to silence it or does that only work on functions? Otherwise you'd need a series of if statements and that'd get messy..I think. My brain's a bit rusty at the mo :(
  • I would have thought this would have been an easy mod. Most forums are able to display how many guests etc to guests. It shows that the forum is working and people are not alone.
  • edited June 2007
    It's an easy mod except for the fact you need to take proper users preferences into account. If you dont want to do that then it's very simple indeed. Even if you do want to do that it's not difficult it just takes some logic consideration and apparently a few months of doing monkey jobs and travelling has turned my brain to dust...
  • Has your brain cooled down sufficiently yet minesweeper? if so i'd still be interested to know how to make this mod please.
  • It's not so much that it needs to cool down, more that it needs to warm up. Heh.. I'll think about it..
  • I want to be able to set the "Hide my username from the "Who's Online" panel" to "0" using the global preferences settings extension so that everyone's name will show up. What would be the correct command to set?

    Thanks!
  • I think I figured it out: I need to set preference "Phantom" to "0". Is this correct?
This discussion has been closed.