Advertisement:

Author Topic: Optimus  (Read 176870 times)

Offline anidea

  • Jr. Member
  • **
  • Posts: 235
Re: Optimus
« Reply #420 on: October 22, 2017, 12:46:42 AM »
Haha, very clever.  "Need to fix this language error Bugo" now appears where I assume Sitemaps is supposed to appear.

And it looks like the error is gone :)

Thank you.  It was a rough ride for a bit, but I appreciate your stick-to-it-iveness.

I can probably fix the "Need to fix this language error Bugo" item, but I think I'll leave it, just for kicks :D

Offline Black Tiger

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
    • Satellite Fun
Re: Optimus
« Reply #421 on: November 13, 2017, 06:50:56 PM »
I had version 1.8.x and now installed version 1.9.6 but encountered an error about
https://www.myforums.org/Themes/default/css/sitemap.xsl on line 1 column xxxx. I don't remember the column number.
So I checked and there is no sitemap.xsl present neither created in the .css directory.
This occurs when I visit https://www.myforums.org/forum/sitemap.xml in my browser.

Am i doing something wrong or is this file missing from the zip? At this moment I used the sitemap.xsl from the 1.8.x version and then the error does not occur.


Optimus 1.9.6
SMF 2.0.14
Greetings, Black Tiger

Offline Black Tiger

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
    • Satellite Fun
Re: Optimus
« Reply #422 on: April 01, 2018, 02:32:25 PM »
What is the changelog between 1.9.6 and 1.9.7?
Greetings, Black Tiger

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #423 on: April 01, 2018, 05:57:04 PM »
  • Favicon support
  • Custom metatags
  • Various fixes

Online Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 1,788
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Optimus
« Reply #424 on: April 02, 2018, 12:48:19 PM »
Very good @Bugo for updating the mod and step by step I leave the translation into Spanish Latin ;D


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline @rjen

  • Jr. Member
  • **
  • Posts: 261
  • Gender: Male
Re: Optimus
« Reply #425 on: April 02, 2018, 03:22:32 PM »
A glitch in the code

Optimus.template.php

Code: [Select]
<span>
<label for="optimus_favicon_text">Код для вставки favicon</label><br />
<span class="smalltext">', $txt['optimus_favicon_help'], '</span>
</span>

Should be
Code: [Select]
<span>
<label for="optimus_favicon_text">', $txt['optimus_favicon_text'], '<br />
<span class="smalltext">', $txt['optimus_favicon_help'], '</span>
</span>

And the corrected Dutch translations attached
« Last Edit: April 02, 2018, 03:57:41 PM by @rjen »
Running SMF 2.0 with Tinyportal 1.5.1 at www.fjr-club.nl
Testing SMF 2.1 beta 4 with Tinyportal 1.5.1 at http://test2.fjr-club.nl/

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #426 on: April 03, 2018, 06:35:19 AM »
Thanks. I have added your translations into package.

Offline @rjen

  • Jr. Member
  • **
  • Posts: 261
  • Gender: Male
Re: Optimus
« Reply #427 on: April 03, 2018, 07:56:01 AM »
Nice.

I have another question / issue:
I activated the setting for 'Open Graph support' linking to an image...

Now every time a topic is read with an attachment in the first message this error is written:

