MosModule 1.2.2a is released!

2 views
Skip to first unread message

chanh.ong

unread,
Jan 6, 2008, 12:25:09 PM1/6/08
to COAddOns

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.
* Use mosmodule to get RSS feeds from anywhere using the user module
with RSS URL
* 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


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 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 <div> tag).


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

Convention:
() optional parameter
[] default value
MM substitue for mosmodule

List of available commands:

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

# module=modulename1,(module2,module3,etc)
* For example: {MM module=Search,poll}
* Hard code default to style = -1 (raw)

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

# articleid=2,(introtext|fulltext|[all])
* Displays an article inside another article, default is all

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

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

# phpinc=hello.php,firtname,lastname
* Include php file, Execute and displays an inside an article

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

# video=Video_url,(width,heigth)
* Default is width=390, heigth=280
* Play embed video from YouTube, Yahoo Video, Google Video or any
embed flash video

# videoegg=VE_Path,(width,heigth)
* Default is width=390, heigth=280
* VideoEgg Path to your uploaded video file.

# author=username,(5),(introtext|fulltext|[all]),(page,[nopage])
* 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)

# flash=videofolderpath/flashfile.swf,(width,heigth)
* Play flash (swf or flv) video file in videofolderpath with option
width and height.
* Default is width=390, heigth=280

# grabpage=url
* For example: {MM grabpage=http://ongetc.com/index2.php}


Advance usage: see mambots\content\mosmodule\advance_readme.txt

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

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&sectionid=1&id=149&Itemid=192

Any donation$ would be greatly appreciated. Thanks
Reply all
Reply to author
Forward
0 new messages