COAddOns

A open source project that develop several add-ons for Mambo, Joomla, MiaCMS and MoseCMS, an easy and extensible CMS.

MosBannerBot

The hightlight of this new release are:
* Support Mambo, all version of Joomla 1.0, 1.5 and MiaCMS
* Show banner from banner component in content base on banner id with parameter

Description:
* MosBannerBot mambot is use to display banner from banner component on the content or frontpage.

Features:
* Option to show in 4 locations
* Option to align to left, right, center

Note:
* Important: Make sure to enable MosBannerBot in Mambot manager!

Info:
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosCmenuTree

The hightlight of this new release are:
* Add image background support for menu item
* Enhance to work better with SEF enable
* Enhance to validate with XHTML
* Upgrade to jQuery 1.3
* Enhance for compatible with J1.015 and J1.5.8
* Minor fix in flyout.css
* Add param to show new/update image or not
* Language encoding is now changable, defualt is UTF-8
* Minor bug fix

Description:
* MosCmenuTree will show you content in a nice menu without the labor of updating each menu item one by one. MosCmenuTree is a very comprehensive menu system for content compatible with all version of Mambo, Joomla 1.0 series and 1.5 series in Legacy mode

Installation:
* Use Mambo module install manager to do the install of MosCmenuTree.
* Make sure you publish this module
* At the minimum you need to set the section ID so MosCmenuTree has something to show on the menu
* Optional: You could also include an additional categories to be part of the menu

Features:
* The content will show on Pathway correctly when click on MosCmenuTree item.
* Any new content will show "New" image to indicate the content is "New" for 14 days
* Several menu options to choose: dTree, List, ByCat, JSCook, or Flyout with respective css
* Enhance to able to run more than one copy
* Add image background support for menu item
* Enhance to work better with SEF enable
* Enhance to validate with XHTML
* There are many general parameters to set, for example:
# Set to select "Section Order by": Id, Title, Ordering, none (default)
# Set to select "Category Order by": Id, Title, Ordering
# Set to select "Articles Order by": Id, Title, Ordering
# Use Maxlength to set the maximum length of the title to show before it got truncated as the menu item
# Set to select "ShowArrow" on menu item.
# Use "useCSS" to set use respective menu type CSS or site default template CSS
# Set to show or hiden "catid" on URL to be compatible with opensef
# Option to turn on/off debug code

More specific option for each menu type:
* For dTree option:
+ Many parameters to customize the menu look for the menu tree and also via the dtree.css
* For JSCook option:
+ You can change use the theme to change how it look and set the menu orientation.
(Note: JSCook menu with several style option: hbr, hbl, hur, hrl, vbr, vbl, vur, vrl)
* For ByCatJ option:
+ "showitem" to set "Number of Menu Items to show"

Addtional Usage:
* Several new css add for list, bycat, jscook, flyout, dtree so each menu type can be customized
* Unique id for the purpose use creating several instant of the menu for different section or category in conjunction with mosModule mambots in content or module
* Steps to show "Upd" image to indicate the content has been update:
# You need to update "Title Alias" to have a date with the format of "yyyy-mm-dd".
# "showupdated" field is set with a value then MosCmenuTree will only show article that has been updated recently with the "Title Alias" containing the date value less then num of days

For examples: If "showupdated=14" then "upd" image will only show content that has been update within the last 14 days

Credit:
* dTree from http://www.destroydrop.com
* JSCook menu from http://jscook.sourceforge.net/JSCookMenu/
* Flyout menu from http://www.washington.edu/webinfo/case/flyout/
* JQuery from http://jquery.com

* Cem for some css code in flyout.css
* Mark Joyce for some css code in bycat.css
* Mark Miller for some contribution with jscookmenu type

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosCom

This version of MosCom is a complete rewrite base on my tiny Mose framework that utilize MVC pattern and Ajax. It is just too much change to list them all here but to show the highlight of this new release are:

* Enhance security token processing to ensure no double comment
* Updated Swedish translation from Stefan Lewitas
* Add IP of commenter
* add MosModule integration support so you can use any of MosModule command in MosCom comment
* upgrade jQuery 1.3.2
* Quick post using ajax with spinning wheel
* css and js are now load in the head whereever is possible
* Has better support for SEF enable site
* Detection for auto upgrade of MosCom related tables
* Parameter to set and use username instead of name per popular request
* Parameter to close comment based on contents list
* Parameter to set sectoken (turn on/off invisible captcha)
* Tested for Mambo, MiaCMS, Joomla 1.5+, Joomla 1.0 (ajax only work when edit template not via plugin),

MosCom Description:
* MosCom 2.0 is a complete rewrite comments component of MosCom 1.0 base on my tiny Mose framework that utilize MVC pattern for Mambo, MiaCMS, Joomla 1.0 and Joomla 1.5+.
* It provides feature for visitors to comment on content items within the supported CMS.
* (Note: Please make sure to download the latest MosComBot 2.0+, MosComLatestX 2.0+ to work with MosCom 2.0+)

General Features:

# Cross platform compatible with Mambo 4.5.2+, MiaCMS, Joomla 1.5+ (w/ legacy mode), and Joomla 1.0+ (ajax only work when edit template not via plugin)
# Multi-language support
# MosCom can be easily customize via view and CSS
# Completely integrate MosComBot with MosCom so edting template is now optional but still supported
# Add to show comment link in content, mamblog, blogcategory and blogsection
# Compatible with PHP 4 and 5, global off and global emulation off
# Store config in database, NO need to write to file!
# Has better support for SEF enable site
# Quick post using ajax with spinning wheel
# Detection for auto upgrade of MosCom related tables
# CSS and JS are now load in the head whereever is possible
# Advance feature via MosModule integration support so you can use any of MosModule command in MosCom comment
# Parameter to set and use username instead of name per popular request
# Parameter to close comment based on contents list
# Parameter to set sectoken (turn on/off invisible captcha)
# Companion product:
* cbplug_MosCom: a CB plugin to show CB user MosCom comments in CB 1.0+ tab.
* MosComLatestX: a moduel to show MosCom Latest X comments in module position
* MosModule: a mambot that let you enhance your content with various features
* MosComBot: a mambot to show comment link on frontpage

