JM Canonical plugin

 Jimako    23 Aug 2018 : 19:10
 plugins    Plugins


Extended functionality of canonical plugin for e107


What is comming in version 1.4

- admin area 


23.8.2018  Updated version 1.3.2 

(problem with forum pagination was fixed, so I removed workaround)

Version 1.4.0 in development

- added field title to manual canonical urls because this plugin is planned to use for gsitemap


New in version 1.3.1:

-  added possibility to set 301 redirect.  Mainly used for 404 urls added in manual canonical urls. Default redirect was 302.

New in version 1.3.0 

- added redirect

- added support for download plugin


Duplicate content and canonical URLs.

Based on discussion on forum I spent some time reading a lot of articles about this topic - duplicate content and canonical URLs.  Some advices are exactly opposite, so it's on you. This plugin just helps to solve some issues.

It's based on the canonical plugin in e107Inc directory. I couldn't get that plugin to work, but at the end I was able to fix it too. So this plugin uses the same table (and next two ones) as original plugin.

BE AWARE - canonical URLs are not redirects! They just point search engines to the same content if more versions of the same page is available. (It’s imply saying, it's more complicated, but point is - Canonical URL must exist!, it's not like sef-url field, where engine does all rewritings)

So how this plugin works? There are 3 types of canonical URLs:

-  manually created and combined with existing links (first priority)

-  related to e107 tables. At this time only for news. 

-  generated from e107 constants

Manually created.

I use it for homepage (, and for news homepage -  news.php, news/, news - without backslash... -  in debug mode type:canonical_request_URLs  (Yes, I know, terrible name, but I was focused to get it work, I will solve cosmetics details later).  

Related URLs

With news there is new tab Canonical and there you should insert absolute (full) canonical address. After this all version of that news (after changing sef-url, after using old menu with legacy link) will have the same canonical url. In debug mode type:related_URLs 

Be aware that after changing way how news URL is created, you will do it again (if you don’t use legacy links).  Or you will choose the right setting  :)  See as example:

Generated URLs

This option can be set ON/OFF in Settings.  This code is moved from theme.php where was originally tested during our discussion with Evgura about this topic.

What are rules for generating?

- it ignores gallery plugin (try to look at constants with this plugin)

- with forum plugin it uses e_REQUEST_URL . You should use SEF-URL option with forum plugin. I tried to put it OFF, but some functionality is missing then and it always returned somehow back...

- if there is available e_URL_LEGACY constant, it uses it for canonical URL   (it is set for plugins using simple e_url.php for rewritting)

- if there are available e_PAGE and e_QUERY constants, it uses them for canonical URL


- you can set all plugin ON/OFF without uninstallation. If something is wrong, just deactivate it

- you can set ON Run Check - for your canonical link it returns if they are available (200 vs 404 values). It takes some time, I just needed quick check if all links exist.  

- you can set Display Debug info on Frontend -  it displays needed values for main admins without need to set debug developer mode or debug browser extension. This is probably the best feature for me, it was annoying to open source code or to scroll full list of e107 constants to check existing values)

- you can set OFF generating of legacy URLs.


And again here: I am sure it can be written better way, so just do it. I do what I know and I am aware that my code is far far from perfection.  You are welcome to write better plugin.

PS. I would put bigger image into text, but I use on this site version with TinyMce issues.

Next site updated for new version

 Jimako    14 Aug 2018 : 21:53
 None    Showcase


This site uses modified theme by Fizi - gameplus2

At last I have updated one of the latest 1.0.4 version I had still running. 

This site is for the community of one famous fanfiction. It was my first e107 site based on content plugin.  The author disappered some times ago and I promised that if she would return, I will do update. More than 2 years nothing and now she is back and I had to fill my promise.

True is that I tried to update before. There were still some issues.  Now I use new way of update, I updated content plugin again (not fully, in level like in Knowledge base, still in process) and voila - site is running better than before.

Oh, I can't forget - I used Fizi theme for this.  This guy is the best theme developer! Awesome, everything works, so easy to customize everything.  My big thanks to him. 

PS. Updated todo list. Just one 1.0.4 site left.

e107 site

Mentions plugin by Arun S. Sekher

 Jimako    06 Aug 2018 : 19:34
 None    Plugins


MUST TO BE plugin for community site

There is just awesome plugin by Arun [arunshekher] 

Quote from its description:  (with my English it's easier just copy things). 

This plugin converts user mentions (usernames prepended with '@' sign) in comments, chatbox posts, and forum posts to matching user-profile links in your e107 powered websites. It also helpfully renders a username auto completion/suggestion popup-list as you start to type-in a username followed by an '@' sign in plugin supported text areas.

This is one of must to be plugin for any community site.  You can download it from Plugin Manager.

You should use this plugin with php 7 or at least php 5.6 .

Source on Github

Industrial theme now available for download

 Jimako    13 Jun 2018 : 13:47
 None    Themes


Industrial theme was theme done somewhere in 05/2017.

Industrial theme was theme done somewhere in 05/2017. I just updated it for 2.1.8 version. 

This theme is based on free Industrial HTML/Css template from

Original html theme was free as freebies, I can't find it now.


 This theme uses Contact page plugin for extended contact section.



Demo site of our themes is now available

 Jimako    13 Jun 2018 : 10:06
 None    Showcase


For this site is used Cayman theme.

Cayman theme is one of my not finished full e107 theme.  It's ported very nice HTML template made by wowthemes. 


HTML Description

I had planned to make paid e107 theme with this template  because I have extended licence for any personal and commercial use. But I hadn't time to do it. Or better the reason for it? There is problem with multipurpose HTML templates - they have too much functionality. For example, if I wanted to use styling testimonials, I needed to have very good testimonial plugin (easy templated and with a lot of settings). 

I decided now to use it on my demo site, but I did it very quickly way. It's one page site so it was easy.  

But this theme is unigue, I really like how it's coded, very simple and very clean. And I found that the way how I was doing JM Canonical plugin - with discussion and asking for new features from somebody - it was something what helped me to finish things. 

So I created Forum topic for Cayman theme. If there is any interest, I will take Starter theme and I will start from the beginning. Or I use version I have already for my demo...  Depends on demands. Try to image that you have access to html template (or you bought it to support authors) . What do you want to know to create e107 theme of it?  Would you need more homepage layouts? Possibility to select footers? Just write your ideas on forum. 


NightVision 2 theme for e107

 Jimako    12 Jun 2018 : 18:45
 themes    Themes


New ported HTML template for version 2 with bootstrap support

There is available no-responsive theme for old version but update looked more time consuming. 

This is new porting, added bootstrap support etc. 


This is lite version, so only basic e107 features are supported. If you need more, create topic on related subforum.

I can now extend this theme if there is interest




This theme can be downloaded from Theme manager too, but new updated will be available just on this site.