https://www.fjr-club.nl/index.php?topic=22081.msg311175;topicseen
2: getimagesize(https://www.fjr-club.nl/index.php?action=dlattach;topic=22081;attach=11722;image): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
File: /home/deb77453/domains/fjr-club.nl/public_html/Sources/Subs-Optimus.php
Line: 467

Running SMF 2.0 with Tinyportal 1.5.1 at www.fjr-club.nl
Testing SMF 2.1 beta 4 with Tinyportal 1.5.1 at http://test2.fjr-club.nl/

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #428 on: April 03, 2018, 09:23:14 AM »
Open Subs-Optimus.php, find
Code: [Select]
function get_optimus_description()
{
global $smcFunc, $context, $txt, $board_info;
and add after
Code: [Select]
if (!allowedTo('view_attachments'))
return;

It should look like that:
Code: [Select]
function get_optimus_description()
{
global $smcFunc, $context, $txt, $board_info;

if (empty($context['first_message']))
return;

P. S. Or you can just allow guests to view attachments ;)

Offline @rjen

  • Jr. Member
  • **
  • Posts: 261
  • Gender: Male
Re: Optimus
« Reply #429 on: April 03, 2018, 10:01:00 AM »
That does NOT solve the issue.

I should have mentioned: error occurs for members that ARE allowed to see attachments...
Running SMF 2.0 with Tinyportal 1.5.1 at www.fjr-club.nl
Testing SMF 2.1 beta 4 with Tinyportal 1.5.1 at http://test2.fjr-club.nl/

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 269
    • @pocttopus on Twitter
Re: Optimus
« Reply #430 on: April 03, 2018, 11:11:46 AM »
  • Favicon support
  • Custom metatags
  • Various fixes
This is awesome. Thanks!  :)

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #431 on: April 03, 2018, 04:27:36 PM »
That does NOT solve the issue.

I should have mentioned: error occurs for members that ARE allowed to see attachments...
Did you clean cache?

Offline @rjen

  • Jr. Member
  • **
  • Posts: 261
  • Gender: Male
Re: Optimus
« Reply #432 on: April 03, 2018, 04:37:54 PM »
That does NOT solve the issue.

I should have mentioned: error occurs for members that ARE allowed to see attachments...
Did you clean cache?

yes I did. And note my comment: error is showing for registered users, they have access to the attachments anyway...
Running SMF 2.0 with Tinyportal 1.5.1 at www.fjr-club.nl
Testing SMF 2.1 beta 4 with Tinyportal 1.5.1 at http://test2.fjr-club.nl/

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 269
    • @pocttopus on Twitter
Re: Optimus
« Reply #433 on: April 07, 2018, 06:42:02 AM »
Another update? What's that all about?  :o Every second day something new... I am just wondering what is the chagelog?  :D

Offline @rjen

  • Jr. Member
  • **
  • Posts: 261
  • Gender: Male
Re: Optimus
« Reply #434 on: April 08, 2018, 02:30:03 PM »
Another update? What's that all about?  :o Every second day something new... I am just wondering what is the chagelog?  :D

So was I. I believe a mod author should announce the changelogs every time an update is done.

I checked the package and I found that Bugo has made a few more changes related to my issue with the OG_image support...
I tested it again on my forum, and I now get different error messages...

Code: [Select]
https://www.fjr-club.nl/index.php?topic=21625.msg311459;topicseen
8: Undefined offset: 0
File: /home/deb77453/domains/fjr-club.nl/public_html/Sources/Subs-Optimus.php
Line: 470
Running SMF 2.0 with Tinyportal 1.5.1 at www.fjr-club.nl
Testing SMF 2.1 beta 4 with Tinyportal 1.5.1 at http://test2.fjr-club.nl/

Offline alexetgus

  • Full Member
  • ***
  • Posts: 561
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Optimus
« Reply #435 on: April 20, 2018, 11:18:03 AM »
Hello,

Good job, @Bugo ! :)
Thanks.

I had already modified my forum manually for SEO and social media.
Now that i found this mod, it's cool. He will do the rest! ;)


Translation :
- French UTF-8
- French

I converted "Webmaster Tools" to "Search Console" (the name as changed).


Offline alexetgus

  • Full Member
  • ***
  • Posts: 561
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Optimus
« Reply #436 on: April 24, 2018, 02:59:54 AM »
Forgotten variable $txt['optimus_robots_desc'] :-[

Complete french translation:

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #437 on: April 25, 2018, 04:01:27 AM »
Thanks :)

Offline njtweb

  • Full Member
  • ***
  • Posts: 548
Re: Optimus
« Reply #438 on: April 25, 2018, 01:13:59 PM »
Thank you, I'm just getting started with mine. Couple questions.

1. Is there a quick and easy configuration manual for standard basic seo config? I'm not looking to get my site noticed on the first page or anything. I would like it indexed properly though.
2. I have sitemap.xml and robots.tx file at my site root already, should I remove them?

Thanks!

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,479
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: Optimus
« Reply #439 on: April 25, 2018, 02:09:18 PM »
I advice you to enable mod's options one by one and view what effect they produce. Read a hint for every option, if it there is.
When you enable "Sitemap XML" option, Optimus replaces the current sitemap.xml file. The robots.txt file you can change manually, on "robots.txt" page.