News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Optimus

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

Previous topic - Next topic

Massl

Sorry Bugo, it was my fault  ::)
Thank you again

Bugo

That is not the mod error. This is its logic — when a forum is small, Optimus creates sitemap.xml with forum links, when a forum is large, Optimus creates sitemap.xml (sitemap_index.xml in old versions of the mod) with sitemapindex, depending on https://www.sitemaps.org rules.
There is a simple formula: Small forum < 50000 posts < Large forum.

Of course, I mean the latest version of the Optimus. The logic of different versions may differ.

You can change the count of posts to define a small/large forum. Open Sources/Optimus/Sitemap.php (or Class-OptimusSitemap.php, for SMF 2.0), find
private static $count = 50000;
and set your own value.

engrz

Hello

I have tried to upgrade Optimus on my smf 2.0.15, first it said the package is already available (it was there but older version) so i renamed the file and upload it.

when i click install mod, my website goes offline with http 500 error. now i dont know ho to modify/revert or delete this mod from cpanel to make online my website.

Bugo

At first, you should uninstall the previous version (uninstall the mod, remove the mod's file), then install a new one.
If you see 500 error and cannot enter into the admin area, try to remove all the mod's files from /Sources dir, then remove "$sourcedir/Optimus/Class-Optimus.php" line from the value of variable integrate_pre_include (smf_settings table in database), and "Optimus::hooks" line from the value of variable integrate_pre_load.

engrz

I have resolved the 500 http error by removing /sources/optimus directory but now in my error log im getting


Undefined index: optimus_common_titleApply Filter: Only show the errors from this file File: /home/engrz/public_html/engrz.org/Sources/Admin-Optimus.php
Line: 28


and when trying to enter into "search engine optimization" from admin menu i see

An Error Has Occurred!
Unable to load the 'common' template.

@rjen

You should apply ALL provided changes, not just one...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

engrz

No option to uninstall, do i need to delete?

see attachment

engrz

done as you said and installed a new one

successfully intalled, but now error in error log is:

Array to string conversionApply Filter: Only show the errors from this file File: Sources/Optimus/Class-Optimus.php
Line: 434

Bugo

Open phpMyAdmin and try to run SQL query:
DELETE FROM smf_settings WHERE variable LIKE "optimus_%"
Then go to OP setting area and enter new settings.

engrz

i have done, it looks okay but i lost all credentials was setup in optimus... Thank you for the support

engrz

New posts/topics are not in sitemap.xml it is not adding, what to do?

Bugo

Take a look at the mod's settings area.

engrz

Quote from: Bugo on April 29, 2019, 01:32:52 AM
Take a look at the mod's settings area.

according to my knowledge, i have configured it well.

is there any specific option to look?

Bugo

There is a special area, the Optimus Sitemap. Also, there are Scheduled Tasks, where you can manage time for periodically creating sitemap.xml

engrz

i set it 0 as many topics have no reply.

but still no update and it is not showing sitemap link in footer as im enabling the option.

engrz

checked every option again and again but new links are not added into sitemap. kindly help.

Bugo

How often is your sitemap updated? Look in the Scheduled Tasks area. New topics should be added to the sitemap only after the corresponding task is completed (in Scheduled Tasks). If you really need, you can run any task manually.

P. S. Why clutter search results with topics without replies?

njtweb

Hi @Bugo

Is there any chance you can add Tinyportal article support to Sources/Class-Optimus.php

As it stands when Tiny Portal articles are posted to Facebook nothing is parsed. The Facebook posting defaults to the general site name, description and image. FB completely ignores anything associated with the article.

This is my "Rink Directory" article. Its called Rink Directory, it has a ton of context and an image. All of it is ignored, same deal with all other articles.
https://www.youthhockeyinfo.com/index.php?page=rink-directory

Bugo

Quote from: njtweb on May 19, 2019, 09:37:36 AM
Is there any chance you can add Tinyportal article support to Sources/Class-Optimus.php
Unfortunately, only very few make donations to support my free work. So I have little free time.

Portugal

Hi Bugo,

Ive instaled the new pakage and i ask you if can help me.
My forum its about law and some staff for professionals in this category. Almost of my members starts topic´s with a saludations like "Hi everyone" hi coleagues" etc, but this kind of prases ar to bad for the SEO. Worst when they make a saludatiosn and due like i was done on this post. It means, if they wright the saludation, and give a enter to go to another line, only stay as SEO like this:
Quotename="description" content="Good afternon,
the rest of the text is not included, becouse it goes a line below. Its possibile to remove the sentence? "Good afternoon", or in case to do not be possibile to remove some sentences from the begin of the text, must be possibile to be included the second line.

I apreciatte your attencion to this.

Thanks in advance.

Regards
Portugal

Advertisement: