vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Calendar access (https://vborg.vbsupport.ru/showthread.php?t=45546)

Reverend 11-09-2002 07:22 PM

Calendar access
 
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:

PHP Code:

require ("./global.php"); 

Underneath, add:

PHP Code:

if ($bbuserinfo[usergroupid]==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

Quote:

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

Quote:

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

Quote:

11-10-02 at 03:05 AM freddie said this in Post #5
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


All times are GMT. The time now is 02:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02246 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete