We finally have figured out the Send to Editor button, but here’s the deal:
We do the Send to Editor and we get this:
but there is no player on the post at all. What are we doing wrong? Thanks.
I worked with pcsmythe to resolve a htaccess issue with thire webhost. This topic can now be marked resolved.
Could you shed any light on what the issue was? I am having the exact same issue. I cannot get your plugin or Podpress to work on my site.
lostgorilla, most likely you uploaded the files contained in the podcasting folder directly to your wp-content/plugins folder. The correct structure should be to upload the whole podcasting directory to wp-content so it looks like this:
On WordPress-MU, 2.3, when I click ‘Send to editor’, nothing happens.
Did you verify everything is in the correct location per the reply above you? If you have, I’ll some testing with WordPress MU tomorrow and see if I notice anything out of the ordinary.
On WordPress-MU, 2.3,
Then don’t post here. MU has its own forum!
Yeah, /wp-content/plugins/podcasting/readme.txt (for example) shows the expected text on the site, so the files are in the right spot.
Sorry if this was the wrong place to post this. Since it’s specific to this plugin, I thought this was the right place even though it seems to be an MU/plugin interaction.
If you manually copy the file url and add [podcast] [/podcast] around it, does the player show up in a post?
Yeah, that works. The ‘Send to Editor’ button also works if I put the post editor Code mode. So I think you may need to do something like this:
to get the += stuff to append correctly in code/visual (and in different browsers).
Doh! That would be the problem. I never took into account the visual editor as I’m always in code mode. I’m stacked up on school work at the moment, but as soon as I have time, I’ll put out a fix for the problem.
I also see that /wp-admin/js/upload.js has some of this kind of code, but it’s not really as clean for you as the other link.
I’ve modified this plugin to add support for both the code view editor or the WYSIWYG text editor using some of the information from the link suggested by gcrocker (thanks btw).
Here’s the code that I’ve added / modified to make it work (I had to hack the window.opener sections of the JS as well as the id’s used within the pages – there’s probably a better way but this is a quick fix…sorry). Enjoy:
Added the following lines:
Changed this snippet:
onClick="document.getElementById('content').value += '\n\n [podcast]<?php echo trim($enclosure_value); ?>[/podcast] />
onClick="insertPodcastString('[podcast]<?php echo trim($enclosure_value); ?>[/podcast]')" />
If this code doesn’t work properly (I’m guessing it won’t with PHP tags and all….) then shoot me an e-mail or I’ll repost with a paste link.
Sorry – I left my alerts and extra debugs that were commented out in the last post. Just remove the alert(…) lines (two of them iirc) and the // comment lines from inside the new function.
- The topic ‘Podcasting 1.0 Plugin’ is closed to new replies.