CodeIgniter Forums
CodeExtinguisher 2.0 Release Candidate 14.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: CodeExtinguisher 2.0 Release Candidate 14.2 (/showthread.php?tid=8451)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-14-2008

[eluser]Keago[/eluser]
I'm confused by the output generated by the yaml parser for the following code fragment:

Code:
voorwaardenEnKosten:
    class: TextBox
naamProvider:
    class: TextBox

Code:
print_r($this->spyc->YAMLLOAD($this->codexadmin->getDefinitionFileName('provider')));

Results in:
Array ( [voorwaardenEnKosten] => [class] => TextBox [naamProvider] => )

While it should output:
Code:
array('voorwaardenEnKosten'=>array('class'=>'TextBox'), 'naamProvider'=>array('class'=>'TextBox'))

What's wrong with the YAML....?


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-14-2008

[eluser]Majd Taby[/eluser]
yeah you're right, are you using tabs in your YAML file? replace them with 4 spaces instead. The spyc library doesn't like tabs for some reason.


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-15-2008

[eluser]Nagyman[/eluser]
Hey JTaby,

Great work on CodeExtinguisher! It's going to save a lot of people a lot of time...and it really showcases some of the power of Code Igniter.

I was wondering if you plan to open up the development to more people or if you want to continue as a one person team? These forums are kind of unwieldy for reporting/fixing bugs, and I think everybody trying to work with it could really use a better way to help out

Trac maybe for bugs? google code?...SVN permissions for a few people on a team? Also, maybe doxygen for your code docs? Your wiki is a start for documentation, but I'm finding three different sets of docs, which is a bit confusing...especially for newcomers.

I'm still getting familiar with CI and CE, but have found some things that would probably help and am willing to assist wherever needed...

All of your effort is much appreciated!


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-15-2008

[eluser]Nagyman[/eluser]
RE: Permissions ...took a bit of guessing to figure this out...

access_levels.php
Code:
// restrict any users below admin from seeing a list
$config['example'] = $config['admin_level'];
// restrict any users below admin from adding new
$config['example/add'] = $config['admin_level'];
// restrict any users below admin from editing/deleting
$config['example/manage'] = $config['admin_level'];

codexlogin.php checks for the above access levels and redirects to the login page if the currently logged in user doesn't meet the required level. There's supposed to be an error message, but the following line needs to be added to codex_lang.php

Code:
$lang['codexlogin_no_privilege'] = 'Insufficient Privileges [<a href="[removed]history.go(-1);">Go back</a> or login.]';

Ideally, if these access levels are set, then "Delete", "Edit", or "Add" shouldn't be displayed respectively.

Cheers


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]abmcr[/eluser]
[quote author="cu3edweb" date="1213379735"][quote author="abmcr" date="1213357748"]If you as interest, i have created a tinyMCE plugin.... search in the previous post or download it at http://www.andreabersi.com/Saibal/AutoIndex/ (TinyMCE plugin.zip)[/quote]
I tried that plugin but it isn't working. I just get a big textarea? Not sure what I did wrong?[/quote]
I have updated the plugin.. in the last version, Jtaby as insert a jsFromAssets... and the plugin not was updated. Try now and send me a feedback. Tanhk you Ciao!


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]cu3edweb[/eluser]
[quote author="abmcr" date="1213617246"]I have updated the plugin.. in the last version, Jtaby as insert a jsFromAssets... and the plugin not was updated. Try now and send me a feedback. Tanhk you Ciao![/quote]


Thanks for updating that. I am now getting this error. I didn't have anytime to look at it. I had to go to work.


Fatal error: Call to undefined method Tinymce::required() in /home/bmartin/www/ci/codex/application/plugins/tinymce.php on line 31



CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]ocergyNohtna[/eluser]
can anyone direct me to where the login time expiration is? i've got a user that take a long time and would like to lengthen her session timing out.


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]Thoer[/eluser]
application/config/config.php @line #279/#289?


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]ocergyNohtna[/eluser]
nice. thanks. apparently it's set to 0 by default. why is my user getting kicked out once in a while?? i guess it has to be user error...


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-16-2008

[eluser]Thoer[/eluser]
check manually whether you can change the ini setting on the server at all.