1999999
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH Custom Login] login page brokenappearance > login screen > general tab > custom css
Forum: Plugins
In reply to: [YITH Custom Login] login page brokenRead my post:
https://www.ads-software.com/support/topic/temporary-fix?replies=1
if you put this temporary css, It will be the same as it was before the wordpress update
Forum: Plugins
In reply to: [LeagueManager] Problem with filters on seasonsNever mind. The problem was the name of the season.
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a league@kolja why do you not answer me?
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a league@kolja you have solution for me?
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a leaguehello. now the code is more simple:
<?php
$match = get_last_matches(’23’, 1, true);
$home = $leaguemanager->getTeam($match->home_team);
$away = $leaguemanager->getTeam($match->away_team);echo $match->match_day;
echo $match->date;
echo “<img class=’logo away_logo’ src='”.$home->logo.”‘/>”;
echo $home->title;
echo $match->homeScore;
echo ‘ x ‘;
echo $match->awayScore;
echo “<img class=’logo away_logo’ src='”.$away->logo.”‘/>”;
echo $away->title;
?>but i have the same problem:
the URL of image, is always: …wp-content/uploads/leagues/League-1/…Always “League-1”, and the team 23 is from League 2.
In my previews code (big code), the problem is the same.
Can you help put the proper league code? in this case league 2?
see in spam folder.
@rkb81 do this: logout from your account and try send… for me, works.
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a league@kolja and for me, is possible make this shortcodes for example:
[matches league_id=1 match_day=’current’ team_id=’23’ team=’home’]
[matches league_id=1 match_day=’current’ team_id=’23’ team=’away’]And if is possible, separate logo from team name:
[matches league_id=1 match_day=’current’ team_id=’23’ team_score=’home’ logo=true]
[matches league_id=1 match_day=’current’ team_id=’23’ team_score=’away’ logo=true][matches league_id=1 match_day=’current’ only=data]
[matches league_id=1 match_day=’current’ only=hours]NOTE: I use random codes, not the correct or existent codes…
Because i want all separate, if is possible, or for example if you dont want make separate shortcodes:
[matches league_id=1 match_day=’current’ team_id=’23’ title=false logo=true time=false hours=false filter=false]
include all in code, but we can change to false the options that we do not want.
Is possible?
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a league@chleray, sorry, the message is to Kolja.
I identify the wrong user.
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a league@chleray the code work, only the imagens dont.
If you can make a function, I appreciate it. but would have to include: day, time, teams, teams logos, and score.
And then if possible, the next game: Day, Time, Teams and teams logos.
it’s possible?
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a leagueSee my website:
https://www.estrelamondegofc.com
Look to the homepage. I use this code to get previews game with teams logo and name and score, next game with team logo and name e for last, the team position in table.
The teams logo now works beacause i put logos (manual) on league 2 foulder…
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a leagueNow, with logo foulder update, the code i wrote, dont get the image foulder.
I use this code:
(this is a simple and patched code since I am not a programmer)<?php
$team = $wpdb->get_results( $wpdb->prepare(“SELECTrank
FROM {$wpdb->leaguemanager_teams} WHEREid
= ’12′”, $team_id) );
$team = $team[0];$team->id = sprintf(’12’);
$prev_matches = $leaguemanager->getMatches(array(“team_id” => $team->id, “time” => “prev”, “limit” => 1, “orderby” => array(“date” => “DESC”)));
$prev_match = $prev_matches[0];
$prev_match->jornada = sprintf(__(“%d”, ‘leaguemanager’), $prev_match->match_day);
$prev_match->scorehome = sprintf(“%s”, $prev_match->home_points, $prev_match->away_points);
$prev_match->scoreaway = sprintf(“%s”, $prev_match->away_points, $prev_match->home_points);
$prev_match->testehome = sprintf(“%s”, $prev_match->home_team, $prev_match->away_team);
$prev_match->testeaway = sprintf(“%s”, $prev_match->away_team, $prev_match->home_team);
$prev_match->data = sprintf(__(“%s”, ‘leaguemanager’), $prev_match->date);
$homeTeam = $leaguemanager->getTeam( $prev_match->testehome );
$awayTeam = $leaguemanager->getTeam( $prev_match->testeaway );
$homeTeamName = $homeTeam->title;
$awayTeamName = $awayTeam->title;
$homeTeamLogo = $homeTeam->logo;
$awayTeamLogo = $awayTeam->logo;
?>The team ID i want is 12 and if i use:
<img src=”<?php echo $homeTeamLogo ?>”/>
or your code:
<img src=”<?php echo $leaguemanager->getImageUrl($homeTeamLogo, false, ‘thumb’) ?>”/>
on my homepage, the img url go always to 2nd league folder, and dont return any image on this case, “home team” because the image is in 1st league foulder.
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a leagueyou have 3 templates in TAB “Table”, Extended, Compact and SLIM. The SLIM file (standings-slim.php) is missing.
Forum: Plugins
In reply to: [LeagueManager] Show all games that day of a leagueYou did not understand. I created the standings-slim.php because your plugin does not have this file.
And if I create a custom file, the file, after update, was replaced not deleted.