Part of the EllisLab Network
   
53 of 59
53
BackendPro 0.6.1
Posted: 06 February 2010 04:44 AM   [ Ignore ]   [ # 521 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  833
Joined  04-20-2006
adamp1 - 06 February 2010 04:35 AM

But I have not updated the SVN recently since I am working on the code for 1.0. SVN has no other changes which 0.6.1 already has in.

That’s what I was wondering, if we would be able to get the 1.0 code somewhere ?

 Signature 

All CodeIgniter resources into one place?
http://www.codeigniterdirectory.com

Buildon.net - The PHP Frameworks Showcase - Add your links!
http://www.buildon.net

My website: Création de sites Genève, Too Pixel

Profile
 
 
Posted: 06 February 2010 04:53 AM   [ Ignore ]   [ # 522 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  773
Joined  09-01-2007

The 1.0 code is in SVN but a different branch. but its pre alpha at the moment so its actually unusable still.

 Signature 

Kaydoo - A day in the life of a developer
BackendPro Control Panel

Profile
 
 
Posted: 06 February 2010 07:23 AM   [ Ignore ]   [ # 523 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  833
Joined  04-20-2006

Ha ok cool, thanks Adam.

 Signature 

All CodeIgniter resources into one place?
http://www.codeigniterdirectory.com

Buildon.net - The PHP Frameworks Showcase - Add your links!
http://www.buildon.net

My website: Création de sites Genève, Too Pixel

Profile
 
 
Posted: 14 February 2010 09:06 AM   [ Ignore ]   [ # 524 ]  
Summer Student
Avatar
Total Posts:  18
Joined  10-23-2008

Hello, Im newbie and interest with BEP. does anybody has a simple sample project in using BEP ?. I found no articles yet in internet,

Profile
 
 
Posted: 18 February 2010 01:02 PM   [ Ignore ]   [ # 525 ]  
Summer Student
Total Posts:  7
Joined  01-13-2010

Hi,

I’ve just been directed to BackendPro from a newsletter article about it, and I’ve had a look around and really think it’s a great concept.

It feels really harsh asking this question, but what kind of license does it come with? I.e. if I was to use it as part of a commercial project, I’d probably want to remove the BackendPro © Copyright 2008 - Adam Price - All rights Reserved line from the bottom as it would confuse the client… Would this be ok? I totally understand if you’re not happy with this, and I’ll knock something up my own way as I was going to do before… But it would be great to make use of something like this, as I was kind of dreading to the ACL permissions thing smile

Great work though, from reading the first few posts in this thread I don’t understand why everyone was having such a hard time understanding what it’s all about - I get it! Nice!

Thanks,
Tom

Profile
 
 
Posted: 18 February 2010 02:41 PM   [ Ignore ]   [ # 526 ]  
Grad Student
Rank
Total Posts:  31
Joined  05-04-2007

Hi,
i just started to play with the BackendPro and it’s amazing.
now while i try to build my own project
should i build it as a models ?,

in my project i need specific access list to it.
till now i don’t know how to force check if the user is logged in or not. and how to check the access list that user have in my model.

Thanks

Profile
 
 
Posted: 19 February 2010 02:52 AM   [ Ignore ]   [ # 527 ]  
Summer Student
Total Posts:  10
Joined  01-27-2010
adamp1 - 10 December 2009 07:48 AM

This is an issue with using BackendPro and PHP 5.3, sadly the current version is not compatible. I do not have a fix for it as I am putting any spare time into BackendPro 1.0 which will be compatible with PHP 5.3.

Hi
Are you certain about this
because I have a very strange behavior where
I have a test environment (latest CI) in which I install all sorts of modules for testing and where I installed BEP, and it worked perfectly.

so Then once I validated it, I pushed it into a clean new project that was going to use it
and I get this

A PHP Error was encountered
Severity: 8192
Message: Assigning the return value of new by reference is deprecated
Filename: libraries/Loader.php
Line Number: 414

so I beleive some other module corrected this issue in my playground environment but I have so many in there I don’t know which one.
Are you sure it’s php5 related ?
when is BEP1.0 due for ?
I compared the two File systems but hardly any structural difference
how can check the version of CI of my playground ?
I know my knew project is 7.2

Thanks for the thoughts
Tibor

Profile
 
 
Posted: 19 February 2010 03:47 AM   [ Ignore ]   [ # 528 ]  
Summer Student
Total Posts:  7
Joined  01-13-2010

Hi,

I had this problem myself when I installing yesterday. Basically it’s just the error level you have set in your php configuration. The version of PHP 5 I have on my localhost is set to show all errors, so it was telling me about coding notices, such as deprecated code.

That line in particular is telling you that you need to remove a & character from the file/line described. I.e. not assigning a return value by reference (as PHP 5 does this automatically now I believe).

On line 414 of system\application\libraries\Loader.php

Replace

$CI->dbutil =& new $class();

with:

$CI->dbutil = new $class();

I had the same issue on a number of files, so it just takes a bit of editing / correcting of the relevant files, which can take a bit of tracking down but it’s all good fun smile

Again on line: 42 of \modules\auth\views\admin\access_control\resources.php

Replace:

$offset = $this->access_control_model->buildPrettyOffset(&$obj,$tree);

with

$offset = $this->access_control_model->buildPrettyOffset($obj,$tree);

I also had an error when trying to edit the site settings, ereg_replace needs to be replaced with preg_replace for example.

On line 100 of modules\preferences\libraries\Preference_form.php

Replace:

$this->field[$field]['label'] = ucwords(ereg_replace('_',' ',$field));

with

$this->field[$field]['label'] = ucwords(preg_replace('/_/',' ',$field));

There might be others… But I hope that’s some help.

Cheers,
Tom

Profile
 
 
Posted: 19 February 2010 04:30 AM   [ Ignore ]   [ # 529 ]  
Summer Student
Total Posts:  10
Joined  01-27-2010

Hi Tom
Thanks for your help
worked great
Cheers
Tibor

Profile
 
 
Posted: 19 February 2010 09:08 AM   [ Ignore ]   [ # 530 ]  
Lab Assistant
RankRank
Total Posts:  170
Joined  09-20-2009

I suppose the author already knows this, but I found this in Preference_form.php

$this->field[$field]['label'] = ucwords(ereg_replace('_',' ',$field));

And PHP.org write about ereg_replace.

ereg_replace

Warning

This
function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.


I have a question about the next BeP version.
Current version of BeP uses ‘Validation Class’ which is deprecated in CI 1.7, so will the next BeP use ‘Form validation class’?

 Signature 

Ajax ToDo System | Event Calendar | CI shopping cart code update

Profile
 
 
   
53 of 59
53
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120453 Total Logged-in Users: 42
Total Topics: 126532 Total Anonymous Users: 5
Total Replies: 665341 Total Guests: 321
Total Posts: 791873    
Members ( View Memberlist )