Yiiframework.co.il Code is now open sourced!
Rate Topic:
4 Votes

Well, Like i said, I have too much on my plate right now, I won't be able to support that site even if i did create one. Besides i only open sourced it so others can use it, Without me getting into a whole lot of support in there. If you have any questions you can post them here or in the yiiframework.co.il website.

If anyone is interested in doing a website for it and continue developing it then go ahead, As long as you retain and acknowledge the license.

@tronga, The editor i use is not WYSIWYG, But something really close, I use the markitup editor, The markdown version. But integrating CKeditor will be super simple, And i am not sure but i think the files are already there. I just used markitup to avoid any XSS attacks through the editor.

Hi y'all.
Just in case anyone is having a problem with viewing the custom pages (clicking on the magnifying glass) that he creates on admin/custompages .It's probably because the custom URL rule for custom pages ,

is supposed to work only if the config params setting 'subdomain_languages' => true.If you have set it to false,then you need another URL rule.So in protected/components/CustomUrlManager,just add below this line

.I am not sure if this is the best solution,but made the view links on the management page work.I think a nice feature missing would be for the end user to manage a menu,and add these custom pages on the menu.But let's not get greedy,this application is packed with tons of features.PS in code blocks there is some garbage printing ,all those size color etc-sorry that's not from me,its from the editor.Ignore it,

Yii should take care of including the CSRF token var in form submissions .If it does not,like in registration,it's maybe because the form is not CActiveForm.
For custom ajax POSTs you have to go through every ajax link and make sure this POST var is included in data.

Or if you run the protected/data/inserts.sql file then you should be able to login as admin/admin

you got it wrong.
it's not a matter of putting in correct data previously imported from inserts.sql, it's a matter of getting through to login form.
i can not access page, it goves me error, when i try going to admin page.
the error reads: CException - Sorry, You are not allowed to enter this section.
and blank page further on.
nowhere to type in admin info.

also, i tried advise of creating new user and giving that user admin privileges.
no luck.
it gives me and error in hebrew when i try to register:
CSRF token can not be identified.

no luck so far: front-end is ok, but no access to admin.

i will keep trying...

===

ok. here few minutes later.

replacing developer's url in htaccess helped registering new user.
then changing new user to admin in the database produced "admin" link in the bottom of front-end, which actually brought me into the admin interface.
the whole story looks like a bug, but for me it's ok for now to look around inside.
thank you for sharing your code and good luck!

I have a question. How to configure the csrf protection in localhost? I can't register any member.

I got this error.

You are probably testing on Chrome or IE.These browsers wont accept cookies from localhost,and the CSRF Token is set as a cookie.You should set up a local virtual host,for example I have setup a local domain yii.gr,so that cookies are set for Chrome and IE.
Cheers

Amazing script. I've been reading it for a while and it's packed with lots of cool features. However, I still can't register a new user, nor can I login or do anything that's related to CSRF tokens. It keeps on giving me the error "The CSRF token could not be verified." in Hebrew. I've already tried modifying links in the main .htaccess file, but still doesn't work. Any ideas? :/ I'm trying to set it up on MAMP virtual host on my mac btw. I even have set up a virtual domain, as Vince suggested.

Edit: Ok, so I got past (or just ran away from) that error by disabling CsrfValidation in the main.php configuration file. However, now the CAPTCHA work keeps on saying that it's wrong. Please help! oh, and one more thing. When I do the Yii Requirements test, it says "warning" for Memcache extension and APC extension. Could that be the cause of this frustration?