Advertisement:

Author Topic: Optimus  (Read 225784 times)

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #780 on: October 22, 2020, 02:48:02 AM »
At first, make sure that your database supports utf8mb4.
At second, add
Code: [Select]
$db_character_set = 'utf8mb4'; into your Settings.php file.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Optimus
« Reply #781 on: October 22, 2020, 03:33:07 AM »
That only works if you’re already using UTF-8, and is not a recommended or supported configuration. Especially when you realise the emoji are supported in posts and other areas *without needing this step*.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #782 on: October 22, 2020, 03:48:54 AM »
Yes, but this line
Code: [Select]
$context['page_title_html_safe'] = $smcFunc['htmlspecialchars'](un_htmlspecialchars($context['page_title'])) . (!empty($context['current_page']) ? ' - ' . $txt['page'] . ' ' . ($context['current_page'] + 1) : ''); in Subs.php does not allow to display emoji properly, if to use $smcFunc['htmlspecialchars'] on saving forum title/description.

Neol did not provide any data about his configuration, I gave advice based on the data from my test forum.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Optimus
« Reply #783 on: October 22, 2020, 04:00:29 AM »
The ampersand is double encoded at that point. Or you could borrow the code in $smcFunc to fix just the emoji.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #784 on: October 22, 2020, 04:57:24 AM »
Ok, I will add a fix for that in the next version.

Offline Massl

  • Jr. Member
  • **
  • Posts: 338
Re: Optimus
« Reply #785 on: October 22, 2020, 05:37:59 AM »
Hi, does anyone know where i can download version 2.8.3?

Offline mmmusty

  • Newbie
  • *
  • Posts: 3
Re: Optimus
« Reply #786 on: November 10, 2020, 03:24:30 PM »

Hello.

I installed Optimus for forum using version 2.1 RC3. But it does not create a sitemap. When I click on the sitemap in the footer, I get a 404 error.

The sitemap.xml file was never created.

Can you help me?

Note:(I know very little English. I had to translate the text.) :(

Offline pocttopus

  • Full Member
  • ***
  • Posts: 513
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Optimus
« Reply #787 on: December 13, 2020, 11:53:03 AM »
Hello, I am receiving a lot error messages in error log.
How can I fix them?

Code: [Select]
Type of error: General
8: Constant OP_VERSION already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 87)
Code: [Select]
Type of error: General
8: Constant OP_NAME already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 86)

Thanks!

Offline pocttopus

  • Full Member
  • ***
  • Posts: 513
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Optimus
« Reply #788 on: December 20, 2020, 02:08:44 PM »
Hello, I am receiving a lot error messages in error log.
How can I fix them?

Code: [Select]
Type of error: General
8: Constant OP_VERSION already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 87)
Code: [Select]
Type of error: General
8: Constant OP_NAME already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 86)

Thanks!

No help? Anyone?  ???

Offline wylekk

  • Semi-Newbie
  • *
  • Posts: 50
  • Gender: Male
    • WYLEK.RU
Re: Optimus
« Reply #789 on: December 20, 2020, 05:03:32 PM »
More errors are displayed :-\

Code: [Select]
Тип ошибки: Критические
The database value you're trying to insert does not exist: var_modified_reason
Function: modifyPost
 http://www.sub.ru/index.php?action=post2;board=11.0;start=0;msg=8370;aecb1c67557=8c6f7709089a41020279a3ae23fdcfdd
 /home/admin/web/sub.ru/public_html/Sources/Subs-Post.php (Строка 2275)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,287
  • Gender: Male
    • Kindred-999 on GitHub
Re: Optimus
« Reply #790 on: December 20, 2020, 05:45:02 PM »
That has nothing to do with this mod. It's the reason modified mod...  and it looks like it did not fully install
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,444
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Optimus
« Reply #791 on: December 26, 2020, 01:09:25 PM »
Hey Bugo, I ran that xhtml checker and my site came back with 1 error. Wondering if this is part of Optimus mod.

Error: Bad value x-dns-prefetch-control for attribute http-equiv on element meta.

Code: [Select]
<meta http-equiv="x-dns-prefetch-control" content="on">

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #792 on: December 26, 2020, 03:22:58 PM »
It is a part of Light Portal, will be fixed in the next version.

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,444
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Optimus
« Reply #793 on: December 26, 2020, 03:32:03 PM »
It is a part of Light Portal, will be fixed in the next version.
Awesome. Thank you. ;)

Online @rjen

  • Sr. Member
  • ****
  • Posts: 735
  • Gender: Male
    • FJR-club Nederland
Re: Optimus
« Reply #794 on: December 29, 2020, 06:17:27 PM »
Just updated my site to 2.6.6.

Find attached the updated dutch language files...
Running SMF 2.0 with Tinyportal 2.0.1 at www.fjr-club.nl
Testing SMF 2.1 with Tinyportal 2.1.0 at test2.fjr-club.nl

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #795 on: December 31, 2020, 10:21:50 AM »
Thanks :)

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,444
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Optimus
« Reply #796 on: January 14, 2021, 05:47:36 PM »
Where do i find the css for the topic kewords? I want to remove the roundframe around it but can't seem to locate it.

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,662
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Optimus
« Reply #797 on: January 14, 2021, 10:56:43 PM »
/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.

Offline Mick.

  • Customizer
  • SMF Hero
  • *
  • Posts: 5,444
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Optimus
« Reply #798 on: January 15, 2021, 07:21:28 AM »
/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.
Found it. Thank you.

Offline 6o6ep84

  • Newbie
  • *
  • Posts: 6
Re: Optimus
« Reply #799 on: January 26, 2021, 09:09:29 AM »
Hi Bugo.
I updated Optimus Brave 1.8.6.1. to 2.6.6. Updated php to 5.6. Installation without errors 2.6.6. The forum stopped showing. A clean slate. The admin panel works without errors. smf 2.0.15 + SimplePortal 2.3.7