diff --git a/adult_smile.tgz b/adult_smile.tgz index 67e2a31e..04ef72fb 100644 Binary files a/adult_smile.tgz and b/adult_smile.tgz differ diff --git a/facebook.tgz b/facebook.tgz index b1db063b..06778620 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 9c8c8f08..3ed40c91 100755 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -46,6 +46,12 @@ * authenticate to your site to establish identity. We will address this * in a future release. */ + + /** TODO + * - Implement a method for the administrator to delete all configuration data the plugin has created, + * e.g. the app_access_token + * - Implement a configuration option to set the polling interval system-wide + */ define('FACEBOOK_MAXPOSTLEN', 420); @@ -57,8 +63,6 @@ function facebook_install() { register_hook('connector_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); register_hook('cron', 'addon/facebook/facebook.php', 'facebook_cron'); register_hook('queue_predeliver', 'addon/facebook/facebook.php', 'fb_queue_hook'); - - if (get_config('facebook', 'realtime_active') == 1) facebook_subscription_add_users(); // Restore settings, if the plugin was installed before } @@ -73,8 +77,6 @@ function facebook_uninstall() { // hook moved unregister_hook('post_local_end', 'addon/facebook/facebook.php', 'facebook_post_hook'); unregister_hook('plugin_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); - - if (get_config('facebook', 'realtime_active') == 1) facebook_subscription_del_users(); } @@ -150,8 +152,12 @@ function facebook_init(&$a) { $s = fetch_url('https://graph.facebook.com/me/feed?access_token=' . $access_token); if($s) { $j = json_decode($s); - logger('facebook_init: wall: ' . print_r($j,true), LOGGER_DATA); - fb_consume_stream($uid,$j,($private_wall) ? false : true); + if (isset($j->data)) { + logger('facebook_init: wall: ' . print_r($j,true), LOGGER_DATA); + fb_consume_stream($uid,$j,($private_wall) ? false : true); + } else { + logger('facebook_init: wall: got no data from Facebook: ' . print_r($j,true), LOGGER_NORMAL); + } } } @@ -1018,15 +1024,23 @@ function fb_consume_all($uid) { $s = fetch_url('https://graph.facebook.com/me/feed?access_token=' . $access_token); if($s) { $j = json_decode($s); - logger('fb_consume_stream: wall: ' . print_r($j,true), LOGGER_DATA); - fb_consume_stream($uid,$j,($private_wall) ? false : true); + if (isset($j->data)) { + logger('fb_consume_stream: wall: ' . print_r($j,true), LOGGER_DATA); + fb_consume_stream($uid,$j,($private_wall) ? false : true); + } else { + logger('fb_consume_stream: wall: got no data from Facebook: ' . print_r($j,true), LOGGER_NORMAL); + } } } $s = fetch_url('https://graph.facebook.com/me/home?access_token=' . $access_token); if($s) { $j = json_decode($s); - logger('fb_consume_stream: feed: ' . print_r($j,true), LOGGER_DATA); - fb_consume_stream($uid,$j,false); + if (isset($j->data)) { + logger('fb_consume_stream: feed: ' . print_r($j,true), LOGGER_DATA); + fb_consume_stream($uid,$j,false); + } else { + logger('fb_consume_stream: feed: got no data from Facebook: ' . print_r($j,true), LOGGER_NORMAL); + } } } diff --git a/frown.tgz b/frown.tgz new file mode 100644 index 00000000..6a2343f0 Binary files /dev/null and b/frown.tgz differ diff --git a/frown/frown.css b/frown/frown.css new file mode 100755 index 00000000..3690b62a --- /dev/null +++ b/frown/frown.css @@ -0,0 +1,14 @@ + + + +#frown-enable-label { + float: left; + width: 200px; + margin-bottom: 25px; +} + +#frown-checkbox { + float: left; +} + + diff --git a/frown/frown.php b/frown/frown.php new file mode 100755 index 00000000..003039df --- /dev/null +++ b/frown/frown.php @@ -0,0 +1,86 @@ + + * + * + */ + + +function frown_install() { + + register_hook('plugin_settings', 'addon/frown/frown.php', 'frown_settings'); + register_hook('plugin_settings_post', 'addon/frown/frown.php', 'frown_settings_post'); + + logger("installed frown"); +} + + +function frown_uninstall() { + + unregister_hook('plugin_settings', 'addon/frown/frown.php', 'frown_settings'); + unregister_hook('plugin_settings_post', 'addon/frown/frown.php', 'frown_settings_post'); + + + logger("removed frown"); +} + + + +/** + * + * Callback from the settings post function. + * $post contains the $_POST array. + * We will make sure we've got a valid user account + * and if so set our configuration setting for this person. + * + */ + +function frown_settings_post($a,$post) { + if(! local_user() || (! x($_POST,'frown-submit'))) + return; + set_pconfig(local_user(),'system','no_smilies',intval($_POST['frown'])); + + info( t('Frown settings updated.') . EOL); +} + + +/** + * + * Called from the Plugin Setting form. + * Add our own settings info to the page. + * + */ + + + +function frown_settings(&$a,&$s) { + + if(! local_user()) + return; + + /* Add our stylesheet to the page so we can make our settings look nice */ + + $a->page['htmlhead'] .= '' . "\r\n"; + + /* Get the current state of our config variable */ + + $enabled = get_pconfig(local_user(),'system','no_smilies'); + $checked = (($enabled) ? ' checked="checked" ' : ''); + + /* Add some HTML to the existing form */ + + $s .= '
'; + $s .= '

