cotonti.com : Ping https://www.cotonti.com Последние сообщения в теме Cotonti en Thu, 16 Oct 2025 00:54:17 -0000 Trustmaster
Multiple plugin instances are not available out of the box, though you could try renaming the plugin and all the codes within it. But if you just need multiple blogs, why not add them to the same Ping.fm account? If you really need multiple Ping.fm accounts, then you have to perform this annoying find&replace operation to make the same plugin with a different name. I could also make a multi-user version of it, so that your users could concentrate their pings on your site, but there has been no such a request so far.]]>
пт, 22 мая 2009 00:37:55 -0000
Lombi
The first one is incredibly simple really, just do an if usergroup=whatever then parse, otherwise dont

The other bit is more "difficult" since you'd have to make each part of the plugin unique so to not fight with each other.]]>
чт, 21 мая 2009 23:51:40 -0000
blackcitys
Thank you

Is it also possible to duplicate the plugin by changing its name to have multiple ping strings for different blogs?]]>
чт, 21 мая 2009 23:13:00 -0000
Lombi чт, 21 мая 2009 21:57:30 -0000 Trustmaster чт, 21 мая 2009 21:47:47 -0000 blackcitys чт, 21 мая 2009 21:45:23 -0000 Trustmaster чт, 21 мая 2009 11:54:22 -0000 blackcitys
[XTemplate]

* [] (skins/sed-light/pingfm.tpl) does not exist

* parse: blockname [PINGFM.PINGFM_POST] does not exist

* parse: blockname [PINGFM.PINGFM_STATUS] does not exist

* parse: blockname [PINGFM] does not exist

Then below this is the ping link which does bring me to the correct page. But what is this extra output?[/]]]>
чт, 21 мая 2009 09:49:12 -0000
Trustmaster index.tpl you just insert {PLUGIN_PINGFM}. And all those tags are for plugins/pingfm/tpl/pingfm.tpl.]]> ср, 20 мая 2009 23:27:07 -0000 pieter {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']
]]>
ср, 20 мая 2009 21:38:32 -0000
blackcitys ср, 20 мая 2009 04:15:52 -0000