Page 1 of 1

FEU Adding events to CGCalendar limited to group problem

Posted: Thu Jan 20, 2011 5:23 pm
by David_Geoffrey
Hi
Has anyone tried using the "Members of this FEU group can add events:" option in CGCalendar and got it to work.

From what I can see all you have to do is create a user group for the external editors, add the people to that group, set the option above to that group and then only people in that group should be able to add something.

But at the moment anyone who is logged can add an event to the calender - it doesn't matter what group they are in

Any suggestions - am I missing something? Or is this a bug

Cheers
DG

----------------------------------------------

Cms Version: 1.9.1

Installed Modules:

•CMSMailer: 2.0
•FCKeditorX: 1.1.0
•MenuManager: 1.7.2
•ModuleManager: 1.4
•News: 2.11
•nuSOAP: 1.0.2
•Search: 1.6.7
•ThemeManager: 1.1.3
•CGCalendar: 1.5.6
•FormBuilder: 0.4.4
•CGBlog: 1.4
•Uploads: 1.3.0-beta3
•HitCounter: 1.0.4
•FrontEndUsers: 1.12.8
•CustomContent: 1.7.3
•FileManager: 1.0.3
•Printing: 1.1.1
•TinyMCE: 2.8.1
•DewPlayer: 0.2.1
•Guestbook: 1.1.12
•Banners: 2.3.3
•Smileys: 0.2.0
•CGExtensions: 1.22.2
•CGSimpleSmarty: 1.4
•Captcha: 0.4
•Comments: 1.9.2
•Forum: 0.9.2
•AjaxMadeSimple: 0.1.6
•NFS: 1.0
•Polls: 0.2.0
•SelfRegistration: 1.6.7
•NMS: 2.3.2
•Thumbnails: 0.1.1
•SimpleSlider: 0.2.1
•JQueryTools: 1.0.3
•Album: 0.9.3
•Play: 0.6.0
•Gallery: 1.4.1
•Blogs: 0.3.3.1
•CGFeedback: 1.1
•avplayer: 1.01
•FeuCalendar: 0.3


Config Information:

•php_memory_limit:
•process_whole_template: true
•output_compression: false
•max_upload_size: 2000000
•default_upload_permission: 664
•url_rewriting: none
•page_extension:
•query_var: page
•image_manipulation_prog: GD
•auto_alias_content: true
•locale:
•default_encoding:
•admin_encoding: utf-8
•set_names: false


Php Information:

•phpversion: 5.2.4
•md5_function: On (True)
•gd_version: 2
•tempnam_function: On (True)
•magic_quotes_runtime: Off (False)
•E_STRICT: 0
•memory_limit: 32M
•max_execution_time: 120
•output_buffering: On
•safe_mode: Off (False)
•file_uploads: On (True)
•post_max_size: 8M
•upload_max_filesize: 10M
•session_save_path: /tmp (1777)
•session_use_cookies: On (True)
•xml_function: On (True)


Server Information:

•Server Api: cgi
•Server Db Type: MySQL (mysql)
•Server Db Version: 4.1.22


----------------------------------------------

Re: FEU Adding events to CGCalendar limited to group problem

Posted: Fri Jan 21, 2011 10:45 am
by David_Geoffrey
mmm - I am looking in the action.addedit_event.php and there is this

Code: Select all

$feu = $this->GetModuleInstance('FrontEndUsers');
if( !$feu )
  {
    echo '<h3><font color="red">'.$this->Lang('error_nofeu')."</font></h3>\n";
    return;
  }
else if( !$feu->LoggedIn() )
  {
    echo '<h3><font color="red">'.$this->Lang('error_feu_loggedin')."</font></h3>\n";
    return;
  }
Does this mean that all an FEU has to be is logged in? There doesn't seem to be anywhere for a specific category of user?? (I am not a coder though so I am guessing)