Chip_88 I changed the pie-register.php script so that where it had paths like:
wp-includes/js/jquery/jquery.js?ver=1.2.3
I changed them to start one directory higher like so:
../wp-includes/js/jquery/jquery.js?ver=1.2.3
I believe that will break if Theme My Login is _not_ installed, so that’s not a good general solution. I’m not sure what the best thing to do is. Here is the complete diff between the original pie-register.php script in Pie Register version 1.2.9a, and my customized version (this also has a fix for https support):
$ diff pie-register.php pie-register.php.orig
46,47c46
< /* cwjordan - we want plugin_url to be https if needed so use "plugins_url()" */
< $this->plugin_url = trailingslashit(plugins_url(basename(dirname(__FILE__))));
---
> $this->plugin_url = trailingslashit(get_option('siteurl')) . 'wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
247,262c246,256
< if (is_array($rpg)) {
< foreach ($rpg as $k=>$v) {
< $rpg[$k] = $this->disable_magic_quotes_gpc($v);
< }
< } else {
< if (TRUE == function_exists('get_magic_quotes_gpc') && 1 == get_magic_quotes_gpc()){
< $mqs = strtolower(ini_get('magic_quotes_sybase'));
<
< if (TRUE == empty($mqs) || 'off' == $mqs){
< // we need to do stripslashes on $_GET, $_POST and $_COOKIE
< $rpg=stripslashes($rpg);
< }
< else{
< // we need to do str_replace("''", "'", ...) on $_GET, $_POST, $_COOKIE
< $rpg=str_replace("''","'",$rpg);
< }
---
> $drf=$rpg;
> if (TRUE == function_exists('get_magic_quotes_gpc') && 1 == get_magic_quotes_gpc()){
> $mqs = strtolower(ini_get('magic_quotes_sybase'));
>
> if (TRUE == empty($mqs) || 'off' == $mqs){
> // we need to do stripslashes on $_GET, $_POST and $_COOKIE
> $rpg=stripslashes($rpg);
> }
> else{
> // we need to do str_replace("''", "'", ...) on $_GET, $_POST, $_COOKIE
> $rpg=str_replace("''","'",$rpg);
264c258
}
---
> }
265a260
> //return $drf;
1441c1436
< <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>../wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
---
> <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
1449c1444
< <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>../wp-includes/js/jquery/jquery.color.js?ver=2.0-4561'></script>
---
> <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>wp-includes/js/jquery/jquery.color.js?ver=2.0-4561'></script>
1461c1456
< <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>../wp-admin/js/password-strength-meter.dev.js?ver=20070405'></script>
---
> <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>wp-admin/js/password-strength-meter.dev.js?ver=20070405'></script>
1689c1684
< <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>../wp-includes/js/jquery/jquery.js?ver=1.2.3'></script>
---
> <script type='text/javascript' src='<?php trailingslashit(get_option('siteurl'));?>wp-includes/js/jquery/jquery.js?ver=1.2.3'></script>
2092c2087
< ?>
---
> ?>