Spartacus is updating again
The Spartacus services, which was not updating for some time, should now be working again properly. If you still have no access to updated plugins, please let me know.
The Spartacus services, which was not updating for some time, should now be working again properly. If you still have no access to updated plugins, please let me know.
Carl Galloway has released his port of the Hemmingway Theme for Serendipity.
It's quite bleeding edge and supports various new features of Serendipity 1.1-beta, so check it out! Hooray for Carl. :-)
I'll be leaving for holiday from September 20th to October 1st, and thus not be checking these forums.
So please don't despair, others will surely be active here. If there's anything critical that needs my attention, I'll get right to it after my well-deserved time off. :)
If anything goes terribly wrong with this forum or the s9y servers, please contact Jannis Hermanns (www.jannis.to / jannis -at- gmail).
For ages, Serendipity has given users the flexibility to move around plugins in the left/right sidebar. Two sidebars were a usual concept for blogs in the days past, and for surely some more days to come.
But some themes, like the Hemingway theme give people a different approach to surrounding their blog content. The result of a porting discussion on the forums lead me to patch our plugin API.
Serendipity 1.1 already support custom theme options (like special navigation bars, colorsets etc.), and what came out of my recent patch is the functionality to define multiple custom sidebars.
With this, you can add a "top", "bottom", "middle" or whatever else sidebar locations to your themes, and put them in the smarty templates using the function {serendipity_printSidebar side="XXX"} wherever you like.
It's as easy as adding a config.inc.php file to your template, add a $template_config array value like this:
$template_config = array(
array(
'var' => 'sidebars',
'title' => 'Sidebars',
'type' => 'string',
'default' => 'left,hide,right,bot'
)
);
(or modify existing config arrays) and save the file. When you now enter your plugin configuration section, you will see each of the sidebar locations next to another, so that you can move around plugins from one to the other location.
There are two things to watchout: If you use locations other than 'left' and 'right', other templates may not output plugins that were put to a location like 'bot'. So if you switch templates, you must watch out on where you put your sidebar plugins into.
The other thing to pay attention: Only use "," to separate the sidebar item names (no spaces!) and never use more than 6 characters for your locations.
Please have a test with these new possibilities, tell us if you like it, and show us the results you made with it!
This functionality has been implemented into recent Serendipity 1.1 nightlies (currently 1.1-beta4)
Despite my downtime, I was able to find the time to commit some changes I was having up my sleeve to the 1.1 beta version.
It involves, what many people have asked for: Specify, which user/usergroups are able to have access to certain plugins. My standpoint until now was, that plugins should implement the versatile permission management of Serendipity, available since version 0.9.
However, reality got me when I saw that no plugin was really ported yet to use that permission management setup to provide custom permission sets. But people wanted to have the ability to say "The staticpage plugin is only available to user XY".
Thus, I implemented a rather hackish way into the groupmanagement: You can now specify complete plugins, or specific event hooks which are forbidden for a usergroup. This way, you can say that group X is not allowed to execute a 'Staticpage' plugin.
This approach should work quite well for many usage scenarios - the upside is, that all old plugins are supported instantly. However, the neater approach of course is to modify plugins so that they provide their own permissions for more granulate control of what you want to achieve.
To enable this functionality you must first enable the option "Enable Plugin ACL for usergroups" in the serendipity configuration. The reason why you must explicitly enable this is, because those plugin checks decrease the performance of the plugin API. Every executed plugin hook must be checked against the blacklist, and those checks would hurt bloggers that do not intent to use this feature. To satisfy everyone, you have an option for this.
You can try the feature in the nightly builds created today, or using an SVN checkout. The feature is contained in 1.1-beta4.
UPDATE: Spartacus works again
Yesterday, my private linux development box passed away. My small EPIA ME-6000 Mini-ITX PC served me and the serendipity development several gracious coding hours. Even though its 256MB of RAM and the performance of a P2-400 was sometimes driving me insane, it had one big bonus: It was nearly fanless, and thus silent enough to fit into my combined living/work area.
And now it is no more.
Which temporarily means, as long as I get a new silent PC I cannot boot my linux system, which (apart from fetching my mail and beign my file storage) also took care of updating the Spartacus XML files every 24 hours. This means that until then, the new plugin versions are not available via Spartacus, and you must either wait or fetch them via CVS.
Since a new silent PC cuts a larger hole into the budget that I had planned for my turkey-holidays, I can't tell how long I need to gather up that new PC. If anyone here has a small project (2-3 weekends?) in his backhand, that would require a skilled PHP-developer with solid Serendipity-knowledge like myself - please raise your voice. :-)