• Resolved Kostas

    (@kostas-r)


    Good evening. I m using wordpress 3.1.2, graphene theme, and the latest version of TDO mini forms. I use it so that unregistered users to be able to post on my blog (after moderation). I ve created a new page and put the form in it with the required information (nickname, mail, content). After setting everything up, I test it and it works. It shows the submitter’s nickname as author (although the author is my second account-contributor-), but the Wavatar (randomly generated) is not generated by the users given email, but stays the same as the authors. With some google searching I’ ve found this:

    “These tags must be used within the loop:

    <?php echo tdomf_get_the_submitter(); ?>

    <?php tdomf_the_submitter(); ?>

    <?php tdomf_the_submitter_email(); ?>

    The tdomf_get_the_submitter_email template tag can be used to get the gravatar icon for a submitter.”

    The problem is that i dont know where to put which part of the code, so that in any approved post, the wavatar to be generated by the submitter’s given email. This is the last thing I need to make my blog working as I imagined it for the first time (now is lame :P)

    Thanks in advance for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Kostas

    (@kostas-r)

    I figured this out. I had to replace line 31 of my theme’s loop.php with this echo get_avatar(tdomf_get_the_submitter_email(), 40);

    Hi,
    Plz can tell me how to add a nickname field to be as author in post + notification by mail after moderation.
    tnx

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[plugin: TDO mini forms] Submitter's avatar’ is closed to new replies.