HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Calendar Permissions

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#80604 (In Topic #16348)
Avatar

Fan in action

^^ Calendar Permissions ^^

Hi pretty new to ocPortal…
We have transfered from phpBB3 to ocPortal in the last month or so and it seems to be working and have most of it worked out. (though we were a bit gutted when we lost some data on the import attemp but you win some loose some  :( and at the end of the day we not to bothered about it.

Anyway I have searched high and low, where I can make the calendars for members so they don't need to be validated when they submitt an event… I need it so members of my site once they have joined don't need to be validated on anything unless they get downgraded to "Probation" and get told to go stand in the corner :lol: … I have the forums pretty much worked out as with catelogues and galleries, CEDI etc just not the Calendar (though still working on the points and ocWorld (which may need a bit more options be fore they really play it) but hey bit of fun… lol

Doh back on topic… I see the Global permissions and have that set "can add events" etc but there must be something over riding that and am at a loose as to what… O_o O_o

I think I am missing something pretty obvious that simply can see for looking… :cool:
Back to the top
 
Posted
Rating:
#80607
Avatar

ocStaff (admin)

Have you tried the settings under Site\Calendar in the permission tree editor? Particularly by bypass validation ones.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#80630
Avatar

Fan in action

Ah that is the one thing I can't seem to get to work the Permission site tree editor thingy… was going to ask about that…

It just sits at the loading screen and stalls… have tried it on all three computers I have here and does the same thing?
Back to the top
 
Posted
Rating:
#80645
Avatar

ocStaff (admin)

Hmm, is the host on PHP 5.4 (just been released)? I have seen it not work on there.

Here is a screencast of how to debug the permission tree editor (works for many kinds of AJAX system actually):

2012-03-14_2002 - ocProducts's library

In my case, I looked at the AJAX request that was happening in the background and saw lots of XML. If it's not working for you chances are you're going to see a stack trace which you can then report here.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#80997
Avatar

Fan in action

Okay I tried… but no go on the Permission tree editor… :(I can load the standard site tree editor okay as shown below, but as soon as I click an itema and choose the Permissions Tree Editor under action it just gets stuck trying to load. I don't see an stack errors or anything ???

PHP Verson 5.3.8
Apache 2.2.15

Site Tree Editor

Loading Permission tree… stuck

The Elements
Back to the top
 
Posted
Rating:
#81072
Avatar

ocStaff (admin)

I recorded the video on Chrome, which should be easy enough to install (useful for testing anyway) but you can probably do it using Firebug in Firefox but the clicks would be a bit different.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#82795
Avatar

Fan in action



This is all I can get it to do...?? Sigh  lol


Last edit: by Nighthawk
Back to the top
 
Posted
Rating:
#82799
Avatar

Community saint

I have this same problem when I have more than 20 usergroups. At 20, most everything loads, but a little slow. At 21 things start to degrade quickly with each additional usergroup added.

This is with 21 usergroups:

I had as many as 30 usergroups and none of the permissions tree editor would load, but the site tree editor loaded with no problem.



If I click on one of the "N/A" I get a popup:




Steve

Back to the top
 
Posted
Rating:
#82837
Avatar

ocStaff (admin)

Nighthawk said



This is all I can get it to do...?? Sigh  lol

What happens when you click on the http://southernrider.co.nz/ocportal/data/site_tree.php?start_links=1&get_perms=1&id=&options=... link you saw in the first screenshot there?



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#82838
Avatar

ocStaff (admin)

sholzy said

I have this same problem when I have more than 20 usergroups. At 20, most everything loads, but a little slow. At 21 things start to degrade quickly with each additional usergroup added.

This is with 21 usergroups:

I had as many as 30 usergroups and none of the permissions tree editor would load, but the site tree editor loaded with no problem.



If I click on one of the "N/A" I get a popup:





I just tried with 50 on Firefox and Chrome, no problems. So try the above advice also, there may be some server error hidden in the AJAX script.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#82900
Avatar

Fan in action

Chris Graham said

What happens when you click on the http://southernrider.co.nz/ocportal/data/site_tree.php?start_links=1&get_perms=1&id=&options=… link you saw in the first screenshot there?
it times out and then gives  

PHP ERROR [1] Maximum execution time of 30 seconds exceeded in sources/site_tree.php on line 531 (version: 7.1.5, PHP version: 5.3.8, URL: /ocportal/data/site_tree.php?start_links=1&get_perms=1&id=&options=&default=%3Acalendar)

It souldn't take more 30 seconds for anthing execute??? 

I would be a little uncomfortable reseting server php to allow longer time as we have just got the thing running smoothly and don't believe it should take that long… 
Back to the top
 
Posted
Rating:
#82902
Avatar

ocStaff (admin)

How many usergroups do you have?



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#82924
Avatar

Fan in action

Chris Graham said

How many usergroups do you have?

13 usergroups…
Back to the top
 
Posted
Rating:
#82941
Avatar

ocStaff (admin)

I think I've got it :).

Try this:
Attachment
sources/site_tree.php
» Download: site_tree.php (26 Kb, 20 downloads so far)


(should be compatible with both v7 and v8)



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#82943
Avatar

Community saint

Chris Graham said

I think I've got it :).

(should be compatible with both v7 and v8)

I now have a full site permissions tree editor again (v7.1.6)! Thanks, Chris!
[edit: Corrected which editor I was referencing. Result of trying to do too many things at the same time.]





Last edit: by sholzy

Steve

Back to the top
 
Posted
Rating:
#82944
Avatar

Community saint

Added an additional 20 usergroups (to the current 20) for testing and was still working.  :thumbs:

Steve

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: