supamastadan
Forum Replies Created
-
It looks like the author has a modification to the multisite.php in the lib directory that fixes this. He links to it here.
I’m running into the same issue. I found that in my case, the regular upload works, just not the flash one. Not quite sure why.
Ok. It looks like that’s the only instance where you don’t want to replace the WP_PLUGIN_DIR. In the langs.php files, it uses a dirname(_FILE_) function to locate the proper file. However, since we have the sites mapped to a virtual directory, it can’t locate the file. Just leave the $langpath variable with the WP_PLUGIN_DIR and replace the rest and it should work ok. I’ll submit my findings to the plugin author.
Ok, it would appear that the problem was in line 244 of the tinymce-advanced.php file. I had changed this line:
$langpath = WP_PLUGIN_DIR . '/tinymce-advanced/mce/';
and apparently, that was causing the languages not to load. I left it as that and it works for me. I will go through and see if any of the other replacements cause issues. If not, I’ll see if I can post the changes here and perhaps submit the fixes to the plugin author.Update: I’m halfway through with a solution. In the two php files, tadv_admin.php and tinymce-advanced.php, the plugin is using the following references:
WP_PLUGIN_URL WP_PLUGIN_DIRThose are where the plugin is getting the original subdirectory instead of the new domain. So, to replace it, I did the following.
Find all instances of the WP_PLUGIN call, such as this on line 63 of tinymce-advanced.php
$wp .= ',' . WP_PLUGIN_URL . '/tinymce-advanced/css/tadv-mce.css';and replace with:
$wp .= ',' . get_bloginfo('wpurl') . '/wp-content/plugins/tinymce-advanced/css/tadv-mce.css';
Note, I added the get_bloginfo(‘wpurl’) and also “/wp-content/plugins” in front of the /tinymce-advancedNow in wordpress, the popups seem to load. However, the information in the popup isn’t being replaced, so all the labels are in {brackets}. Again, this is only on the sites with domains attached. I’m still working on a fix for this.
Update: I am currently using a network setup with domain mapping. The src for the popup iframe seems to be set to the default plugin location, and is not being modified to reflect the domain mapped to it. Using firebug, I modified the url to use the domain it’s mapped to and the popup loaded correctly. I’ll try to find the code in the plugin to modify this or some other way to correct this issue.
I’m running into the same issue. The hyperlink buttons was giving me issues, and only worked when I turned off advanced hyperlink. However, I’m running into blank pop ups using the “Edit CSS Style” button. I am using 3.0.1 and have enabled and disabled other plugins with random results. Either there’s a plugin conflict, or something that would effect both of them. I’ll try to look through the code myself and see if anything sticks out.