Support » Plugin: Sport Predictions for JoomSport » Linking the “Login to submit your predictions”-text

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

    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 http://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 1 year, 2 months ago by kiezkickerde.
    • This reply was modified 1 year, 2 months ago by kiezkickerde.
    • This reply was modified 1 year, 2 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.