Skip to main content
Recent Posts
2
Addons / [ADDON] SANfe: Suppress All Necessary file_exists
Last post by Hj Ahmad Rasyid Hj Ismail -
SANfe: Suppress All Necessary file_exists

- For ElkArte 1.1x
- Manual modifications.

1. Please do your own backup though every installation is backed up automatically.
2. This addon is manual modification only.
3. It suppress all necessary file_exists by adding @ before it.
 
Thank you for using/testing it.


Yours friendly,
Abu Fahim Ismail.

BSD 3 License. Feel free to modify accordingly but keep original and current authors' link(s) if it is in there somewhere. ;)

 


#Change Logs

@Version 1.0.0
- Initial release.
3
General ElkArte discussions / Re: Load time achievement
Last post by Hj Ahmad Rasyid Hj Ismail -
It was a jail / chroot issue. Not jailing / chrooting it allows direct connection to localhost, so that issue alone was fixed.

However, there is no improvement whatsoever, so my guess about it was totally wrong. I got nothing to do with either 127.0.0.1 or localhost connection. Learning on how Elkarte 2.0 Beta 1 php is processing database may be is what I need to find out more.

By the way, converting either from or to 127.0.0.1 to or from localhost, need to be done in database as well as settings file, as the leftovers might render an Elkarte forum inaccessible do to the change of path whether just /web for chrooted site using 127.0.0.1 or /full/path/to/web in localhost setup.

It might be easier to setup a new site for testing, unless you want to have some fun too, which I did.
7
General ElkArte discussions / Re: Load time achievement
Last post by Spuds -
Did you check the hostname lookup setting (just want to be sure its a DB issue and not something else) is off?

The error message appears to be it was not finding the mysqld.sock socket, what setting did you have to change to fix the issue?
8
General ElkArte discussions / Re: Load time achievement
Last post by Hj Ahmad Rasyid Hj Ismail -
I have figure out what's forbidding me from using localhost, so that part is resolved now, I can use it just fine now. Old caches are all cleared. new have been built.

The queries delays are still the same though. It is still around 3 seconds ++ while 1.1 is around 0.02-0.03.

2.0 less queries but longer time.
queries-2.0 beta 1.png

1.1 more queries but lesser time.
queries-1.1.10.png
9
Addons / Re: [ADDON] SimplePortal
Last post by ScottJB -
Thanks, @Spuds !

Is there a way to just have board name and not a link?
I found this line, and tried to edit, but would not work:

Code: (Line) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board']['link'], '</span>

Code: (Tried) [Copy]
<span class="floatright">', $txt['incat'], ': ', $news['board'], '</span>

Yes, I made and edited the text call....