Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-14 22:32:59

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Post comments only by registered users

The idea is to make a kind of simple forum. I know about such solutions, but may there is a way to implement self registration with admin’s approovement? And allow only registered users to post comments.

Thanks!


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#2 2008-03-15 06:54:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Post comments only by registered users

ign_password_protect plus mem_self_register can do that :)

Just by wrapping comment_display form’s contents with ign_password_protect’s conditionals, and there you have it.

Offline

#3 2008-03-15 08:11:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Post comments only by registered users

A better solution would be mem_self_register with rvm_privileged wrapped around the comments form. In fact I think that rvm_privileged was developed for such cases


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2008-03-15 10:30:44

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Post comments only by registered users

Oh, thanks for this, but does mem_self_register supports admin’s approvement of registration?

Last edited by the_ghost (2008-03-15 10:33:47)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#5 2008-03-15 10:52:27

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Post comments only by registered users

When using mem_self_register, you can select which privilege level a user gets. Suppose you set that to 0 (none), then the admin could manually approve that by setting it to freelancer (or something like that).
rvm_privileged works if the user is not only registered (and, optionally, has the correct privilege level), but also logged in on the admin side.

Offline

#6 2008-03-15 10:59:52

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Post comments only by registered users

ruud – thank for tips :)

So, to make my idea work, user with right priveleges must firstly log in textpattern admin-side?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#7 2008-03-15 11:08:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Post comments only by registered users

the_ghost wrote:

ruud – thank for tips :)
So, to make my idea work, user with right priveleges must firstly log in textpattern admin-side?

yes:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB