Page 1 of 1

Manage Sidebar Visibility - Forgets previous selection

Posted: Mon Aug 18, 2008 11:36 pm
by vdudman
Hi

Perhaps its something I'm doing wrong, or havn't installed...

When I'm using Toggle Sidebar state (collapsed/uncollapsed) - Manage Sidebar Visibility plugin...when I admin it to change certain plugin visibilities it works fine ie they are hidden etc... however when I return to tweek other sidebar plugins it dosn't remember the previous choice....

Any ideas what I've done wrong, or is it a bug ?

Any more info I can give ?

Neil

Re: Manage Sidebar Visibility - Forgets previous selection

Posted: Tue Aug 19, 2008 10:55 am
by garvinhicking
Hi!

Where exactly is the choice not remembered? For the frontend visibility, or within the "Manage Sidebar visibility" admin interface?

Which choices exactly? Could you make a screenshot?

Are you using Firefox3? We have seen that firefox3 sometimes auto-fills in FORM element information that does not relate to the actual HTML output. Maybe you can, just for test, try to use Opera or IE or Safari to see, if it shows you the same state?

Regards,
Garvin

Manage Sidebar Visibility - Forgets previous selectionReply

Posted: Tue Aug 19, 2008 1:02 pm
by vdudman
> Where exactly is the choice not remembered? For the f>rontend visibility, or within the "Manage Sidebar visibility" >admin interface?
Yes thats the one.

> Which choices exactly? Could you make a screenshot?
http://www.hospodaripomahajihospodarum. ... /error.jpg

>Are you using Firefox3? We have seen that firefox3 >sometimes auto-fills in FORM element information that >does not relate to the actual HTML output. Maybe you can, >just for test, try to use Opera or IE or Safari to see, if it >shows you the same state?
Its Firefox 2 but the same on konquor (kubuntu I've put the "view doc source" at http ... .txt Neil

Re: Manage Sidebar Visibility - Forgets previous selectionRe

Posted: Tue Aug 19, 2008 1:06 pm
by garvinhicking
Hi!

Could it be that you are installing or re-ordering sidebar plugins? Once you change something in the layout order, the "management" sidebar plugin might loose its references, because changing the order changes also other values that the plugin depends on.

Regards,
Garvin

Posted: Tue Aug 19, 2008 9:35 pm
by vdudman
Hi! Garvin

>Could it be that you are installing or re-ordering sidebar plugins? Once you >change something in the layout order, the "management" sidebar plugin >might loose its references, because changing the order changes also other >values that the plugin depends on.
I don't think so... but can't be sure, sorry. When I tested it if it saved the values I wasn't moving plugins around or installing new ones at all.

I've now removed the plugin and re added. I hoped this might change something if some ordering of something got messed up. what I have is...
"Only Catories" -> I can select 1 or multiply and it saves and remebers if I leave and come back
"Hidden check box" also is remebered likewise.
The 3 radio buttons arn't remembered after saving, leaving and returning to form. Infact the radio item is cleared when after the save button is pressed.

Regards
Neil

Posted: Wed Aug 20, 2008 10:13 am
by garvinhicking
Hi!

Do you select any group (where USELEVEL_ADMIN) stands, or do you leave that multiselect empty? When you select a group there, the radiobox has no meaning any longer, because the group takes precedence.

Once you saved your configuration, you might want to do an SQL dump of this result:

Code: Select all

SELECT * FROM serendipity_config WHERE name LIKE '%sidebarhider%'
The current state of your selection is saved in those fields. You could compare the result you backup there with the new data, if you ever find your state "wiped"...?

Regards,
Garvin

Posted: Wed Aug 20, 2008 12:09 pm
by vdudman
Here is the result of the query now (i hope its readable)... I'd already set fields and they work ok, but the radio buttons are never shown if you select them, even they get unselected after a save.

I made an html file of the tables incase they don't show beliow... http://www.hospodaripomahajihospodarum. ... utput.html

>Do you select any group (where USELEVEL_ADMIN) stands, >or do you leave that multiselect empty? When you select a >group there, the radiobox has no meaning any longer, >because the group takes precedence.
I only have one group in the USERLEVEL_ADMIN group box selection... and I don't select this at all...

name value authorid
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/category_view_list a:22:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:0:"";s:64:"@serendipity_quicksearch_plugin:15ec2f9856518de3e5be80b71cef6e3a";s:0:"";s:61:"serendipity_plugin_loginform:63f8f49d3c5ffc876592f70fdf551350";s:0:"";s:64:"serendipity_plugin_multilingual:0840ad7d23979aef2bc4316257901ce4";s:0:"";s:62:"@serendipity_superuser_plugin:9019a7a559f0fe9aa1e6a6185c800986";s:0:"";s:63:"@serendipity_categories_plugin:5552a310a1ab533a630d84ab6650f341";s:0:"";s:59:"serendipity_plugin_pollbox:96e1158fe2e1d1e540712987fcde458b";s:0:"";s:61:"@serendipity_archives_plugin:d188676796ccb9cc23f2dddfe9d220ab";s:0:"";s:64:"@serendipity_syndication_plugin:4b25e2fdf5442a49c825e7d7d788279b";s:8:",2,1,8,4";s:61:"@serendipity_calendar_plugin:46cdac6ecff6e6ad7152e77b3a4a3e7c";s:0:"";s:57:"@serendipity_plug_plugin:ff3c06bddcd015652976d9b0c8f6ae82";s:0:"";s:63:"serendipity_plugin_showentries:12f309f56d6028f1d9f2481b287ab668";s:0:"";s:67:"serendipity_plugin_creativecommons:0cb68d1bc60f14ead67f2b83d3e19f1a";s:0:"";s:60:"serendipity_plugin_comments:a395a17136ab5a2019ade64a7d59f22f";s:0:"";s:71:"serendipity_plugin_nugget_multilingual:bd44dc63e863073956c7663c61501fc7";s:0:"";s:59:"serendipity_plugin_freetag:7a194888310474a2c4fa61b62ba954f6";s:0:"";s:63:"serendipity_plugin_showentries:9466d366a833ead8ecf32c87dda478fe";s:0:"";s:63:"serendipity_plugin_externalphp:209a6e0e5f3679056f44fdd577cbf4cb";s:0:"";s:60:"@serendipity_authors_plugin:d9f345eb7d5077b3a9e221be00dd6c1a";s:0:"";s:59:"serendipity_plugin_authors:c3389df11cb601cecd73ff592061886e";s:0:"";s:71:"serendipity_plugin_category_dhtml_menu:3076b9b0f1f84acc7d7184cd8a4009e6";s:0:"";s:55:"serendipity_plugin_faq:63836145ae22fe8caa60ff3fa918cfa2";s:0:"";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_sidebar_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_title_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_link text-decoration:none;float:right;margin-right:3px; 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_visible - 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_hidden + 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/view_list a:15:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:8:"everyone";s:64:"@serendipity_quicksearch_plugin:15ec2f9856518de3e5be80b71cef6e3a";s:6:"member";s:61:"serendipity_plugin_loginform:63f8f49d3c5ffc876592f70fdf551350";s:8:"everyone";s:64:"serendipity_plugin_multilingual:0840ad7d23979aef2bc4316257901ce4";s:8:"everyone";s:62:"@serendipity_superuser_plugin:9019a7a559f0fe9aa1e6a6185c800986";s:6:"member";s:63:"@serendipity_categories_plugin:5552a310a1ab533a630d84ab6650f341";s:6:"member";s:59:"serendipity_plugin_pollbox:96e1158fe2e1d1e540712987fcde458b";s:6:"member";s:61:"@serendipity_archives_plugin:d188676796ccb9cc23f2dddfe9d220ab";s:6:"member";s:60:"serendipity_plugin_comments:a395a17136ab5a2019ade64a7d59f22f";s:6:"member";s:71:"serendipity_plugin_nugget_multilingual:bd44dc63e863073956c7663c61501fc7";s:6:"member";s:59:"serendipity_plugin_freetag:7a194888310474a2c4fa61b62ba954f6";s:6:"member";s:60:"@serendipity_authors_plugin:d9f345eb7d5077b3a9e221be00dd6c1a";s:6:"member";s:59:"serendipity_plugin_authors:c3389df11cb601cecd73ff592061886e";s:6:"member";s:71:"serendipity_plugin_category_dhtml_menu:3076b9b0f1f84acc7d7184cd8a4009e6";s:6:"member";s:55:"serendipity_plugin_faq:63836145ae22fe8caa60ff3fa918cfa2";s:6:"member";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/usergroups_view_list a:0:{} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/plugin_list a:3:{i:0;a:8:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;}s:4:"hide";a:10:{i:0;i:0;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;i:8;i:1;i:9;i:1;}i:1;a:4:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;}} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/enable true

