Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit Profile in Thickbox not showing all profile fields


  • NixXxon23
    Participant

    @nixxxon23

    Hello,

    i try to let users edit their profile fields in a thickbox “popup”.

    Here’s the code which is working so far BUT it’s not showing empty fields and i don’t get the clue why because it’s the same code like in /single/profile/edit.php.

    <!-- Begin display edit-profile button -->
    	<?php if ( bp_is_my_profile() ) : ?>
    
    <?php add_thickbox(); ?>
    <div id="edit_background" style="display:none;">
    <div>"here is the code of /single/profile/edit.php"</div>
    </div>
    <div class="background-edit" style="display: block;">
    		<a href="#TB_inline?width=600&height=550&inlineId=edit_background" class="overlay thickbox"><i class="icon-camera"></i> Hintergrund Bild ändern</a>
    	</div>
        <?php endif; ?>
        <!-- End display edit-profile button -->

    I hope someone can help me.

    I do have 1 or 2 other problems as well but maybe i should raise another topic for that?

    Thanks in advance and best regards,
    NixXxon

    p.S.: If needed i can provide an test-login and of course more infos.
    BP-Version: 2.4.3
    Wordpress: 4.4.2

    edit: removed the code of /single/profile/edit.php because it was confusing in the post … if needed i can put it back in the post.

  • The topic ‘Edit Profile in Thickbox not showing all profile fields’ is closed to new replies.
Skip to toolbar