pastebin v0.1.7
fixed
Feb 25 2013 12:42 PM
hits: 412
betazetabust gman
Feb 20 2013 12:16 AM
hits: 1832
tcl
Nov 11 2012 1:20 PM
hits: 130
ToBase36
Oct 5 2012 5:57 AM
hits: 162
Anonymous
Aug 19 2012 11:17 PM
hits: 222
bp-moderation-bp1.6
Aug 16 2012 12:51 PM
hits: 539
Anonymous
Jun 25 2012 3:25 PM
hits: 297
Casodasf
Jun 15 2012 1:32 PM
hits: 212
Casodasf
Jun 14 2012 5:36 PM
hits: 227
hnrgh
Jun 8 2012 4:17 AM
hits: 222
hnrgh
Jun 8 2012 4:17 AM
hits: 227
Anonymous
Jun 5 2012 5:47 PM
hits: 1181

Valid HTML 4.01 Strict

Valid CSS!


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -rupN bp-moderation-orig/bpModLoader.php bp-moderation/bpModLoader.php
--- bp-moderation-orig/bpModLoader.php	2011-09-28 20:07:41.000000000 -0400
+++ bp-moderation/bpModLoader.php	2012-08-16 14:51:17.956121500 -0400
@@ -31,6 +31,15 @@ Domain Path: /lang
 //load the plugin
 new bpModLoader();
 
+// jboker - 2012-08-16 added to allow the bp_moderation plugin to continue working after upgrading to bp 1.6
+add_action('wp_head', 'bp_mod_add_wp_load');
+function bp_mod_add_wp_load()
+{
+    echo '<script type="text/javascript">';
+    echo 'var ajaxurl_wpload = "' . get_bloginfo('url') . '/wp-load.php";';
+    echo '</script>';
+}
+ 
 /**
  * Loader for bp-moderation
  */
diff -rupN bp-moderation-orig/js/bp-moderation.js bp-moderation/js/bp-moderation.js
--- bp-moderation-orig/js/bp-moderation.js	2011-09-28 20:07:41.000000000 -0400
+++ bp-moderation/js/bp-moderation.js	2012-08-16 14:43:46.156121500 -0400
@@ -19,7 +19,7 @@ jq(document).ready(function() {
     else
       bpmod_current_requests[data] = true;
 
-    jq.post(ajaxurl, data,
+    jq.post(ajaxurl_wpload, data,
       function(response) {
 
         link.fadeOut(100, function() {
 

paste below
title
language
description/question
action