Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Easy Comment Uploads Compatibility


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 25, 2010, 12:31 PM
twright
 
1 posts · Apr 2010
Easy Comment Uploads Compatibility

Hello,
I am the developer of the Easy Comment Uploads Wordpress Plugin and recently many of my users have been informing me that the upload form does not work correctly with the Atahualpa theme.

Having looked at the theme's source code, it seems like the comment_form action is placed below the submit button for the comment form, contrary to the convention for most other themes including the default. Specifically this means that no plugin using that hook can include any forms of it's own and this is what prevents my plugin from functioning correctly - in addition no easy work around can be used (html forbids nested forms).

The solution is simple, near the end of comments.php, if you move the line <?php do_action('comment_form', $post->ID); ?> down to just above </form>, this should fix all of the issues.

i.e.
PHP Code:
    <!-- Comment Textarea -->

        <p><textarea name="comment" id="comment" rows="10" cols="10" tabindex="4"></textarea></p>
 
        <!-- Submit -->

        <p><input name="submit" type="submit" class="button" id="submit"

        tabindex="5" value="<?php _e('Submit Comment','atahualpa'); ?>" />

        <?php comment_id_fields(); ?></p>

        <?php do_action('comment_form'$post->ID); ?>
        </form>
        </div><!-- / respond -->
Thanks,
Tom Wright
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inline Google Maps compatibility redwagon Plugins & Atahualpa 13 Oct 11, 2011 06:01 AM
FTP images showing in uploads directory but not in media gallery mmqc2 Atahualpa 3 Wordpress theme 1 Jan 22, 2010 07:18 PM
[SOLVED] widget logic and atahualpa compatibility bigliettaio Plugins & Atahualpa 10 Jan 3, 2010 04:56 PM
WP plugin compatibility clues jack96161 Plugins & Atahualpa 2 Oct 29, 2009 04:02 PM
Problem with Theme & Easy Comment Uploads Hinnerfeldt Plugins & Atahualpa 0 Sep 25, 2009 02:20 PM


All times are GMT -6. The time now is 11:18 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.