' . t('Frown Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= ''; + $s .= '
'; + + /* provide a submit button */ + + $s .= '
'; + +} diff --git a/ijpost.tar.gz b/ijpost.tar.gz deleted file mode 100644 index 4c67d491..00000000 Binary files a/ijpost.tar.gz and /dev/null differ diff --git a/ijpost.tgz b/ijpost.tgz new file mode 100644 index 00000000..555e0602 Binary files /dev/null and b/ijpost.tgz differ diff --git a/smiley_pack.tgz b/smiley_pack.tgz new file mode 100644 index 00000000..be092b08 Binary files /dev/null and b/smiley_pack.tgz differ diff --git a/smiley_pack/icons/devilangel/daseesaw.gif b/smiley_pack/icons/devilangel/daseesaw.gif new file mode 100644 index 00000000..1c04b2ee Binary files /dev/null and b/smiley_pack/icons/devilangel/daseesaw.gif differ diff --git a/smiley_pack/icons/devilangel/saint.gif b/smiley_pack/icons/devilangel/saint.gif new file mode 100644 index 00000000..52c22c48 Binary files /dev/null and b/smiley_pack/icons/devilangel/saint.gif differ diff --git a/smiley_pack/icons/devilangel/turnevil.gif b/smiley_pack/icons/devilangel/turnevil.gif new file mode 100644 index 00000000..1490c0f7 Binary files /dev/null and b/smiley_pack/icons/devilangel/turnevil.gif differ diff --git a/smiley_pack/icons/fight/acid.gif b/smiley_pack/icons/fight/acid.gif new file mode 100644 index 00000000..fa55f674 Binary files /dev/null and b/smiley_pack/icons/fight/acid.gif differ diff --git a/smiley_pack/icons/fight/gangs.gif b/smiley_pack/icons/fight/gangs.gif new file mode 100644 index 00000000..2c655b1f Binary files /dev/null and b/smiley_pack/icons/fight/gangs.gif differ diff --git a/smiley_pack/icons/food/banana.gif b/smiley_pack/icons/food/banana.gif new file mode 100644 index 00000000..d990d19d Binary files /dev/null and b/smiley_pack/icons/food/banana.gif differ diff --git a/smiley_pack/icons/food/cooking.gif b/smiley_pack/icons/food/cooking.gif new file mode 100644 index 00000000..e62fea06 Binary files /dev/null and b/smiley_pack/icons/food/cooking.gif differ diff --git a/smiley_pack/icons/laugh/hahaha.gif b/smiley_pack/icons/laugh/hahaha.gif new file mode 100644 index 00000000..37aa92a1 Binary files /dev/null and b/smiley_pack/icons/laugh/hahaha.gif differ diff --git a/smiley_pack/icons/laugh/loltv.gif b/smiley_pack/icons/laugh/loltv.gif new file mode 100644 index 00000000..3de6f778 Binary files /dev/null and b/smiley_pack/icons/laugh/loltv.gif differ diff --git a/smiley_pack/icons/laugh/rofl.gif b/smiley_pack/icons/laugh/rofl.gif new file mode 100644 index 00000000..a3bb03d6 Binary files /dev/null and b/smiley_pack/icons/laugh/rofl.gif differ diff --git a/smiley_pack/icons/music/dj.gif b/smiley_pack/icons/music/dj.gif new file mode 100644 index 00000000..66bc075f Binary files /dev/null and b/smiley_pack/icons/music/dj.gif differ diff --git a/smiley_pack/icons/music/drums.gif b/smiley_pack/icons/music/drums.gif new file mode 100644 index 00000000..27215f4d Binary files /dev/null and b/smiley_pack/icons/music/drums.gif differ diff --git a/smiley_pack/icons/music/elvis.gif b/smiley_pack/icons/music/elvis.gif new file mode 100644 index 00000000..ebcdcccc Binary files /dev/null and b/smiley_pack/icons/music/elvis.gif differ diff --git a/smiley_pack/icons/music/guitar.gif b/smiley_pack/icons/music/guitar.gif new file mode 100644 index 00000000..11eccdd0 Binary files /dev/null and b/smiley_pack/icons/music/guitar.gif differ diff --git a/smiley_pack/icons/music/trumpet.gif b/smiley_pack/icons/music/trumpet.gif new file mode 100644 index 00000000..4595cccb Binary files /dev/null and b/smiley_pack/icons/music/trumpet.gif differ diff --git a/smiley_pack/icons/music/violin.gif b/smiley_pack/icons/music/violin.gif new file mode 100644 index 00000000..53592d6e Binary files /dev/null and b/smiley_pack/icons/music/violin.gif differ diff --git a/smiley_pack/icons/oldcore/beard.png b/smiley_pack/icons/oldcore/beard.png new file mode 100644 index 00000000..5d4b2846 Binary files /dev/null and b/smiley_pack/icons/oldcore/beard.png differ diff --git a/smiley_pack/icons/oldcore/headbang.gif b/smiley_pack/icons/oldcore/headbang.gif new file mode 100644 index 00000000..91ccb8bb Binary files /dev/null and b/smiley_pack/icons/oldcore/headbang.gif differ diff --git a/smiley_pack/icons/oldcore/shaka.gif b/smiley_pack/icons/oldcore/shaka.gif new file mode 100644 index 00000000..e5d7b703 Binary files /dev/null and b/smiley_pack/icons/oldcore/shaka.gif differ diff --git a/smiley_pack/icons/oldcore/whitebeard.png b/smiley_pack/icons/oldcore/whitebeard.png new file mode 100644 index 00000000..2a1fccbb Binary files /dev/null and b/smiley_pack/icons/oldcore/whitebeard.png differ diff --git a/smiley_pack/icons/respect/bow.gif b/smiley_pack/icons/respect/bow.gif new file mode 100644 index 00000000..ecc64847 Binary files /dev/null and b/smiley_pack/icons/respect/bow.gif differ diff --git a/smiley_pack/icons/respect/bravo.gif b/smiley_pack/icons/respect/bravo.gif new file mode 100644 index 00000000..34f72abb Binary files /dev/null and b/smiley_pack/icons/respect/bravo.gif differ diff --git a/smiley_pack/icons/respect/hailking.gif b/smiley_pack/icons/respect/hailking.gif new file mode 100644 index 00000000..07551e50 Binary files /dev/null and b/smiley_pack/icons/respect/hailking.gif differ diff --git a/smiley_pack/icons/respect/number1.gif b/smiley_pack/icons/respect/number1.gif new file mode 100644 index 00000000..ab5c410c Binary files /dev/null and b/smiley_pack/icons/respect/number1.gif differ diff --git a/smiley_pack/icons/smilie_141.gif b/smiley_pack/icons/smilie_141.gif new file mode 100644 index 00000000..d990d19d Binary files /dev/null and b/smiley_pack/icons/smilie_141.gif differ diff --git a/smiley_pack/icons/sport/archery.gif b/smiley_pack/icons/sport/archery.gif new file mode 100644 index 00000000..8b4b9f62 Binary files /dev/null and b/smiley_pack/icons/sport/archery.gif differ diff --git a/smiley_pack/icons/sport/football.gif b/smiley_pack/icons/sport/football.gif new file mode 100644 index 00000000..c9fa6c5e Binary files /dev/null and b/smiley_pack/icons/sport/football.gif differ diff --git a/smiley_pack/icons/sport/horseriding.gif b/smiley_pack/icons/sport/horseriding.gif new file mode 100644 index 00000000..13ca4503 Binary files /dev/null and b/smiley_pack/icons/sport/horseriding.gif differ diff --git a/smiley_pack/icons/sport/snooker.gif b/smiley_pack/icons/sport/snooker.gif new file mode 100644 index 00000000..fa2e6a84 Binary files /dev/null and b/smiley_pack/icons/sport/snooker.gif differ diff --git a/smiley_pack/icons/sport/surfing.gif b/smiley_pack/icons/sport/surfing.gif new file mode 100644 index 00000000..b75d74b9 Binary files /dev/null and b/smiley_pack/icons/sport/surfing.gif differ diff --git a/smiley_pack/icons/sport/tennis.gif b/smiley_pack/icons/sport/tennis.gif new file mode 100644 index 00000000..36e47bf9 Binary files /dev/null and b/smiley_pack/icons/sport/tennis.gif differ diff --git a/smiley_pack/smiley_pack.php b/smiley_pack/smiley_pack.php index 95f3bd87..c2d9a241 100644 --- a/smiley_pack/smiley_pack.php +++ b/smiley_pack/smiley_pack.php @@ -129,6 +129,14 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':devil'; $b['icons'][] = '' . ':devil' . ''; + $b['texts'][] = ':daseesaw'; + $b['icons'][] = '' . ':daseesaw' . ''; + + $b['texts'][] = ':turnevil'; + $b['icons'][] = '' . ':turnevil' . ''; + + $b['texts'][] = ':saint'; + $b['icons'][] = '' . ':saint' . ''; $b['texts'][] = ':graveside'; $b['icons'][] = '' . ':graveside' . ''; @@ -181,6 +189,25 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':skipping'; $b['icons'][] = '' . ':skipping' . ''; + $b['texts'][] = ':archery'; + $b['icons'][] = '' . ':archery' . ''; + + $b['texts'][] = ':football'; + $b['icons'][] = '' . ':football' . ''; + + $b['texts'][] = ':surfing'; + $b['icons'][] = '' . ':surfing' . ''; + + $b['texts'][] = ':snooker'; + $b['icons'][] = '' . ':snooker' . ''; + + $b['texts'][] = ':tennis'; + $b['icons'][] = '' . ':tennis' . ''; + + $b['texts'][] = ':horseriding'; + $b['icons'][] = '' . ':horseriding' . ''; + + $b['texts'][] = ':iloveyou'; $b['icons'][] = '' . ':iloveyou' . ''; @@ -259,6 +286,12 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':viking'; $b['icons'][] = '' . ':viking' . ''; + $b['texts'][] = ':gangs'; + $b['icons'][] = '' . ':gangs' . ''; + + $b['texts'][] = ':acid'; + $b['icons'][] = '' . ':acid' . ''; + $b['texts'][] = ':alienmonster'; $b['icons'][] = '' . ':alienmonster' . ''; @@ -298,6 +331,12 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':tomato'; $b['icons'][] = '' . ':tomato' . ''; + $b['texts'][] = ':banana'; + $b['icons'][] = '' . ':banana' . ''; + + $b['texts'][] = ':cooking'; + $b['icons'][] = '' . ':cooking' . ''; + $b['texts'][] = ':cloud9'; $b['icons'][] = '' . ':cloud9' . ''; @@ -305,5 +344,65 @@ function smiley_pack_smilies(&$a,&$b) { $b['texts'][] = ':tearsofjoy'; $b['icons'][] = '' . ':tearsofjoy' . ''; + $b['texts'][] = ':bow'; + $b['icons'][] = '' . ':bow' . ''; + + $b['texts'][] = ':bravo'; + $b['icons'][] = '' . ':bravo' . ''; + + $b['texts'][] = ':hailking'; + $b['icons'][] = '' . ':hailking' . ''; + + $b['texts'][] = ':number1'; + $b['icons'][] = '' . ':number1' . ''; + + $b['texts'][] = ':hahaha'; + $b['icons'][] = '' . ':hahaha' . ''; + + $b['texts'][] = ':loltv'; + $b['icons'][] = '' . ':loltv' . ''; + + $b['texts'][] = ':rofl'; + $b['icons'][] = '' . ':rofl' . ''; + + $b['texts'][] = ':dj'; + $b['icons'][] = '' . ':dj' . ''; + + $b['texts'][] = ':drums'; + $b['icons'][] = '' . ':drums' . ''; + + $b['texts'][] = ':elvis'; + $b['icons'][] = '' . ':elivs' . ''; + + $b['texts'][] = ':guitar'; + $b['icons'][] = '' . ':guitar' . ''; + + $b['texts'][] = ':trumpet'; + $b['icons'][] = '' . ':trumpet' . ''; + + $b['texts'][] = ':violin'; + $b['icons'][] = '' . ':violin' . ''; + + $b['texts'][] = ':headbang'; + $b['icons'][] = '' . ':headbang' . ''; + + $b['texts'][] = ':beard'; + $b['icons'][] = '' . ':beard' . ''; + + $b['texts'][] = ':whitebeard'; + $b['icons'][] = '' . ':whitebeard' . ''; + + $b['texts'][] = ':shaka'; + $b['icons'][] = '' . ':shaka' . ''; + + $b['texts'][] = ':\\.../'; + $b['icons'][] = '' . ':\\.../' . ''; + + $b['texts'][] = ':\\ooo/'; + $b['icons'][] = '' . ':\\ooo/' . ''; + + $b['texts'][] = ':headdesk'; + $b['icons'][] = '' . ':headdesk' . ''; + } diff --git a/smiley_pack/smiley_pack.php~ b/smiley_pack/smiley_pack.php~ new file mode 100644 index 00000000..0ac42d00 --- /dev/null +++ b/smiley_pack/smiley_pack.php~ @@ -0,0 +1,411 @@ +get_baseurl() . '/addon/smiley_pack/icons/animals/bunnyflowers.gif' . '" alt="' . ':bunnyflowers' . '" />'; + + $b['texts'][] = ':chick'; + $b['icons'][] = '' . ':chick' . ''; + + $b['texts'][] = ':bee'; + $b['icons'][] = '' . ':bee' . ''; + + $b['texts'][] = ':ladybird'; + $b['icons'][] = '' . ':ladybird' . ''; + + $b['texts'][] = ':bigspider'; + $b['icons'][] = '' . ':bigspider' . ''; + + $b['texts'][] = ':cat'; + $b['icons'][] = '' . ':cat' . ''; + + $b['texts'][] = ':bunny'; + $b['icons'][] = '' . ':bunny' . ''; + + $b['texts'][] = ':chick'; + $b['icons'][] = '' . ':chick' . ''; + + $b['texts'][] = ':cow'; + $b['icons'][] = '' . ':cow' . ''; + + $b['texts'][] = ':crab'; + $b['icons'][] = '' . ':crab' . ''; + + $b['texts'][] = ':dolphin'; + $b['icons'][] = '' . ':dolphin' . ''; + + $b['texts'][] = ':dragonfly'; + $b['icons'][] = '' . ':dragonfly' . ''; + + $b['texts'][] = ':frog'; + $b['icons'][] = '' . ':frog' . ''; + + $b['texts'][] = ':hamster'; + $b['icons'][] = '' . ':hamster' . ''; + + $b['texts'][] = ':monkey'; + $b['icons'][] = '' . ':monkey' . ''; + + $b['texts'][] = ':horse'; + $b['icons'][] = '' . ':horse' . ''; + + $b['texts'][] = ':parrot'; + $b['icons'][] = '' . ':parrot' . ''; + + $b['texts'][] = ':tux'; + $b['icons'][] = '' . ':tux' . ''; + + $b['texts'][] = ':snail'; + $b['icons'][] = '' . ':snail' . ''; + + $b['texts'][] = ':sheep'; + $b['icons'][] = '' . ':sheep' . ''; + + $b['texts'][] = ':dog'; + $b['icons'][] = '' . ':dog' . ''; + + + $b['texts'][] = ':baby'; + $b['icons'][] = '' . ':baby' . ''; + + $b['texts'][] = ':babycot'; + $b['icons'][] = '' . ':babycot' . ''; + + + $b['texts'][] = ':pregnant'; + $b['icons'][] = '' . ':pregnant' . ''; + + $b['texts'][] = ':stork'; + $b['icons'][] = '' . ':stork' . ''; + + + $b['texts'][] = ':confused'; + $b['icons'][] = '' . ':confused' . ''; + + $b['texts'][] = ':shrug'; + $b['icons'][] = '' . ':shrug' . ''; + + $b['texts'][] = ':stupid'; + $b['icons'][] = '' . ':stupid' . ''; + + $b['texts'][] = ':affro'; + $b['icons'][] = '' . ':affro' . ''; + + $b['texts'][] = ':cool'; + $b['icons'][] = '' . ':cool' . ''; + + $b['texts'][] = ':angel'; + $b['icons'][] = '' . ':angel' . ''; + + $b['texts'][] = ':cherub'; + $b['icons'][] = '' . ':cherub' . ''; + + $b['texts'][] = ':devilangel'; + $b['icons'][] = '' . ':devilangel' . ''; + + $b['texts'][] = ':catdevil'; + $b['icons'][] = '' . ':catdevil' . ''; + + $b['texts'][] = ':devil'; + $b['icons'][] = '' . ':devil' . ''; + + $b['texts'][] = ':daseesaw'; + $b['icons'][] = '' . ':daseesaw' . ''; + + $b['texts'][] = ':turnevil'; + $b['icons'][] = '' . ':turnevil' . ''; + + $b['texts'][] = ':saint'; + $b['icons'][] = '' . ':saint' . ''; + + $b['texts'][] = ':graveside'; + $b['icons'][] = '' . ':graveside' . ''; + + $b['texts'][] = ':toilet'; + $b['icons'][] = '' . ':toilet' . ''; + + $b['texts'][] = ':fartinbed'; + $b['icons'][] = '' . ':fartinbed' . ''; + + $b['texts'][] = ':vomit'; + $b['icons'][] = '' . ':vomit' . ''; + + $b['texts'][] = ':tea'; + $b['icons'][] = '' . ':tea' . ''; + + $b['texts'][] = ':drool'; + $b['icons'][] = '' . ':drool' . ''; + + $b['texts'][] = ':crying'; + $b['icons'][] = '' . ':crying' . ''; + + $b['texts'][] = ':prisoner'; + $b['icons'][] = '' . ':prisoner' . ''; + + $b['texts'][] = ':smoking'; + $b['icons'][] = '' . ':smoking' . ''; + + $b['texts'][] = ':basketball'; + $b['icons'][] = '' . ':basketball' . ''; + + $b['texts'][] = ':bowling'; + $b['icons'][] = '' . ':bowling' . ''; + + $b['texts'][] = ':cycling'; + $b['icons'][] = '' . ':cycling' . ''; + + $b['texts'][] = ':darts'; + $b['icons'][] = '' . ':darts' . ''; + + $b['texts'][] = ':fencing'; + $b['icons'][] = '' . ':fencing' . ''; + + $b['texts'][] = ':golf'; + $b['icons'][] = '' . ':golf' . ''; + + $b['texts'][] = ':juggling'; + $b['icons'][] = '' . ':juggling' . ''; + + $b['texts'][] = ':skipping'; + $b['icons'][] = '' . ':skipping' . ''; + + $b['texts'][] = ':archery'; + $b['icons'][] = '' . ':archery' . ''; + + $b['texts'][] = ':football'; + $b['icons'][] = '' . ':football' . ''; + + $b['texts'][] = ':surfing'; + $b['icons'][] = '' . ':surfing' . ''; + + $b['texts'][] = ':snooker'; + $b['icons'][] = '' . ':snooker' . ''; + + $b['texts'][] = ':tennis'; + $b['icons'][] = '' . ':tennis' . ''; + + $b['texts'][] = ':horseriding'; + $b['icons'][] = '' . ':horseriding' . ''; + + + $b['texts'][] = ':iloveyou'; + $b['icons'][] = '' . ':iloveyou' . ''; + + $b['texts'][] = ':inlove'; + $b['icons'][] = '' . ':inlove' . ''; + + $b['texts'][] = ':love'; + $b['icons'][] = '' . ':love' . ''; + + $b['texts'][] = ':lovebear'; + $b['icons'][] = '' . ':lovebear' . ''; + + $b['texts'][] = ':lovebed'; + $b['icons'][] = '' . ':lovebed' . ''; + + $b['texts'][] = ':loveheart'; + $b['icons'][] = '' . ':loveheart' . ''; + + $b['texts'][] = ':countsheep'; + $b['icons'][] = '' . ':countsheep' . ''; + + $b['texts'][] = ':hammock'; + $b['icons'][] = '' . ':hammock' . ''; + + $b['texts'][] = ':pillow'; + $b['icons'][] = '' . ':pillow' . ''; + + $b['texts'][] = ':2guns'; + $b['icons'][] = '' . ':2guns' . ''; + + $b['texts'][] = ':alienfight'; + $b['icons'][] = '' . ':alienfight' . ''; + + $b['texts'][] = ':army'; + $b['icons'][] = '' . ':army' . ''; + + $b['texts'][] = ':arrowhead'; + $b['icons'][] = '' . ':arrowhead' . ''; + + $b['texts'][] = ':bfg'; + $b['icons'][] = '' . ':bfg' . ''; + + $b['texts'][] = ':bowman'; + $b['icons'][] = '' . ':bowman' . ''; + + $b['texts'][] = ':chainsaw'; + $b['icons'][] = '' . ':chainsaw' . ''; + + $b['texts'][] = ':crossbow'; + $b['icons'][] = '' . ':crossbow' . ''; + + $b['texts'][] = ':crusader'; + $b['icons'][] = '' . ':crusader' . ''; + + $b['texts'][] = ':dead'; + $b['icons'][] = '' . ':dead' . ''; + + $b['texts'][] = ':hammersplat'; + $b['icons'][] = '' . ':hammersplat' . ''; + + $b['texts'][] = ':lasergun'; + $b['icons'][] = '' . ':lasergun' . ''; + + $b['texts'][] = ':machinegun'; + $b['icons'][] = '' . ':machinegun' . ''; + + $b['texts'][] = ':marine'; + $b['icons'][] = '' . ':marine' . ''; + + $b['texts'][] = ':sabre'; + $b['icons'][] = '' . ':sabre' . ''; + + $b['texts'][] = ':tank'; + $b['icons'][] = '' . ':tank' . ''; + + $b['texts'][] = ':viking'; + $b['icons'][] = '' . ':viking' . ''; + + $b['texts'][] = ':gangs'; + $b['icons'][] = '' . ':gangs' . ''; + + $b['texts'][] = ':acid'; + $b['icons'][] = '' . ':acid' . ''; + + $b['texts'][] = ':alienmonster'; + $b['icons'][] = '' . ':alienmonster' . ''; + + $b['texts'][] = ':barbarian'; + $b['icons'][] = '' . ':barbarian' . ''; + + $b['texts'][] = ':dinosaur'; + $b['icons'][] = '' . ':dinosaur' . ''; + + $b['texts'][] = ':dragon'; + $b['icons'][] = '' . ':dragon' . ''; + + $b['texts'][] = ':dragonwhelp'; + $b['icons'][] = '' . ':dragonwhelp' . ''; + + $b['texts'][] = ':ghost'; + $b['icons'][] = '' . ':ghost' . ''; + + $b['texts'][] = ':mummy'; + $b['icons'][] = '' . ':mummy' . ''; + + $b['texts'][] = ':apple'; + $b['icons'][] = '' . ':apple' . ''; + + $b['texts'][] = ':broccoli'; + $b['icons'][] = '' . ':brocolli' . ''; + + $b['texts'][] = ':cake'; + $b['icons'][] = '' . ':cake' . ''; + + $b['texts'][] = ':carrot'; + $b['icons'][] = '' . ':carrot' . ''; + + $b['texts'][] = ':popcorn'; + $b['icons'][] = '' . ':popcorn' . ''; + + $b['texts'][] = ':tomato'; + $b['icons'][] = '' . ':tomato' . ''; + + $b['texts'][] = ':banana'; + $b['icons'][] = '' . ':banana' . ''; + + $b['texts'][] = ':cooking'; + $b['icons'][] = '' . ':cooking' . ''; + + + $b['texts'][] = ':cloud9'; + $b['icons'][] = '' . ':cloud9' . ''; + + $b['texts'][] = ':tearsofjoy'; + $b['icons'][] = '' . ':tearsofjoy' . ''; + + $b['texts'][] = ':bow'; + $b['icons'][] = '' . ':bow' . ''; + + $b['texts'][] = ':bravo'; + $b['icons'][] = '' . ':bravo' . ''; + + $b['texts'][] = ':hailking'; + $b['icons'][] = '' . ':hailking' . ''; + + $b['texts'][] = ':number1'; + $b['icons'][] = '' . ':number1' . ''; + + $b['texts'][] = ':hahaha'; + $b['icons'][] = '' . ':hahaha' . ''; + + $b['texts'][] = ':loltv'; + $b['icons'][] = '' . ':loltv' . ''; + + $b['texts'][] = ':rofl'; + $b['icons'][] = '' . ':rofl' . ''; + + $b['texts'][] = ':dj'; + $b['icons'][] = '' . ':dj' . ''; + + $b['texts'][] = ':drums'; + $b['icons'][] = '' . ':drums' . ''; + + $b['texts'][] = ':elvis'; + $b['icons'][] = '' . ':elivs' . ''; + + $b['texts'][] = ':guitar'; + $b['icons'][] = '' . ':guitar' . ''; + + $b['texts'][] = ':trumpet'; + $b['icons'][] = '' . ':trumpet' . ''; + + $b['texts'][] = ':violin'; + $b['icons'][] = '' . ':violin' . ''; + + $b['texts'][] = ':headbang'; + $b['icons'][] = '' . ':headbang' . ''; + + $b['texts'][] = ':headdesk'; + $b['icons'][] = '' . ':headdesk' . ''; + + $b['texts'][] = ':beard'; + $b['icons'][] = '' . ':beard' . ''; + + $b['texts'][] = ':whitebeard'; + $b['icons'][] = '' . ':whitebeard' . ''; + + $b['texts'][] = ':shaka'; + $b['icons'][] = '' . ':shaka' . ''; + + $b['texts'][] = ':\\.../'; + $b['icons'][] = '' . ':\\.../' . ''; + + $b['texts'][] = ':\\ooo/'; + $b['icons'][] = '' . ':\\ooo/' . ''; + + $b['texts'][] = ':headdesk'; + $b['icons'][] = '' . ':headdesk' . ''; + + +}