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

gorbi


bod22

No chance of getting an old version for 2.0.19? It should still work. Perhaps someone has it?

@rjen

Quote from: bod22 on September 18, 2022, 07:17:16 AMNo chance of getting an old version for 2.0.19? It should still work. Perhaps someone has it?

Find attached the old 2.0 version...
Mind you: no guarantees or support...You cannot view this attachment.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

gorbi

I have 2.7.4 for 2.0.19

bod22

Quote from: @rjen on September 18, 2022, 09:22:44 AM
Quote from: bod22 on September 18, 2022, 07:17:16 AMNo chance of getting an old version for 2.0.19? It should still work. Perhaps someone has it?

Find attached the old 2.0 version...
Mind you: no guarantees or support...You cannot view this attachment.

Thank you! I'll have a look at it.

gorbi


bod22


allbatros

Can I get an extension so it can include pretty URLs links into sitemap.xml?

-Rock Lee-

Quote from: allbatros on October 09, 2022, 06:11:56 PMCan I get an extension so it can include pretty URLs links into sitemap.xml?

Of course you can only that it is something paid, I leave you the bugo quote.

Quote from: Bugo on May 25, 2022, 10:26:27 PMDid you install the PrettyURLs addon for Optimus?
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

allbatros


Shades.

SMF 2.1.2
Optimus 2.10.6

Was trying to enter a topic description on a new site and it cut off the text that was too long as it should but give me an error when I click save, when normally it would just cut off the text and continue on with the save.

QuoteError
Type of error
Database
Error message
Database Error: Data too long for column 'optimus_description' at row 1
File
/home/******/public_html/******/Sources/Optimus/Topics.php
Line
196
URL of page causing the error
https://******.com/?action=post2;start=0;msg=28;bd516af97=e00cc50f09bb95cbc835225a3ef4a096;board=26

Backtrace information
#0: smf_db_error()
Called from /home/******/public_html/******/Sources/Subs-Db-mysql.php on line 494
#1: smf_db_query()
Called from /home/******/public_html/******/Sources/Optimus/Topics.php on line 196
#2: modifyDescription()
Called from /home/******/public_html/******/Sources/Optimus/Topics.php on line 127
#3: modifyPost()
Called from /home/******/public_html/******/Sources/Subs.php on line 5868
#4: call_integration_hook()
Called from /home/******/public_html/******/Sources/Subs-Post.php on line 2288
#5: modifyPost()
Called from /home/******/public_html/******/Sources/Post.php on line 2347
#6: Post2()
Called from /home/******/public_html/******/index.php on line 192
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

Just tried this again on a fresh 2.1.2 install and got the same error. Test went fine while creating the topic with the topic description and posted with no errors, but when I went back to edit the post and entered the same info in the topic description box and clicked save I immediately got the error:

QuoteData too long for column 'optimus_description' at row 1
File: /home/******/public_html/******/Sources/Optimus/Topics.php
Line: 196

Try entering this in topic description, save and then go back and edit with the same info below and see if it happens to you:

QuoteSummoned from an ashram in Tibet, Ace finds himself on a perilous journey into the jungles of Africa to find Shikaka, the missing sacred animal of the friendly Wachati tribe. He must accomplish this before the wedding of the Wachati's Princess to the prince of the warrior Wachootoos. If Ace fails, the result will be a vicious tribal war.

BTW, this is on a fresh install of SMF 2.1.2 and no optimus addons or any other mods. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

There are 2 quick solutions:

1) Open Topics.php, replace
'description'   => shorten_subject($description, 252),'description'   => shorten_subject($description, 200),
or

2) Go to your database, find smf_topics table, optimus_description column and change "VARCHAR" type into "TEXT"

Shades.

Quote from: Bugo on October 29, 2022, 11:44:20 PM2) Go to your database, find smf_topics table, optimus_description column and change "VARCHAR" type into "TEXT"
The second option worked perfectly, thank you! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Speed King

Is it possible keywords to be displayed on every topic's page?

Bugo

Quote from: Speed King on November 11, 2022, 11:08:40 PMIs it possible keywords to be displayed on every topic's page?
Yes, it's possible. Sources/Optimus/Keywords.php, prepareDisplayContext function should look like this - https://codeshare.io/X89wJj

thebeacon07

Actually, the mode isn't rebuilding the sitemap with the frequency we set as daily. is there any cronjob need to set to run the sitemap built?

Speed King

Installing Optimus 2.10.6 on SMF 2.1.3 causes destroying of table layout in section Admin => Maintenance => Integration Hooks

Click =>

-Rock Lee-

Quote from: Bugo on April 06, 2022, 12:42:43 PMApparently, for some reason, the file was not created at the root of the forum. See server logs - maybe it's about file permissions. Try to create an empty sitemap.xml and set permissions at 777 for it. Then go to the sitemap tab settings and click the Save button.

I tried to do it as you say in the quote but it doesn't generate the .xml file, I even tried to do it in localhost by adding it doesn't generate any errors, I even use a sitemap generated a while ago, it works but it doesn't update it, any possible ideas @Bugo?


Regards!

Ah sorry I add that it is a smf 2.1.3 with PHP 8.1 and the mod is version 2.10.5
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Bugo

@Speed King, it is obvious that you are using a non-standard theme.

@-Rock Lee-, the sitemap update task may have been removed from the database during the SMF update process. Go to the map settings page, disable it, save the settings, and then re-enable its creation.

Advertisement: