View Single Post
Old 10.07.2004, 09:44   #22 (permalink)
eyezberg
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: mosbots cheatsheet

Not using this as I'm the only contact on my site

UPDATES:

MOSantispamemail bot: (Hide email address from spambots)
No tag needed, just copy mosantispamemail.php
into the mambots folder
http://www.mambots.com/index.php?opt...o&filecatid=28

================================================

MOShighlightsearch ("Highlight searched text when entering Mambo from a
search engine like Google, fireball, Lycos, etc
...")
Usage:
The highlighted text will be placed in a font-tag with
a class called "highlight":
<font class="highlight">xxxxxxxx</font>

You should define a css style called "highlight" in
your template
['s CSS file]. All highlighted text sections will have
this style.

http://www.mambots.com/index.php?opt...o&filecatid=30

note: please feedback on this: does it work with other bots like infopop or initcaps etc, anyone tested..?
================================================

MOS Dirlist (dispays a directory list from a given tag)
{dirlist:./documents/} replace "documents" by other folder name..
You can Browse in sub directories of "./documents/".
Allways put a trailing shlash behind the directory name.

BEWARE: {dirlist:/} or {dirlist:/etc/} might give access
to secure directories! (depending of the security of you provider)

This bot outputs a nice listing of all files in the directory you specify in the tag, complete with custom icons. You will find a photoshop document "icons.psd" in "/file_icons/", so you are able to define your own icons by creating a file like tif.gif, psd.gif, ccp.gif, etc ...
http://www.mambots.com/index.php?opt...o&filecatid=29

============================

Hide Intro Mosbot : (hides introtext when viewing complete items,
but leaves the introtext intact on home page / navigation pages)
"This comes in handy when publishing a news site where you'd like to put a
teaser or short abstract on your home page, or, perhaps sub-pages, but you
don't want that teaser to appear in the article itself
."
Usage:
You have to edit line 26 of the php file to include all the item id's for which you want this to work, examples:
Code:
 if ( $Itemid==XX AND stristr($_SERVER['REQUEST_URI'], $urlquery) ) {
  
If you have two numbers, XX and YY, it will look like this:

if ( ($Itemid==XX OR $Itemid==YY) AND stristr($_SERVER['REQUEST_URI'], $urlquery) ) {
and so on..
Please check the included readme for full details and more info about SEF urls etc..
Get it from http://www.mamboportal.com/

==============================================

Thanks to Sebastian Unterberg for the 1st 3 bots, very productive

List to be continued...
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline   Reply With Quote