This task is to create an installation profile that will set up a single-user blog that allows the user to upload and use pictures in their blog posts. A profile lists the modules to be installed and can execute code to do some initial configuration. Having a site that installs with the basic pieces in place will make it much easier for people new to Drupal to get started quickly and even let experienced Drupalers save a lot of time.

This task will require installing Drupal 5 and learning which modules and configurations are required to create a profile which will set up a site with the following features:

* Front page with the latest blog posts first (typical blog setup)
* Allow posts to be tagged with keywords
* Ability to upload images and place them in posts
* Ability to search the site
* Have a block that lists 5 most recent posts

Once the necessary pieces are determined, write an install profile file. The task is complete once the profile is reviewed by the primary contact. They will then make sure a project is created on drupal.org.

Resources:

* Macro module (part of Devel module: http://drupal.org/project/devel)
* Other profiles at http://drupal.org/project/Installation+profiles
* Distribution profile group: http://groups.drupal.org/distributions

Estimated time:
4 days

Comments

webchick’s picture

Claimed by rhys42 (could not find drupal.org username)

Rhys42’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new1.29 KB

As posted at http://code.google.com/p/google-highly-open-participation-drupal/issues/..., this is mostly complete but lacks anonymous broowsing.

webchick’s picture

Status: Postponed (maintainer needs more info) » Needs review

Awesome, thanks Rhys42! Marking for review.

KentBye’s picture

Just looking at the install profile code, and didn't go through and install it.
But did you enable a vocabulary and enable free tagging capability for the blog entries?

Didn't see the code that explicitly does that.

add1sun’s picture

Status: Needs review » Needs work

Rhys42, awesome work so far! I took the profile for a spin and have a few comment/suggestions on how things are set up.

First one is a bit of a weird one, but since this is for a single-user blog we don't really want to use the Blog module. This is a common mis-perception due to the naming. The Blog module allows multiple users on the same site to each have their own personal blog. For a single-user site we don't need that feature and it actually tends to confuse users. Instead we can just use the regular story type for our content and the default Drupal front page. One thing that the Blog module gave us is the recent blog posts block. To get that without relying on Blog module we are going to need to add the Views module to the profile and set up a views block.

I hadn't thought about the fact that many themes (and all core themes) hard-code the search block in so it looks a bit odd to have two of them. Maybe we should just enable search and set perms to allow anonymous to search but not actually turn on the block.

The last thing we need is a freetagging vocabulary set up and enabled for the story content type.

So, basically you are really close and we just need to pimp it a little. Please let us know if you have any questions or get stuck on anything and post your continuing work here.

webchick’s picture

Status: Needs work » Active

Unfortunately, Rhys42 seems to have fallen off the radar a bit, and has not responded to the feedback in this issue, nor to pings via the Google task tracker. :( Furthermore, a diff between blog.profile and 5.x's default.profile shows only very minor changes, and not enough to qualify for completion of the task as specified.

Changing back to an active task.

dami’s picture

There is a similar issue on single user blog install profile:
http://drupal.org/node/144355

add1sun’s picture

AFAIK, that one is intended for core isn't it? This project is specifically designed to incorporate contrib modules and be something different from the core profile.

add1sun’s picture

Status: Active » Postponed (maintainer needs more info)

this was claimed by herenbdy

dhrosa’s picture

StatusFileSize
new145.54 KB

I think I've worked out most of the kinks, i've commented the .profile file, tell me if any parts need improvement!

dhrosa’s picture

Assigned: Unassigned » dhrosa
Status: Postponed (maintainer needs more info) » Needs review

Sorry, forgot to change the status

add1sun’s picture

Status: Needs review » Needs work

Yay herenbdy, this is off to a great start! Here are my thoughts after an initial pass.

Some minor stuff:
1) The drupal_set_message with the URL where I can log in to my site gives a double slash (http://localhost:8888/blog//user)

2) On my test site the token for the the user name didn't work properly as I got "blogs/%5Buser-raw%5D/2007/12/13/test" in my URL.

Some bigger things to note:
1) While not intuitve, the Blog module is not really the best way to go. See my comment #5 above for more.

2) We also still need to get a freetagging taxonomy set up for the blog entries.

Please let us know if you need any help with this stuff. :-)

dhrosa’s picture

Status: Needs work » Needs review
StatusFileSize
new347.35 KB

Made the changes made by add1sun

Fits the criteria:
* Front page with the latest blog posts first (typical blog setup)
* Allow posts to be tagged with keywords
* Ability to upload images and place them in posts
* Ability to search the site
* Have a block that lists 5 most recent posts

Also:
-Added a recent comments block.
-Pathauto settings to organize posts in a /year/month/day/title form.
-Blocked users besides the first account from registering
-Allowed anonymous comments
-Default theme is pushbutton (I dislike Garland :x)

I think I'm done now, please review and tell me if I need to change/add anything!

aclight’s picture

Status: Needs review » Needs work

I tested this out and have some comments:
1. After installing the profile, I was told to go to /user to log in. However, that was not a link. I was lazy and clicked on the link lower down in the page that takes me to my new site (this link is added in all profiles, I think). But since the login block is turned off, it could be a little confusing to a new user who clicks the link and doesn't notice the specific instruction to go to /user. So if it's possible to turn the instruction to go to /user into a link, that would be great.

2. The README.txt works for testing this task, bue when this is made into an actual project you won't want to include the necessary contrib modules, because those need to be downloaded later on so that they will be the most recent version. So your README.txt should probably state the required contrib modules, and then instruct the user to download them and put them in sites/all/modules (you might also point to a handbook page, which probably already exists, showing how to download modules).

3. On the create a blog post page, I see this:

To post an image in the body of a post, attach the image below in the File Attachment section, and insert [inline:filename] in your post where you want the image to appear. The default maximum dimensions are set to 1000x1000, you may change this at : http://localhost/blog1/drupal/admin/settings/inline .

I'd like this to read:

To post an image in the body of a post, attach the image below in the File attachments section, and insert [inline:filename] in your post where you want the image to appear. The default maximum dimensions are set to 1000x1000, you may change this at: <a href="/admin/settings/inline">http://localhost/blog1/drupal/admin/settings/inline</a>.

Notice that above I fixed a few spaces and added a link to the settings menu so the user can click on it instead of needing to type it into the browser location field.

Other than these points this looks really good.

dhrosa’s picture

Status: Needs work » Needs review
StatusFileSize
new3.27 KB

updated with aclight's remarks

dhrosa’s picture

StatusFileSize
new3.27 KB

fixed a minor error

dhrosa’s picture

StatusFileSize
new2.95 KB

update

add1sun’s picture

Assigned: dhrosa » add1sun
Status: Needs review » Reviewed & tested by the community

herenbdy, this is great! You really knocked this out of the park. As far as I'm concerned you have completed this task. I am marking your Google task closed.

I am reassigning this to myself now (as primary contact and the person who agreed to take maintainership of this once completed) and marking RTBC. I will create a new profile project and get this into CVS in the next few days. You rock!

add1sun’s picture

Status: Reviewed & tested by the community » Fixed

This project has been created and added to CVS.

http://drupal.org/project/single_user_blog

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 3213)