News:

Wondering if this will always be free?  See why free is better.

Main Menu

Optimus

Started by Bugo, February 15, 2011, 03:48:12 PM

Previous topic - Next topic

muratbora

I could not find " scheduled task "
Can youshow path as > > >?

Pls see my dasboard screenshoot of OPTIMUS MOD...

Bugo

I've marked the path on your screenshot.

muratbora

I checked , it is already marked under scheduled task  ,
But I do not see a sitemap is created...

Massl

Hi Bugo, thanks for the last 2.4.6  :)

When the task is executed I have the following error

Hook call: la funzione "Bugo\Optimus\Addons\PortaMx::makeSefUrl" nel file /home/user2560/public_html/Sources/Optimus/addons/PortaMx.php non può essere chiamata.
https://www.site.name/index.php?action=admin;area=scheduledtasks   
d6ca350f5ccdacbf85525e62146b8c6f
Tipo di errore: Generale

The callable Bugo\Optimus\Addons\PortaMx::makeSefUrl could not be called.
https://site.name/index.php?action=admin;area=scheduledtasks

Optimus 2.4.6 and SMF 2.1 RC2

Bugo

#604
PortaMx.php, replace this line:
add_integration_function('integrate_optimus_sitemap', __NAMESPACE__ . '\PortaMx::makeSefUrl', true, __FILE__);

add_integration_function('integrate_optimus_sitemap', __NAMESPACE__ . '\PortaMx::makeSefUrls', true, __FILE__);

Massl


Portugal

Thanks for the new update Bugo, now i think my sugestion is implemented!
Excelent work!


Diego Andrés

Can I update safely from 1.8.7 by just replacing the files? (SMF 2.0)

SMF Tricks - Free & Premium Responsive Themes for SMF.

Bugo

It is better to remove the previous version, then install the current one. Save your settings, if you want.

@rjen

Question...

we ran into an issue with TinyPortal that seems to be caused by Optimus.

In SMF2.0.15 the BBC code editor in blocks and articles is missing smileys and BBC buttons when Optimus is installed & a Twitter account name is set in Meta data. This only happens if the Twitter account is entered.
Using package: optimus_2.2.1_smf20.zip

This issue does not occur in SM2.1  using package optimus_2.4.6_smf21.zip

I tracked down the exact cause in the Optimus code, and it is in the file Integration.php

In 2.2.1 this code is used:
if (!empty($modSettings['optimus_tw_cards'])) {

Where 2.4.6 uses this code:
// Twitter cards
if (!empty($modSettings['optimus_tw_cards']) && isset($context['canonical_url'])) {

[/code]

The check for $context['canonical_url'] is missing in the 2.2.1 code
As a result it seems that a $twitter variable is being incorrectly set on admin pages, causing the bbc editor to break.

Is this left out on 2.2 on purpose? I am asking because it was there in Optimus version 1.9.7.2, but appears te be removed with 1.9.9..
If not, updating this line of code to this fixes the conflict..


if (!empty($modSettings['optimus_tw_cards']) && isset($context['canonical_url'])) {



Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Bugo

Thanks, I've updated the Github repository.

@rjen

Thanks, that does the trick!
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

sirfpsycho

Add  to the sitemap only those topics that have the number of replies is more than

1

It is the default value.
If I set 0 then will it add all of the posts? Or any problem will come?

Bugo

Approved topics only.

alitech

Hi Bugo

I have been reading all the questions and your patient replies to all queries. Hats off to you.

I had a question of my own.

Do you know if there is a reason why a link to the XML sitemap wouldnt appear on the footer on 2.0? Do you think it has something to do with the theme I may have installed?

If I manually go to the sitemap URL, I can read it but I it does not update even after I run the task manually.

Just some background. I reinstalled SMF 2.0. I tried 2.1 but not many mods available fo I am trying 2.0 however I think I am having cache issues as it takes a while for the site to show any changes once they are made.


Bugo

Quote from: alitech on October 11, 2019, 10:48:02 AM
Do you think it has something to do with the theme I may have installed?
I think so.

muratbora

The callable \Bugo\Optimus\Integration::scheduledTask could not be called.

I am seeing in error LOG above given error code, is something to correct or?

njtweb

Hi @Bugo do you know if Facebook changed it's API? Smaller 1st images stopped parsing in debugger 2 days ago.

Ex.
h++ps://www.youthhockeyinfo.com/index.php?topic=1406

Thank you

engrz

I have just tried to upgrade Optimus and got HTTP 500 error

Now my site gone offline www.engrz.org

Bugo

Remove /Sources/Optimus dir and uninstall the mod.
Did you install the optimus_2.3_smf20.zip package?

Advertisement: