WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] Topbar login/ profile (5 posts)

  1. Madchen1
    Member
    Posted 1 year ago #

    Great plugin but got few questions/problems.

    I created topbar login inline form (example: http://prntscr.com/kvxqt).
    This was easy, just made custom login form and inserted

    <?php my_theme_login(); ?>

    Then had some troubles with plugin showgin too many information like i don't need gravaar so hide it with

    display:none;

    Then again there was "Your profile" which i removed by editing plugin files what is really bad (after every update i must do this).
    How can i fix this?
    I tried this but it won't work.

    <?php
    function tml_title_filter( $title, $action ) {
    	if ( 'profile' == $action )
    		return '';
    	return $title;
    }
    add_filter( 'tml_title', 'tml_title_filter', 2, 2 );

    And second problem is i want to call profile page just like this

    [theme-my-login default_action="profile" profile_template="my-profile-form.php"]

    But id ddisplays error "all to undefined function get_user_to_edit() in themed-profile.php on line 192."
    Can i somehow add hardcoded link to profile page?

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Try this: <?php theme_my_login( 'show_title=0' ); ?>

    For the profile issue - please explain to me the reason not to use TML's default functionality for the profile, because I cannot grasp why people want to create a separate page when TML already handles it by default.

  3. Madchen1
    Member
    Posted 1 year ago #

    Thx a lot.

    I love to have everything from php side done by another author (like you). But when it comes to positioning actions on site I want FELEXIBLITY. In my case i wanted login and user panel on top bar but profile editing on whole page.

  4. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Profile editing would be on whole page by default.

  5. Madchen1
    Member
    Posted 1 year ago #

    Yea, if i remeber correctly we must call theme_my_login to show edit profile template and then when we lougout it will show login form too and i don't want that.

    Maybe i'm asking lil bit too much but for now it's fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic