Loading...
 

History: Barter_Market

Preview of version: 89

The goal is to allow the customization of a new tiki site in a few clicks into a full site which supports local barter markets, including community currency features, which can be further customized as each community wants to be also their main website (Extranet and Intranet with wiki pages, forums, calendars, newsletters, blogs, file galleries, spreadsheets. freetags, fine grained permission system, integrated search respecting access permissions, ...). An early prototype for such a system can be found in http://c2c.ourproject.org/tiki which mimics and aims to extend http://intercanvis.net among other sites.

See the development page for the whole project behind this profile: http://dev.tikiwiki.org/cc

1. Implementation

  • minimal fields required for a database of offerings, a database of wants, and another want of people, which can be linked through users.
  • a few modules added, including a wiki page menu
  • just one column (right, for instance)

1.1. Future improvements

  • Fix offerings page, which complains about missing parameters (from the offeringlist template page, probably) (Xavi: help needed)
  • Fix: Instructions page is not loaded after profile is applied (Xavi: help needed)

  • Use filegals for images (jonny)
  • Make datachannel for creating new offerings, and make new wiki page for each one (jonny)
  • Add sample data of offerings and demands (Xavi)
  • Evaluate the chance to add a google map field for offerings and wants (Xavi)
  • add (dynamically) list of offerings and wants to user pages (or user profile pages). (Xavi)


  • Add content to homepage (Xavi):
    • articles
    • calendar, and upcoming events
    • come rss feed from intercanvis.net calendar, articles, offerings and wants
  • Add some custom logo and specific graphic design (Xavi: help needed)

  • There will be a group tracker for registered users, collecting some extra information from users (like interests for exchanging things, topics they would like to learn from or teach others about). This group tracker will be shown at registration time (Xavi, and probably, help needed; we'll see).

Notes:
It would be very nice also the chance that the user can click on certain check-boxes at registration time (i.e., fields of the group tracker at registration time) in order to let them monitor from the very beginning some general users forum, or community news blog, community newsletter, calendar, etc. I (Xavi) wonder whether this is (or will soon be) possible through the group watch or alert features or by other means.

In order to use this profile with this set of data below (to populate it properly), you need beforehand to create two users in your tiki site: user1 and user2. This is due to the fact that the profiles system isn't able to create users in tiki (at least, so far by the Feb'09).






2. Preferences


General

YAML
preferences: allowRegister: y browsertitle: $profilerequest:browsertitle$Our barter community$ feature_actionlog: y feature_categories: y feature_cssmenus: y feature_display_my_to_others: y feature_file_galleries_author: y feature_file_galleries: y feature_freetags: y feature_group_watches : y feature_messages: y feature_mytiki : y feature_score: y feature_site_send_link: y feature_trackers: y feature_userPreferences: y feature_user_watches : y feature_wiki_argvariable: y feature_wiki: y forgotPass: y instructions: Barter_Market_Instructions log_mail: y payment_currency: $profilerequest:Currency initials$ECO$ payment_feature: y sitemycode_publish: y sitemycode: "<div id='quickadmin' style='padding: 0 1em;'>{wiki} ((Offerings)) | ((Wants)) {/wiki}</div>" sitesubtitle: $profilerequest:sitesubtitle$Join us$ sitetitle: $profilerequest:sitetitle$Our Barter Market$ user_show_realnames: y userTracker: y wiki_creator_admin: y wiki_watch_author: y wiki_watch_editor: y


3. User Interface (YAML)

3.1.1. Top bar menu

YAML
preferences: feature_sitemenu : y feature_topbar_id_menu: $profileobject:Barter_market_horizontal_menu$ feature_top_bar: y


3.1.2. Wiki side menu

This will add the page Barter_Market_menupage as the menu content

YAML
objects: - type: wiki_page ref: barter_market_menupage_include data: name: Menu description: Simple menu based on a wiki page lang: en mode: create_or_update content: wikicontent:Barter_Market_menupage


3.1.3. Horizontal Menu items

YAML
objects: - type: menu ref: Barter_market_horizontal_menu data: name: My Menu description: A menu containing the base navigation of the site collapse: none items: - name: Home url: index.php - name: About items: - name: Community url: ((Community)) - name: Calendar url: tiki-calendar.php - name: Forums url: tiki-forums.php - name: Files url: tiki-list_file_gallery.php - name: Help items: - name: Wiki Syntax Help url: ((Wiki Help)) - name: Admin menu url: tiki-admin_menus.php permissions: [ edit_menu ]


3.2. Modules


YAML
objects: - type: module ref: module_menupage data: name: menupage position: right groups: [ Anonymous, Registered ] order: 10 params: pagemenu: $barter_market_menupage_include - type: module ref: module_breadcrumb data: position: right order: 20 name: breadcrumb groups: [ Anonymous ] - type: module ref: module_quick_edit data: name: quick_edit position: right groups: [ Editors ] order: 30 - type: module ref: module_since_last_visit_new data: name: since_last_visit_new position: right groups: [ Registered ] order: 40


4. Object Creation (YAML)


4.1. Wiki Pages

YAML
objects: - type: wiki_page ref: barter_market_homepage_include data: name: Welcome description: Home page lang: en mode: create_or_update content: wikicontent:Barter_Market_HomePage - type: wiki_page ref: barter_market_registered_homepage_include data: name: Registered HomePage description: Registered Members HomePage lang: en mode: create_or_update content: wikicontent:Barter_Market_Registered_HomePage - type: wiki_page ref: barter_market_instructions_include data: name: Instructions description: Profile Instructions lang: en mode: create_or_update content: wikicontent:Barter_Market_Instructions - type: wiki_page ref: barter_market_about_include data: name: Community description: About the Community behind this Barter Market lang: en mode: create_or_update content: wikicontent:Barter_Market_About - type: wiki_page ref: barter_market_help_include data: name: Wiki Help description: Wiki Syntax Help lang: en mode: create_or_update content: wikicontent:Simple_Sample_Page


4.2. Wiki plugins

YAML
preferences: wikiplugin_addtocart: y wikiplugin_trackerfilter: y wikiplugin_trackerlist: y wikiplugin_trade: y

YAML
objects: - type: file_gallery ref: General_File_Gallery data: name: General description: Images & files owner: admin archives: 0 flags: [ public, visible, lockable ] column: [ icon, name, created, creator, files ]


Forum

YAML
objects: - type: forum ref: General_Forum data: name: Discussion forum attachments: everyone enable: [ topic_smiley ] list: [ topic_reads ]



5. Groups & Permissions (YAML)


Name Description
Anonymous Anonymous users can read articles
Registered Just self-register with an email address
Editors Can destroy & edit all content
SubAdmins Almost all powers
Admins All powers



YAML
permissions: Anonymous: allow: - download_files - list_file_galleries - list_trackers - read_comments - search - tracker_view_comments - tracker_view_ratings - view - view_category - view_fgal_explorer - view_fgal_path - view_file_gallery - view_freetags - view_trackers - wiki_view_comments - wiki_view_history - wiki_view_source objects: - type: category id: $category_pretty_tracker_templates allow: [ use_as_template ] deny: [ view, edit ] Registered: user_tracker: $tracker_people user_tracker_field: $tracker_people_login registration_fields: [ $tracker_people_name, $tracker_people_business, $tracker_people_mobile, $tracker_people_interests ] allow: - attach_trackers - comment - comment_tracker_items - create_tracker_items - add_object - remove_object - edit - edit_categorized - freetags_tag - messages - post_comments - tracker_vote_ratings - upload_files - upload_picture - watch_trackers Customers: include: [ Registered ] description: Users who have made a purchase/payment/exchange allow: [] Editors: include: Registered description: Can approve & delete allow: - admin_banners - admin_banning - admin_categories - create_category - admin_comments - admin_file_galleries - admin_freetags - admin_newsletters - admin_notifications - admin_rssmodules - admin_wiki - broadcast - broadcast_all - clean_cache - edit_menu - edit_menu_option - export_tracker - lock - minor - modify_tracker_items - plugin_approve - plugin_preview - use_HTML - wiki_admin_attachments - view_trackers_closed - view_trackers_pending SubAdmins: include: Editors description: Site sub-administrators allow: - adminusers - trust_input - payment_manual - payment_admin - payment_view - payment_request Admins: include: SubAdmins allow: - admin



5.1. Categories


List of topics of items offered, or wanted, to be shown as types of offers, and/or types of wants.

YAML
objects: - type: category ref: category_offerings data: name: Offerings description: Base category for all offerings - type: category ref: category_food data: name: Food parent: $category_offerings - type: category ref: category_drink data: name: Drink parent: $category_offerings - type: category ref: category_others data: name: Others parent: $category_offerings - type: category ref: category_pretty_tracker_templates data: name: Pretty Tracker Templates description: For Wiki pages serving as templates for Tracker and TrackerList wikiplugins items: - [ wiki_page, $page_offeringlist_tpl ] - [ wiki_page, $page_offering_tpl ] - [ wiki_page, $page_wantlist_tpl ] - [ wiki_page, $page_want_tpl ]


5.2. Offerings


The tracker fields are left to a minimum. More fields can be added for specific details about offerings.

YAML
objects: - type: tracker ref: tracker_offerings data: name: Offerings description: Offerings of goods, knowledge, and services. default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, creator_modification ] - type: tracker_field ref: tracker_offerings_code data: name: Offering Code description: Unique offering code id tracker: $tracker_offerings type: auto_increment options: 1,,,itemId flags: [ public, mandatory ] order: 1 - type: tracker_field ref: tracker_offerings_title data: name: Title description: Main display name of the offering tracker: $tracker_offerings type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: tracker_offerings_description data: name: Description description: More info tracker: $tracker_offerings type: text_area flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: tracker_offerings_category data: name: Category description: Offering category tracker: $tracker_offerings type: category options: $profileobject:category_offerings$,checkbox flags: [ searchable, public, mandatory, list ] order: 30 - type: tracker_field ref: tracker_offerings_price data: name: Price description: The amount in community currency in exchange of this offering, in case you dont want any of the items in my offerings list (as a decimal value; e.g. 42.50) tracker: $tracker_offerings type: numeric options: 0,6,$profilerequest:Currency symbol$e$, flags: [ public ] order: 40 - type: tracker_field ref: tracker_offerings_weight data: name: Weight description: The weight of the offering (most likely in grammes) tracker: $tracker_offerings type: numeric flags: [ searchable ] order: 50 - type: tracker_field ref: tracker_offerings_image data: name: Image description: Main image of the offering for offering detail page tracker: $tracker_offerings type: image options: 100,100,600,600,1000,item flags: [ public, list, link ] order: 60 - type: tracker_field ref: tracker_offerings_user data: name: Person who offers it description: Person who is offering it tracker: $tracker_offerings type: user options: 1,1 flags: [ public, searchable ] order: 70 - type: tracker_field ref: tracker_offerings_wants_same_user data: name: Wants of the same person description: Active wants from the same person who is offering it tracker: $tracker_offerings type: item_list options: $profileobject:tracker_wants$, $profileobject:tracker_wants_user$, $profileobject:tracker_offerings_user$, $profileobject:tracker_wants_title$,op flags: [ public, list, link ] order: 80


5.3. Wants

The tracker fields are left to a minimum. More fields can be added for specific details about wants.

YAML
objects: - type: tracker ref: tracker_wants data: name: Wants description: Wants of goods, services and knowledge. default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, creator_modification ] - type: tracker_field ref: tracker_wants_code data: name: Want Code description: Unique want code id tracker: $tracker_wants type: auto_increment options: 1,,,itemId flags: [ public, mandatory ] order: 1 - type: tracker_field ref: tracker_wants_title data: name: Title description: Main display name of the want tracker: $tracker_wants type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: tracker_wants_description data: name: Description description: More info tracker: $tracker_wants type: text_area flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: tracker_wants_category data: name: Category description: Want category (so far the same as the offerings) tracker: $tracker_wants type: category options: $profileobject:category_offerings$,checkbox flags: [ searchable, public, mandatory, list ] order: 30 - type: tracker_field ref: tracker_wants_price data: name: Price description: The amount in community currency in exchange of this want, in case you don't want any of the items in my offerings list (as a decimal value; e.g. 42.50) tracker: $tracker_wants type: numeric options: 0,6,$profilerequest:Currency symbol$e$, flags: [ public ] order: 40 - type: tracker_field ref: tracker_wants_weight data: name: Weight description: The weight of the want (most likely in grammes) tracker: $tracker_wants type: numeric flags: [ searchable ] order: 50 - type: tracker_field ref: tracker_wants_image data: name: Image description: Main image of the want for the item detail page tracker: $tracker_wants type: image options: 100,100,600,600,1000,item flags: [ public, list, link ] order: 60 - type: tracker_field ref: tracker_wants_user data: name: Person who wants it description: Person who wants it tracker: $tracker_wants type: user options: 1,1 flags: [ public, searchable ] order: 70 - type: tracker_field ref: tracker_wants_offerings_same_user data: name: Wants of the same person description: Active offerings from the same person who wants it tracker: $tracker_wants type: item_list options: $profileobject:tracker_offerings$, $profileobject:tracker_offerings_user$, $profileobject:tracker_wants_user$, $profileobject:tracker_offerings_title$, op flags: [ public, list, link ] order: 80


5.4. People


YAML
objects: - type: tracker ref: tracker_people data: name: People description: People registered allow: [ one_item_per_user, creator_modification ] default_status: open - type: tracker_field ref: tracker_people_login data: name: login tracker: $tracker_people type: user flags: [ searchable, public, list, mandatory, link ] order: 1 options: 1 - type: tracker_field ref: tracker_people_name data: name: Name tracker: $tracker_people type: text_field flags: [ public, list, mandatory, link ] order: 10 - type: tracker_field ref: tracker_people_business data: name: Business Name tracker: $tracker_people type: text_field flags: [ public ] order: 30 - type: tracker_field ref: tracker_people_mobile data: name: Mobile Phone tracker: $tracker_people type: text_field visible: [ admin_editable, creator_editable ] flags: [] order: 40 - type: tracker_field ref: tracker_people_interests data: name: Short Description description: Very short description of interests from each person. tracker: $tracker_people type: text_area flags: [ public ] order: 100


