EllisLab Community Forums 0 Copyright (c) 2013 ExpressionEngine tag:ellislab.com,2013:05:18 Integrate Zend Framework Barcode Library2 in Codeigniter 2.1.3 tag:ellislab.com,2013:forums/viewthread/.235473 2013-05-18T17:24:59Z 0 zoellsche Hello,

I have a problem to integrate the zend framework 2 (i want use the barcode class) in CI 2.1.3.

This is the tutorial i used
http://www.beyondcoding.com/2008/02/21/using-zend-framework-with-codeigniter/

but this error massage is shown after I load the barcode zend class ($this->zend->load(‘Zend/Barcode/Barcode’))

Error:Fatal error: Class ‘Zend_Barcode’ not found

So far I found no answer at google….

The tuts are only for older versions…

There must be something wrong with the path

      ini_set(‘include_path’,

      ini_get(‘include_path’) . PATH_SEPARATOR . APPPATH . ‘libraries’);

require_once(): Failed opening required ‘Zend/Barcode.php’ (include_path=’.;C:\\\\xampp\\\\php\\\\PEAR;application/libraries’)

and if i you use require direct i got this error: Class ‘Zend_Barcode’ not found.

Do you have any solution for this problem?

]]>
CI pagination tag:ellislab.com,2012:forums/viewthread/.223266 2012-08-27T00:24:22Z 0 Chilukuri Bhaskar I am using pagination for displaying records showing in ascending order…
my questions is how to display descending order? any one please help my

]]>
No-CMS v 0.6.0, A free CodeIgniter based CMS Framework tag:ellislab.com,2013:forums/viewthread/.233142 2013-02-06T03:27:52Z 0 goFrendiAsgard No-CMS has surpass almost 2 years of development.
Now it has much more cool features. Please take a look at http://www.getnocms.com/
You can also find it on github (https://github.com/goFrendiAsgard/No-CMS) and facebook (https://www.facebook.com/nocms)

A new stable version of No-CMS has been released today, 0.6.0 rev 1, Codename: Ishoni.
You can just download it for free, and start your new adventure.

So, what are you waiting for? Get it for yourself, and do your job fastly, painlessly ....

]]>
flexi auth - A user authentication library for CodeIgniter tag:ellislab.com,2012:forums/viewthread/.224351 2012-09-15T01:51:00Z 2012-10-25T04:08:38Z haseydesign Hey folks,

I would like to announce the release of ‘flexi auth’, a user authentication (login) library.

The flexi auth library initially started out as a modified version of the popular Ion Auth library.
As the original library was tweaked with feature after feature being added, the original code base had transformed into a new library all of its own.

For those that have used the Ion Auth library, the general structure of the library may be familiar, but to help anyone wanting to get a running start with using flexi auth, there is an comprehensive user guide and demo covering every function within the library.

The flexi auth library includes the following core features:

Core Functions
+ User registration, with options to send an activation email, auto activate or suspend an account pending review by an admin.
+ Login function including a ‘Remember me’ option.
+ Logout function, with the option to log a user out of all computers they are logged into, or just the current computer.
+ User permission validation functions to check a users user group, privileges and login status.
+ Functions to reset forgotten passwords.
+ Functions to validate a users change of email address.
+ Password validation helper functions.
+ Many functions for obtaining user data stored within the database.
+ Admin CRUD functions to manage records within the libraries database tables.

Security
+ Passwords are hashed using the popular PHPASS library.
+ Login sessions are managed via a hashed session token technique as described by Barry Jaspan.
+ Users making multiple failed login attempts can be set to have any further login attempts throttled by preventing them from making any further attempts for a short definable time period.
+ Googles reCAPTCHA or a custom math based question and answer CAPTCHA can be deployed to login and registration forms.

Miscellaneous
+ The library includes fully customisable email templates for account activation, forgotten password, new password and validate updated email.
+ Multilingual and customisable status and error messages.