Notes for MosComBot:
* MosComBot is now use to show comment form without the need to edit the template.
* Please make sure emailcloak is listed before MosComBot to avoid scramble the email in the comment form.
* MosComBot can now set to show in 4 places of the articles beside to show the comment form for MosCom.
* MosComBot can now set to not show comment link on the frontpage.

Specific Features:

Note: Any kind of captcha protection will not stop a human being from input a bad comment. Instead of inconvient your visitor with hard to read captcha image, after long and hard testing with a good working captcha for MosCom, I decide to implement different form of captcha, a human friendly/Invisible captcha!

# Spam protection:
* Human friendly/Invisible captcha protection
* Enhance security token processing to ensure no double comment
* Ajax using JQuery to check form for good encrypted token which will expired in 10 minutes to prevent bad comment
* The comment server will only serve from where the MosCom is installed
* log IP of commenter
* Use phpInputFilter and mysql escape to filter input from comment form
* (optional) Send popup to verify message before submit

# Frontend featues:
* Ajaxified some frontend function using jQuery slidedown effect
* Support any component that use content w/ a valid id for example: like mamblog
* Visitor or member can leave comment on a article
* Vistor URL field can be disable by the site admin
* Ability to page previous or next of comments w/ setable number of comments per page
* Ability to skin using moscom.css down to detail of meta data.
* Customizable comment title, etc via language file using _COM_C_ADD_COM, _COM_C_ADD_COM2 and _COM_C_HOMEURL.
* Comments sorting: new entries first or new entries last
* Form position: Behind comments or Above comments
* Add javascript bbcode and tooltips
* Enhanced bbcode support to store as html for ease of retrieval into article with bot
* Use time offset from configuration when show comment
* Show comment link in mamblog, blogcategory and blogsection
* Better mail handler with 3 types and fall back to php mail
* Only show comment form when "add comment" is clicked
* SEF enable support, tested with MiaCMS, Joomla and perhaps Mambo with htaccess.4.5.x
* Work around emailcloak issue
* More advance feature via MosModule integration

# Backend featues:
* Ajaxified admin config screen using ui.tabs.min.js
* Complete admin area to monitor, edit and delete comments as necessary.
* Admin can hold comments for approval
* Highly configurable through point and click admin interface
* Email to be set to require or optional
* Remember your config preference when upgrade
* Better db config upgrade handling * Parameter to exclude section list eg: 0 for static content
* Parameter to exclude content list to selectively not show comment form
* Parameter to close content list to selectively disable new comment
* Parameter to set and use username instead of name per popular request
* Parameter to set sectoken (turn on/off invisible captcha)

# Languages support:
* English, French, Rusian, Dutch, Spanish, Portugese, German
* Arabic, Polish, Italian, Swedish, Croatian, Turkish, czech

Note: translation for MosCom:
* You can create you own translation file by copy "english.php" and create your language translation file. For example: "spanish.php" please make sure the file name matches your mambo language name.
* Once you have the translation file in place and when you set the language preference in mambelfish then MosCom will use your translation file to display the comment in your language. Please consider share you translation file once you are happy with your work. Thanks for sharing.!

Credit:
* Please see administrator/com_comments/credit.txt for more detail

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosComBot

The hightlight of this new release are:
* Refresh to support MosCom 2.0+ features

Description:
* MosComBot mambot is use to display MosCom comment link on the content or frontpage if you turn it on and when you click on either side it will take you to the corresponding comments.

Features:
* MosComBot is now has comment form without the need to edit the template.
* MosComBot can now set to show in 4 places of the articles beside to show the comment form for MosCom.
* Companion MosComBot mambot to show comment link on content or frontpage
* "Show (0) - Add comments:" will be shown on frontpage or to turn off
* Option to turn off comment link on frontpage

Note:
* Important: Make sure to enable MosComBot in Mambot manager!
* This Mambot is design to work with MosCom 1.1+
* Please make sure emailcloak is listed before MosComBot to avoid scramble the email in the comment form.

Info:
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosComCBPlug

The highlight of this new release are:
* Refresh to support MosCom 2.0+ features

Description:
* MosCom CB Plug-in will list the latest comment in the user CB profile tab using the translation file from MosCom base on your language setting.

Installation:
# Use CB plug-in install manager to do the install
# Make sure you publish and enable this plugin in CB
# Optional: use number of post and max_length

Features:
* Use these _COM_C_POST, _COM_C_DATE_ON and _COM_C_DATE_AT from MosCom language file to display the comment meta text. (requires MosCom 1.1+)
* Some parameters like number of post, max_length.

Info:
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosComLatestX

The hightlight of this new release are:
* Refresh to support MosCom 2.0+ features

Description:
* MosCom Latest X will list the latest comment in a module and can be skin using _sfx and css code

Installation:
# Use Mambo module install manager to do the install of MosComLatestX.
# Make sure you publish this module
# Optional: use _sfx and max_length

Features:
* Use these _COM_C_POST, _COM_C_DATE_ON and _COM_C_DATE_AT from MosCom language file to display the comment meta text. (requires MosCom 1.1+)
* Can use _sfx and css to change the look
* Some parameters like number of post, max_length.

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosDashBoard4SB

Description:
* MosDashBoard4SB is a only one is its class that will let you make several copy of this module to show different kind of post from SimpleBoard, JoomlaBoard, MamboBoard or NS Mamu since they are all fork from the original Simpleboard.

Features:
* MosDashBoard4SB is a module for Simpleboard's forks which will display the latest posts and various other posts like: random posts, Top Posters, Top Threads, Top Hits.
* It also has many others configurable parameters such as maximum length, number of posts, display name, display last post from 4, 12, 24 hrs, top karma, latest threads, Show username, Show "New!" on unread post, filter "moved" post, and display random of all available types of posts and more and output XHTML compliance code.

Complex Usage: There are many parameters to customize the MosDashBoard4SB to your liking:
* number_posts is use to show number of post
* Max_length is use to set maximum length on each item
* Show_dbhdrs is use to show or hide header
* admin_msg is use to show or not show admin message
* max_days is use to show number of days to limit the posts
* showhours to show post from 4, 8, 12, etc hours
* showltposts to whether show or not show left side
* showrtposts to show right side using yes or no or random kind of posts
* whichposts is use to set these kind of post: Top hits, Top posters, Top threads, Lastest threads, Top Karma, Random posts
* moduleclass_sfx so that you can customize the look of the module due to popular demand.
* Output XHTML compliance code
* Whichboard is use to pick between SimpleBoard, JoomlaBoard, MamboBoard or NS Mamu.
* Showusername is use to either show username or name next to the post
* Filter out "moved" posts

Info:

* Support: http://ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://ongetc.com/index.php?option=com_content&task=category&sectionid=1...

Any donation$ would be greatly appreciated. Thanks

MosModule

The hightlight of this new release are:
* Add a "nostate" switch to bypass "state" in articleid
* add | as delimiter to support "," in parameter
* add introtext to readmore instead of number of words
* change MM back to mosmodule which cause lot of confusion for people
* add alias support to predefine mosmodule command to override the default value via mosmodule.ini
* add reference to article ID or URL
* add support for itemid in readmore command
* add support for escape comma in parameter like \,
* add support space between comma in parameter
* add parameter support for alias file name
* add multiple parameters support in alias definition
* minor fix on correctly handle comma when use | as command separator without needing to escape comma
* null out any left over %s in alias
* minor change on SEF to deal with J15
* add support for MosPrayer

Description:
* MosModule mambot has the ability to display nested article, author, textsizer, embeded video in a content, exec snippet written in PHP (without < ?php ? > tags) and exec external php script file pass with parameter (with < ?php ? > tags). You can see an example of that in "mosmodule\hello.php". (See more detail below)
* In my mind, MosModule would give me the potential of reusing article that are common to all article without repeating the same content, make my article more dynamic enrich with php code using snippet or external php script file. With the use of the parameters and querystring you can pass variable between mosmodule and the external php script. The possibilities are endless!

Features & Usages:
* Run as legacy mambot support and ability to run inside module (see below)
* MosModule is a mambot to displays any module, article, textsizer, video, exec snippet and external php script inside a content item, grap content from any url, wrapper to wrap any site into your site, rss feed, Gigcalendar, MosQbot
* external script: Please see hello.php for a sample on passing variable between mosmodule and external script
* Add feature to self parse mosmodule bot
* Add support for mosimage in load article and author
* Add support for Nok Kaew and JoomFish in load articleid
* Show MosModule in section/category description (see readme_advance.txt).
* Support mod_mosmodule that call mosmodule mambot in module
* Integrate with MosCom with ability to place comment link any where in content

Note:
* Important: Make sure to save the setting at least once and enable MosModule in Mambot manager!
* This is a rewrite of modulebot to be compatible with MiaCMS, Mambo 4.5.1 or above, Joomla 1.0 and 1.5 with legacy enable
* The default folder for external script is "mosmodule" but you can change it in param screen
For example: /home/user/www/mosmodule
* Snippet should not have < ?php ? > tags where as phpinc should have the tags
* By default, the module will fill the width of the content area. If you wish to control the width and positioning of modules in content area, you will want to enclose the mosmodule tag(s) in a div and either assign a class to controll the display in your template_css.css file, or use inline styles (if you are using a WYSIWYG editor, you will need to switch to source mode in order to create the tag).

Syntax: {mosmodule command} ---> see a list of available command below for more detail

Convention:
() optional parameter
[] default value
| can substitue , as delimiter when separate parameter in MosModule

>>> Advance usage: For more detail see mambots\content\mosmodule\advance_readme.txt

List of available commands:

# list
* Displays a list of available modules and block positions.

# module=modulename1,(module2,module3,etc)
* Displays module in a content.

# random=FAQ
* Displays the entire section randomly

# articleid=2
* Displays an article inside another article option to show readmore link when introtext in used

# readmore=2
* Displays an article inside another article with readmore link

# codeid=2
* Displays an article inside another article as code listing

# textsizer=idtag
* textsizer to resize text by passing the id tag of your content

# mosqid=2
* Display MosQ query id 2 in content

# gigid=2
* Display GigCalendar id 2 in content

# snippet=2
* Execute and displays an article inside another article as PHP code

# inc=hello.php,firtname,lastname
* Include and Execute external script such as javascript, php, html, etc in your content

# phpinc=hello.php,firtname,lastname
* Include and Execute external script such as javascript, php, html, etc in your content

# video=Video_url,(width,heigth)
* Default is width=390, heigth=280

# videoegg=VE_Path,(width,heigth)
* Default is width=390, heigth=280

