In its current design it requires an external free software package called CCLite to handle the transactions out of tiki. This is intentional, since the goal is that not only Tiki-based sites but also other Content Management Systems (Elgg, Joomla, Drupal, ...) can use the same CCLite installation to support intertrading among communities and softwares.
- "Registry": Barter Network
- Community Currencies (CC)
- 1.1. Tiki/Cclite Installation Instructions
- 1.2. Basic configuration (Tiki side)
- 1.3. Basic configuration (CCLite side)
- 1.4. Usage
- 1.5. Add a new barter node to the network
- 1.6. Links
- Users must exist in both web sites with exactly the same username (case sensitive)
- As of July 2010, users must be registered in both sites. In the future we expect that Tiki is able to create users in the CCLite installation with the same or other name, and keep that information in a field of the Group tracker item for each registered user in the Tiki site.
- Registry names and their corresponding currencies must be defined in both sites with the same names (case sensitive)
- payments in community currency are allowed based on the budget of that user account in CClite.
- there is too little error reporting (so far) when something goes wrong. Some improvements to the cclite code need to be added to make it better.
- Tiki6.x (6.1+) and CClite 0.7+.
- PHP CURL extension
- See your PHP Info page and check for a "curl" section: e.g. "example.com/tiki-phpinfo.php"
- If it's not there:
- See http://php.net/manual/en/curl.setup.php for general info
- On Debian or Ubuntu do (usual warnings about sudo)
sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart
- Go to tiki-admin.php?page=profiles (logged in as admin)
- Search for "barter" in the Profile box on the default repository
- Click the name "Barter_Market" that should be the only result
- Fill in the options such as "Browser title", "Site subtitle" and "sitetitle" (leave the cclite and barter ones as they are to use c2c.ourproject.org)
- Once the profile has been applied:
- Read the Instructions page (added by the profile)
- Go to page Profile_Barter_Offer_Template and approve the plugin
- When it's written, do the same on Profile_Barter_Want_Template
- Clear smarty templates_c on Admin -> Tiki Cache/Sys Admin
The installation of cclite is beyond the scope of this page. Check its own manual for the installation of you own cclite, if you need to. See:
For the time being, you can request to use the common installation some communities have at:
- Send an email to cclite@NOSPAM@intercanvis.net (or the contact email for any other cclite installation) containing the IP for your server and the Tiki server address
- You will be sent back the "merchant key" on return
- When you have the merchant key go to tiki-admin.php?page=payment and enter the merchant key and click "Change Settings"
- Create another "normal" user in your Tiki (maybe we should have a default test user there)
- Go to http://c2c.ourproject.org and create a user with the same user name there
- Validate that user (if relevant still?)
- Go back to your Tiki
- Log in or switch user to your new non-admin user
- Go to the Offers page,
- pick one of the items and click "Buy now!",
- and then "Trade with Cclite"
- If it all works you should get a message saying
Cclite payment initiated on 2011-01-26 17:25
You have to select CCLite as the payment system (done by the "Barter_Market" profile for you).
Then you have to provide the details for the CCLite installation, so that Tiki and CCLite can talk to each other properly. See an example below:
You have to provide some details for your basic cclite installation (See the CCLite manual).
And then, each registry that you create, needs to have some basic details also, which comprise a registry name, description, email, among others (to be continued):
The usage is pretty intuitive, once the profile "Barter Market" is applied to your Tiki installation.
You have a list of items offered or wanted shown in a page, and you select one of them. Then you have the option to:
- give the amount (in the community currency specified in the item) to person offering it, in order to close the transaction
- get in contact with that user first, to agree on details or state of that item offered or requested.
Once you click on the button "Buy now", you, you initiate a payment request, which you can pay with CCLite or by other means such as plain barter in exchange of some other good or service, etc. If you want to trade with CCLite-based community currency, you can click on the button "Trade with CClite".
This will initiate the payment, provided that you have enough amount in that currency in you CClite account. In such case, you'll see a message saying "Transaction accepted" followed by some code ("Ref: XXXX...."):
If the user is not registered in the CCLite site, a some message will be shown indicating it (for user "test" in this example below):
The previous successful transaction will be recorded also in the CCLite side, at the "Transactions" sections, once loged as manager or user with enough rights:
As seen in this detailed image, the last rows correspond to the recent transaction that we have seen in the previous images from the linked Tiki site:
If we click in the "Show" button in CCLite, we will see the full details of that transaction, as stored in the CClite server:
For more information for the time being, you can see it in action at
The process to have a new node added to the network is:
- Install Tiki (if not done already), and apply the Barter profile
- Request the Merchant ID to the CClite admin, and update your Tiki payment configuration
- Send to the CClite admin the ip of the server where your Tiki is sintalled, in order to have it added to the cclite configuration.
- Create users with the same username in the CClite installation as they have in the Tiki site
(in the future, this will be more flexible)
- Let the users create their offers and wants in the tiki site.
- Let them trade through cclite
- Show the list of transactions and status of the budget for users in their userpages
- Show the list of items offered and wanted (as open, pending, closed) in their user pages.
Profile to easily customize your Tiki6 site to work supporting Barter Networks:
Related pages and sites:
- Sourceforge page: http://sf.net/projects/cclite
- Author's page: http://www.hughbarnard.org/?q=node/3
- Email list: http://groups.google.co.uk/group/cclite
Former implementation of CC in Tiki: