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.

Panel Order 1.2

2

Comments

  • I also notice the following things,

    when going back n forth to the panel reorder previous extensions that were there are no longer they seem to appear at random but some seem to stay ok,

    another thing is when dragging an extension to a new location, the item never gets put in the location you dragged it to
  • does disabling and enabling the extensions as bugs suggested work, draganbabic? I'm confused here cause all through development I never completely wiped out my extensions...
  • I don't know what you mean by: "does disabling and enabling the extensions as bugs suggested work". :( My conf/extensions is CHMODded at 777 and still no luck. I get the same problem as BugsmeO, except I don't even get the yellow panel reorder bar. Nothing.
  • Can you take a screenshot please? I'm confused what you see.
  • Here it is:

  • Can you look in the PanelOrder folder and see if it's created a file called panelextensions.ini? if not then check the permissions on that folder.
  • edited August 2006
    Nope, no panelextensions.ini, permissions are 755
  • disable all your extensions via the settings tab and then re enable them, that did the trick for me
  • If it's not managing to write the file obviously it's having some sort of permissions issues.

    What happens if you make a file called panelextensions.ini and chmod it to 777 (for the time being) then re-load the Panel Order page?
  • Ok - even weirder error for me. It is showing 8 (and only ever 8) random extensions on the re-order list. Including things that don't even have panels...

    Like the reorder extension itself. And Inline Images attachment. And Attachments.
    Even weirder is the fact that if I move any extensions around and then reload the page, there is another 8 random extensions (with completely different extensions than last time...but since it is random, sometimes there are a few that are the same) and they are in a different order than I placed them.

    Its all wacky! Everything (and I mean everything) is 777 right now.
  • The reorder extension (and i'm guesssing inline images and attachments) do add stuff to the panel on the settings page (note how you browse to the panel order page :D) so even though you might not think of it that way it's too difficult for me to work out how to check if it's adding something besides just a configuration link (i probably could do it but I'm lazy - atleast it's not a bug) As for the 8 random extensions - mine kept stopping at 8 at one point for some reason. How many extensions do you have installed? Would you like to estimate how many add stuff to the panel (including mentioned above)? What if you disable a few (or all) of your extensions and then re-enable them? Is it successfully creating a panelextensions.ini file and what are the contents of that?
  • It is successfully creating the panelextensions.ini. It is also writing the data from 8 seemingly random extensions into the file. Currently is reads something like this (I edited the server path for security reasons):
    [PanelOrder]
    000=/home/extensions/TextMode/default.php
    001=/home/extensions/CategoryJumper/default.php
    002=/home/extensions/PanelOrder/default.php
    003=/home/extensions/Attachments/default.php
    004=/home/extensions/InlineImages/default.php
    005=/home/extensions/GuestWelcome/default.php
    006=/home/extensions/InviteFriends/default.php
    007=/home/extensions/Legends/default.php
    I have tried 3 methods of enabling/disabling. I did it to all extensions separately without doing the reorder extension. I also did it to all of them including the reorder extension. I also did it to all of them as a batch without the reorder extension and then enabled the reorder extension.

    I have 33 extensions. As far as I know, 11 of them use the sidepanel.
  • Well atleast all those extensions (i believe?) add something to the panel so it's not *too* wacky. I'm confused why it's missing the rest though. Could you possibly zip up your extensions folder and mail it to g at int0rw3b dot com so i can install it on my server and see if i get wierd behaviour too? My dev server is in the process of being upgraded and having vista installed but i'll try and get round to it asap.
  • edited September 2006
    mine is no longer working again, i can see them but the order is not sticking, would be cool to see extensions be more lke wordpress plugins, they never interfere with each other, and you never have to worry about file permissions they just work when you activate them is panel reorder also suppose to include the admin settings panel ? would be better to separate the two, gets confusing when you want to re-order the public end panel you don't care to see Vanilliacons or page mangagement in the list
  • im having some of the same issues, everything's chmodded to 777 at the moment (*shudders*) and panel order just picks some random ones, and occasionally saves the order. disabling/enabling all my extensions kinda worked, but some are still missing
  • Right. Thanks to ddc for helping me debug this. I've worked out the 8 extension limit issue - i was indexing them using 001 002 etc which i forgot made php interpret them as octal numbers which (and correct me if i'm wrong here - in any case it seems to work now) stops at 8. We also worked out that if extensions used $Panel->AddListItem without first defining the list then it didnt work so I've fixed it to stop that problem.

    If everyone who's been having trouble with this extension could please download the new source for v1.2 from here and let me know how it goes I'd appreciate it.
  • If anyone downloaded it since i posted that you'll need to grab it again or it'l rewrite its own files and break itself :D. Fixed now.
  • I was having some of the same issues everyone else has been discussing so I downloaded the file that Minisweeper posted but it still seems broken.

    My list still shows extensions that shouldn't be there and the order does not stick. I get everything where I want it and when I go back to the Discussions page, the order is all screwed up.
  • Would it be possible you could drop in to some sort of chat app (irc or msn) sometime so we can try and work through those bugs? It's a pita trying to test stuff on a forum.
    In the meantime, can you make a list of extensions which it's showing, any extensions it should be showing but isnt, and tell me whether it's making a panelorder.ini file and if so whether it's indexing the extension in there correctly when you re-order the list.
  • edited September 2006
    I don't have time right now to go through all of that but I'll take a look later tonight when I get back. Then I'll be able to give you the info you need. Drop me a line when you read this and we can exchange screen-names.

    [edit]
    Ok, I took a quick look at the files. As far as I can tell (I am new to Vanilla) it's listing all of the extensions it should be. I have only two problems.
    1. It's listing extensions it shouldn't be; Account Pictures & Attachments
    2. I arrange everything to display the way I want it to look. It automatically saves it. I go back to the Discussions page and everything is out of order.
    There is a file called panelextensions.ini which contains the following info...
    [PanelOrder] 0=/home/chrisleg/public_html/Forum/extensions/Sidepanel-2006-07-24/default.php 1=/home/chrisleg/public_html/Forum/extensions/AccountPictures/default.php 2=/home/chrisleg/public_html/Forum/extensions/DiscussionFilters/default.php 3=/home/chrisleg/public_html/Forum/extensions/Poll/default.php 4=/home/chrisleg/public_html/Forum/extensions/WhosOnline/default.php 5=/home/chrisleg/public_html/Forum/extensions/CategoryJumper/default.php 6=/home/chrisleg/public_html/Forum/extensions/PanelLists/default.php 7=/home/chrisleg/public_html/Forum/extensions/Notify/default.php 8=/home/chrisleg/public_html/Forum/extensions/Atom/default.php 9=/home/chrisleg/public_html/Forum/extensions/Legends/default.php 10=/home/chrisleg/public_html/Forum/extensions/Statistics/default.php 11=/home/chrisleg/public_html/Forum/extensions/RSS2/default.php 12=/home/chrisleg/public_html/Forum/extensions/GuestWelcome/default.php 13=/home/chrisleg/public_html/Forum/extensions/Attachments/default.php
    That is definitely not the way I arranged them. I tried editing the .ini file by hand but the results were the same.

    I'm not sure if that helps at all. If you need any other info to try and solve this problem just let me know.
This discussion has been closed.