# flash=videofolderpath/flashfile.swf,(width,heigth)
* Default is width=390, heigth=280

# rssfeed=url
* Show RSS Feed from others sites

# grabpage=url
* Show page from others sites

# wrapper=url,(width,height,scrolling,align)
* Default is width=100%, heigth=800px, scrolling=auto, align=top

# author=username,(5),(introtext|fulltext|[all]),(page,[nopage])
* Displays 5 articles by author using username inside another article

# moscom
* Display MosCom comment link any where in content

# ref=id or url
* Displays a reference to a title of an article or a URL

# alias (see readme_advance.txt for more detail)

Credit: see mambots\content\mosmodule\credit.txt

Info:

* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosModule advance usages and sample

Convention:
() optional parameter
[] default value
| can substitue , as delimiter when separate parameter in MosModule

Complex Usage and sample:
Note: aliasFile parameter in the manager if blank will default to MosModule.ini otherwise will load from the alias File there

# alias~mosmodulecommand=param1,(param2,param3,...)
* You can use alias to predefine your mosmodule command with your default value to override any of the internal default value

* For example:
In mosmodule.ini file:
aid~articleid= %s|introtext|readmore=More\,...|nokkaew|nostate

hello1~phpinc=hello.php,parm1,%s

hello2~phpinc=hello.php,%s,parm2

hello3~phpinc=hello.php|%s,%s

In content:
{mosmodule aid=2}
{mosmodule hello1=parm one in content}
{mosmodule hello2=parm one in content}
{mosmodule hello3=parm one in content,parm two in content}

Further explain:

mosmodule will substitue aid base on the template it found in mosmodule.ini and Will display introtext words of article 2 with read more link "More,..." (escape comma) plus will show the translated article in from Nok Kaew component and bypass state of the article

mosmodule will substitue "hello1" base on the template it found in mosmodule.ini and Will pass "parm one in content" and "parm1" from alias to hello.php

mosmodule will substitue "hello2" base on the template it found in mosmodule.ini and Will pass "parm one in content" and "parm2" from alias to hello.php

mosmodule will substitue "hello3" base on the template it found in mosmodule.ini and Will pass "parm one in content,parm two in content" to hello.php

# ref=id or url
* Displays a reference to a title of an article or a URL

# ref=(articleid or url,(nostate),(readmore=More...)
* Displays a reference to a title of an article or an URL inside another article

* For example:
{mosmodule ref=2,notate}

Further explain: Will display a reference to an article 2 with showing the article title and bypass state.

