Forums / Cotonti / Extensions / Ping

how do I setup the ping plugin

pieter
#12677 2009-05-20 21:38
Tags available are:
{PINGFM_POST_METHOD} - Status/Blog/Mini-Blog
{PINGFM_POST_DATE}
{PINGFM_POST_SERVICES_NAMES} - services as text
{PINGFM_POST_SERVICES_ICONS} - services as icons
{PINGFM_POST_SERVICES_FULL} - services as icons and text
{PINGFM_POST_TITLE} - for blogs only
{PINGFM_POST_BODY}

These are for index.tpl
You can find these info in the php files.
Here: See pingfm.index.php
[BEGIN_SED_EXTPLUGIN]
Code=pingfm
Part=index
File=pingfm.index
Hooks=index.tags
Tags=index.tpl:{PLUGIN_PINGFM}
........................
	'PINGFM_POST_METHOD' => strtoupper($post['method'][0]) . substr($post['method'], 1, -1),
	'PINGFM_POST_DATE' => @date($cfg['dateformat'], $post['date']['unix'] + $usr['timezone'] * 3600)." ".$usr['timetext'],
	'PINGFM_POST_SERVICES_NAMES' => implode($cfg['plugin']['pingfm']['delim'], $srv_names),
	'PINGFM_POST_SERVICES_ICONS' => implode($cfg['plugin']['pingfm']['delim'], $srv_icons),
	'PINGFM_POST_SERVICES_FULL' => implode($cfg['plugin']['pingfm']['delim'], $srv_full),
	'PINGFM_POST_TITLE' => $post['title'],
	'PINGFM_POST_BODY' => empty($cfg['plugin']['pingfm']['username']) ? $post['body'] : $cfg['plugin']['pingfm']['username'] . ' ' . $post['body']
... can we help you ...