Advertisement:

Author Topic: Optimus  (Read 193354 times)

Offline Massl

  • Jr. Member
  • **
  • Posts: 252
Re: Optimus
« Reply #540 on: April 04, 2019, 08:47:30 AM »
Sorry Bugo, it was my fault  ::)
Thank you again

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #541 on: April 05, 2019, 03:06:20 AM »
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
Code: [Select]
private static $count = 50000;and set your own value.

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #542 on: April 27, 2019, 11:32:34 PM »
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.


Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #543 on: April 28, 2019, 02:02:11 AM »
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.

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #544 on: April 28, 2019, 03:33:32 AM »
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.


Offline @rjen

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
Re: Optimus
« Reply #545 on: April 28, 2019, 03:39:56 AM »
You should apply ALL provided changes, not just one...
Running SMF 2.0 with Tinyportal 1.6.3 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal 1.6.3 at http://test2.fjr-club.nl/

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #546 on: April 28, 2019, 03:48:50 AM »
No option to uninstall, do i need to delete?

see attachment


Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #547 on: April 28, 2019, 04:22:57 AM »
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


Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #548 on: April 28, 2019, 05:04:50 AM »
Open phpMyAdmin and try to run SQL query:
Code: [Select]
DELETE FROM smf_settings WHERE variable LIKE "optimus_%"Then go to OP setting area and enter new settings.

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #549 on: April 28, 2019, 06:23:12 AM »
i have done, it looks okay but i lost all credentials was setup in optimus... Thank you for the support


Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #550 on: April 29, 2019, 12:31:08 AM »
New posts/topics are not in sitemap.xml it is not adding, what to do?


Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #551 on: April 29, 2019, 01:32:52 AM »
Take a look at the mod's settings area.

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #552 on: April 29, 2019, 04:35:17 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?


Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #553 on: April 29, 2019, 05:14:36 AM »
There is a special area, the Optimus Sitemap. Also, there are Scheduled Tasks, where you can manage time for periodically creating sitemap.xml

Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #554 on: April 29, 2019, 06:17:13 AM »
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.


Offline engrz

  • Full Member
  • ***
  • Posts: 565
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: Optimus
« Reply #555 on: April 30, 2019, 03:27:38 AM »
checked every option again and again but new links are not added into sitemap. kindly help.


Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #556 on: April 30, 2019, 04:35:05 AM »
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?

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 855
Re: Optimus
« Reply #557 on: May 19, 2019, 09:37:36 AM »
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.
Code: [Select]
https://www.youthhockeyinfo.com/index.php?page=rink-directory

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,531
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #558 on: June 12, 2019, 01:14:14 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.

Offline Portugal

  • Jr. Member
  • **
  • Posts: 212
Re: Optimus
« Reply #559 on: June 13, 2019, 11:21:34 AM »
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:
Quote
name="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