{mosmodule ref=http://docs.ongetc.com/index.php?q=content/mosmodule}

Further explain: Will display a reference to an URL

# phpinc or inc: Include any script file such as php, javascript, html which will be executed and displays inside an article
* You will need to create a folder called 'mosmodule' in the root directory. Your php scripts will go here. This folder's path can be changed by altering the 'Foldername' parameter in the mosmodule setup
* Assuming your hello.php is in {yourcmsroot}/yourfolder/hello.php then you would put this in your content {mosmodule phpinc=hello.php,firtname,lastname}

* For example:
{mosmodule phpinc=hello.php,firtname,lastname}
{mosmodule inc=hello.js}

# snippet: Execute PHP snippet code inside article from other content that contain PHP code

* For example:
{mosmodule snippet=100}

# module=modulename1,(module2,module3,etc)
* Hard code default to style = -1 (raw)

* For example:
{mosmodule module=Search,poll}

# random=FAQ,(title),(introtext|fulltext|[all])
* Displays the entire section randomly, default to don't show title

* For example:
{mosmodule random=FAQ,title,introtext}

# readmore=2,(introtext|[numberOfWords]),(readmore=More...[Read More...]),(nokkaew|joomfish),(nostate)
* Displays an article inside another article, default is 300 words, readmore with "Read More..." as default text when use with introtext

* For example:
{mosmodule readmore=2,80,readmore=More...,nokkaew,nostate}

Further explain: Will display 80 words of article 2 with read more link "More..." plus will show the translated article in from Nok Kaew component and bypass state of the article

{mosmodule readmore=2,introtext,readmore=More...,nokkaew,nostate}

Further explain: Will display introtext of article 2 with read more link "More..." plus will show the translated article in from Nok Kaew component and bypass state of the article

# articleid=2,(introtext|fulltext|[all]),(readmore=More...[Read More...]),(nokkaew|joomfish),(nostate)
* Displays an article inside another article, default is all, readmore with "Read More..." as default text when use with introtext

* For example:
{mosmodule articleid=2,introtext,readmore=More...,nokkaew,nostate}

Further explain: Will display article 2 only intro text with read more link "More..." plus will show the translated article in from Nok Kaew component

# moscom
* Display MosCom comment link any where in content

* For example:
{mosmodule moscom}

# mosqid=2
* Display your MosQ logic which assume that you already has MosQ logic created in the logic center, please make sure you test in the normal mode before attempt to embed inside your content

* For example:
{mosmodule mosqid=1}

# gigid=2
* Display your gigCalendar inside your article which assume that you already has a GigCalendar ID created in the GigCalendar component

* For example:
{mosmodule gidid=1}

# video: Play embed video from YouTube, Yahoo Video, Google Video or any embed flash video

* For example: Some working sample from YouTube, Yahoo video, and Google video
* YouTube: {mosmodule video=http://www.youtube.com/v/ekcYc3zrJHI}
* Yahoo Video: {mosmodule video=http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSol...}
* Google Video: {mosmodule video=http://video.google.com/googleplayer.swf?docId=-4897647549985392214&hl=en}

# VideoEgg: VideoEgg Path to your uploaded video file.

* For example: (Some working sample from VideoEgg)
{mosmodule videoegg=/gid328/cid1096/9B/2Q/1171378165tCRacTofc58XDo0sWG5H}

# Flash Video: Play flash (swf or flv) video file in videofolderpath with option width and height.

* For example:
{mosmodule flash=videofolder/flashfile.swf}

# RSS Feed from others sites

* For example:
{mosmodule rssfeed=http://support.ongetc.com/index.php?option=com_rss&feed=RSS2.0&no_html=1}

# Grab Page from others sites.

* For example:
{mosmodule grabpage=http://support.ongetc.com/index2.php}

# Wrapper of url from others sites.

* For example:
{mosmodule wrapper=http://support.ongetc.com/index2.php}
{mosmodule wrapper=http://support.ongetc.com/index2.php,100%,900px,auto,top}
{mosmodule wrapper=http://support.ongetc.com/slideshow.html}

# List article by author
* Displays 5 articles by author using username inside another article, default is 5, all, page
* Pagination in author with customizable mosmodule.css
* Use as Blog by author with pagination in article also works in CB with some hack (ask me)

* For example:
{mosmodule author=administrator,5,introtext,page}

Note:
* add support for itemid in readmore command
* add support for escape comma in parameter like \,
* add support space between comma in parameter

Legacy mambot notes for really old Mambo: (Would not advise to use this!)
* copy {ROOT}/mambots/content/mosmodule.php to {ROOT}/mambots

=== >>>ADVANCE>>> Read this, only if you want to use mosmodule in user module ===

1. User module hack:

* In the includes/frontend.html.php around line 51

Replace this: echo $module->content;

With this:
=== >>> ***** For Mambo 4.6.3+ *****
global $mosConfig_absolute_path;
$mosmodulefunc=$mosConfig_absolute_path."/mambots/content/mosmodule/mosmodule_func.php";
if (file_exists($mosmodulefunc)) { include_once($mosmodulefunc); }
if($isBuffered) {
if (function_exists('mosmodule_bot')) { $module->buffer=mosmodule_bot($module->buffer); }
echo $module->buffer;
} else {
if (function_exists('mosmodule_bot')) { $module->content=mosmodule_bot($module->content); }
echo $module->content;
}

=== >>> ***** For Mambo 4.6.2 or lower *****
global $mosConfig_absolute_path;
$mosmodulefunc=$mosConfig_absolute_path."/mambots/content/mosmodule/mosmodule_func.php";
if (file_exists($mosmodulefunc)) { include_once($mosmodulefunc); }
if (function_exists('mosmodule_bot')) { $module->content=mosmodule_bot($module->content); }

echo $module->content;

or this to allow php code in module

echo eval('?>'.$module->content.'<?php ');

2. Category/Section decription hack:

* In the component/con_content/content.html.php around line 58

Replace:
echo $title->description;

With this:

global $mosConfig_absolute_path;
$mosmodulefunc=$mosConfig_absolute_path."/mambots/content/mosmodule/mosmodule_func.php";
if (file_exists($mosmodulefunc)) { include_once($mosmodulefunc); }
if (function_exists('mosmodule_bot')) { $title->description=mosmodule_bot($title->description); }
echo $title->description;

Other hack and use similar technique like above:
* CB:_getViewTabContents
* YANC:render_content

=== >>>ADVANCE>>> Read this, only if you want to use mosmodule in user module ===

MosModuleMod

The hightlight of this new release are:
* Minor fix for XHTML validation

Description:
* MosModuleMod will execute any MosModule command in a module.

Installation:
# Use Mambo module install manager to do the install of MosModuleMod.
# Make sure you publish this module

Features:
* Run all MosModule command in a module without needing to hack the core
* Set align and command to run in this module
* Tested in MiaCMS, Mambo, Joomla 1.0 and Joomla 1.5 Legacy mode
* If you need full MosModule in user module then you will need to hack the core
* Capable of running multiple times on the same page

Credit:
* Thanks to Andres for contribution of the initial code

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosNewsWriter

Hightlight of this version:
* Add additional sort by created desc together with number of newsflash to get latestX effect

Description:
* MosNewsWriter is a newsflash module to display content title as hyper link with 4 different styles and many customizable parameters as outline below.
Features:
* Show newsflash from multiple contents or categories from articles
* Show newsflash from RSS feed

* Enhance RSS parser to better handle feed that moved or behind proxy.
* Display order in Ordering, modified desc, created desc or Random (make the flash more interesting!)
* Set number of newsflash to display
* Four different styles to choose: TypeWriter, Flash, Marquee, GH.
* moduleclass_sfx so that you can customize the look of the module
* Borders to set a border width
* Text color to set the color of your link
* Background color to set the color of the newsflash background
* Height to set the height of the newsflash
* Text Length to set the limit of the title length to avoid over run
* Delay of the newsflash
* Pre-text for "typewriter" style to hightlight your newsflash
* Direction for marquee setting: up, down, right and left
* Scroll amount to set how many line to scroll
* Enhance to run as many instances on the same page.

Credit:
* Jim Cakalic for code contribution and idea

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosPrayer

The hightlight of this new release are:
* initial release of MosPrayer

MosPrayer Description:
* MosPrayer is a complete a clone of MosCom 2.0.7 base on my tiny Mose framework that utilize MVC pattern for Mambo, MiaCMS, Joomla 1.0 and Joomla 1.5+.
* It provides feature for visitors to comment on content items within the supported CMS.
* (Note: Please make sure to download the latest MosPrayerBot 2.0+, MosPrayerLatestX 2.0+ to work with MosPrayer 2.0+)

General Features:

# Cross platform compatible with Mambo 4.5.2+, MiaCMS, Joomla 1.5+ (w/ legacy mode), and Joomla 1.0+ (ajax only work when edit template not via plugin)
# Multi-language support
# MosPrayer can be easily customize via view and CSS
# Completely integrate MosPrayerBot with MosPrayer so edting template is now optional but still supported
# Add to show comment link in content, mamblog, blogcategory and blogsection
# Compatible with PHP 4 and 5, global off and global emulation off
# Store config in database, NO need to write to file!
# Has better support for SEF enable site
# Quick post using ajax with spinning wheel
# Detection for auto upgrade of MosPrayer related tables
# CSS and JS are now load in the head whereever is possible
# Advance feature via MosModule integration support so you can use any of MosModule command in MosPrayer comment
# Parameter to set and use username instead of name per popular request
# Parameter to close comment based on contents list
# Parameter to set sectoken (turn on/off invisible captcha)
# Companion product:
* MosPrayerLatestX: a moduel to show MosPrayer Latest X comments in module position
* MosModule: a mambot that let you enhance your content with various features
* MosPrayerBot: a mambot to show comment link on frontpage

Notes for MosPrayerBot:
* MosPrayerBot is now use to show comment form without the need to edit the template.
* Please make sure emailcloak is listed before MosPrayerBot to avoid scramble the email in the comment form.
* MosPrayerBot can now set to show in 4 places of the articles beside to show the comment form for MosPrayer.
* MosPrayerBot can now set to not show comment link on the frontpage.

Specific Features:

Note: Any kind of captcha protection will not stop a human being from input a bad comment. Instead of inconvient your visitor with hard to read captcha image, after long and hard testing with a good working captcha for MosPrayer, I decide to implement different form of captcha, a human friendly/Invisible captcha!

# Spam protection:
* Human friendly/Invisible captcha protection
* Enhance security token processing to ensure no double comment
* Ajax using JQuery to check form for good encrypted token which will expired in 10 minutes to prevent bad comment
* The comment server will only serve from where the MosPrayer is installed
* log IP of commenter
* Use phpInputFilter and mysql escape to filter input from comment form
* (optional) Send popup to verify message before submit

# Frontend featues:
* Ajaxified some frontend function using jQuery slidedown effect
* Support any component that use content w/ a valid id for example: like mamblog
* Visitor or member can leave comment on a article
* Vistor URL field can be disable by the site admin
* Ability to page previous or next of comments w/ setable number of comments per page
* Ability to skin using mosprayer.css down to detail of meta data.
* Customizable comment title, etc via language file using _PRY_R_ADD_PRAYER, _PRY_R_ADD_COM2 and _PRY_R_HOMEURL.
* Prayers sorting: new entries first or new entries last
* Form position: Behind comments or Above comments
* Add javascript bbcode and tooltips
* Enhanced bbcode support to store as html for ease of retrieval into article with bot
* Use time offset from configuration when show comment
* Show comment link in mamblog, blogcategory and blogsection
* Better mail handler with 3 types and fall back to php mail
* Only show comment form when "add comment" is clicked
* SEF enable support, tested with MiaCMS, Joomla and perhaps Mambo with htaccess.4.5.x
* Work around emailcloak issue
* More advance feature via MosModule integration

# Backend featues:
* Ajaxified admin config screen using ui.tabs.min.js
* Complete admin area to monitor, edit and delete comments as necessary.
* Admin can hold comments for approval
* Highly configurable through point and click admin interface
* Email to be set to require or optional
* Remember your config preference when upgrade
* Better db config upgrade handling * Parameter to exclude section list eg: 0 for static content
* Parameter to exclude content list to selectively not show comment form
* Parameter to close content list to selectively disable new comment
* Parameter to set and use username instead of name per popular request
* Parameter to set sectoken (turn on/off invisible captcha)

# Languages support:
* English, French, Rusian, Dutch, Spanish, Portugese, German
* Arabic, Polish, Italian, Swedish, Croatian, Turkish, czech

Note: translation for MosPrayer:
* You can create you own translation file by copy "english.php" and create your language translation file. For example: "spanish.php" please make sure the file name matches your mambo language name.
* Once you have the translation file in place and when you set the language preference in mambelfish then MosPrayer will use your translation file to display the comment in your language. Please consider share you translation file once you are happy with your work. Thanks for sharing.!

Credit:
* Please see administrator/com_mosprayer/credit.txt for more detail

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosPrayerBot

The highlight of this new release are:
* Initial release of MosPrayerBot mambot/plugin

Description:
* MosPrayerBot mambot is use to display MosPrayer prayer request link on the content or frontpage if you turn it on and when you click on either side it will take you to the corresponding prayers.

Features:
* MosPrayerBot can set to show in 4 places of the articles beside to show the prayer form for MosPrayer.
* Companion MosPrayerBot mambot to show prayer link on content or frontpage
* "Show (0) - Add prayer:" will be shown on frontpage or to turn off
* Option to turn off prayer link on frontpage

Note:
* Important: Make sure to enable MosPrayerBot in Mambot manager!
* This Mambot is design to work with MosPrayer component
* Please make sure emailcloak is listed before MosPrayerBot to avoid scramble the email in the prayer request form.

Info:
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...
* Wiki: http://wiki.ongetc.com

Any donation$ would be greatly appreciated. Thanks

MosPrayerLatestX

The hightlight of this new release are:
* Initial release of MosPrayerLatestX

Description:
* MosPrayer Latest X will list the latest prayer in a module and can be skin using _sfx and css code

Installation:
# Use Mambo module install manager to do the install of MosPrayerLatestX.
# Make sure you publish this module
# Optional: use _sfx and max_length

Features:
* Uses these _PRY_R_POST, _PRY_R_DATE_ON and _PRY_R_DATE_AT from MosPrayer language file to display the prayer meta text. (requires MosPrayer component)
* Can use _sfx and css to change the look
* Some parameters like number of post, max_length.

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosQ

The highlight of this new release are:

* Major rewrite
* Add various configuration option
* Add MosQ manual has various logic queries to show case MosQ simple and more advacnce features
* Refresh to work with the latest version of PHP, Mambo and Joomla 1.0 and 1.5 Legacy mode
* Add export to Word feature for superadmin

Description:

* MosQ is a database query component for Mambo and Joomla. It is a rewrite of Richard S Allinson's MosReporter script to work with Mambo 4.6 and Joomla 1.0 as well as 1.5 Legacy mode. It has logic center where you can put in sql statement to get the data from your database in turn it will show as an menu item on the frontend for user to pick to see the listing by form, list or table.

Note:

* Remember to change the parameter to "menuGroup=yourmenugroup" that you created in the logic center after you create a menu item to point to your component and access MosQ from the frontend.

Features:

* Complete admin area to create logic using sql
* MosQ manual to show various logic with more advance features
* Compatible with Mambo 4.6 or above and Joomla 1.0 and 1.5 Legacy mode
* Compatible with php4 and php5
* It is very comprehensive component to show your data on the front end via JSCook menu system and on the back end it has very comprehensive options in the logic center.
* Export to Word feature for superadmin

Options in the logic center:

* Input Box: will allow users to enter criteria. Change the text 'Input Box' for the label name you wish users to see. For example: WHERE field LIKE '%|Field|%'
* @menuLink : creates a link to a 'Logic Entry'. Replace the text with your values as follows:

1. MenuGroup the menu group that you wish to be shown
2. DisplayValue 'Text' or Field Name
3. QueryID the Query number to be run
4. Argument 'Text' or Field Name. This is optional, if used they must be separated by a comma and in the same order as required by the Query being called. For example: arg1,arg2,arg3,...
5. ColumnName 'Text'

* View class is use to change your view if different from standard
* Access level: public, register or special
* View type: all, form, list, table, edit, add or no view
* Debug logic on or off
* Logic chaining options: run a different query after this one has completed. The next Queries results are displayed after this queries results
* Logic Buttons: Asign a query to a button ex: Add, edit, save or remove. If no query is asigned the button will not be displayed

Info:

* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...

Any donation$ would be greatly appreciated. Thanks

MosQBot

This has been replaced by the latest version of MosModule

Description:
* MosQBot is a mambot for Mambo and Joomla. It is a rewrite of Richard S Allinson's Mos_Reporter Bot script to work with Mambo 4.6 and Joomla. It is used to display any MosQ logic on any content via {MosQ #} where # is the logic number in the logic center of MosQ component.

Installation:
* After the standard Mambot install of the new MosQBot bot please make sure you publish it and use MosQ back end admin to do your logic setting.

Note:
* Important: Make sure to enable MosQBot in Mambot manager!
* This Mambot is design to work with MosQ

Info:
* Support: http://ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://ongetc.com/index.php?option=com_content&task=category&sectionid=1...

Any donation$ would be greatly appreciated. Thanks

MoseCMS

A new open source Easy/Extensible/Editable CMS:

* MoseCMS has several features such as editable pages like Microsoft frontpage or any HTML eidtor. You can create template for MoseCMS from any free template you download from internet, does not require a database but support it via DBi4PHP, etc. Please see more detail in the MoseCMS page.

===MoseCMS===

What is MoseCMS?

* MoseCMS is short for "My Open Source Easy/Extensible/Editable CMS"

A working sample is here: http://mosecms.ongetc.com

What features MoseCMS has?

* It has support for TinyMCE, FCKEditor, Spaw2, plain, and various others
* It has various way to extend the core via: macro, extension, mods, cmods, apps, connectors, etc (there are so much to say in this topic!)
* It has several managers to support the above add-ons.
* In the heart it is just a online editable web page but can be extend to have script code in it and can be extend using various add-ons that described above
* The core is very small, it has just a handful of classes and function and the core can be locate any where after the initial install
* It has support for various positions and you are free to create even more...
* It has backend admin which can have its own template or be a copy the frontend template.
* It has backend admin skin and frontend skin. The skin are selectable via config mamager.
* It has database support via various packages and connectors with the use of ez_sql, adodb, dbi4php that has various database drivers.
* it has flexibility to share core, packages.
* It has flexibility to put folder in private and public area of resources and content to secure your site with MoseCMS
* It has multi-site support
* and more...

Note: Another words if you want to have adodb database support just drop in the package and MoseCMS will detect and load it to make it available.

* ez_sql has support for mysql, mssql, postgresql, oracle8_9, pdo and sqlite. See http://www.woyano.com/jv/ezsql
* adodb has support for 48 different database drivers. See http://adodb.sourceforge.net
* dbi4php has support for MySQL, MS SQL Server, Oracle, PostgreSQL, ODBC, Interbase, SQLite, IBM DB2. See http://www.k5n.us/dbi4php.php (Note: bundle with the core package)

Why MoseCMS?

* As a volunteer at http://opensourcecms.com site where we demo lots of CMS and in my search for CMS effort and you can find my effort at http://ongetc.com I found that there is no perfect CMS and I can't find one that meet my need. Thus from my research and from people feedback on what they are looking for in a CMS that are the features set that I develop for MoseCMS. The most important is it has to be small, it is editable, and most of all it must be easy and extensible! MoseCMS draws lot of inspiration from many CMS that I came across, so to name a few, Mambo, Joomla, Nuke, Drupal, DokuWiki, WordPress, many framework like CakePHP, etc. I port my Mambo template and MosModule into MoseCMS easily!

What is unique about MoseCMS?

* For convenience of template designer it has a handful of API call that template designer can use like: mosecmsMainBody(), mosecmsLoadInHeader(), mosecmsCurrentTemplated(), etc. But the really unique about MoseCMS is it single global variable "mosecms", all MoseCMS API are available through this one variable. You only need to make one global declaration and all of MoseCMS internal API will be available for you to use any where and every where!
* The real strength of MoseCMS is in the add-ons. It is very extensible! Lot of way like I describe above!
* For example the editors are written as loader which is a MoseCMS add-on for editor. This loader will load the editor packages from the respective packages folder so you can easily upgrade any of the editor by just drop in the new editor package. That's it!
* Multi sites can be easily achieve by mean of sharing the core. You can create as many sites as you want just set the path to the share core in the config manager. Each site will have its own set of add-ons and templates, etc
* MoseCMS can easily be upgrade one time for all sites that share the same core.
* It does not take any special feature from PHP 5 so it should be able to run with PHP 4.

What is the core of MoseCMS?

* It is still evolving but currently it has: functions.global, class.main and base, class.admin and base, class.helpers and class.setup and base and may be some packages like AJAX, etc. That's it!

How to create add-on for MoseCMS?

* Very easy!
* For example:


<?php

// mods: hello

echo hello();

function hello() {
return "Hellohello from mods";
}
?>

What is Macro?

* Macro is a macro processor that process any add-on macro and use as a shortcut or tag in your pages to make it easier to construct content from various source whether static or dynamic.
* I create a couples macros: a simplemacro {!YourMacroCommand} and a port of my Mambo add-on call MosModule to become a macro in MoseCMS {mosmodule command}.

* Some samples of the simplemacro:

* {!today} will show today's date in your page
* {!servername} will show your server name in your page
* You can extend this simplemacro by adding more method to the class.

What are Extensions?

* Extension are any PHP code that you put in the folder and will be available to be call in any of your page, add-ons, etc

What are cmods?

* cmods are content modules that will show in the template base on the position that you assign. cmods can be just html, php or any script that your web server support

What are mods?

* mods are modules that you can use to extend the core. I create three modules for serving as a sample:

+ hello: a typical hello world
+ cssmenu: show page in a nice little css menu
+ themeselect: let you select which theme to show.

What is connectors:

* connectors are a connection to other libraries you want to add to your site. I created two connectors: ez_sql and adodb. In theory you can create connector to your favorite forum, blog, or other CMS and access those content in MoseCMS.

MoseCMS folder tree:

MoseCMS folder tree

MoseCMS root
├───docs
├───share
│ ├───core
│ │ └───packages
│ │ └───dbi4php
│ └───packages
│ ├───adodb
│ ├───dbi4php
│ └───ez_sql
├───siteprivate
│ ├───addons
│ │ ├───apps
│ │ │ ├───dbi4php
│ │ │ ├───hello
│ │ │ └───phorumembed
│ │ ├───connectors
│ │ │ ├───adodb
│ │ │ ├───dbi4php
│ │ │ ├───ez_sql
│ │ │ └───mambo
│ │ ├───editors
│ │ │ ├───default
│ │ │ ├───fckeditor
│ │ │ ├───hype
│ │ │ ├───plain
│ │ │ ├───spaw2
│ │ │ └───tinymce
│ │ ├───extensions
│ │ │ ├───adodb
│ │ │ ├───ez_sql
│ │ │ ├───hello
│ │ │ ├───jquery
│ │ │ └───opacity
│ │ ├───macros
│ │ │ ├───mosmodule
│ │ │ └───simple
│ │ └───mods
│ │ ├───cssmenu
│ │ ├───hello
│ │ └───themeselect
│ └───contents
│ ├───cmods
│ ├───pages
│ └───positions
└───sitepublic
├───js
│ ├───fckeditor
│ ├───jquery
│ ├───opacity
│ ├───spaw2
│ └───tinymce
└───templates
├───default
│ ├───css
│ └───images
├───fruit
│ ├───css
│ └───images
├───hifi_news
│ ├───css
│ └───images
├───plainblue
│ ├───css
│ └───images
│ ├───backgrounds
│ └───_notes
└───transparentia
├───css
└───images

How multi-sites work?

Very easy, just copy "siteprivate" and "sitepublic" folder to a new folder and edit config.php to point to your newly copy site folders. Once you have that done then you can just access your new site via http://yoursite.com/newsite. The main site is still http://yoursite.com. There is no limit to number of site you can create. Just copy more folder.

I have so much fun develop MoseCMS and feel like there are so much more features I want to add however it has so much useful features already that I think lot of you might find MoseCMS very compelling CMS to use and to build on. Please let me know if you are interested in take a look!

There are so much more so stay tune!

That's for now!

WgetUnzip

Description:
* WgetUnzip, A tiny wget and unzip PHP program to do direct download via web browser and unzip to your site without the need to download to your pc then upload to your site and then to unzip on your site.

Installation:
* Just upload one wgetunzip.php and view it via your browser
* You must register an "amdin" login and password before you can use it for your own protection

Usage: (assuming you upload wgetunzip.php to your web home folder
* Enter in your browser: http://yoursite.com/wgetunzip.php

Info:
* Wiki: http://wiki.ongetc.com
* Support: http://support.ongetc.com/index.php?option=com_phorum&Itemid=175
* Download: http://support.ongetc.com/index.php?option=com_content&task=category&sec...