diff --git a/adult_smile.tgz b/adult_smile.tgz
index 67e2a31ef..04ef72fb0 100644
Binary files a/adult_smile.tgz and b/adult_smile.tgz differ
diff --git a/facebook.tgz b/facebook.tgz
index b1db063bb..067786204 100644
Binary files a/facebook.tgz and b/facebook.tgz differ
diff --git a/facebook/facebook.php b/facebook/facebook.php
index 9c8c8f085..3ed40c918 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 000000000..6a2343f00
Binary files /dev/null and b/frown.tgz differ
diff --git a/frown/frown.css b/frown/frown.css
new file mode 100755
index 000000000..3690b62ab
--- /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 000000000..003039dfa
--- /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 4c67d491f..000000000
Binary files a/ijpost.tar.gz and /dev/null differ
diff --git a/ijpost.tgz b/ijpost.tgz
new file mode 100644
index 000000000..555e06025
Binary files /dev/null and b/ijpost.tgz differ
diff --git a/smiley_pack.tgz b/smiley_pack.tgz
new file mode 100644
index 000000000..be092b08c
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 000000000..1c04b2eeb
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 000000000..52c22c486
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 000000000..1490c0f76
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 000000000..fa55f6746
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 000000000..2c655b1fb
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 000000000..d990d19d9
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 000000000..e62fea067
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 000000000..37aa92a19
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 000000000..3de6f778f
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 000000000..a3bb03d65
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 000000000..66bc075f3
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 000000000..27215f4d2
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 000000000..ebcdcccc4
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 000000000..11eccdd0b
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 000000000..4595cccb7
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 000000000..53592d6ee
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 000000000..5d4b28463
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 000000000..91ccb8bb4
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 000000000..e5d7b7030
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 000000000..2a1fccbb7
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 000000000..ecc64847a
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 000000000..34f72abb7
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 000000000..07551e502
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 000000000..ab5c410cd
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 000000000..d990d19d9
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 000000000..8b4b9f624
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 000000000..c9fa6c5e2
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 000000000..13ca45030
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 000000000..fa2e6a840
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 000000000..b75d74b95
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 000000000..36e47bf97
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 95f3bd874..c2d9a2416 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'][] = '';
+ $b['texts'][] = ':daseesaw';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':turnevil';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':saint';
+ $b['icons'][] = '';
$b['texts'][] = ':graveside';
$b['icons'][] = '';
@@ -181,6 +189,25 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':skipping';
$b['icons'][] = '';
+ $b['texts'][] = ':archery';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':football';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':surfing';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':snooker';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tennis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':horseriding';
+ $b['icons'][] = '';
+
+
$b['texts'][] = ':iloveyou';
$b['icons'][] = '';
@@ -259,6 +286,12 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':viking';
$b['icons'][] = '';
+ $b['texts'][] = ':gangs';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':acid';
+ $b['icons'][] = '';
+
$b['texts'][] = ':alienmonster';
$b['icons'][] = '';
@@ -298,6 +331,12 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':tomato';
$b['icons'][] = '';
+ $b['texts'][] = ':banana';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cooking';
+ $b['icons'][] = '';
+
$b['texts'][] = ':cloud9';
$b['icons'][] = '';
@@ -305,5 +344,65 @@ function smiley_pack_smilies(&$a,&$b) {
$b['texts'][] = ':tearsofjoy';
$b['icons'][] = '';
+ $b['texts'][] = ':bow';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bravo';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hailking';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':number1';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hahaha';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':loltv';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':rofl';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dj';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':drums';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':elvis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':guitar';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':trumpet';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':violin';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':headbang';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':beard';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':whitebeard';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':shaka';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':\\.../';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':\\ooo/';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':headdesk';
+ $b['icons'][] = '';
+
}
diff --git a/smiley_pack/smiley_pack.php~ b/smiley_pack/smiley_pack.php~
new file mode 100644
index 000000000..0ac42d00b
--- /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'][] = '';
+
+ $b['texts'][] = ':bee';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':ladybird';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bigspider';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cat';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bunny';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':chick';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cow';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':crab';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dolphin';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dragonfly';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':frog';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hamster';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':monkey';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':horse';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':parrot';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tux';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':snail';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':sheep';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dog';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':baby';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':babycot';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':pregnant';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':stork';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':confused';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':shrug';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':stupid';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':affro';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cool';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':angel';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cherub';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':devilangel';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':catdevil';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':devil';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':daseesaw';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':turnevil';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':saint';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':graveside';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':toilet';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':fartinbed';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':vomit';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tea';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':drool';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':crying';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':prisoner';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':smoking';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':basketball';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bowling';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cycling';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':darts';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':fencing';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':golf';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':juggling';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':skipping';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':archery';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':football';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':surfing';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':snooker';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tennis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':horseriding';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':iloveyou';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':inlove';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':love';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':lovebear';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':lovebed';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':loveheart';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':countsheep';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hammock';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':pillow';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':2guns';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':alienfight';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':army';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':arrowhead';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bfg';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bowman';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':chainsaw';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':crossbow';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':crusader';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dead';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hammersplat';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':lasergun';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':machinegun';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':marine';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':sabre';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tank';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':viking';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':gangs';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':acid';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':alienmonster';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':barbarian';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dinosaur';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dragon';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dragonwhelp';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':ghost';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':mummy';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':apple';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':broccoli';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cake';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':carrot';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':popcorn';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tomato';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':banana';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':cooking';
+ $b['icons'][] = '';
+
+
+ $b['texts'][] = ':cloud9';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':tearsofjoy';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bow';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':bravo';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hailking';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':number1';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':hahaha';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':loltv';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':rofl';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':dj';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':drums';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':elvis';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':guitar';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':trumpet';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':violin';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':headbang';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':headdesk';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':beard';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':whitebeard';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':shaka';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':\\.../';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':\\ooo/';
+ $b['icons'][] = '';
+
+ $b['texts'][] = ':headdesk';
+ $b['icons'][] = '';
+
+
+}