Recent Topics

Authorizing Users...

Started by on May 22, 2004 – Contents updated: May 22, 2004

May 22, 2004 01:48    

Please forgive me for my densities. I am a REAL newbie here.

I've looked for this doing a search, and haven't seen it, so here goes...

I have registered a couple friends, made their level "1" and still when they log in, it says:

Since you're a newcomer, you'll have to wait for an admin to authorize you to post. You can also e-mail the admin to ask for a promotion. When you're promoted, just reload this page and you'll be able to blog. :)

Refreshing the page gives the same info.

What am I missing?

Thanks!

May 22, 2004 02:08

Argh wrote:

Please forgive me for my densities. I am a REAL newbie here.

I've looked for this doing a search, and haven't seen it, so here goes...

I have registered a couple friends, made their level "1" and still when they log in, it says:

Since you're a newcomer, you'll have to wait for an admin to authorize you to post. You can also e-mail the admin to ask for a promotion. When you're promoted, just reload this page and you'll be able to blog. :)

Refreshing the page gives the same info.

What am I missing?

Thanks!

Hi and welcome in b2evo :)

version ? I suppose it's latest (0.9 or more)
what do you want exactly to do ? Allow them to post as authors ? I also suppose

Create users from backoffice, move them to blogger group. Go to the blog you want them to edit, select permission tab and choose the rights you want to give them.

It should work if not let me know and I'll try on my own installation

May 22, 2004 02:23

Patrick wrote:

version ? I suppose it's latest (0.9 or more)
what do you want exactly to do ? Allow them to post as authors ? I also suppose

Create users from backoffice, move them to blogger group. Go to the blog you want them to edit, select permission tab and choose the rights you want to give them.

It should work if not let me know and I'll try on my own installation

Hmmm... My version is 0.8.9.

I've promoted the user to level 1 and denoted him as a blogger (He's listed in the BLOGGERS group). But he still gets that same message, instructing him to ask me for a promotion.

I want him to be able to create and edit his own blog. The message says, "When you're promoted, just reload this page and you'll be able to blog." but reloading that page just gives me the message again.

May 22, 2004 02:59

Ha! Got it.

I had to set up the BLOG as admin, but it works.

Thanks.

May 22, 2004 22:15

Patrick wrote:

Hi and welcome in b2evo :)

version ? I suppose it's latest (0.9 or more)
what do you want exactly to do ? Allow them to post as authors ? I also suppose

Create users from backoffice, move them to blogger group. Go to the blog you want them to edit, select permission tab and choose the rights you want to give them.

It should work if not let me know and I'll try on my own installation

Hi.

That way works fine for me, but there is a way to B2Evo 0.9 do all this automatically? Like everybody who register can start post on some blog without i have to assign permissions to everyone that register?

Thanx :)

May 23, 2004 02:10

As far as I know, you need to set permissions for each blogger. You could set new users to a certain user group, but that only works if you want them to be able to edit all of the blogs.

May 24, 2004 12:37

I hope to have group permissions soon.

Then you'll assign new users to some group that will have preset permissions.

Jun 01, 2004 21:59

It seems like it would be a fairly easy matter to have the registration script create an initial blog for the user and give them full permissions to it. The script could even create a set of default catagories so that all new users would be able to start posting immediatly.

I just downloaded 0.9.0.5 and want to do the same thing. I'll see If I can figure out what needs to be in the script and how to call it unless someone has already done this.

-Kevin

Jun 01, 2004 22:51

Kevin, nobody has done this yet to my knowledge but I'm all for it.
You'd be welcome to contribute this.

Jun 02, 2004 00:46

Fran?ois, I'm working on it, I think it is just going to be three INSERTS to the DB, but since I just downloaded the code last night I am still trying to get familiar with it and find out where to make the queries. I'll try and have something to post in a couple of days.

-Kevin

Jun 02, 2004 02:49

Take your time to study the code.

There is a function for creating a blog for example.

Try to leverage the existing framework as much as possible :)

Jun 07, 2004 00:36

That file has long since been depreciated, since that page refers to 0.6.5 which is a version that is about a year old now...

Jun 07, 2004 00:42

Graham wrote:

That file has long since been depreciated, since that page refers to 0.6.5 which is a version that is about a year old now...

Ooops :oops:
But there's no solution to the problem yet, is there ?

Jun 16, 2004 05:11

I would love to have this feature! It would beat the pants off having to manually set each new user's permissions.

I briefly scanned the code, looking for the functions that write database entries when new users sign up. I hoped to add a line that would fill in the appropriate value in the right table to automatically give new users posting privlidges to one, specific blog. But I got SO lost.

