Jcow Blog
Feb 5th 2016, 7:06 pm
5280 Views

Step.1 Add your site domain to Cloudflare

Go to http://www.cloudflare.com and login.(If you don't have an account, just sign up free)
Click "add site" on the top menu, and step by step add your Jcow site domain. You can select "Free plan" while adding site.

Step.2 Configure SSL

On Cloudflare, click your site name, and click "Page Rules" on the top menu, you will see a "Add new rule" section. Enter /* in the "Rule pattern", and click to turn on the "Always https", and click "Add rule" button.

Step.3 Configure Jcow

Edit your config file my/config.php, add these lines just in beginning of the source code:

if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
    $arr = explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']);
    $_SERVER['REMOTE_ADDR'] = trim($arr[0]);
}

Then edit the $uhome value, modify http:// to https://

Finished!

Please note, there will be a few hours before the SSL enabled due to DNS TTL.
If you have any questions, please comment here.

Andhika aditya: @paul
Feb 20th 2016, 9:17 am Report
jatt: @paul :D
Aug 5th 2017, 3:38 pm Report
jatt: @paul :D
Aug 5th 2017, 3:38 pm Report
New stories
Jcow 10 upgrading guide
## Things you should know before upgrading to Jcow 10 from 9 or lower ### Your old theme will not work with Jcow 10 Themes were upgraded for the purpose of cross devices. You need to re-edit your theme file based the new theme: `themes/default` .
Jcow 9.6.8 changelogs
Add markdown parser to Blogs. Users can now report single stream. Bug fix: Forums->quote doesn't work. Bug fix: Some link broken. --- changed files&folders: includes/libs (Please note that a new file added:includes/libs/parsedown.php)
Jcow 9.6.7 changelogs
Deprecated drag&drop apps Added new feature: admin can add link to the primary menu. (from "Admin CP"->"menu") Upgrade mobile style to fit pad devices Upgraded share box: Now new stream will appear immediately after posting blogs, videos and event
Jcow 9.6.6 changelogs
Upgrade facebook connection process. Clean sign up UI and auto-approve verified facebook user. Upgrade "Topics" module. Add tab menu "hot stories" and "followed". Show only featured tags in "tags" tab. Remove "my tags" and "hot stories" from "feed"
Jcow 9.6.5 changelogs
Add notifications when someone's post get liked. Optimise "like" button clicking. Remove "sharethis" buttons from story pages due to slow performance. (Rollback to original social share buttons) Add "readsometime" bookmark to story pages and profi
Jcow pro 9.6.4 build 2015.03.20
Fix mobile view bugs. updated files&folders: --- includes/libs/story.inc.php includes/libs/ss.inc.php files/common_css/style.css modules/mobile --- Please re-download Jcow pro from client area, and upload the updated files&folders.
Jcow Groups module bug fix
Fixed a pager bug in Jcow Groups. --- how to update --- Re-download the newest Jcow Pro, and upload the "includes/libs/ss.inc.php" to your server. That's all.
Jcow 9.6.4 changelogs
Add "Recommendations" as a default tab of stories(blogs, images, videos, events). "Recommendations" will display the hot stories and connected stories to logged in members. And display only hot stories to guests. Add a "upload picture" link to us
Jcow 9.6.3 changelogs
Optimize story listing styles. Optimize member registrater process. Optimize sharebox buttons. Upgrade "member quick manage" tool. Add local network detecting when checking spammer lists. Add "sharethis" social share buttons. Add "Sign up" box
Jcow 9.4 changelogs
Upgrade "New Feed" page.Upgrade sub menu layout.Add "comments"(mentions) section to profile page.Optimize browse page for mobile viewOptimize member signup page for mobile layout.Upgrade Videos module: add thumbnails. su