SMF Cumulus

Started by Bugo, February 11, 2011, 10:04:58 AM

Previous topic - Next topic

diegolyanky

Quote from: Bugo on November 25, 2018, 04:37:02 AM
Just resave Cumulus.spanish_es-utf8.php as Cumulus.spanish_es.php in ANSI (Win1251) charset.

Thanks Bugo ... Still not working. Nothing appear into box.

SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Julius_2000

#141
Hi, I need you help!!

I just installed this mod and the second it redirected me to the admin package section I get a blank page for all my forum. It's not accessible anymore. I tried re-uploading my Theme backup but it seems the mod wrote some code somewhere else that affects not just my theme but the whole thing.

I tried using the "parse" option on the mod page but that didn't show any files that might have been edited by it, as it seems.


EDIT:
I removed the Class-Cumulus.php from my "sources" directory and I now get access again. Does anyone know why it crashes my forum?

Bugo

What other mods do you have?

Julius_2000

Sorry for the late reply:


Optimus
Auto Twitter Embed
Simple Audio Video Embedder
FancyBox 4 SMF
SMF Post Prefix
Quick Spoiler
Message Bookmarks
Quick Reply Attachments Button
Snowflakes
SMF 2.1.2 Update

Bugo

I haven't found any problems in my test forum with PHP 7.4, 8.0, 8.1, so I suggest you install the test forum yourself and check each modification and each design theme you use in turn. That way you'll find the source of the problem faster :)

Julius_2000

Thanks, Bugo! Now I need to figure out how to setup an own test forum.

Diego Andrés

I tried this on a test forum and it's really nice, will use it once we upgrade to 2.1.x

SMF Tricks - Free & Premium Responsive Themes for SMF.

saffier

Quote from: Bugo on February 11, 2011, 10:04:58 AMLink to the mod

This mod allows you to display a block of popular topics (or tags) within the Info Center of your forum.

Features
  • You can specify the number of topics
  • You can specify the criterion of popularity rating: by number views or by number replies
  • You can change the cloud block height
  • You can specify the link color and mouseover/hover color
  • You can change the font size and rotation speed

Additional possibility to output data from these mods
  • Topic Rating Bar
  • Simple Classifieds
  • Optimus (for topic keywords)
  • SMF Post Prefix

How to display this cloud on any page of your forum via any portal mod?
Very simply. Just create a PHP block and paste into it:
echo Cumulus::show(true);

This work is licensed under the hxxp:opensource.org/licenses/BSD-3-Clause [nonactive].

hxxp:ko-fi.com/dragomano [nonactive]

I recently installed Camulus mod on my SMF forum.

The installation completed successfully, but afterward, my entire website went down. Attempting to access any page resulted in a 404 Not Found error.

To troubleshoot, I accessed the file manager and went to /public_html/Sources/. I found and deleted a file named Class-Cumulus.php (which appeared to be related to the mod). After deleting it, the website came back online.

However, my error log is now flooded with messages like this:

Hook call: function "Cumulus::hooks#" in file /public_html/Sources/Class-Cumulus.php could not be called

Hook call: The file at path: /public_html/Sources/$sourcedir/Class-Cumulus.php could not be loaded

In just one day, more than 3,000 similar errors have appeared in the error log.

Can you help me get rid of these error messages? Without the need of deep level technical work?

Bugo

In your case, it's enough to simply remove the mod via the package manager. However, if you're interested in helping identify the cause of the error, try disabling (commenting out) each line in the hooks method within the Class-Cumulus.php file one by one:

    public function hooks(): void
    {
        add_integration_function('integrate_admin_areas', __CLASS__ . '::adminAreas#', false, __FILE__);
        add_integration_function('integrate_admin_search', __CLASS__ . '::adminSearch#', false, __FILE__);
        add_integration_function('integrate_modify_modifications', __CLASS__ . '::modifyModifications#', false, __FILE__);
        add_integration_function('integrate_buffer', __CLASS__ . '::buffer#', false, __FILE__);
        add_integration_function('integrate_cumulus_compat', __CLASS__ . '::baseTopics#', false, __FILE__);
        add_integration_function('integrate_cumulus_compat', __CLASS__ . '::topicRatingBarCompat#', false, __FILE__);
        add_integration_function('integrate_cumulus_compat', __CLASS__ . '::simpleClassifiedsCompat#', false, __FILE__);
        add_integration_function('integrate_cumulus_compat', __CLASS__ . '::optimusCompat#', false, __FILE__);
        add_integration_function('integrate_cumulus_compat', __CLASS__ . '::smfPostPrefixCompat#', false, __FILE__);
    }

Advertisement: