Search found 6 matches

by Maliuta
Fri Jul 23, 2004 11:59 pm
Forum: Plugins
Topic: Select in the config section
Replies: 2
Views: 3864

Thanks

Thnks for that, that is the kind of thing I probably wouldn't have picked up for ages.

Remember boys and girls don't code while fatiuged: rest, revive and survive :)

Nikolai
by Maliuta
Fri Jul 23, 2004 3:23 am
Forum: Plugins
Topic: Select in the config section
Replies: 2
Views: 3864

Select in the config section

Hi .... again I am trying to add a simple select statment to my plugin's config, I looked at the code for serendipity_plugin_eventwrapper and, after sorting out what went into the array, copied it's way of adding a select. this is the code I copied function introspect_config_item($name, &$pr...
by Maliuta
Fri Jul 23, 2004 1:28 am
Forum: Plugins
Topic: Questions about the API
Replies: 1
Views: 3066

Questions about the API

I note in the get_config() method there is a parameter for default value. How does this work? If I want a default value of 30 do I just pass is like get_config('my_config', 30)? I would really like to be able to code the default values in like that. I am also interested in what types I can put in th...
by Maliuta
Fri Jul 23, 2004 12:21 am
Forum: Plugins
Topic: New METAR plugin
Replies: 0
Views: 3863

New METAR plugin

Alright, I managed to write a functioning plugin from scratch. I works on my site at the moment with one slight hack ... I have a group of icons I want to bundle with the code, however I am not sure how to call them from within the plugins directory (at the moment I have put a copy of the icons in t...
by Maliuta
Tue Jul 20, 2004 7:34 pm
Forum: General discussions
Topic: reinstall
Replies: 2
Views: 3088

Drop the DB and delete the files

When you did the initial install do you remeber what you named the DB in the creation scripts? (I called mine "blog") <P> I am using postgres so I have the CLI tool dropdb which I can use to drop the database. You should be able to find the name of the database in the administration section of seren...
by Maliuta
Tue Jul 20, 2004 7:30 pm
Forum: General discussions
Topic: Polls
Replies: 1
Views: 2715

Polls

I have seen some serendipity powered blogs with polls on them, is there are plugin for this that is not widely available? or is this a featured implimented by the blog owners themselves?