Optimus

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

Previous topic - Next topic

Bugo

At first, make sure that your database supports utf8mb4.
At second, add $db_character_set = 'utf8mb4'; into your Settings.php file.

Arantor

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*.

Bugo

Yes, but this line $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.

Arantor

The ampersand is double encoded at that point. Or you could borrow the code in $smcFunc to fix just the emoji.

Bugo

Ok, I will add a fix for that in the next version.

Massl

Hi, does anyone know where i can download version 2.8.3?

mmmusty


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.) :(

pocttopus

Hello, I am receiving a lot error messages in error log.
How can I fix them?

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)

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!

pocttopus

Quote from: pocttopus on December 13, 2020, 11:53:03 AM
Hello, I am receiving a lot error messages in error log.
How can I fix them?

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)

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?  ???

wylekk

More errors are displayed :-\

Тип ошибки: Критические
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)

Kindred

That has nothing to do with this mod. It's the reason modified mod...  and it looks like it did not fully install
Слaва
Украинi

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."

Mick.

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.

<meta http-equiv="x-dns-prefetch-control" content="on">

Bugo

It is a part of Light Portal, will be fixed in the next version.

Mick.

Quote from: Bugo on December 26, 2020, 03:22:58 PM
It is a part of Light Portal, will be fixed in the next version.
Awesome. Thank you. ;)

@rjen

Just updated my site to 2.6.6.

Find attached the updated dutch language files...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Bugo


Mick.

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.

Bugo

/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.

Mick.

Quote from: Bugo on January 14, 2021, 10:56:43 PM
/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.
Found it. Thank you.

6o6ep84

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

Advertisement: