WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Local Avatars] Adding a Fix to works on BBpress user edit

[Resolved] [Plugin: Simple Local Avatars] Adding a Fix to works on BBpress user edit

  • I did this fix on simple-local-avatars.php in the line 154 and works ok:

    <?php if (bbp_is_user_home_edit()) : ?>
    		<script type="text/javascript">var form = document.getElementById('bbp-user-edit-form');form.encoding = 'multipart/form-data';form.setAttribute('enctype', 'multipart/form-data');</script>
    	<?php else : ?>
    		<script type="text/javascript">var form = document.getElementById('your-profile');form.encoding = 'multipart/form-data';form.setAttribute('enctype', 'multipart/form-data');</script>
    	<?php endif; ?>

    http://wordpress.org/extend/plugins/simple-local-avatars/

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Simple Local Avatars] Adding a Fix to works on BBpress user edit’ is closed to new replies.