ok now I go and select "members only" radio button for the first plugin on left "switch language" (shown in the screen shot. Heres that query again

Second query, as most of the selections or settings weren't displayed
name value authorid
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/view_list a:1:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:6:"member";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/category_view_list a:22:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:0:"";s:64:"@serendipity_quicksearch_plugin:15ec2f9856518de3e5be80b71cef6e3a";s:0:"";s:61:"serendipity_plugin_loginform:63f8f49d3c5ffc876592f70fdf551350";s:0:"";s:64:"serendipity_plugin_multilingual:0840ad7d23979aef2bc4316257901ce4";s:0:"";s:62:"@serendipity_superuser_plugin:9019a7a559f0fe9aa1e6a6185c800986";s:0:"";s:63:"@serendipity_categories_plugin:5552a310a1ab533a630d84ab6650f341";s:0:"";s:59:"serendipity_plugin_pollbox:96e1158fe2e1d1e540712987fcde458b";s:0:"";s:61:"@serendipity_archives_plugin:d188676796ccb9cc23f2dddfe9d220ab";s:0:"";s:64:"@serendipity_syndication_plugin:4b25e2fdf5442a49c825e7d7d788279b";s:8:",2,1,8,4";s:61:"@serendipity_calendar_plugin:46cdac6ecff6e6ad7152e77b3a4a3e7c";s:0:"";s:57:"@serendipity_plug_plugin:ff3c06bddcd015652976d9b0c8f6ae82";s:0:"";s:63:"serendipity_plugin_showentries:12f309f56d6028f1d9f2481b287ab668";s:0:"";s:67:"serendipity_plugin_creativecommons:0cb68d1bc60f14ead67f2b83d3e19f1a";s:0:"";s:60:"serendipity_plugin_comments:a395a17136ab5a2019ade64a7d59f22f";s:0:"";s:71:"serendipity_plugin_nugget_multilingual:bd44dc63e863073956c7663c61501fc7";s:0:"";s:59:"serendipity_plugin_freetag:7a194888310474a2c4fa61b62ba954f6";s:0:"";s:63:"serendipity_plugin_showentries:9466d366a833ead8ecf32c87dda478fe";s:0:"";s:63:"serendipity_plugin_externalphp:209a6e0e5f3679056f44fdd577cbf4cb";s:0:"";s:60:"@serendipity_authors_plugin:d9f345eb7d5077b3a9e221be00dd6c1a";s:0:"";s:59:"serendipity_plugin_authors:c3389df11cb601cecd73ff592061886e";s:0:"";s:71:"serendipity_plugin_category_dhtml_menu:3076b9b0f1f84acc7d7184cd8a4009e6";s:0:"";s:55:"serendipity_plugin_faq:63836145ae22fe8caa60ff3fa918cfa2";s:0:"";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_sidebar_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_title_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_link text-decoration:none;float:right;margin-right:3px; 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_visible - 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_hidden + 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/usergroups_view_list a:0:{} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/plugin_list a:3:{i:0;a:8:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;}s:4:"hide";a:10:{i:0;i:0;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;i:8;i:1;i:9;i:1;}i:1;a:4:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;}} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/enable true

