diff --git a/group_text/group_text.css b/group_text/group_text.css
new file mode 100755
index 00000000..4122b67e
--- /dev/null
+++ b/group_text/group_text.css
@@ -0,0 +1,14 @@
+
+
+
+#group_text-enable-label {
+ float: left;
+ width: 200px;
+ margin-bottom: 25px;
+}
+
+#group_text-checkbox {
+ float: left;
+}
+
+
diff --git a/group_text/group_text.php b/group_text/group_text.php
new file mode 100755
index 00000000..151ff0ae
--- /dev/null
+++ b/group_text/group_text.php
@@ -0,0 +1,86 @@
+
+ *
+ *
+ */
+
+
+function group_text_install() {
+
+ register_hook('plugin_settings', 'addon/group_text/group_text.php', 'group_text_settings');
+ register_hook('plugin_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
+
+ logger("installed group_text");
+}
+
+
+function group_text_uninstall() {
+
+ unregister_hook('plugin_settings', 'addon/group_text/group_text.php', 'group_text_settings');
+ unregister_hook('plugin_settings_post', 'addon/group_text/group_text.php', 'group_text_settings_post');
+
+
+ logger("removed group_text");
+}
+
+
+
+/**
+ *
+ * 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 group_text_settings_post($a,$post) {
+ if(! local_user() || (! x($_POST,'group_text-submit')))
+ return;
+ set_pconfig(local_user(),'system','groupedit_image_limit',intval($_POST['group_text']));
+
+ info( t('Editplain settings updated.') . EOL);
+}
+
+
+/**
+ *
+ * Called from the Plugin Setting form.
+ * Add our own settings info to the page.
+ *
+ */
+
+
+
+function group_text_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','groupedit_image_limit');
+ $checked = (($enabled) ? ' checked="checked" ' : '');
+
+ /* Add some HTML to the existing form */
+
+ $s .= '
';
+ $s .= '
' . t('Group Text') . '
';
+ $s .= '
';
+ $s .= '';
+ $s .= '';
+ $s .= '
';
+
+ /* provide a submit button */
+
+ $s .= '
';
+
+}
diff --git a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
index dce36924..5e46b3b7 100644
--- a/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
+++ b/infiniteimprobabilitydrive/infiniteimprobabilitydrive.php
@@ -3,7 +3,7 @@
* Name: Infinite Improbability Drive
* Description: Infinitely Improbably Find A Random User
* Version: 1.0
-* Author: Thomas Willingham
+* Author: Thomas Willingham
*/
function infiniteimprobabilitydrive_install() {
diff --git a/morechoice/morechoice.php b/morechoice/morechoice.php
index bf97b76b..d22ec3aa 100644
--- a/morechoice/morechoice.php
+++ b/morechoice/morechoice.php
@@ -14,8 +14,6 @@ function morechoice_install() {
register_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
register_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
register_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
- register_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
-
}
@@ -24,6 +22,8 @@ function morechoice_uninstall() {
unregister_hook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
unregister_hook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
unregister_hook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
+
+// We need to leave this here for a while, because we now have a situation where people can end up with an orphaned hook.
unregister_hook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
}
@@ -123,11 +123,4 @@ function morechoice_marital_selector($a,&$b) {
$b[] = 'Hurt in the past';
$b[] = 'Wallowing in self-pity';
}
-}
-
-function morechoice_poke_verbs($a,&$b) {
- $b['bitchslap'] = array('bitchslapped', t('bitchslap'), t('bitchslapped'));
- $b['shag'] = array('shag', t('shag'), t('shagged'));
-
-
}
\ No newline at end of file
diff --git a/morepokes/morepokes.php b/morepokes/morepokes.php
new file mode 100644
index 00000000..5d1153e4
--- /dev/null
+++ b/morepokes/morepokes.php
@@ -0,0 +1,38 @@
+
+ *
+ */
+
+function morepokes_install() {
+ register_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
+}
+
+function morepokes_uninstall() {
+ unregister_hook('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
+}
+
+function morepokes_poke_verbs($a,&$b) {
+ $b['bitchslap'] = array('bitchslapped', t('bitchslap'), t('bitchslapped'));
+ $b['shag'] = array('shag', t('shag'), t('shagged'));
+ $b['somethingobscenelybiological'] = array('something obscenely biological', t('do something obscenely biological to'), t('did something obscenely biological to'));
+ $b['newpokefeature'] = array('pointed out the new poke feature to', t('point out the new poke feature to'), t('pointed out the new poke feature to'));
+ $b['declareundyinglove'] = array('declared undying love for', t('declare undying love for'), t('declared undying love for'));
+ $b['setfireto'] = array('set fire to', t('set fire to'), t('set fire to'));
+ $b['patent'] = array('patented', t('patent'), t('patented'));
+ $b['strokebeard'] = array('stroked their beard at', t('stroke beard'), t('stroked their beard at'));
+ $b['bemoan'] = array('bemoaned the declining standards of modern secondary and tertiary education to', t('bemoaned the declining standards of modern secondary and tertiary education to'), t('bemoans the declining standards of modern secondary and tertiary education to'));
+ $b['hugs'] = array('hugged', t('hug'), t('hugged'));
+ $b['kiss'] = array('kissed', t('kiss'), t('kissed'));
+ $b['raiseeyebrows'] = array('raised their eyebrows at', t('raise eyebrows at'), t('raised their eyebrows at'));
+ $b['insult'] = array('insulted', t('insult'), t('insulted'));
+ $b['praise'] = array('praised', t('praise'), t('praised'));
+ $b['bedubiousof'] = array('was dubious of', t('be dubious of'), t('was dubious of'));
+ $b['eat'] = array('ate', t('eat'), t('ate'));
+ $b['giggleandfawn'] = array('giggled and fawned at', t('giggle and fawn at'), t('giggled and fawned at'));
+ $b['doubt'] = array('doubted', t('doubt'), t('doubted'));
+ $b['glare'] = array('glared at', t('glare'), t('glared at'));
+;}
\ No newline at end of file
diff --git a/nsfw.tgz b/nsfw.tgz
index c484aa03..73870dc3 100755
Binary files a/nsfw.tgz and b/nsfw.tgz differ
diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php
index 415e448d..fda29905 100755
--- a/openstreetmap/openstreetmap.php
+++ b/openstreetmap/openstreetmap.php
@@ -1,7 +1,7 @@
* Author: Klaus Weidenbach
diff --git a/page.tgz b/page.tgz
index 7e95737f..d300a3e2 100644
Binary files a/page.tgz and b/page.tgz differ
diff --git a/showmore.tgz b/showmore.tgz
index 394a99fd..3b6ac194 100644
Binary files a/showmore.tgz and b/showmore.tgz differ
diff --git a/showmore/showmore.php b/showmore/showmore.php
index 096fd3f7..1f40b027 100755
--- a/showmore/showmore.php
+++ b/showmore/showmore.php
@@ -69,6 +69,11 @@ function showmore_addon_settings_post(&$a,&$b) {
function get_body_length($body) {
$string = trim($body);
+ // DomDocument doesn't like empty strings
+ if(! strlen($string)) {
+ return 0;
+ }
+
// We need to get rid of hidden tags (display: none)
// Get rid of the warning. It would be better to have some valid html as input
diff --git a/twitter.tgz b/twitter.tgz
index ec5d55d5..7e61834a 100755
Binary files a/twitter.tgz and b/twitter.tgz differ