Highly Customisable
+ A highly configurable config file allows you to customise how features within the library behave, ranging from password validation to login session expiry settings.
+ All database tables and column names are renamable via just one config file setting to match whatever name coding convention you prefer.
+ The library consists of only 5 tables to provide every feature within flexi auth.
+ Unlimited additional custom tables can be added and related to the core library tables, allowing you to capture whatever data you require.
+ The 5 core library tables can be modified with the addition of new columns that can then be managed via library functions.

The purpose of the flexi auth library is to offer modularised user authentication features, that allow a developer to pick and choose which features they require, without having to include features that are surplus to the clients requirements.

The library, documentation, and a comprehensive live online demo are available from the flexi auth site.
http://haseydesign.com/flexi-auth

The work on the library started well over a year ago and has been used for some of my own client sites.
I would now like to release the code to the public so that others can also make use of it.

Enjoy =)

P.s. If anyone particularly likes the style of this library, I have also built a comprehensive shopping cart library called ‘flexi cart’. Like the flexi auth library, it is highly customisable including features like shipping, taxes, discounts, reward points, multiple currencies, localisation plus much much more.
The flexi cart library is available from http://haseydesign.com/flexi-cart

]]>
Ajax Framework (CJAX) for Codeigniter 2.x+ tag:ellislab.com,2012:forums/viewthread/.216298 2012-04-29T11:33:34Z 2012-09-20T14:37:48Z Ajaxboy —————————————————————————————————————-
|
| There is a new version here:  5.0+
|
http://ellislab.com/forums/viewthread/220312/
|
|————————————————————————————————————-

A very basic lightweight but powerful Ajax Framework that complements Codeigniter


New Download Location:
Download here

Current Version 5.0-RC3.zip
https://sourceforge.net/projects/cjax/files/CodeIgnater/

Docs/Wiki
http://codeigniter.com/wiki/Ajax_Framework_For_CodeIgniter

 

Download Plugins
https://sourceforge.net/projects/cjax/files/Plugins/

 

Old Download Location (reference)

http://code.google.com/p/ajax-framework-for-codeigniter/downloads/list


This framework separates your normal controllers from your ajax controllers (don’t you think it is a mess to have them all in the same place?.

https://sourceforge.net/

]]>
flexi cart - A comprehensive shopping cart library for CodeIgniter tag:ellislab.com,2012:forums/viewthread/.212926 2012-03-11T03:30:11Z 2012-09-15T02:05:46Z haseydesign Hey all,

I would like to announce the release of ‘flexi cart’, a comprehensive shopping cart library for CodeIgniter.

Whilst CodeIgniter does indeed come with its own cart library, the library is quite basic in functionality and is only aimed at creating simple e-commerce stores.

The flexi cart library includes the following features:

Shipping
+ Base available shipping options and charges on a customers location.
+ Calculate shipping charges based on the weight and value of an order.
+ Include or exclude specific shipping options from discount offers.
+ Set shipping charges for specific items purchased from the store.
Example: Item A ships free of charge, Item B ships for $10 on top of the carts standard shipping charge.
+ Ban specific items from being shipped to specific locations.

Taxes
+ Base available tax rates on a customers ‘billing to’ or ‘shipping to’ location.
+ Define specific tax rates for specific items in the cart.
+ Customers can toggle whether to show cart prices include or excluding taxes.

Localisation
+ Setup locations like countries, states, cities, post/zip codes to even specific streets and door numbers.
+ Locations can be grouped into zones, where rules can then be applied to all locations within a zone, rather than setting the rule for each location.

Discounts and Reward Points/Vouchers
+ Setup complex rule conditions for specific items and groups of items that are added to the cart based on customer location, cart/item value, item quantities and whether other items are present within the cart.
+ Define how tax should be applied to specific discounts. E.g. Whether tax should be applied before or after the discount is applied.
+ Allow customers to earn reward points from purchasing items that they can then later exchange for a discount voucher.

Plus many more features…
+ Multiple currencies
+ Item stock control
+ Surcharges
+ Save/load incomplete carts for later shopping
+ Multilingual custom status and error messages
+ Currency and weight conversion tools

The purpose of the flexi cart library is to offer modularised shopping cart features, that allow a developer to pick and choose which features they require, without having to include features that are surplus to the clients requirements.

