Page 1 of 1

Plugins Disappear in 1.1 beta4

Posted: Mon Sep 18, 2006 2:31 pm
by azel
I just updated to version 1.1 beta4 (for Costa's awesome new theme!), but when I move the plugins to anything besides left or right, they disappear.

In Costa's two colored theme, there are four bottom sidebars. I moved three of my plugins to the bottom, and after saving, they just simply disappear (and do not show up on the theme). I tried flushing my cache, disabling javascript in my browser and in my personal settings. Also tried changing themes, but none of this has brought my missing three plugins back. Another user posted having the same problem on the thread for Costa's theme.

Any ideas on what could be causing the issue?

(Even with this minor issue, I'm really excited about where s9y is going!)

Posted: Mon Sep 18, 2006 6:27 pm
by costa
yeah, i have an idea...

i played a lot with latest nightly builds and they're running without problems. BUT i'm using sqlite as my database - on my blog and on my local instalations (for testing purposes). never had problems you mentioned and i don't have them now.

from the other hand - a couple of my polish fellows also reported me this strange behaviour of their blogs and i'm waiting now for some infos about databases their are using. i'm pretty sure none of them is using sqlite :). mysql everywhere as i suppose.

garvin, are you reading this? can you do a little testing? i'm not very familiar with mysql database and i don't know how to run it on my local instalation :/

Posted: Mon Sep 18, 2006 7:42 pm
by carl_galloway
Its a problem with the way the new sidebars are implemented, read Garvin's response to my original bugreport. Garvin's code was pretty rough and ready to test the concept, and when he gets back from his vacation he plans to spend more time fixing this.

Posted: Mon Sep 18, 2006 7:55 pm
by garvinhicking
Hi!

Sadly I'm too short on time to do serous testing right now.

If possible, azel, do you have phpMyAdmin access to your DB? Could you check the "serendipity_plugins" table? There you should see the plugins you moved to a different side; please tell me what the "side" option is set to?

It is VITAL that the names of plugin sides are not longer than 6 characters; if the sidebar name is like "bottom_sidebar1" then this is too long and it can later not be fetched again. I believe this is documented in both the docs/NEWS file and the s9y.org wiki entry for template designers. Costa, can it be that you used a name with too many characters?

Best regards,
Garvin

Posted: Mon Sep 18, 2006 8:00 pm
by carl_galloway
Actually Costa did use sidebar names that are too long, his are bottom1, bottom2, bottom3, bottom4.

Posted: Mon Sep 18, 2006 8:11 pm
by garvinhicking
Hi Carl!

Thanks for telling! Then definitely until I get the time to integrate your suggestions for showing "unassigned" plugins, you will need to take care of using only 6 letter sidebar key names and asking people who already changed their plugin sides to manually fix the serendipity_plugins table :)

I'll definitely fix this issue before 1.1 gets released, though.

Best regards
Garvin

Posted: Mon Sep 18, 2006 8:45 pm
by costa
daamn, it's written in s9y's blog about those 6 letters but i tested it and everything worked just great with my names. thought you improved something... :/

anyway, under sqlite everything runs smooth. problem is with mysql database. one of my readers did the test and failed under mysql but succeeded with sqlite.

darn :/

ok, i'll change names for sidebars and will see what will happen now.

Posted: Tue Sep 19, 2006 4:10 am
by azel
Okay I can access phpMyAdmin to change the plugin placement from bottom to left or right - they come reappear for selection when I do this. I reset the "missing" plugins, updated Costa's theme, and tried again placing two this time on the bottom. They disappear again.

The sidebar theme choices are Left, Hidden, Right, Bottom1, Bottom2, Bottom3, Bottom4. Could the disappearance be caused by these "Bottom" headings, because of the six letter limitation?

The nightly I am using is 200609172342, so I am going to update to the most recent nightly.

Posted: Tue Sep 19, 2006 5:13 am
by azel
Weirdness here:

I moved one of the plugins to "Bottom1" and it disappeared. On a whim, I went into phpMyAdmin and changed the placement of this plugin to "bt1" and now it shows up on the blog, but not on the plugin configuration screen.

For no reason I uploaded screenshots:

http://aetheric-shade.org/uploads/pluginadmin.jpg
In the admin

http://aetheric-shade.org/uploads/pluginblog.jpg
On the blog

Edit:

I figured out what it is. In the theme configuration screen, the last box shows left,hide,right,bottom1,bottom2,bottom3,bottom4

I don't know how to change these in the theme so that they will be default, but if you change them manually, everything works as it should.

Another screenshot: http://aetheric-shade.org/uploads/themeconfig.jpg

Posted: Tue Sep 19, 2006 8:47 am
by costa
thanks azel for your work and tests done.

so it's my fault - problem with 6 letters... daamn, i three local instalations of serendipity - sqlite one, mysql one and posgresql one :/.

so basically it works now as i suppose. ok, those are good news :)

thanks again!

Posted: Tue Sep 19, 2006 3:56 pm
by azel
Hey I am always glad to help out. I'm just excited that it's working. Thank you guys for helping me. ^_^

Posted: Thu Sep 21, 2006 4:15 am
by elmaya
mmm ...Tried what azel did, and managed to get pugins to stick to bt1 bt2 in the plugin manager but they still don“t shown in the blog :(

Posted: Thu Sep 21, 2006 6:17 am
by costa
hello elmaya

first - download and upload to your blog a little updated version of theme (no time lately to work on it hard :/). get the file here

after uploading go to template manager and change options as azel did and save them. should work without problems.

in upcoming weekend i'll work hard on this theme and will launch the final release supporting many plugins and solving some minor problems. so i'll beat carl's hamingway :lol:

Posted: Thu Sep 21, 2006 8:52 am
by elmaya
Thanks so much.. is working now !
costa wrote:hello elmaya

first - download and upload to your blog a little updated version of theme (no time lately to work on it hard :/). get the file here

after uploading go to template manager and change options as azel did and save them. should work without problems.

in upcoming weekend i'll work hard on this theme and will launch the final release supporting many plugins and solving some minor problems. so i'll beat carl's hamingway :lol: