Skip to main content
Recent Posts
2
Addons / Re: Embedding a webpage on front
Last post by Hometutor -
Quote from: Spuds – :point_up_2:exactly.

It can do many things, but given your recent message about I/O limits, it may not be the best thing for you to use in this case.

You could do something like what we have on this site, where there is an HTML landing page for your base site URL and then the forum is in a /forum or /community directory.   On this site I neglected to add in the top menu button to navigate back to the home page, but that is simply an over site.

That's what I ended up doing. I'll give the details below. Even as someone who doesn't work with forums that much, perhaps my slightly outside of the box idea may give someone a spark.

In researching the forum I found a mention of using htaccess. I went with that

I set up htaccess so if there were any characters in the root or index.php such as "?" it did not get redirected to the start page.

On the start page I put in typical sales stuff for my client

A tool he wanted on the site which he tried to place in a forum post (didn't work but this is a very end user and nice guy)

At the top I placed in a green background links to Register, Login and by adding a ? to the end of the link the main forum index.

I then used a multifeedreader PHP script I wrote to embed the category feeds separately on the start page. Nice little SEO advantage due to the repetition of the keyworded forum title with the category title at the end. I did the categories separately so I could control the order while getting titles and board names.

Since I needed to assume no user knew anything about forums I used Simpleads to create button menus for both the forum and for going back to the start page at the top of each post.

It's a solution I'm happy with for now. Adds the ability to use full HTML and CSS  for things such as my client's financial calculator and the ease at which end users can add posts via the forum.

If anyone needs anything I wrote to do this you're welcome to it.

I thank everyone for their help both in the past and present.

Rick
3
Support / Re: How can I reduce resources?
Last post by Spuds -
As others said, if its disk I/O then you need to reduce your reads/writes.  In no specific order, things to try, most of which were already recommended.

- no guests
- no bots or very limited access via permissions
- reduce attachment image sizes (there is an attachment image resizing addon)
- If you use a lot of images in your posts, lazy loading may help (there is an addon)
- use cache, especially if your host has apcu or memcache available.  If not and you have to use filebased, only do so if your host has enabled (or really not disabled) zend opcache.
- if your site has legit traffic, and you intend to grow more, a better hosting plan, or your own vps.
4
Addons / Re: Embedding a webpage on front
Last post by Spuds -
:point_up_2:exactly.

It can do many things, but given your recent message about I/O limits, it may not be the best thing for you to use in this case.

You could do something like what we have on this site, where there is an HTML landing page for your base site URL and then the forum is in a /forum or /community directory.   On this site I neglected to add in the top menu button to navigate back to the home page, but that is simply an over site. 
7
Support / Re: How can I reduce resources?
Last post by tino -
Is it a file I/O, database limit or a bandwidth?

If it’s database you can cache some results to remove the usage, if it’s file you can configure PHP-FPM to cache and optimise the PHP files. If it’s bandwidth make sure gz compression is enabled on all media files where pratical.
8
Support / Re: How can I reduce resources?
Last post by Steeley -
Quote from: Hometutor – I'm using shared hosting and often going over my i/o limit. Is there a way to reduce my resource usage?

Rick

  • Graphics and media are intense resource/bandwidth consumers. Start there.  As for "under-the-hood" stuff, I'll defer that to Spuds, etc..
  • This may help point you in some beneficial directions: https://developer.mozilla.org/en-US/docs/Learn/Performance/web_performance_basics
  • Try lots of "no follows" for the Webcrawlers.. - no point feeding them all your site pages, graphics, videos, etc..
  • Limit what guests can see..
Last but not least, see your logs and who your biggest users are and see what they are doing. If you don't like it, kick them off..  :imp: :stuck_out_tongue_closed_eyes: