From 1ef9b232d50523f3dac49e225d560bb9da0eb9b4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 21 Aug 2008 13:55:53 +0000 Subject: Update: Added VerID bounce to phpBB3 and Wordpress Subversion is on its way as well, just it needs to be opened in NetBeans. Refs #44 --- update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'update/plugin/phpBB3/trunk/root/includes') diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index 95d1956..714a47b 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php @@ -51,7 +51,13 @@ function sendItem($title, $userID, $url, $fourm) new xmlrpcval($author, 'string'), new xmlrpcval($url, 'string'), new xmlrpcval(serialize($semantics), 'string'))); - $client->send($msg); + $resp = $client->send($msg); + $val = $resp->value()->scalarVal(); + + if ($val == 2) + { + sendItem($title, $userID, $url, $fourm); + } } ?> -- cgit 1.4.1