Has any one more experienced figured it out yet? Would someone please point me to the right code block/ file? Ideas? Suggestions? Pleeeeeeeeease?

Jun 16, 2004 20:52

dkitty wrote:

I would love to have this feature! It would beat the pants off having to manually set each new user's permissions.

I think that there should be an "on/off" switch for this feature. I host blogs and I know that nearly all my users wouldn't like anyone who registers to be able to post to their blog. It's not a matter of just giving "group permissions". To what blog would those group permissions apply?

Jun 18, 2004 20:49

I also want/need this feature. It would be cool for the long run if a user registers from a particular blog you can put them in a specific group and then have group permissions. Just a thought,

Nick

Jun 18, 2004 21:29

I think that's an excellent idea nniehoff. I'm working on a few code snips that could be copied and pasted in the right files to allow registering users automatic access to post in just one blog. But I'm even having trouble doing just that.

Is anyone else working on this? I'm busy for about a week but wouldn't mind putting ideas together. Perhaps we could open a thread regarding this in the hacks forum and post our code for each other to browse and comment upon? I'm new here. I'm not sure how things work and how open to code/ suggestions the coders of this software are.

Jun 18, 2004 21:57

@dkitty

The coders/devellopers are very open to new suggestions.
But I'm sure you like to know that they are develloping like hell, and that every few weeks (since 6 monts) there is a new version..
So I'm not sure if you can keep that rate (updating to the new code and constantly adapt the new code....)

I'm sure it's on the to do list (next to the other 200 items) and eventually they will all get done.

But you're free to adapt your code...

Jul 20, 2004 07:11

I absolute agree with the posts upper, it is really hard to go and give autorisation to each member. Specially if you have different blogs and you don't know wichone they are interesed ind so you must go inside each ang give autorisation in each it's long and some visitors don't come back...

As in any forum it would be necessary member create account and can post immediately ....

Could be also nice to allow anybody to post if we want without be member... ;)

Jul 20, 2004 17:12

Could be also nice to allow anybody to post if we want without be member

Easy. Just create a username and password, and publicize it on the site. (Kinda like how b2evolution.net uses the "demouser" and "demopass" in the demo.)

Jul 22, 2004 02:05

That would be nice... But, what if each blogger wants to be unique??? with the "demouser" and "demopass" everyone will be the same...

Any other suggestions?

Jan 26, 2005 01:58

Hello,
long ago the last posting, but I need it too. :D

Is it now possible to let users post immediately?
(without admin's authorization?)

thanks

Jan 26, 2005 03:13

Open htsrv/register.php and scroll down until you find

Code

locale_restore_previous();
    
    // Display confirmation screen:
then change it to something like this:

Code

locale_restore_previous();
    
    $loginid = $DB->get_var( "SELECT MAX(ID) FROM evo_users" );
    $DB->query( "INSERT INTO evo_blogusers (bloguser_blog_id,bloguser_user_id,bloguser_perm_poststatuses,bloguser_ismember) VALUES('2','$loginid','published','1')" );
 
    // Display confirmation screen:

See the bit that says "VALUES('2','$loginid','published','1')"? 2 is the blog they are allowed to post in, loginid is thier new number, published means that's the only status they can post with, and 1 means they are a member of blog 2. Obviously you should set the first number to be the blog number you want to let just any old body post into.

An astute Lazy Admin would also tell the blogger they are automatically empowered with postability by editing htsrv/_reg_complete.php with a bit of text after the form closes.

By the way right after I implemented this I had a porn site register for the blog. I have no idea why a porn site would want to register, but it did.

Jan 26, 2005 18:15

Thanks for helpfull reply EdB, thats what I needed. Works fine.

But now I wonder about the next strange issue. Why do I see all the entries of the other members at "edit" (and cant edit them)???
How could I find my own entries???

And why can a user delet all entries of the other users, when got the right to delete entries???
I expected thats just vallid for the own entries. 8| 8| 8|

Well, doesn't matter anymore. A minute ago I decided thats not the right software for my need to install a blog. Sorry...

Have a good life :roll:

Jan 27, 2005 17:42

Unfortunately I had a nice long post about doing this but it got lost in "The Great Forum Shitstorm of 2004". I'll see if I can't dig out some of my hacks and resubmit them to the forum.

Jun 03, 2005 05:19

I just wanted to see if there had been any progress on this feature. I need to allow users to be able to register and automatically be able to post to one blog.

Jul 04, 2005 21:17

Me to macuhail. However, I do not want them to be able to edit enyone elses posts except their own.


Form is loading...

multi-blog platform – This forum is powered by b2evolution CMS, a complete engine for your website.