Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 19:11
    Moc commented #4687
  • Aug 11 18:54
    Moc commented #4687
  • Aug 11 18:36
    Moc commented #4687
  • Aug 10 20:09
    Jimmi08 labeled #4846
  • Aug 10 20:09
    Jimmi08 opened #4846
  • Aug 10 13:33
    ghelammalek starred e107inc/e107
  • Aug 10 01:56
    dimmskii commented #4844
  • Aug 10 01:54
    dimmskii commented #4844
  • Aug 09 23:02
    CaMer0n closed #4844
  • Aug 09 23:02

    CaMer0n on master

    #4844: File Inspector: Do not t… Merge pull request #4845 from D… (compare)

  • Aug 09 23:02
    CaMer0n closed #4845
  • Aug 09 23:02
    CaMer0n commented #4845
  • Aug 09 12:07
    Jimmi08 commented #4498
  • Aug 09 12:00
    Jimmi08 commented #4498
  • Aug 09 11:25
    Jimmi08 commented #4498
  • Aug 09 11:24
    Jimmi08 commented #4498
  • Aug 08 13:07

    Moc on master

    Clarify e_event examples in _bl… (compare)

  • Aug 08 08:16
    codeclimate[bot] commented #4845
  • Aug 08 08:16
    codeclimate[bot] commented #4845
  • Aug 08 07:58
    Deltik synchronize #4845
Jimako
@Jimmi08
I am not right guy for this, but you can include class2 in second app, or use file_get_contents() instead iframe, and you can use parameters with iframe if it is the same server - some solution with passing parameters via iframe with javascript. I use way when in second app - when user log in, they are login to first app too (Deltic helped me, something as headless login) So if there is not crossdomain issue (normally with iframe from other domain), there is some way.
Albert Drent
@aducom
@Jimmi08 I'll investigate further. Thnx for your answer. I never dove into the plugin stuff and my experiments with changing the wrapper were not ... ehm successful :-P But there is a lot to learn.
Tijn Kuyper
@Moc
@Deltik do you have some ideas for @aducom ?
Deltik
@deltik:matrix.org
[m]

@aducom: e107 has a service locator called \e107 (source). You get access to it if you load class2.php. \e107 can be used in a plugin (I think…?).

There is \e107::getUser(), which returns the currently logged in user as the \e_user model.

2 replies
Jimako
@Jimmi08
Hi, this code is: "use JetBrains\PhpStorm\ArrayShape; use JetBrains\PhpStorm\Deprecated;" - is in core bootstrap5 theme. Is it an intention?
2 replies
Jimako
@Jimmi08
Hi all, was there any change in AdminUI data update? Before there was message Nothing updated as no changes were made if you just resave data, now I am still getting Succesfull update and admin_ui_updated event is triggered.
1 reply
Jimako
@Jimmi08
By the way, did you remember how latest changes in themes broke all my premium themes and THEME_LAYOUT was not defined in theme.php? They say that is no way how to fix it... Somebody found it - adding e_theme::initThemeLayout(); to theme.php fixed this and old Gaia now works for 2.3.3. But what is important, my old theme plugins work too. I have no idea how this is related to html/php themes and why it works (or when it works), but old Gaia is fixed now.
Albert Drent
@aducom
@Jimmi08 That is good news for you, but actually bad news for me, as I had to abandon one of your premium themes I used and rebuild my site on a new theme. Could have saved me a lot of effort. But it is what it is...
Jimako
@Jimmi08
Really? I just saw it, good work. There are no my themes anymore, so you did right thing.
Tijn Kuyper
@Moc

By the way, did you remember how latest changes in themes broke all my premium themes and THEME_LAYOUT was not defined in theme.php? They say that is no way how to fix it... Somebody found it - adding e_theme::initThemeLayout(); to theme.php fixed this and old Gaia now works for 2.3.3. But what is important, my old theme plugins work too. I have no idea how this is related to html/php themes and why it works (or when it works), but old Gaia is fixed now.

These things need to go on Github as they are missed in the chat here. Might be an unintentional bug.

Jimako
@Jimmi08
@Moc what do you mean as bug? That THEME_LAYOUT is not available in theme.php or in plugin e_shortcodes? It is result of new way how themes work. I reported this and asked for any workaround for my old themes maybe year before. That solution is workaround that dimante found. My problem was that I used plugin for advanced layout based on actual layout in THEME_LAYOUT. One line of the code would help me at that time and spare me weeks of trying to fix all themes by moving this code to theme itself. Now it is too late, nothing left.
bluesky0341
@bluesky0341
hi
bluesky0341
@bluesky0341

i can not want that news display on homepage

how can i do?

seth7609
@seth7609

Hello,

I was looking at setting up a new site and using a CDN. Does anyone have any recommendations on a CDN provider that works well with e107?

3 replies
kreos
@kreossino
Hello,
when I write in menu / body or in page / text, even in textareas WYSIWYG I can't insert a youtube video. I copy the link of the video on youtube, I open insert media manager-video, I select it, I press save, the page remains empty. it's a bug?
leo
@tgtje
@kreossino looks like something changed (not in use regular).so yes you seem correct, however take a look movie
kreos
@kreossino
@tgtje thanks for your quick reply
I was hoping for a complete solution, but that's already fine.
kreos
@kreossino

Hello,
I need someone to help me create a block in hero_menu

<div class="carousel-item item {HERO_SLIDE_ACTIVE}">

<div class = "d-lg-none d-block"> {HERO_MEDIA: class = img-responsive img-fluid d-block w-100} </div> </div>
, to be inserted in views that contain only this image and that changes the images to position it in the areas of the template.

25 replies
lokithemischievous
@lokithemischievous
I'm running into an issue with the admin portion of e107. When I log in and attempt to go to it, I get nothing but a blank page. I've attempted this in multiple browsers , cleared browsing history and tried an private/incognito mode to no avail.
1 reply
kreos
@kreossino
@Jimmi08
Schermata 2022-07-19 alle 11.01.36.png
@Jimmi08
Schermata 2022-07-19 alle 11.01.50.png
the image you see below remains fixed
kreos
@kreossino
@Jimmi08
Schermata 2022-07-19 alle 11.23.35.png
kreos
@kreossino
Schermata 2022-07-19 alle 11.47.01.png
lokithemischievous
@lokithemischievous
@Jimmi08 - PHP version 8.1, e107 version 2.3.2
25 replies
DBSdevelopment
@DBSdevelopment
@fizi we would like to license one of your themes for our use and remove the reference at the bottom. Can you contact me regarding costs?
Jimako
@Jimmi08
Hi, Chrome extention is not available anymore? I have new comp, I synced extensions, e107 was ignored.
Jimako
@Jimmi08
Maybe somebody will help - moving site (PHP 7.2, core 2.1.6) to localhost, xampp, 8.1. Of course, white page, it is ok, but why there are no errors in error.log? I checked php.ini and it sets display errors on.
7 replies
Jimako
@Jimmi08
If there is a fatal error for core LANs, should I put it into one issue (which already exists) or separate one?
2 replies
fizi
@fizi
@DBSdevelopment Feel free to use it.
Jimako
@Jimmi08
Hi, is it not allowed/supported more than one event for some trigger? I have 2 plugins that should be triggered in the third plugin and only first one is executed. After digging in the code I found there is break; after first success. Is is intention?
DBSdevelopment
@DBSdevelopment
@fizi Thank you
zeramah
@zeramah
hi,when I use the sef feature for news, it's no longer separate between news and extend even though on the extend page I've directed it to a different layout from the news page
4 replies
Dmitri
@dimmskii
[Mon Aug 08 00:33:58.185203 2022] [php7:error] [pid xxxxxx] [client xxx.xxx.xxx.xxx:xxxxx] PHP Fatal error: Uncaught RuntimeException: SplFileInfo::isDir(): open_basedir restriction in effect. File(/var/www/www.mydomain.com/htdocs/..) is not within the allowed path(s): (/var/www/www.mydomain.com/htdocs/) in /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php:608\nStack trace:\n#0 /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php(608): SplFileInfo->isDir()\n#1 /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php(594): file_inspector->inspect_existing()\n#2 /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php(932): file_inspector->inspect()\n#3 /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php(156): file_inspector->scan_results()\n#4 /var/www/www.mydomain.com/htdocs/e107_handlers/admin_ui.php(1080): fileinspector_admin->init()\n#5 /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php(249): e_admin_dispatcher->__construct()\n#6 {main}\n thrown in /var/www/www.mydomain.com/htdocs/e107_admin/fileinspector.php on line 608, referer: https://www.mydomain.com/e107_admin/fileinspector.php?core=none&type=tree&missing=1&noncore=1&oldcore=1&scan=a4807caec4e844118a8c837616354631&mode=main&action=run
File scanner wants to access docroot/.. for some reason
I have php admin value base_opendir set to my doc root in my vhost
Temp is within docroot
But does e107 require traversal all the way down to root of my unix or something
Deltik
@deltik:matrix.org
[m]
@dimmskii: I think that error is due to an oversight on my part. Can you try this patch to see if the problem persists?:
diff --git a/e107_admin/fileinspector.php b/e107_admin/fileinspector.php
--- a/e107_admin/fileinspector.php    (revision a181afcbd80ac6434782816192ed6ca23c3793d0)
+++ b/e107_admin/fileinspector.php    (date 1659944570925)
@@ -601,7 +601,11 @@
         $absoluteBase = realpath($baseDir);
         if (!is_dir($absoluteBase)) return;

-        $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($baseDir));
+        $iterator = new RecursiveIteratorIterator(
+            new RecursiveDirectoryIterator(
+                $baseDir, FilesystemIterator::SKIP_DOTS
+            )
+        );
         foreach ($iterator as $file)
         {
             $this->sendProgress(1);
Deltik
@deltik:matrix.org
[m]
Issue filed for tracking: e107inc/e107#4844
1 reply
Dmitri
@dimmskii
@deltik:matrix.org Yup. File inspector successfully scans to 100% and the page displays. Tail -f error.log outputs nothing in the process ))
Dmitri
@dimmskii
Many thanks, btw!
Deltik
@deltik:matrix.org
[m]
Excellent!
Taffman
@Taffman
I'm trying to enable Https on my site. Everything seems to work fine except login.php. on completing the form and clicking the 'Login' button I get and insecure connection warning. I can ignore the warning and log in anyway, but some browsers won't allow the user to proceed posting the form data via an insecure link. Anyone know how to fix this?
2 replies
Taffman
@Taffman
I'm using redirect in my .htaccess file can't find any hardcode link in login.php either.
Tijn Kuyper
@Moc
Check the following settings:
  • Admin Area > Preferences > Site Information > Site URL - make sure it's set correctly with "https://")
  • Admin Area > Preferences > Security & Protection > Use SSL only - make sure it's enabled.
Taffman
@Taffman
@Moc thanks for this. I missed that setting. All ok now. Thanks all for your help
Tijn Kuyper
@Moc
@Taffman No worries, glad to be of help :)
Alex
@Alex-e107nl

Something different for now, no question but look here, completely built with e107, together with Jimako for the theme, look at https://www.fysiotonvdven.nl/

So everything is possible with e107...

Tijn Kuyper
@Moc
Very cool! Nicely done @Jimmi08 @Alex-e107nl
Jimako
@Jimmi08
Thanks, here is original: https://jayya.e107sk.com/ Awesome what @Alex-e107nl did with it. Now I can delete it :)