6. Sample Data


6.1. Sample users



6.2. Sample Offerings



6.3. Sample Wants




Pretty Things


Pretty Tracker Templates:

YAML
objects: - type: wiki_page ref: page_offering_tpl data: name: Profile_Barter_Offering_Template content: wikicontent:Profile_Barter_Offering_Template - type: wiki_page ref: page_offeringlist_tpl data: name: Profile_Barter_OfferingList_Template content: wikicontent:Profile_Barter_OfferingList_Template - type: wiki_page ref: page_offering data: name: Offering content: wikicontent:Profile_Barter_Offering_Include - type: wiki_page ref: page_offeringlist data: name: Offerings content: wikicontent:Profile_Barter_OfferingList_Include - type: wiki_page ref: page_want_tpl data: name: Profile_Barter_Want_Template content: wikicontent:Profile_Barter_Want_Template - type: wiki_page ref: page_wantlist_tpl data: name: Profile_Barter_WantList_Template content: wikicontent:Profile_Barter_WantList_Template - type: wiki_page ref: page_want data: name: Want content: wikicontent:Profile_Barter_Want_Include - type: wiki_page ref: page_wantlist data: name: Wants content: wikicontent:Profile_Barter_WantList_Include


7. Related



Alias
Barter

History

Advanced
Information Version
Thu 29 of Jul, 2010 23:27 GMT-0000 Xavier de Pedro added all the preferences from the "admin payment" panel. I hope that round brackets and pipe character are allowed inside $profilerequest:blabla (option1|option2)$option1$ code. Otherwise, there are 108
View
Mon 26 of Jul, 2010 22:31 GMT-0000 Xavier de Pedro 107
View
Mon 26 of Jul, 2010 22:23 GMT-0000 Xavier de Pedro Profile applicable and (apparently) bug free :-) Yay! 106
View
Mon 26 of Jul, 2010 22:15 GMT-0000 Xavier de Pedro typo. and in previous version, new fields to tracker wants added (a few were missing: network, currency, etc.) 105
View
Mon 26 of Jul, 2010 22:12 GMT-0000 Xavier de Pedro 104
View
Mon 26 of Jul, 2010 21:52 GMT-0000 Xavier de Pedro instructions indented properly, and the previous two versions of this page had sample data added for currencies, netowrks, offers and wants 103
View
Mon 26 of Jul, 2010 21:49 GMT-0000 Xavier de Pedro 102
View
Mon 26 of Jul, 2010 20:30 GMT-0000 Xavier de Pedro 101
View
Sun 25 of Jul, 2010 18:59 GMT-0000 Xavier de Pedro added sample data for 2 networks (registries) and their currencies 100
View
Sun 25 of Jul, 2010 09:55 GMT-0000 Xavier de Pedro 99
View
Sun 25 of Jul, 2010 09:53 GMT-0000 Xavier de Pedro 98
View
Sun 25 of Jul, 2010 09:48 GMT-0000 Xavier de Pedro 97
View
Sun 25 of Jul, 2010 09:41 GMT-0000 Xavier de Pedro 96
View
Sun 25 of Jul, 2010 09:13 GMT-0000 Xavier de Pedro 95
View
Sat 24 of Jul, 2010 11:50 GMT-0000 Xavier de Pedro 94
View
Sat 24 of Jul, 2010 11:14 GMT-0000 Xavier de Pedro replaced all "offering" into "offer", preserving case 93
View
Tue 20 of Jul, 2010 12:58 GMT-0000 Jonny Bradley 92
View
Fri 09 of Jul, 2010 17:01 GMT-0000 Jonny Bradley 91
View
Fri 09 of Jul, 2010 16:57 GMT-0000 Jonny Bradley 90
View
Fri 09 of Jul, 2010 15:52 GMT-0000 Jonny Bradley cart not need with trade plugin (yet) 89
View
Fri 09 of Jul, 2010 12:32 GMT-0000 Jonny Bradley 88
View
Wed 09 of Jun, 2010 17:37 GMT-0000 Jonny Bradley payment view and request perms are more admin than user 87
View
Wed 09 of Jun, 2010 17:29 GMT-0000 Jonny Bradley more perms 86
View
Wed 09 of Jun, 2010 17:22 GMT-0000 Jonny Bradley category perms 85
View
Wed 09 of Jun, 2010 14:42 GMT-0000 Jonny Bradley 84
View