Help me writing mambot for docman - Joomla! Forum - community, help and support
i want write mambot list document in category of docman that:
{mosdoclist categoryid}
categoryid integer number
someone can me in parse code or replace function?
thank much!
{mosdoclist categoryid}
categoryid integer number
code: select all
$_mambots->registerfunction( 'onpreparecontent', 'botdoclist' );
function botdoclist( $published, &$row, &$params, $page=0 ) {
$regex = '#{mosdoclist[ ]*,[^}]*}#s'; [color=red]//help me parse code[/color]
$row->text = preg_replace(..........................);[color=red]//something????[/color]
}
function botdoclistbot( &$trow, $match, &$rform ) {
.............
...........
.........
//help please
}
someone can me in parse code or replace function?
thank much!
hi!
are finish mambot? ...i need mambot ...there mambot (just using category name instead of category id) @
http://www.mambobrothers.com/component/ ... 0/limit,5/
but site down ...i found reference in old post forum can see @ http://www.mambers.com/showthread-t_229.html
so if finish mambot appreciate if share it, if knows mambot or idea please, reply here.
thanks
are finish mambot? ...i need mambot ...there mambot (just using category name instead of category id) @
http://www.mambobrothers.com/component/ ... 0/limit,5/
but site down ...i found reference in old post forum can see @ http://www.mambers.com/showthread-t_229.html
so if finish mambot appreciate if share it, if knows mambot or idea please, reply here.
thanks
Comments
Post a Comment