flexi cart is flexible enough to be used to create simple 10 item ecommerce stores, up to creating huge online stores rivaling the functionality of ecommerce giants like Magento, Opencart and X-cart. The tools are provided, you just have to put them together.

The library, documentation, and a comprehensive live online demo are available from the flexi cart site.
http://haseydesign.com/flexi-cart

The library has been a long time in the making and has been used for some of my own client sites.
I would now like to release the code to the public so that others can also make use of it.

Enjoy =)

P.s. If anyone does particularly like the style of this library, I have also built a user authentication system that was originally based on Ben Edmunds popular Ion Auth library.
The ‘flexi auth’ library is highly customisable like flexi cart including features like PHPASS password hashing, Google reCaptcha, user groups and privileges, plus much much more.

]]>
Flags Helper - Select Country Dropdown tag:ellislab.com,2009:forums/viewthread/.139574 2009-12-26T00:44:39Z 0 demogar Hello there. I made a basic helper to be used with CodeIgniter when you need a list of countries (useful for user registration, for example).

The Country Names are coded in ISO 3166-1 alpha-2.

The usage is really simple:

# Load the helper
$this->load->helper("flags");

# echo the dropdown select
# @param string $field_name = is the name of the field.
# @param string $country_selected = is the default value for the field.
echo select_countries('flags''pa'); 

You can use and abuse it and you can find the code at GitHub

]]>
Email class - wrong encoding in some webmails tag:ellislab.com,2013:forums/viewthread/.235410 2013-05-15T11:58:54Z 2013-05-15T12:05:04Z nony Hi there,

i am using codeigniter to send emails.
but in one webmail agent (centrum.sk) there is bad encoding.
All other emails in this webmail agent are good except my from codeigniter
Everywhere i setted up UTF-8 charset.

this config i am using:

