Foxskav
Forum Replies Created
-
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Need help finalizing the pluginHi,
1. You want to display chosen match?
2. How you image it? Maybe set exact score for:
winner 1. Team 100:0winner 2. Team 0:100
draw 100:100
and hide this result on front?
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Wrong start time 2 matches.Thanks for info ??
btw nice mod. This option is very usefull ??
Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)I dont have any idea how to help You.
For test:
1. Set php to 5.6.
2. Turn off SSL.Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)Hmm maybe Yours PHP version is not compatible with this plugin.
What version do you have?Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)What if you add this short code on main page?
Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)Hmmm Idk how to help you. Maybe try change permalink settings.
wp-admin/options-permalink.php
Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)I cant see this page. There is login form.
Forum: Plugins
In reply to: [Bet WC 2018 Russia] statistics do not work (STATS)If you delete shortocode this page works?
You have last version plugin?Forum: Plugins
In reply to: [Bet WC 2018 Russia] minus points when no betHi,
At this time I haven’t idea how to edit for ranking.But for statistics page:
fms2018_front.php ~465 line:
change this:
if($typowal == false) $html .= '<td class="bad_bet"> : <br><span class="stats_points">'.$l_points.': '.$zawodnik['pkt'].'</span></td>';
to:
if($typowal == false) { $html .= '<td class="bad_bet"> : <br><span class="stats_points">'.$l_points.': '.$zawodnik['pkt'].'</span></td>'; $zawodnik['pkt'] -= 2; // it will minus -2 points }
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Double points for the last 16and change ~440 line:
$zawodnik['pkt'] += get_option('fms2018_pktwynik'); else if($winner == $winnertyp){ $class ='good_result'; $zawodnik['pkt'] += get_option('fms2018_pktrezultat');
to:
if($mecz['id'] >= 49) $zawodnik['pkt'] += get_option('fms2018_pktwynik') * 2; else $zawodnik['pkt'] += get_option('fms2018_pktwynik'); } else if($winner == $winnertyp){ $class ='good_result'; if($mecz['id'] >= 49) $zawodnik['pkt'] += get_option('fms2018_pktrezultat') * 2; else $zawodnik['pkt'] += get_option('fms2018_pktrezultat');
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Double points for the last 16change 310 line:
if($typ['w_p1'] == $mecz['w_p1'] && $typ['w_p2'] == $mecz['w_p2']) fms_add_pkt($typ['id_user'], get_option('fms2018_pktwynik')); else if($winner == $winnertyp) fms_add_pkt($typ['id_user'], get_option('fms2018_pktrezultat'));
To this:
if($typ['w_p1'] == $mecz['w_p1'] && $typ['w_p2'] == $mecz['w_p2']) { if($mecz['id'] >= 49) fms_add_pkt($typ['id_user'], get_option('fms2018_pktwynik') * 2); else fms_add_pkt($typ['id_user'], get_option('fms2018_pktwynik')); } else if($winner == $winnertyp) { if($mecz['id'] >= 49) fms_add_pkt($typ['id_user'], get_option('fms2018_pktrezultat') * 2); else fms_add_pkt($typ['id_user'], get_option('fms2018_pktrezultat')); }
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Time of bettingNo there is not any logs. Bets only can be edited directly in database.
Someone broke the security and bet the result after the match?Forum: Plugins
In reply to: [Bet WC 2018 Russia] you are not allowed to access this pageBecause such a website does not exist. If you want to see the ranking. On page or post or in widget paste shortcode [fms2018_ranking]
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Appointment for improvementsEdit file fms2018_admin.php
Line 74 change:$query = "SELECT ft.id_meczu, ft.id_user, ft.w_p1, ft.w_p2, u.display_name as user_nicename from " . $this->tabletypy . " ft Left join ". $this->tableusers ." u ON ( ft.id_user = u.ID )";
to:
$query = "SELECT ft.id_meczu, ft.id_user, ft.w_p1, ft.w_p2, u.display_name as user_nicename from " . $this->tabletypy . " ft Left join ". $this->tableusers ." u ON ( ft.id_user = u.ID ) ORDER BY ft.id_user";
Forum: Plugins
In reply to: [Bet WC 2018 Russia] Plugin could not be activatedTo add language You can edit file fms2018_front.php. (line 90)
You can download theme:
https://foxskav.pl/projekty/fms2018/tfms2018.zip