boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

multiple bloggers but only admin can read posts?

 
Post new topic   Reply to topic    boardom Forum Index -> Feature requests
View previous topic :: View next topic  
Author Message
minay



Joined: 31 Aug 2003
Posts: 2

PostPosted: Sun Aug 31, 2003 9:47 am    Post subject: multiple bloggers but only admin can read posts? Reply with quote

Hi, Smile

This is an idea I have as a birthday present for my sister.

I'm making a site for her and I want her friends (and family) to post messages and images for her to see. Naturally I thought the easiest way was for them to register as users in b2. That way, I can be admin and when they register, I can easily accept them. Once they are accepted they can post 'happy birthday' messages and whatnot for her.

The problem is, I dont want them (the friends/family) to see what *other* people posted. I only want the admin to be able to see the messages. So that when my sisters' birthday comes, I can just give her the password and then she can see the messages.

Is that possible? I hope it is. It would really make a nice birthday present (cheap too). Very Happy

I hope it happens! And thanks in advance for reading this. Smile
Back to top
View user's profile Send private message
Viper007Bond



Joined: 15 Aug 2003
Posts: 266
Location: Portland, Oregon, USA

PostPosted: Wed Sep 03, 2003 10:44 am    Post subject: Reply with quote

I don't see how it'd be possible without significant editing. As my friend says, "anything is possible with PHP". Razz But I know of no way in the options or something to make it like that. b2 is designed to allow everyone to read it as far as I know.

Ooo, idea. Don't allow anyone access to index.php besides your sister. Give posters the link to b2edit.php or whatever, but edit it to not show any of the other posts below (should be simple to remove that code). That should work...
_________________
http://www.viper007bond.com

If you haven't already installed b2, I advise you look into WordPress or b2evo instead as b2 is dead.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
minay



Joined: 31 Aug 2003
Posts: 2

PostPosted: Sat Sep 06, 2003 11:56 am    Post subject: Reply with quote

how do you do that?

im pretty advanced in html, but not so much in php so please be specific.Smile
Back to top
View user's profile Send private message
sinsation



Joined: 02 Sep 2003
Posts: 27
Location: Seattle, WA

PostPosted: Sat Sep 06, 2003 6:36 pm    Post subject: Reply with quote

In b2edit.php, look for line 336 or thereabouts:
[php:1:90844385d7]include($b2inc."/b2edit.showposts.php");[/php:1:90844385d7]

Change it to:
[php:1:90844385d7]if ($user_level >= 10) {
include($b2inc."/b2edit.showposts.php");
} else if ($user_level <= 9) {
echo "<center>Post view disabled.</center>";
}[/php:1:90844385d7]
_________________
Dijitalsin.net | Art.Code.Writing.Midget Sex | Coming soon to a browser near you.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Feature requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group