CodeWalrus

Development => Web => Topic started by: Jokeriske on February 06, 2016, 08:21:27 pm

Title: SMF mods
Post by: Jokeriske on February 06, 2016, 08:21:27 pm
Does anyone have some suggestions on some simple machines forum mods?

i was wondering if there are some usefull ones out there.
Title: Re: SMF mods
Post by: DJ Omnimaga on February 07, 2016, 12:41:09 am
Which ones do you use so far? If you plan to have the front page integrated into the forums, then SimplePortal might be a good idea.

Also, Stop Forum Spam, Simple Audio Video Embedder, Users Online Today, Super Simple Thread Tags and such mods are some that we use that can be very handy.
Title: Re: SMF mods
Post by: Jokeriske on February 28, 2016, 11:25:56 am
Quote from: DJ Omnimaga on February 07, 2016, 12:41:09 am
Which ones do you use so far? If you plan to have the front page integrated into the forums, then SimplePortal might be a good idea.

Also, Stop Forum Spam, Simple Audio Video Embedder, Users Online Today, Super Simple Thread Tags and such mods are some that we use that can be very handy.


oh i didint realise someone replied on this topic, i tried simple portals but it doesent seem to work :/
Title: Re: SMF mods
Post by: DJ Omnimaga on March 03, 2016, 06:02:01 am
Strange that it didn't work for you. Maybe it conflicted with other mods. One thing, though: Do not use HHVM with SMF. We tried in the past and the entire site was even more broken than Big Rigs: Over the Road Racing. You could ask support in the Simpleportal mod topic on SMF or their official site.
Title: Re: SMF mods
Post by: Jokeriske on March 15, 2016, 12:40:50 pm
yeah it did conflict with other mods, but ill try to fix it :)
Title: Re: SMF mods
Post by: DJ Omnimaga on March 15, 2016, 05:50:18 pm
Just make sure to not modify the system files yourself, though. You can, but only if you keep a backup of the files before any modifications were made. Else, if you try to update later it can cause problems.
Title: Re: SMF mods
Post by: DJ Omnimaga on April 02, 2016, 06:37:00 am
On a side note, this is not mod-related, but still related to SMF customizing:

If you edit your theme CSS and it doesn't update, but you don't want to force all users to reload their cache to see the changes immediately, then I found a trick to force an immediate refresh:

Basically, in the following code in index.template.php

   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css?fin22" />';

Change the ?fin22 to something like ?fin23. This might be something that @Streetwalrus and @aeTIos might want to know as well, for future theme editing. :P
Title: Re: SMF mods
Post by: Jokeriske on April 02, 2016, 06:56:20 am
Quote from: DJ Omnimaga on April 02, 2016, 06:37:00 am
On a side note, this is not mod-related, but still related to SMF customizing:

If you edit your theme CSS and it doesn't update, but you don't want to force all users to reload their cache to see the changes immediately, then I found a trick to force an immediate refresh:

Basically, in the following code in index.template.php

   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index', $context['theme_variant'], '.css?fin22" />';

Change the ?fin22 to something like ?fin23. This might be something that @Streetwalrus and @aeTIos might want to know as well, for future theme editing. :P



Thanks for the tip! :D