password protect entries?

Creating and modifying plugins.
yrstruly

password protect entries?

Post by yrstruly »

is there a way to password protect entries/my entire blog?

is this something within serendipity or is it a plug-in?

thanks.

melanie.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: password protect entries?

Post by garvinhicking »

You can password protect static pages, but not entries.

For entries though you can set permissions to only allow access to registered authors (co-authors). When using serendipity 0.9 you can also set read permissions for certain usergroups.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

i'm using serendipity .8.1 that a friend set up for me. is the upgrade to 0.9 difficult to do?

will setting up usergroups become obvious once i upgrade?

thanks so much for your reply.

melanie.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Serendipity 0.9 is currently still in alpha-testing phase.

Upgrading is not very hard; you just overwrite the files from the snapshot with the ones you already have. After you have overwritten all your files you can call the admin interface and an automatic upgrader will perform some updates to your database.

Once that is done you'll have new administration links for the permission groups and this should be ovious.

If you want to try it, I advise you to make a full backup of files + database first. And it's up to you whether you want to help us improve s9y by testing the alphaversion; we do think it's usable and stable, but some glitches might always make it through...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yrstruly

Post by yrstruly »

sorry, me again. when i go to the download page, 0.9 isn't available. the latest version is 0.8.2.

thanks.

melanie.
yrstruly

Post by yrstruly »

garvin:

i'd be willing to be a tester.

where do i get the download?

melanie.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You need to fetch a snaphot from here below:

http://www.s9y.org/index.php?node=12

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

overwrite the files from the snapshot with the ones you already have
I find this is misleading, since most would interpret this as delete the old files and replace with the new snapshot. You need to keep your custom templates and also any additional plugins you have already installed.
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

When I say "overwrite" files I really mean overwrite, and not "delete first and then copy over". Which wording would you suggest?

That you keep your custom templates and plugins is no problem, because the snapshot files do not contain those files and thus cannot overwrite your own ones. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

what is the best way to "overwrite files?

Maybe i just don't know of a command other than delete, copy and move.
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Unpack the files to your harddrive and use a FTP client with recursive directory transmitting and just copy them over.

On my linux I can do this:

Code: Select all

tar -xvzf snapshot.tgz
cd s9y_snapshot
cp -r * ../serendipity/
and all is well. After that I can delete the s9y_snapshot directory.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

silly me! I forgot that an ftp client will just upload what is in the directory, overwrite the same filename and leave any other files alone!

Boy have I been doing things the hard way!
gw
yrstruly

setting permissions?

Post by yrstruly »

i just upgraded to 0.9 and the upgrade seems to have gone okay (though it didn't retain my personal templates. but i backed everything up so it should be okay to just re-load them).

but i do not see anywhere to set permissions on entries. also, how do i create new users? what sort of information do i need from people? are they allowed to create their own accounts?

once i get a group and its users set up, what do people not in that group see when they access the page?

thanks for your help.

melanie.
yrstruly

custom template

Post by yrstruly »

i just uploaded my custom template and although it shows up in the manage styles section, it won't allow me to choose it as my template.

any ideas?

melanie.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: custom template

Post by garvinhicking »

If you can't choose that template, it is already selected. Try to temporarily switch to "Kubrick" and then back to your own template?

What is the URL to your blog? I think that the CSS may not properly load, and I'd like to check that.

About the permissions, you need to install the plugin "Extended properties for entries" and then when you create an entry you will see additional boxes in the "advanced" section. You can create users via the Admin panel, go to "Manage Users". If you install another plugin, the "free register plugin" (don't know how it's called exactly) allows to let users register by themselves.

People not in that group will later see no entry at all.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply