an
groups-icon

Solution – Contact Author

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Patrick Rehm
    0 points
    Beginner

    Hi all,

    some hours ago, i’ve posted an question, because for my experience the fields “Your Name” and “Your Email” within the “Contact Author” form have to filled out automatically by users which are logged in.

    In the interim i’ve found a solution for this topic. For interested people, here is the fix:

    1. Open class_shortcodes.php and find the following code (its not the whole line!!!:
    function SHOW_CONTACTFORM($style=0){ global $CORE,
    Replace this code with:

    
    function SHOW_CONTACTFORM($style=0){ global $CORE, $userdata, 

    2. Find the following code:
    $val1= "";
    Replace with:
    $val1= $userdata->display_name;

    3. Find the following code:
    $val2= "";
    Replace with:
    $val2= $userdata->user_email;

    Thats it. Hope its helpfull for somebody 🙂

    Greets
    Patrick

    October 13, 2014 at 11:59 pm
  • Errol Hutchinson
    -4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 14, 2014 at 12:26 am
  • Jeya
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 14, 2014 at 3:24 am
  • 0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 24, 2014 at 1:07 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 24, 2014 at 3:00 pm

393

Views

4

Replies