• Resolved kiezkickerde

    (@kiezkicker)


    Hi,

    could you please link the “Login” in “Login to submit your predictions”-text with the wordpress-login-page?
    Most of my users which are participants of my prediction game won′t know where to login to wordpress. Well, I had written it in the disclaimer, but it would be a great benefit if your text would linked direct to the wp-login-page instead of just given the user the hint he should login (but don′t tell him where). ??

    If you don′t want to change it in general: where can I change it for myself?

    Cheers, Kiezkickerde

    • This topic was modified 5 years, 4 months ago by kiezkickerde.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor irenejs

    (@irenejs)

    Hi,
    Please go the file
    /wp-content/plugins/joomsport-prediction/sportleague/classes/objects/class-jsport-prediction-userround.php

    find the line: (3 times)
    '<div class="jspred_message_login">'.__("Login to submit your predictions",'joomsport-prediction').'</div>';

    and replace by: (3 times)
    echo '<div class="jspred_message_login"><a href="'.wp_login_url( get_permalink() ).'" title="'.("Login",'joomsport-prediction').'">'.("Login",'joomsport-prediction').'</a>'.__(" to submit your predictions",'joomsport-prediction').'</div>';

    Kind regards
    Irene

    Thread Starter kiezkickerde

    (@kiezkicker)

    2 times, line 90 and 174.

    But your solution doesn′t worked (yes, I have removed the echo from the original line, of course).

    After changing
    echo '<div class="jspred_message_login">'.__("Login to submit your predictions",'joomsport-prediction').'</div>';
    into
    echo '<div class="jspred_message_login"><a href="'.wp_login_url( get_permalink() ).'" title="'.("Login",'joomsport-prediction').'">'.("Login",'joomsport-prediction').'</a>'.__(" to submit your predictions",'joomsport-prediction').'</div>';
    two times, the following is the result:

    1. No matches are displayed (and no leaderboard or round list-buttons).
    2. Also no login-text anymore. Just the headline of the round was displayed (“Spieltag 4” for example on https://www.kiezkicker.de/kiezkicker/jswprediction_round/tippspiel-4-spieltag-2019-20/

    Edit: No matter if I was already logged in or being not when I loaded the page.

    • This reply was modified 5 years, 3 months ago by kiezkickerde.
    • This reply was modified 5 years, 3 months ago by kiezkickerde.
    • This reply was modified 5 years, 3 months ago by kiezkickerde. Reason: More specification (Edit-line)
    Plugin Contributor irenejs

    (@irenejs)

    @kiezkicker
    Sorry to hear that.
    Could you please submit request via HelpDesk on joomsport.com and specify there the details of the issue so our support team can assist you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Linking the “Login to submit your predictions”-text’ is closed to new replies.