Yii Framework Forum: Yiiframework.co.il Code is now open sourced! - Yii Framework Forum

Jump to content

  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#21 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 14 May 2011 - 07:52 AM

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.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#22 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 14 May 2011 - 07:52 AM

@tronga, You can although switch to the HTML version of the markitup editor which is supported by default along the others version the markitup editor supports.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#23 User is offline   raysto 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 47
  • Joined: 27-April 11

Posted 15 May 2011 - 04:09 PM

Vince, the site looks fabulous.
Zurmo: Yii Powered Open Source CRM
zurmo.org
0

#24 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 16 May 2011 - 10:40 AM

Thank You. :)


P.S I've just updated the license, It's now released under the New BSD license. I received a lot of requests to use this as a commercial application, So i changed the license.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#25 User is offline   Irfan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 17-May 11

Posted 23 May 2011 - 03:06 AM

I am trying to checkout but it is not working. SVN Repo on google code don't work, can you provide me latest please?
0

#26 User is offline   iamdash 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 17-May 11

Posted 26 May 2011 - 09:00 AM

Hi there,

Looks like this CMS can offer a lot, however, I am not even able to log into the backend admin system. Where do you do so on the demo site?

I have installed the whole thing successfully on a local server, but navigating to /admin just gives me the message:

"Sorry, You are not allowed to enter this section."

PLease advise.

Thanks
0

#27 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 26 May 2011 - 09:08 AM

View Postiamdash, on 26 May 2011 - 09:00 AM, said:

Hi there,

Looks like this CMS can offer a lot, however, I am not even able to log into the backend admin system. Where do you do so on the demo site?

I have installed the whole thing successfully on a local server, but navigating to /admin just gives me the message:

"Sorry, You are not allowed to enter this section."

PLease advise.

Thanks



I had the same problem.Just register as a new user,and then go to your database ,in members table,and change the role to 'admin'.


0

#28 User is offline   iamdash 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 17-May 11

Posted 26 May 2011 - 12:50 PM

View Postdrumaddict, on 26 May 2011 - 09:08 AM, said:

I had the same problem.Just register as a new user,and then go to your database ,in members table,and change the role to 'admin'.



That's great, and has worked.

Thanks :-)
0

#29 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 26 May 2011 - 02:06 PM

Or if you run the protected/data/inserts.sql file then you should be able to login as admin/admin
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#30 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 30 May 2011 - 08:42 AM

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 ,
[$_more[ "http://<lang:({$rule['language']})>.{$domain}/<alias:({$rule['alias']})>" ] = array('site/custompages/index');[/color][/size]
[size="2"][color="#1c2837"]


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
$urlrules = array_merge( $_more, $this->rules );       	

one more line:
 $urlrules = array_merge( $urlrules, array(  "<alias:\w+>/*"=>'site/custompages/index') );[/size][/color][/size][/size][/color][/color][/size]
[size="2"][color="#1c2837"][color="#000000"][size="3"][size="2"][color="#1c2837"][size="2"]

.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,
0

#31 User is offline   mjmitche 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 26-May 11

Posted 31 May 2011 - 10:44 AM

I want to try this out but don't see a place on the Google website to download everything in one file. Can anyone explain? I'm a relative newbie to programming.
0

#32 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 02 June 2011 - 02:24 AM

@drumaddict Thanks, I haven't really noticed that.

@mjmitche There is no download link, Google Code allows you to checkout the code using an SVN client.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#33 User is offline   Sonny Lazuardi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 01-May 11

Posted 03 June 2011 - 12:36 AM

Great Site!!! ;D .

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

I got this error.

Quote

Error
The CSRF token could not be verified.

0

#34 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 03 June 2011 - 01:19 AM

View PostSonny Lazuardi, on 03 June 2011 - 12:36 AM, said:

Great Site!!! ;D .

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

I got this error.




In protected/config/main.php, Cross-site Request Forgery Prevention is enabled:

 'request' => array(
                        'class' => 'CHttpRequest',
                        'enableCookieValidation' => true,
                 [b][size="4"]    'enableCsrfValidation' => !isset($_POST['dontvalidate']) ? true : false,[/size][/b]
                       'csrfTokenName' => 'SECTOKEN',
		        'csrfCookie' => array( 'domain' => '.' . $current_domain )
                                           ),

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.
"SECTOKEN"=>Yii::app()->request->csrfToken










1

#35 User is offline   Cimmerian 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 31-May 11

Posted 04 June 2011 - 04:45 AM

View PostVince., on 26 May 2011 - 02:06 PM, said:

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!
0

#36 User is offline   drumaddict 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 04-October 10
  • Location:Athens,Greece

Posted 04 June 2011 - 06:24 AM

View PostSonny Lazuardi, on 03 June 2011 - 12:36 AM, said:

Great Site!!! ;D .

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


0

#37 User is offline   Sonny Lazuardi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 01-May 11

Posted 04 June 2011 - 10:02 AM

This CMS runs well in webhosting, but In localhost I got these questions:

1. Why is the captcha always failed to be validated?
Is it related to the cache?

2. And how to disable cache for this CMS?
0

#38 User is offline   mjmitche 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 22
  • Joined: 26-May 11

Posted 05 June 2011 - 06:28 PM

Hi, I have been looking into SVN to get this.

To get wordpress, I do

svn checkout http://core.svn.wordpress.org/trunk/


but what would I do to get this Yii application?
0

#39 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 05 June 2011 - 06:41 PM

http://code.google.c...work-co-il-cms/

Quote

# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://yiiframework-co-il-cms.googlecode.com/svn/trunk/ yiiframework-co-il-cms-read-only

"Less noise - more signal"
0

#40 User is offline   Aryan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 06-June 11

Posted 07 June 2011 - 06:20 AM

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?
0

Share this topic:


  • (6 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users