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.

Change the order in panel

edited June 2006 in Vanilla 1.0 Help
Hi! How can i change the order of the extensions in the panel. i think when i have 200 online users and the whoIsonline panel is on the top, the other items are gone?! i searched, bud i find nothing ...

Comments

  • MarkMark Vanilla Staff
    Open up extensions/WhosOnline/default.php and change line 152 to something like this:

    $Panel->AddList($ListName, 500);

    That should move it out of the way...
  • Mark, core or extension idea: user-defined Sidebar sorting order :)
  • thanx!
  • edited June 2006
    Ouch lech. That'd be an extension and a half. How would you even tackle that? I suppose you'd have to remove everything from the panel once the page had been built and re construct it?
  • Well, I think an internal handler delegate or extra pointer would need to be assigned to both vanilla and extensions, ie: default position, and user/admin position (that last one could be an individual or global setting) which could re-order items simply based on that number. But honestly, I was just joking with that trailing smile added. Although it could be a nice feature for authors who wish to expand on the sidebar, or anything else to that matter and have a predisposed delegate to handle that kind of stuff for the admin/user side now that I think about it. I gotta love how these ideas all come out just prior to final release, sorry about that.
  • Yeah, I definitely dont think it should go into v1 before release fo sho. Infact it shouldnt even be the core. It could be a pretty spanky extension though if someone had the time.
  • well, the something would go into the core to make this possible, but yeah, it's not v1 material, maybe later.
  • Just an idea, cold it be a kinda drop and drag javascript/dhtml thing that would alter a file after the execution of the whole page. Then, when the whole page gets executed, the order of excecution for all the sidebars will be changed to the users current preferance. Just an idea i'm throwing out :P
This discussion has been closed.