edhogan
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Popupper] Image OK in preview but not in postTry with version 1.6, I think this issue was a general support for wordpress 2.8 failure.
Forum: Plugins
In reply to: [Plugin: Popupper] Critical errorHi Adamsen, any idea what version of php you are running on? Sorry for the long delay in response.
Forum: Fixing WordPress
In reply to: Popupper for mouse over imagesireland79, I got it to work using this workaround that I posted on the popupper plugin website.
Forum: Fixing WordPress
In reply to: Popupper for mouse over imagesYeah, I tried with the popupper 1.5 plugin and it didn’t work (the highlighted image disappeared), that means i need investigate some more…
Forum: Fixing WordPress
In reply to: Popupper for mouse over imagesI’ll look into that, I’ve never tried that out. It shouldn’t be too hard
Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workCan folks let me know the server type and php version they are using, I have a feeling this is PHP on the server-side issue. Possibly a php4/php5 issue.
Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workSorry didn’t see these messages earlier… (thought www.ads-software.com was supposed send me emails when people posted on this thread). Looking into IE7. It works for me with Firefox 3.0.1 on my Mac.
Forum: Plugins
In reply to: [Plugin: Popupper] version 1.3 releasedI am developing on a mac, are you not able to use Popupper 1.3 on Vista? If so, what browser, wordpress version?
Forum: Plugins
In reply to: Is post_id a moving target?To close the loop…
here is a way to get to the correct post_id inside of save_post. Things like autosave and a normal click on save will bump the revision number of the post. Then save_post is called with that number. To go from the revision number back to the actual post_id, use the SQL query:SELECT post_parent FROM ” . $wpdb->posts . ” WHERE ID = ” . $post_id;
function my_action__save_post($post_id, $post) { global $wpdb; /* autosave and other things appear to bump the post_id */ $sql_get_real_post_id = "SELECT post_parent FROM " . $wpdb->posts . " WHERE ID = " . $post_id; $post_id_answer = $wpdb->get_results($sql_get_real_post_id); if ($post_id_answer[0]->post_parent != 0) { $post_id = $post_id_answer[0]->post_parent; } /* now $post_id is really correct */ ...
Forum: Plugins
In reply to: Is post_id a moving target?I appears that the post_id that save_post is being invoked with is some sort of “revision” number that is related to the autosave. Any idea how i can go from a revision number to a post_id?
Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workJust released version 1.2. I believe it addresses adamsmark’s mce bug that was causing the buttons to disappear. Also, for nrajesh, confirmed that it works up to WP 2.7-beta3.
Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workI only tested up to 2.6.3, at some point I’ll try it on WP 2.7. Right now, there are some other bugs I need to shake out.
Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workThere is a new version of the popupper plugin, version 1.0.1.
Turned out that the plugin was output javascript blobs like:
NOT GOOD:
<script type=’text/javascript’>//<!–
…
//–!></script>This works on Safari, Firefox, Camino, etc., it doesn’t work on IE6 and IE7. The correct comment block should look like the blob below. It removes the “//” and the “!” in end of the comment block.
GOOD:
<script type=”text/javascript”><!–
…
//–></script>Forum: Plugins
In reply to: [Plugin: Popupper] Doesn’t workWhat browser are you trying it on? I built it on my Mac that uses Safari, maybe there is a javascript difference.
Forum: Plugins
In reply to: [Plugin: Popupper v1.0] plugin doesn’t appear in searchAnother difference is that I don’t have tabs for “Description”, “Installation”, “Faq”, “Screenshots”, and “Stats” I have them all combined into a single bundle.