Log in

View Full Version : Calendar access


Reverend
11-09-2002, 07:22 PM
Is it possible to restrict Calendar access by usergroup.
I can only find options in the admin cp to deny access for Public and Private events.

Thanks

Erwin
11-09-2002, 07:36 PM
Open calendar.php, and find:


require ("./global.php");


Underneath, add:


if ($bbuserinfo[usergroupid]==x OR $bbuserinfo[usergroupid]==y) {
show_nopermission();
}


Just change x and y to the usergroupids you want to stop from using the calendar. :)

Reverend
11-09-2002, 08:14 PM
Thanks Erwin,works perfect.

It seems odd to me though,that you can deny "usergroups" access to the memberlist via the admin cp,but there is no option to deny access to the calendar,(shows member names),without the need for a hack.

Will this be addressed in vB 3.0

Erwin
11-10-2002, 03:17 AM
Yeah, I agree with you. This should be fixed in vB3, but I don't know for sure, because the Admin CP for vB3 has not been released to public viewing as yet. You can ask at vB.com.

Freddie Bingham
11-10-2002, 05:05 AM
Yes, you can create multiple calendars based on permissions. Again, everyone tells me that no one uses the calendar though.

Erwin
11-10-2002, 05:13 AM
Which is why I suggested you create a Journal feature for the Calendar, which is as easy as making it so that members can enter public and private personal entries in it for other members to view. :)

Like I said before, I have done it for the current vB2 calendar, and should be possible for vB3. It will create a very STRONG selling point and adds an important feature to vB as a community program.

Dean C
11-10-2002, 08:45 AM
I agree with Erwin ENTIRELY on this one..

At the present day my members only use the calendar to see if anyone has an upcoming birthday and to make a congratulations thread..

So i think that a journal would be a pretty damn good addition :)

- miSt

Freddie Bingham
11-10-2002, 01:40 PM
Originally posted by Erwin
Which is why I suggested you create a Journal feature for the Calendar, which is as easy as making it so that members can enter public and private personal entries in it for other members to view. :)

Like I said before, I have done it for the current vB2 calendar, and should be possible for vB3. It will create a very STRONG selling point and adds an important feature to vB as a community program. Should have suggested that before vb3 was closed down.

DrkFusion
11-10-2002, 01:47 PM
Guys, all these suggestions...vb3 is still going to be a forum...these suggestions will make it a bit bulky, and even if it does have options to turn it off, new users will be so damn confused.

Anyways it doesn't matter now :)
-Arunan

Chris M
11-10-2002, 02:05 PM
Yeh...

The Journal hacks out are sufficient enough;)

Hope they can be updated for vB3:)

Satan

Erwin
11-10-2002, 10:00 PM
Originally posted by freddie
Should have suggested that before vb3 was closed down.

I thought I did. Anyway, like I said, when vB3 comes out, I will make the necessary changes to the code. :)

lseawell
05-05-2003, 04:07 PM
11-10-02 at 03:05 AM freddie said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=320734#post320734)
Yes, you can create multiple calendars based on permissions. Again, everyone tells me that no one uses the calendar though.

How does one create multiple calendars based on permissions? So that I could have one group view it's own calendar and the general public view the public calendar?

Thanks! :confused:

Dean C
05-05-2003, 05:22 PM
He meant this is included in vb3 :)

- miSt

lseawell
05-05-2003, 05:33 PM
oh. Well is the VB3 beta stable? And can I use it to upgrade my existing Vbulletin 2.3?

Thanks