Third query... this time I try and change the same "members only" radio button for the first plugin on left "switch language" (shown in the screen shot, I set "members_only" and hidden redio box. Heres that query again

name value authorid
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/view_list a:1:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:6:"member";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/category_view_list a:22:{s:64:"@serendipity_html_nugget_plugin:b3403738810dc8a71173b591547957fa";s:0:"";s:64:"@serendipity_quicksearch_plugin:15ec2f9856518de3e5be80b71cef6e3a";s:0:"";s:61:"serendipity_plugin_loginform:63f8f49d3c5ffc876592f70fdf551350";s:0:"";s:64:"serendipity_plugin_multilingual:0840ad7d23979aef2bc4316257901ce4";s:0:"";s:62:"@serendipity_superuser_plugin:9019a7a559f0fe9aa1e6a6185c800986";s:0:"";s:63:"@serendipity_categories_plugin:5552a310a1ab533a630d84ab6650f341";s:0:"";s:59:"serendipity_plugin_pollbox:96e1158fe2e1d1e540712987fcde458b";s:0:"";s:61:"@serendipity_archives_plugin:d188676796ccb9cc23f2dddfe9d220ab";s:0:"";s:64:"@serendipity_syndication_plugin:4b25e2fdf5442a49c825e7d7d788279b";s:8:",2,1,8,4";s:61:"@serendipity_calendar_plugin:46cdac6ecff6e6ad7152e77b3a4a3e7c";s:0:"";s:57:"@serendipity_plug_plugin:ff3c06bddcd015652976d9b0c8f6ae82";s:0:"";s:63:"serendipity_plugin_showentries:12f309f56d6028f1d9f2481b287ab668";s:0:"";s:67:"serendipity_plugin_creativecommons:0cb68d1bc60f14ead67f2b83d3e19f1a";s:0:"";s:60:"serendipity_plugin_comments:a395a17136ab5a2019ade64a7d59f22f";s:0:"";s:71:"serendipity_plugin_nugget_multilingual:bd44dc63e863073956c7663c61501fc7";s:0:"";s:59:"serendipity_plugin_freetag:7a194888310474a2c4fa61b62ba954f6";s:0:"";s:63:"serendipity_plugin_showentries:9466d366a833ead8ecf32c87dda478fe";s:0:"";s:63:"serendipity_plugin_externalphp:209a6e0e5f3679056f44fdd577cbf4cb";s:0:"";s:60:"@serendipity_authors_plugin:d9f345eb7d5077b3a9e221be00dd6c1a";s:0:"";s:59:"serendipity_plugin_authors:c3389df11cb601cecd73ff592061886e";s:0:"";s:71:"serendipity_plugin_category_dhtml_menu:3076b9b0f1f84acc7d7184cd8a4009e6";s:0:"";s:55:"serendipity_plugin_faq:63836145ae22fe8caa60ff3fa918cfa2";s:0:"";} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_sidebar_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_title_hidden 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/style_link text-decoration:none;float:right;margin-right:3px; 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_visible - 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/html_link_hidden + 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/usergroups_view_list a:0:{} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/plugin_list a:3:{i:0;a:8:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;}s:4:"hide";a:10:{i:0;i:0;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;i:8;i:1;i:9;i:1;}i:1;a:4:{i:0;i:1;i:1;i:1;i:2;i:1;i:3;i:1;}} 0
serendipity_event_sidebarhider:127795033798a41c8e9dfc0234521796/enable true

Neil

p.s If you'd like to take a look directly yourself I can share the id's with you or I can try anything else you suggest.

Posted: Wed Aug 20, 2008 12:41 pm
by garvinhicking
Hi!

I just committed an updated version of the plugin that should properly now show you the checkbox state. Please download the plugin PHP file from here to overwrite your current copy:

http://php-blog.cvs.sourceforge.net/*ch ... rhider.php

Tell me if that works out for you.

Regards,
Garvin

Posted: Wed Aug 20, 2008 3:10 pm
by vdudman
Thanks Garvin

THe fix works fine... and I can see changes to those radio buttons.

Neil