Page 1 of 1

Some features are not available in China

Posted: Sat May 28, 2022 9:48 am
by xinye
Hello sir, I am from China, your blog system I like very much, but the theme function in the blog can not be used, China can not access the raw.githubusercontent.com normally, I hope to be able to solve.

Re: Some features are not available in China

Posted: Sat May 28, 2022 12:01 pm
by erAck
A pity. That also means the update check won't function because it looks at https://raw.github.com/s9y/Serendipity/ ... cs/RELEASE and all Spartacus plugin fetching neither, unless a "Custom location for mirror" is set for the serendipity_event_spartacus plugin that the Chinese firewall allows to access (and needs to be fed of course). That custom mirror then could also be used to fetch themes. You can also switch off "Enable the use of Spartacus for fetching themes?" in the settings so only the pre-known list of themes is included.

For the update check you'd have to modify
./plugins/serendipity_event_dashboard/serendipity_event_dashboard.php line 390
$updateURL = 'https://raw.github.com/s9y/Serendipity/ ... cs/RELEASE';
and
./include/functions_installer.inc.php line 1242
$updateURL = 'https://raw.githubusercontent.com/s9y/S ... cs/RELEASE';

Good luck.