$config['mailtype''html';
            
$config['charset']  'utf-8';
            
$config['crlf']     "\r\n";
            
$config['newline']  "\r\n"

i also set http headers to utf-8

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 

.

all script files are utf-8 encoded - checked in notepad++

database connection is utf-8
database collation is utf8_general_ci

here is the mail header

Delivered-Toxxxx
Received
from ironport4.centrum.cz (unknown [10.32.3.102])
 
by gmmr7.centrum.cz (Postfixwith ESMTP id 362D98036967
 
for <xxxxx>; Wed15 May 2013 17:49:18 +0200 (CEST)
X-IronPort-Anti-Spam-Filteredtrue
X
-IronPort-Anti-Spam-ResultAuUEAJmrk1ElCayHf2dsb2JhbABbgkMCBXSCdUe+GBYOAQEJDQoIFCiCSR0BAQcxEwEEAwM+AkJBh38IkEKaMXKDTQEFjWAGjzuCLIEThzuRJIRhjkY
Received
from mailout-6.websupport.sk ([37.9.172.135])
  
by mx.centrum.cz with ESMTP/TLS/ADH-AES256-SHA15 May 2013 17:49:17 +0200
Received
from lb2.websupport.sk (localhost [127.0.0.1])
 
by smtp-cf.websupport.sk (Postfixwith ESMTP id C79B610033E8
 
for <xxx@centrum.sk>; Wed15 May 2013 17:49:17 +0200 (CEST)
Receivedfrom xxxx (data16.websupport.sk [37.9.168.12])
 (
Authenticated senderxxxxxx)
 
by mail1.websupport.sk (Postfixwith ESMTPA
 
for <xxxxxx>; Wed15 May 2013 17:49:17 +0200 (CEST)
User-AgentCodeIgniter
Date
Wed15 May 2013 17:49:17 +0200
From
"xxx" <xxx>
Toxxxxx
Subject
: =?utf-8?Q?xxx_-_nov=c3=a1_spr=c3=a1va?=
Reply-To"xxxx" <xxxx>
X-Senderxxxx
X
-MailerCodeIgniter
X
-Priority(Normal)
Message-ID: <5193ae7dacf87@xxxx>
Mime-Version1.0
Content
-Typemultipart/alternativeboundary="B_ALT_5193ae7dacfc8"
X-Virus-CheckedChecked by ClamAV on lb2.websupport.sk
DKIM
-Signaturev=1a=rsa-sha256c=relaxed/relaxedd=xxxxs=mail;
 
t=1368632957bh=i8TpiTscCjUX9qzPwAOxdWqMG1OgAMMuQM69n2/BZiA=;
 
h=Date:From:To:Subject:Reply-To;
 
b=JNKqLk0N+iApK0tspdAvj+ezErBymJSpLf3H/mql2rUMJJWPo7+BsuBsUBGTpZtpE
  T3EPlRPdiPe4qTQIn0RQI27XhYpP7LYNCpwbwfQhTwDnB7r4LJcToN2omleyaufGgX
  qRK345TXQGC8rBn5Qx
+gSzKAVYsTBw1+IapHZoOc=

This is a multi-part message in MIME format.
Your email application may not support this format.

--
B_ALT_5193ae7dacfc8
Content
-Typetext/plaincharset=utf-8
Content
-Transfer-Encoding8bit 
]]>
DataMapper ORM v1.8.2 tag:ellislab.com,2011:forums/viewthread/.205637 2011-11-30T16:43:26Z 0 WanWizard DataMapper ORM 1.8.2

Download the Latest Version Here

  View the change log and the upgrade process
  Having issues? Please look through the Troubleshooting Guide & FAQs
  View the Complete Manual
  Search the Manual
  (Due to the server’s caching configuration, you may need to forcibly refresh your browser to see the changes in the manual.)

DataMapper (DM) is an Object-Relational Mapper that builds on ActiveRecord.  Data is loaded from database tables into objects, and relationships can be managed through simple, easy-to-read functions.

To install DataMapper ORM, the (fairly simple) upgrade process is described here.

DataMapper offers these features:
  • Everything is an object!
  • Easy to setup, easy to use.
  • Custom Validation on object properties.
  • Lazy Loading (related objects are only loaded upon access).
  • Relations and their integrity are automatically managed for you.
  • One to One, One to Many, and Many to Many relations fully supported.
  • Select data in the style of Active Record (with or without Method Chaining).

You can learn much more from the manual.

———————————————————————————————————

Version 1.8.2:
  * New Features
      o Backported the DataMapper 2.0 bootstrap to get access to core classes in CodeIgniter version 2.0.3 and above.
      o Changed the way watched methods are processed. This allows extensions to replace core methods.
      o Add support for an absolute path for “extensions_path”.
      o Added a all_to_single_array() method to the array extension.
  * Bug Fixes
      o Added a default for nestedsets root field name as described in the documentation.
      o Fixed ignoring model configuration properties with a NULL or FALSE value.
      o Fixed broken trans_status() method.
  * Other Changes
      o Improved the way the available model paths are determined.
      o Several corrections to the documentation.

This version introduces a bootstrap loader that needs to be installed in your index.php file, and will allow DataMapper to access CodeIgniters protected core methods and properties, while keeping CodeIgniters core extension mechanism operational (DataMapper does not introduce MY_ versions of libraries).

Make sure to check out the changelog — you won’t want to skip this update!

————————————————————————————————————————

Bug reports and feature requests:

DataMapper has moved to Github for the development of version 2.0. Please use the issue register / bug tracker on github to report new bugs or for new feature requests. If you do, please include in your description is link to the thread on this forum discussing the issue (if possible), so I have a link between the two and can keep track of all issues.

————————————————————————————————————————

Older Discussions: Version 1.8.1, Version 1.8.0, Version 1.7.1, Version 1.6.2, Version 1.5.4, Version 1.5.3 and older.

Thanks goes to Overzealous, for all he has achieved with DMZ. And to stensi, for providing such an amazing code base to work on.

]]>
Modular Extensions - HMVC version 5.4 tag:ellislab.com,2011:forums/viewthread/.179560 2011-01-29T02:58:57Z 2012-04-24T06:38:52Z wiredesignz Modular Extensions - HMVC version 5.4 is available from Bitbucket. (see my signature below)

CodeIgniter version 1.7 is no longer supported.

]]>