Advertisement:

Author Topic: Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)  (Read 565134 times)

Offline teos55

  • Jr. Member
  • **
  • Posts: 376
  • Gender: Male
    • Culturel heritage photography blog
Re: Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)
« Reply #340 on: December 25, 2012, 10:12:50 AM »
SMF 2.0.3  default theme  curve    Simple Portal  2.3.5  shout box enabeled ,    Smileys

  Read all the topic from time to time, applied some of them where applicable, avatars etc.

  Was facing performance issues with my site, home page comes very slowly ...

 Removed some mods, do some maintenance, no help.

 While dealing with smileys, I've noticed that some manualy added smileys to aspecific simeley folder by me, are not in other smiley folders,so  receving warnings.
I didnt pay attention to that for a while, but today I copied the missing smileys to other smiley dirs, that system is reporting as missing.
  Voola  ...  The page loads faster then before ...

I dont know how is applicable to all themes and variations  but can you pls check your systems and report accordingly.

It might be a considance, then I'll delete this post ...
Give it a try ...

( moving these smileys to a subdomain might be an alternative, I haven tried yet)
« Last Edit: December 25, 2012, 10:34:44 AM by teos55 »

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
Hi folks.

Just wanted to doublecheck though I am going to move my avatars right now:)

I'm running SMF 2.0.3

I've created a new directory http://www.mydomain.com/avat

Am I supposed to put the entire URL in the "Specific catalouge" box or just /avat?

After I've done that I just put in the url http://www.mydomain.com/index.php?action=manageattachments;sa=moveAvatars in my browser, and that will move the avatars over?

Thanks

Chris

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
Did the above but the avatars does not move over to the new directory.

New avatars ends up there but the old ones are still in the old directory, please advice.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
That would be because you did not read the instructions properly. The URL you used is for 1.1.x, the URL for 2.0 is index.php?action=admin;area=manageattachments;sa=moveAvatars as per the first post in this thread.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
That would be because you did not read the instructions properly. The URL you used is for 1.1.x, the URL for 2.0 is index.php?action=admin;area=manageattachments;sa=moveAvatars as per the first post in this thread.

Used that one too, says the directory is not writeable.

The new /avat directory is set to 777.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
Did you tell it to actually use /avat ? /avat means something different to SMF (and indeed any operating system) than it does to you. What is the normal attachments path that SMF tells you it's using?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
Did you tell it to actually use /avat ? /avat means something different to SMF (and indeed any operating system) than it does to you. What is the normal attachments path that SMF tells you it's using?

Here is what the backoffice looks like, see pics below.

The normal path would be /avatars.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
Except the path isn't /avatars at all. The actual path is /hermes/bosweb/web062/b622/nf.adelm...something.../avatars

And as such, the path you need to use for your new avatars folder is also going to be something like /hermes/bosweb/web062/b622/nf.adelm...something... but I don't know what it will be for sure...

I don't really know how to explain the problem, except that the domain is like a shortcut to several layers down in the actual server but you can't skip them.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
Ok, so if the newly created directory is /avat then I would use  /hermes/bosweb/web062/b622/nf.adelm...something.../avat as
url to the specific catalouge for uploading (pic 2)?

Here is the original thingy: /hermes/bosweb/web062/b622/nf.adelmetallforumse/public_html/avatars

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
If the newly created directory is /avat, you will use /hermes/bosweb/web062/b622/nf.adelmetallforumse/public_html/avat as the full path that it needs.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
If the newly created directory is /avat, you will use /hermes/bosweb/web062/b622/nf.adelmetallforumse/public_html/avat as the full path that it needs.

Ok, and what goes where? Do I have to do the change on more places then in the "specific area" and leave the toparea so to speak as is?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
You just put that in the one box that was giving you an error just now, and that should be all the changes you need to make.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline crobbe

  • Jr. Member
  • **
  • Posts: 106
    • Ädelmetallforum
You just put that in the one box that was giving you an error just now, and that should be all the changes you need to make.

That worked out pretty well I can tell you.

Huge thanks.

Offline Opentoe

  • Jr. Member
  • **
  • Posts: 105
Re: Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)
« Reply #353 on: February 08, 2013, 08:05:42 PM »
When some of these recmmendations there is code that needs to be entered in. Where is the easiest way to enter this code in? Is there an input box somewhere that SMF has?


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,367
    • StoryBB/StoryBB on GitHub
Re: Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)
« Reply #354 on: February 08, 2013, 08:07:05 PM »
Most of the 'code' suggestions are SQL queries, which should be executed from phpMyAdmin. Not all of them are applicable for 2.0.

Though honestly the first step, regarding avatar changes is by far the most important to do.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline kevin.michiels

  • Semi-Newbie
  • *
  • Posts: 42
Hi
I had some big problems lately with this(move of avatars directory) so I decided to return things to what they where before.
The attachment directory.

Now when users upload avatars they are put in the original attachment folder = GOOD;
The only thing I can't mange to do is the current ones. Old Members profile pictures are still directing to the old non existing directory(avs).
I want to move the old avatars back to the attachment folder(attachments).
How can this be achieved ? Cause the index.php?action=manageattachments;sa=moveAvatars is not working.

to make things clear, I want to revert the avatar move explained above.

Offline solewind

  • Semi-Newbie
  • *
  • Posts: 29
    • Backlink Commando Reviews
My appreciate. I follow your guide to make some modification on my forum and it gets much faster now. I haven't done all the modification yet as I'm a newbie. I just did the basic improvement but it does work! Gotta do the intermediate improvement tml. Thanks again for your useful tips.

Offline panelpro

  • Semi-Newbie
  • *
  • Posts: 72
Will displaying the recent topic using the php code here [ http://www.doncaprio.com/2013/01/how-to-display-rss-feeds-from-a-website-in-php.html ] have any effect on the server ?

Offline briggz5d

  • Semi-Newbie
  • *
  • Posts: 54
  • Gender: Male
  • Ngbuzz Forum
    • soki.briggs on Facebook
    • @Briggz5d on Twitter
    • Ngbuzz Forum
This is just awesome, all the basic improvements have helped a lot to improve my site.
I'm yet to move avatars tho (seems technical)

About Pruning inactive members - I kinda need their emails for Newsletters. So even if they never login or post i still have a large reach when sending (HTML) newsletters - this brings some of them back.

Google page speed still suggest improvements to server response time for theme icons and recommend css sprites (which is too complicated)

Thanks

Offline iamjanco

  • Semi-Newbie
  • *
  • Posts: 18
  • Gender: Male
    • High Peaks Publishing
Re: Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)
« Reply #359 on: September 18, 2013, 11:00:58 AM »
Great thread, I do have some questions though. A little background first:

We've been using a 1.x version of smf for some time now on a couple of online gaming sites we developed and it's worked great. After reviewing the various forum packages that are currently available (especially reviews/comments made by their users), I decided smf 2.x would suit my needs best on my own WordPress-based site, which I host on a VPS that I use for development purposes (that means no other production sites are hosted there).

Anyway, I figured I'd first get things set up in a local copy of WAMP running on Win 7 64-bit, just to check it out. I use WAMP 2.4, which until now, has been okay for everyday stuff (Apache:2.4.4, MySQL: 5.6.12, PHP: 5.4.12). By default, WAMP isn't set up to run INNODB and you have to go through a slew of mods to run INNOB in my local configuration (meaning more overhead of course, more than I've got the time for at the moment).

Now for my question and the reason I'm asking it:

After installing smf 2.0.5 on my local machine, configuring it, and adding categories and boards, I ran into the category ordering issue other folks have been experiencing elsewhere. So I searched Google, and found a thread on this forum (http://www.simplemachines.org/community/index.php?topic=500619.0) that led me to this thread. Now it could be that my locally installed copy of smf is having problems with WAMP 2.4 the way its developer has it set up out of the box and/or because of the versions of PHP and MySQL that are used in WAMP 2.4, but does anyone have any other idea why the issue is occurring when using smf straight out of the box (that is, before making any changes to the tables using MyISAM)?

Cheers, any additional insight would be appreciated.
« Last Edit: September 18, 2013, 01:06:54 PM by iamjanco »