How do I create a single-user blog?

AndyCanfield's picture

Can anybody tell me how to create a single-user blog? The only documentation on this is from Drupal 4 and 5. I'm running Drupal 7. Someday maybe multi-user, but this is a single user blog for the Boss.

Comments

Install Drupal 7.x Enable

hswong3i's picture
  1. Install Drupal 7.x
  2. Enable "Blog" module
  3. Create user account for your boss
  4. Let's your boss account have permission to create "Blog" content
  5. Let him DIY his Blog ;-)

Edison Wong
CEO, Co-founder
PantaRei Design Limited

Ahah! People / Permissions /

AndyCanfield's picture

Ahah! People / Permissions / Node / Blog entry: *
Create new content = Authenticated user
Edit own content = Authenticated user
Edit any content = Administrator
Delete own content = Authenticated user
Delete any content = Administrator

Log in as that user, click on view latest blog entry, click on create blog entry, and I created a blog entry. Now how does anyone see it?

I ran cron and and then searched for "blog" and found the first blog entry.

Well, there's a URL which is .../?q=blog/5 which I see. Seems to be one of those invisible Drupal pages, like /?q=user. I assume I can hard-link to this page from a menu and that will allow anyone to go look at his blog. (After all, he's the boss!)

I see that the first and second blog entries appear on the Content page so I can create an alias for each of those individual blog entry pages. But does anyone know of a way to create an alias for the /?q=blog/5 page which is a list of all his blog entries?

Much progress - thank you very much.

For solving /?q=xxx, go to

hswong3i's picture

Edison Wong
CEO, Co-founder
PantaRei Design Limited

That's smooth Eddie LoL

kelvinleehk's picture

That's smooth Eddie LoL

Who is Eddie?

AndyCanfield's picture

Who is Eddie?

I guess... Short hand for

hswong3i's picture

I guess... Short hand for Edison :-)


Edison Wong
CEO, Co-founder
PantaRei Design Limited

I guess... Short hand for

hswong3i's picture

I guess... Short hand for Edison :-)


Edison Wong
CEO, Co-founder
PantaRei Design Limited

More useful information: The

AndyCanfield's picture

More useful information: The URL for user X's blog page (showing all entries) is ..../?q=blog/# where # is the uid of the user (see the MySQL table 'users' for uid and name). So I confidently created a link to The Boss's blog and put in on the menu.

On the production site I set "Edit any content" and "Delete any content" to "Authenticated user" also, under the assumption that "Delete any content" means "Delete any content on THIS USER'S blog", not "Delete any content on anyone else's blog". I should test this someday.

It's working now; my boss has his own blog to preach to the world. Thank you all very much.

Do you lock the user

hswong3i's picture

Do you lock the user registration? Do you allow anonymous to comment? Either case you may face a lot of trouble :S

Be careful about spammer :-P


Edison Wong
CEO, Co-founder
PantaRei Design Limited

spammers

AndyCanfield's picture

Yessirree -

Configuration / Registration and cancellation / "Who can register accounts?" has always been set to "Visitors, but administrator approval is required". I think that means that Joe Schmidt can sign up but it generates an e-mail to the site administrator who must then approve the application for membership. Not sure how yet; we'll get to that when we have traffic.

People / Permissions / Node / Blog entry: * are all set to "AUTHENTICATED USER", no ANONYMOUS USER allowance at all. I think that means that ANONYMOUS is not allowed to comment, but maybe that's buried somewhere else in the GUI. AFAIK, by entirely other mechanisms, ANONYMOUS is allowed to send an e-mail to anyone, including the blogger.

Roles + Permissions

kpyan8s's picture

The direct way I suggest is to set 2 roles in admin/people/permissions/roles, (of course, you can utilize default roles)

One with permission in "Blog entry: Create new content" and other Blog entry: related setting in /admin/people/permissions, and one not with :)

Francis Yan
COO
PantaRei Design Limited



 

A How to for single user blogs in drupal

staceyb's picture

I recently had a hard time finding a tutorial for how to set up a single user blog that doesn't hose the site SEO wise. Here's what I came up with for a Drupal 6.22 site, but I'm open to suggestions also if there's a better way. iheartinterwebz

I also added a follow up post

staceyb's picture

I also added a follow up post on how to get comment approval notifications from your site. It's pretty simple, but goes along with a functioning blog imo. iheartinterwebz

DrupalHK

Group categories

HKDUG Vocabulary

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: