Sithu Thwin
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Addons functionality in Polylang ?Hi Chouby,
Thanks for the answer.
Now I can get a good start.
Will come back after I wrote some code and found problem ??I’m one of your plugin localization maintainer.
For work around:
comment out line 153 in modules/publicize.php
//$string = mb_convert_encoding( $string, ‘HTML-ENTITIES’, ‘UTF-8’ );I have the same problem. When using unicode in post, publicize change all unicode string to html decimal entities and send it to facebook. Facebook change all
&
to&
. So all unicode string appear in browser something like this& ;#4129;& ;#4140;& ;#4123;& ;#4096;
It is working now, I only need to add some configuration lines in nginx.conf. Below is nginx configuration line to work web server behind proxy server.
#to know original ip from client through cloudflare
set_real_ip_from 204.93.240.0/24;
set_real_ip_from 204.93.177.0/24;
set_real_ip_from 199.27.128.0/21;
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 127.0.0.1/32;
real_ip_header CF-Connecting-IP;This plugin not work well with web server behind proxy server. For example, in my case, I have varnish as frontend web proxy cache server and nginx with php5-fpm as backend web server. All queue to web server is from varnish. So all IPs send from varnish to nginx will be 127.0.0.1 . Even when I whitelist 127.0.0.1, it blocks every admin dashboard access including myself.
Forum: Plugins
In reply to: [Plugin: LeagueManager] Edit style of leagues shown in postsYou can edit it in plugin’s style.css.
I think its css class is “table.leaguemanager th” but not sure. You should check your live site’s html source code to find out correct css id or class.Forum: Plugins
In reply to: [LeagueManager] Filter by dateI haven’t even tried it out, because my website don’t need to have player profiles.
SithuForum: Plugins
In reply to: [LeagueManager] [Plugin: LeagueManager] Plugin FutureThanks anyway,
It is ok now.
I just tried to get roster cat_id like this in team.php.<?php $cat_id = $team->roster['cat_id']; project($team->roster['id'], array('template' => 'features','cat_id' => $cat_id, 'selections' => false,'single' => true) ); ?>
Forum: Plugins
In reply to: [LeagueManager] [Plugin: LeagueManager] Plugin FutureI’m glad to hear that you will continue on the plugin. You have make wonderful plugins. Project Manager could do everything we can imagine.
I’m not sure I found a bug with team roster or just some error on my customization.
I’m setting up two plugins for coming english premier league season.
I have created team profiles with projectmanager and give a project name as “Teams Profile” and set every dataset in a child category named with the same name as dataset name. I have parent category named “premier league” and 20 child categories named with team name.
In league manager, I set team roster in “Team Profile” and category with team’s name.On front end teams page, when I click to a team, it goes to individual team’s page and show all information I insert to team page and show team roster data.
But team roster data are not for current team set up with a category.
It show all dataset in “Teams Profile” project and title is the title of home team in next match.here is my page – https://www.myanmarepl.com/2011-2012-premier-teams
sorry for my bad english.