Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bugo on February 15, 2011, 03:48:12 PM

Title: Optimus
Post by: Bugo on February 15, 2011, 03:48:12 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2659)

This mod might help you solve some problems associated with indexing of your forum by search engines.

Features:

This work is licensed under the Artistic License 2.0 (https://opensource.org/licenses/artistic-license-2.0)

Russian Support (https://dragomano.ru/mods/optimus) | Donate (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SJLXR6X7XGEDC) | This project on GitHub (https://github.com/dragomano/Optimus)
Optimus 2.0 beta (https://github.com/dragomano/Optimus/tree/develop) (for SMF 2.1 Beta 4+)
Optimus 0.1 beta (https://github.com/dragomano/Optimus/tree/portamx) (for PortaMx Forum 1.4)
Title: Re: Optimus Brave
Post by: butchs on February 15, 2011, 07:49:19 PM
I like this mod!  8)
Title: Re: Optimus Brave
Post by: vicram10 on February 15, 2011, 07:51:52 PM
Nice mod...
Title: Re: Optimus Brave
Post by: Leppie on February 22, 2011, 03:28:14 PM
very nice mod, just installed it on my RC5  8)

the only thing is that my error log is flooded with the following error:
Code: [Select]
index.php?action=dlattach;attach=####;type=avatar
8: Undefined index: current_action
/Sources/Subs-Optimus.php
Line: 17
any suggestions?
Title: Re: Optimus Brave
Post by: Bugo on February 22, 2011, 05:16:36 PM
I fixed it, try new version :)
Title: Re: Optimus Brave
Post by: Leppie on February 22, 2011, 06:04:49 PM
thanks  for the update :)

just installed it, will update you if the issue is fixed.
Title: Re: Optimus Brave
Post by: busterone on February 22, 2011, 06:06:55 PM
Nice mod Bugo  :)
Title: Re: Optimus Brave
Post by: Leppie on February 23, 2011, 07:33:49 AM
Bugo, that fix did the job  :D

many thanks for the cool mod and great support  8)
Title: Re: Optimus Brave
Post by: tectonny on August 23, 2011, 04:48:29 PM
My robots.txt is suggested by this mod:

Code: [Select]
User-agent: slurp
User-agent: msnbot
Crawl-delay: 120

User-agent: Twiceler
User-agent: Baiduspider
User-agent: W3C-checklink
User-agent: Googlebot-Image
User-agent: YandexImages
Disallow: /forum/

User-agent: Googlebot-Mobile
User-agent: YandexImageResizer
Allow: /forum/*wap
Allow: /forum/*imode
Disallow: /forum/

User-agent: *
Allow: /forum/$
Allow: /*forum$
Allow: /forum/*board*.0$
Allow: /forum/*topic*.0$
Allow: /forum/*rss
Allow: /forum/*sitemap
Disallow: /forum/
Sitemap: http://www.tectonny.com/forum/?action=sitemap;xml
Host: www.tectonny.com/forum

I would not be blocking all my forum? with the expression:
Disallow: /forum/

Title: Re: Optimus Brave
Post by: Bugo on August 23, 2011, 11:35:41 PM
Try and learn :)
Title: Re: Optimus Brave
Post by: ReaperX on August 24, 2011, 04:07:28 AM
I don't know what i did to cause this error, but i just noticed it...

Code: [Select]
http://xxx/index.php?action=admin;area=modsettings;sa=optimus
8: Uninitialized string offset: 0
File: /home/xxx/domains/xxx/public_html/Themes/default/Optimus.template.php
Line: 83


Code: [Select]
http://xxx/index.php?action=admin;area=modsettings;sa=optimus
8: Uninitialized string offset: 0
File: /home/xxx/domains/xxx/public_html/Themes/default/Optimus.template.php
Line: 80

I can't recreate it
Title: Re: Optimus Brave
Post by: Bugo on August 24, 2011, 04:40:04 AM
I don't know what i did
And how I can resolve this problem?
Title: Re: Optimus Brave
Post by: ReaperX on August 24, 2011, 04:49:33 AM
i don't want help, i just informing...
Title: Re: Optimus Brave
Post by: Bugo on August 24, 2011, 05:24:45 AM
Well, maybe this problem appears only for the first time but after saving of settings it disappears.
Title: Re: Optimus Brave
Post by: tectonny on August 24, 2011, 08:43:30 AM
Try and learn :)


Hello dear, I am wrong in my conclusion? Sorry do not understand is why robots.txt
Title: Re: Optimus Brave
Post by: tectonny on August 25, 2011, 08:24:42 AM
Another question, where I place the robots.txt? In the forum folder in the rais of the site?

http://www.tectonny.com/forum/robots.txt
or
http://www.tectonny.com/robots.txt
Title: Re: Optimus Brave
Post by: Bugo on August 25, 2011, 09:02:49 AM
2 link.
Title: Re: Optimus Brave
Post by: tectonny on August 25, 2011, 09:39:14 AM
Use link the two? With the same content?
Title: Re: Optimus Brave
Post by: Bugo on August 25, 2011, 10:42:29 AM
Well, if you don't know what a robots.txt and how to fill it — please, don't install this mod. At first, read http://www.robotstxt.org/robotstxt.html
Title: Re: Optimus Brave
Post by: infoseeker on August 26, 2011, 11:24:36 AM
thanks bro.

What is the meaning of
Allow: /$

Thanking you.
Title: Re: Optimus Brave
Post by: infoseeker on August 26, 2011, 12:32:16 PM
The mod recommended me below robots.txt

User-agent: *
Allow: /$
Allow: /*board*.0$
Allow: /*topic*.0$
Allow: /*rss
Allow: /*sitemap/?xml

But i dont know what i allowing robots in my forum by the line "Allow: /$"

Plz tell me what is the meaning of that line. Is that carrying out any personal content from my forum?

Thanking you.
Title: Re: Optimus Brave
Post by: Bugo on August 26, 2011, 01:14:30 PM
This line — "Allow: /$" it's a main page (only main page!) of your forum (i.e: http://www.yourforum/).
Title: Re: Optimus Brave
Post by: infoseeker on August 26, 2011, 01:47:23 PM
Now my doubt cleared.

Thanks for your quick reply.

Wish You All The Best.
Title: Re: Optimus Brave
Post by: infoseeker on September 13, 2011, 04:36:41 AM
This mode added my homepage's title twice in google search results.
I leaved the index bar blank in optimusbrave settings to show the homepage title one time on google search results. But, nothing is changed. I also uninstalled the mod. But still my homepage title indexed two times in google results. Plz help me. How can i solve this?

Sorry if i giving any trouble to you.
Thanking you.
Title: Re: Optimus Brave
Post by: Bugo on September 13, 2011, 10:21:59 AM
The mod has no relevance to this situation.
You must to change your forum's title to something other. To do this go to Admin » Configuration » Server Settings » Forum Title => here enter forum name (not adress!) and save settings.

After this you will only have to wait until Google reindex your site.
Title: Re: Optimus Brave
Post by: Bugo on September 13, 2011, 02:01:21 PM
http://www.simplemachines.org/community/index.php?topic=422210.msg3144963#msg3144963
Title: Re: Optimus Brave
Post by: infoseeker on September 14, 2011, 03:12:26 AM
Just i reincluded my websit to google. Last time i used optimusbrave1.6.2
Now i installed optimus brave 1.6.4. I Hope that everything will be fine :)

Thanking you.
Title: Re: Optimus Brave
Post by: infoseeker on September 18, 2011, 09:54:25 PM

Thanks Bugo.
All my problem is happened by my meta tags. Now every thing is fine.
The new version of optimusbrave is very nice. The recommended format of robots.txt is ultimate.

Thanks a lot for creating this mod

Below iam giving some useful links for our smf users to check their website's strength, and errors.

The below website can help you to create website's meta tags. dont use refresh page meta tag. Because, the meta tag is related with spam problems.

http://www.onlinemetatag.com

The below website can analyze your website's meta description.

http://www.submitexpress.com/analyzer/

Thats all. :)
Thanking you.
Title: Re: Optimus Brave
Post by: tectonny on October 06, 2011, 01:40:31 PM
I like this mod, but would take the keys of the number, looks like this {1} could contain just the number 1.
Title: Re: Optimus Brave
Post by: Bugo on October 06, 2011, 02:52:08 PM
What do you mean?
Title: Re: Optimus Brave
Post by: tectonny on October 06, 2011, 03:22:46 PM
Here's the link the title, appears on page {1} instead of just one page:

http://www.tectonny.com/forum/apoio-tecnico/
Title: Re: Optimus Brave
Post by: Bugo on October 06, 2011, 03:32:46 PM
And what? Look at page 2, 3 etc — you'll see {2}, {3} etc. If you don't want see page number, remove
Code: [Select]
[#]from topic/board title templates in Optimus settings.
If you don't want see { and } symbols — it's another question... :)
Title: Re: Optimus Brave
Post by: tectonny on October 06, 2011, 03:52:25 PM
I do not want to see the symbols, I see only the number without the {}.
Title: Re: Optimus Brave
Post by: Bugo on October 06, 2011, 03:55:02 PM
Well, I'll add this feature in the next release.
Title: Re: Optimus Brave
Post by: tectonny on October 06, 2011, 04:07:24 PM
Okay.
Title: Re: Optimus Brave
Post by: Bugo on October 08, 2011, 12:11:55 PM
Ok, try new version.
Title: Re: Optimus Brave
Post by: tectonny on October 08, 2011, 02:52:45 PM
Updated, but not decided what I wanted, now we can choose a fixed number to page, but the account appears brace ({}), what I wanted is not the key appears ({}) ... Only the page number alone.
Title: Re: Optimus Brave
Post by: infoseeker on October 09, 2011, 11:13:36 AM
I do not want to see the symbols, I see only the number without the {}.

I hope that this mod may solve your problem

http://custom.simplemachines.org/mods/index.php?mod=3052

But, i did not test it. Try this mod yourself with optimus.

Thanking you.
Title: Re: Optimus Brave
Post by: Bugo on October 09, 2011, 01:46:36 PM
This problem has been resolved.
There is option "Template of current page number", where you can enter any template. By example: {number}, or number, or [number] etc ("number" - constant).
Title: Re: Optimus Brave
Post by: tectonny on October 09, 2011, 06:42:17 PM
The problem is that if we use the fixed number will appear on all pages with the same number.
Title: Re: Optimus Brave
Post by: Bugo on October 10, 2011, 02:11:22 AM
And why you use the fixed number? :) You must use the constant — "number". It will be replaced with number page automatically.
Title: Re: Optimus Brave
Post by: tectonny on October 10, 2011, 08:10:34 AM
There was no way, tried everything, here's what I tried.

[board_name] - [forum_name] - Página [board_name] - [forum_name] - Página {number}
Title: Re: Optimus Brave
Post by: Bugo on October 10, 2011, 10:20:56 AM
Look at screenshots ("666" in mod settings - it's just example).
Title: Re: Optimus Brave
Post by: tectonny on October 10, 2011, 11:07:46 AM
Yes, my work well, but not without braces. "{ }"


(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimgbr.in%2Fimages%2F63179327200033548942_thumb.png&hash=681de7f3bedddd9dd503e3c0a27c454f) (http://imgbr.in/viewer.php?file=63179327200033548942.jpg)
Title: Re: Optimus Brave
Post by: Bugo on October 10, 2011, 12:18:07 PM
Is difficult to guess replace {number} with number?
Title: Re: Optimus Brave
Post by: tectonny on October 10, 2011, 03:00:59 PM
Perfect your explanation, now understood and is working perfectly.

Thanks
Muito Obrigado.
Title: Re: Optimus Brave
Post by: tectonny on October 19, 2011, 10:48:13 AM
I liked the update, best explains how the sitemap ....
Title: Re: Optimus Brave
Post by: tectonny on October 19, 2011, 11:15:46 AM
Test error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 6361273 bytes) in /home/user/public_html/forum/Sources/PrettyUrls-Filters.php on line 16
Title: Re: Optimus Brave
Post by: tectonny on October 19, 2011, 02:00:26 PM
I was able to generate the sitemap prettyurl disabling, but where is the sitemap? What is the link to the sitemap?
Title: Re: Optimus Brave
Post by: tectonny on October 19, 2011, 03:43:19 PM
Log errors with just one minute of use:
Code: [Select]
Aplicar filtro do tipo: Todos os erros (210) | Indefinidos (210)
  Páginas: [1] 2 3 4 5 6 7 8 ... 11


Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL
http://www.tectonny.com/forum/index.php?pretty;board=defeito-resolvido;topic=tv-(lg)-mod-20cd2r-desligano-a-cada-3-minuto.0&wap2
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: subject
Aplicar Filtro: Mostrar apenas erros deste ficheiro
Ficheiro: /home/xxxxx/public_html/forum/Sources/Subs-Optimus.php
Linha: 285

Aplicar Filtro: Mostrar apenas as mensagens de erro deste membro Visitante
Aplicar Filtro: Mostrar apenas as mensagens de erro deste endereço de IP 201.70.91.18 
  Inverter a ordem cronológica da lista Hoje às 17:40:11
Aplicar Filtro: Mostrar apenas as mensagens de erro desta sessão 0be5af5197d167351ab5c992415bf281
Aplicar Filtro: Mostrar apenas erros deste tipo Tipo de erro: Indefinidos
Aplicar Filtro: Mostrar apenas as mensagens de erro deste URL
http://www.tectonny.com/forum/index.php?topic=28639.0
Aplicar Filtro: Mostrar apenas os erros com a mesma mensagem
8: Undefined index: num_views
Aplicar Filtro: Mostrar apenas erros deste ficheiro
Ficheiro: /home/xxxxx/public_html/forum/Sources/Subs-Optimus.php
Linha: 284
What can be?
Title: Re: Optimus Brave
Post by: Bugo on October 19, 2011, 05:17:03 PM
What is the link to the sitemap?
See http://www.tectonny.com/forum/sitemap.xml etc.
Log errors with just one minute of use:
Just relax. I'll fix it next version.
Title: Re: Optimus Brave
Post by: MaXiForum.cz on October 20, 2011, 10:39:33 AM
Looks good.
Good job ;)
Title: Re: Optimus Brave
Post by: Dblog on October 25, 2011, 09:32:19 AM
i dont know if sitemap was generated or not even after selecting run now.
also it took away all page titles and now all pages are only titled same as 'forum title'
Title: Re: Optimus Brave
Post by: Dblog on November 07, 2011, 11:20:06 AM
can anyone tell me how to get topic title, page number etc?


 Template of topic pages title       : [board_name] - page

shows only forum name

and also keywords are not added to metatags of topics
Title: Re: Optimus Brave
Post by: Bugo on November 07, 2011, 11:51:04 AM
Default values help you to get a proper result:
Code: [Select]
[topic_name] - page [#] - [forum_name]
If you want add board name just paste [board_name] after (or before) [topic_name] (to field #1):
Code: [Select]
[topic_name] - [board_name] - page [#] - [forum_name]
Alternative way (add board name to field #3):
Code: [Select]
[topic_name] - page [#] - [board_name] - [forum_name]

"Add the bold words to the metatag" option work only with enabled "autokeywords for board/topic pages" option.

In the future, when you will ask questions, attach screenshots of your settings. And post link to your forum, with installed mod.
Title: Re: Optimus Brave
Post by: Bugo on November 07, 2011, 01:13:23 PM
You forgot to paste square brackets: []
Title: Re: Optimus Brave
Post by: Dblog on November 08, 2011, 10:14:35 PM
okay i got this solved but there's one more issue.
if a board has lesser topics and its only for one page, then that board's 1st and only page gives page title as [board_name] - - [forum_name], without page

but if there are two pages of topics in that board then page 1 and page 2 are shown
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 04:11:38 AM
This is a feature.
Why did you remove the link to your forum?
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 07:02:13 AM
If page is only one, page number not appears.
Can I see a screenshot of your settings?
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 07:28:15 AM


the problem is not with topic pages but only with board pages
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 07:32:47 AM
If page is only one, page number not appears.
Can I see a screenshot of your settings?
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 07:51:23 AM
okay i posted a screenshot of settings above
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 08:42:33 AM
Well, I have the same settings but don't have any problem. Do you have any mods that can change page titles/numbers?
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 09:16:42 AM
no more mods modifying page titles.
this problem is seen only for boards with topics in 1 page.
if there are 2 pages, then no issue.

for topic pages, i haven't seen any issue
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 09:30:26 AM
Can you give me test admin account to PM?
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 10:37:34 AM
sent you PM
just append /discus to access SMF at the end of the link i sent
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 11:47:10 AM
Well, you forgot to mention you are using an older version of Optimus. Current last stable - 1.7.1, you have - 1.7
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 11:52:57 AM
ok done
Title: Re: Optimus Brave
Post by: [Lucien] on November 09, 2011, 01:30:15 PM
Awesome mod!! But there is a error in my errorlog:

Code: [Select]
http://www.mysite/index.php?action=admin;area=modsettings;save;sa=optimus
8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string
File: /............/............/.........../........./public_html/Sources/Subs-Optimus.php
Line: 430

Code: [Select]
==>430:       $context['small_advice'] = iconv('UTF-8', $db_character_set, $context['small_advice']);
Title: Re: Optimus Brave
Post by: Dblog on November 09, 2011, 01:44:48 PM
i find similar errors with Sources/Subs-Optimus.php
it generates sitemap with deleted topic numbers and 404 errors are caused.
Title: Re: Optimus Brave
Post by: Bugo on November 09, 2011, 02:00:18 PM
Awesome mod!! But there is a error in my errorlog:
You know, if any mod has errors, it's not longer awesome :) I'll fix it next release.

i find similar errors with Sources/Subs-Optimus.php
it generates sitemap with deleted topic numbers and 404 errors are caused.
Details, please.
Title: Re: Optimus Brave
Post by: [Lucien] on November 09, 2011, 02:05:26 PM
Quote
Awesome mod!! But there is a error in my errorlog:
You know, if any mod has errors, it's not longer awesome :) I'll fix it next release.

 ;D ;D it's still awesome!!! Thanks for looking into it :)
Title: Re: Optimus Brave
Post by: Dblog on November 10, 2011, 12:22:29 AM
oops.. those errors were from 1.7
i've just updated to 1.7.1 and let me see for errors after few hrs
Title: Re: Optimus Brave
Post by: [Lucien] on November 10, 2011, 05:32:13 AM
I have a question  :)

This is the suggested robots.txt from the Optimus Brave mod:

Code: [Select]
User-agent: Googlebot-Image
Disallow: /

User-agent: YandexImages
Disallow: /

User-agent: msnbot-MM
Disallow: /

User-agent: Googlebot-Mobile
Allow: /*wap
Disallow: /

User-agent: YandexImageResizer
Allow: /*wap
Disallow: /

User-agent: MediaPartners-Google
Allow: /

User-agent: *
Allow: /$
Allow: /*forum$
Allow: /*page*page
Allow: /*type=rss
Disallow: /*action
Disallow: /*;
Disallow: /*PHPSESSID
Allow: /*board*.html$
Allow: /*topic*.html$
Disallow: /
Crawl-delay: 5
Clean-param: PHPSESSID /index.php
Host: www............com

But i want my arcade to be found by search engines, i have a game site :)
Is this the right robots.txt for me? Because google webmaster tools tels me that 81 links are forbidden by robots.txt,
so that's not a good thing i suppose?

And i have another question:

Code: [Select]
Please use only the values from content parameter of the meta tags.
Example: <meta name="google-site-verification" content="VALUE" />

What should be the "Value" here?

Sorry for my ignorance  :( i will learn one day with the help from you guys :)
Title: Re: Optimus Brave
Post by: Bugo on November 10, 2011, 06:26:23 AM
Well, if you will send link to your site (you can do it via PM), I'll try to analize your links and add some changes to next version of mod.

Also, you can register on http://www.google.com/webmasters/tools, add your site there and learn about robots.txt and other things (like <meta name="bla-bla-bla"... etc).
Title: Re: Optimus Brave
Post by: [Lucien] on November 10, 2011, 06:39:11 AM
PM is send :) thank you very much!
Title: Re: Optimus Brave
Post by: [Lucien] on November 10, 2011, 07:08:14 AM
Thank you Bugo for your help!

I have so many questions, i hope it's oke :) Please let me now if i get annoying :P


Just downloaded this pdf file from Google

Google's Search Engine Optimization Starter Guide (http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/nl//webmasters/docs/search-engine-optimization-starter-guide.pdf)

How does this "Make use of the "description" meta tag" works? Is it implemented in this mod?
Or is it default in SMF?
Title: Re: Optimus Brave
Post by: [Lucien] on November 10, 2011, 07:30:15 AM
Sorry i answer my own question, in your mod it says:

Code: [Select]
Metatag keywords
Recommended no more than 20.

I should learn to read :P
Title: Re: Optimus Brave
Post by: Dblog on November 10, 2011, 09:20:38 AM
now sitemap.xml is not getting generated even after 1 day of scheduling the task.
the existing sitemap.xml is also missing !!!!!!!!!!!
Title: Re: Optimus Brave
Post by: Dblog on November 10, 2011, 10:00:33 PM
i wonder why existing sitemap.xml was deleted by new version 1.7.1
i already submitted it to google through webmaster tools and now sitemap cant be found by google
Title: Re: Optimus Brave
Post by: [Lucien] on November 24, 2011, 02:18:06 PM
Thank you for the update!!! I just installed it, will let you know how it works out!  ;D
Title: Re: Optimus Brave
Post by: Farmacija on December 05, 2011, 06:14:10 PM
While trying to generate sitemap, i get this error

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2371411 bytes) in /home/farmaceu/public_html/forum/Sources/Subs-Optimus.php on line 1411"
Title: Re: Optimus Brave
Post by: Bugo on December 05, 2011, 11:18:05 PM
Well, ask your hoster about this error. I think you need add line "php_value memory_limit 32M" (or something else — ask hoster) to your .htaccess.
Title: Re: Optimus Brave
Post by: Farmacija on December 06, 2011, 04:20:31 PM
Ok, this is solved.
But, is there a way to put all of urls in sitemap?
Title: Re: Optimus Brave
Post by: Bugo on December 06, 2011, 11:34:53 PM
Why? Any sitemap is not required if there is a proper robots.txt
Title: Re: Optimus Brave
Post by: drfun on December 07, 2011, 09:34:58 AM
Hello
please am having issues with the sitemap, it was generated sucessfully but when i added the sitemap link to may google webmaster tool, it said they cant read it. and the status is X. so i dont know if this how the site map should look like, and why Google could not read through it and giving me this (Error: The last attempt at downloading the Sitemap failed). below is my site map url
http://www.allstudentforum.com/sitemap.xlm
Title: Re: Optimus Brave
Post by: Bugo on December 07, 2011, 01:25:57 PM
Try add http://www.allstudentforum.com/common.xml
Title: Re: Optimus Brave
Post by: Farmacija on December 07, 2011, 03:50:11 PM
Why? Any sitemap is not required if there is a proper robots.txt

And why is there option for making sitemap at all?
Title: Re: Optimus Brave
Post by: Bugo on December 08, 2011, 12:42:34 AM
Exactly, it's optional - you can use, you can not use.
Title: Re: Optimus Brave
Post by: drfun on December 08, 2011, 05:24:06 AM
@ Bugo, thanks for the respond, but are you saying that the extension /sitemap.xml is not functional using this mod? or its from my site. well i have added this on you gave me, i will report back if its ok or the error still persist. thanks
Title: Re: Optimus Brave
Post by: drfun on December 09, 2011, 01:23:09 PM
@bugo, i have added this one you suggested http://www.allstudentforum.com/common.xml and am still having the same error on my google webmaster tool. ( Error: The last attempt at downloading the Sitemap failed. URL restricted by robots.txt
We encountered an error while trying to access your Sitemap)
Title: Re: Optimus Brave
Post by: Bugo on December 09, 2011, 10:25:10 PM
You are using a wrong line in your robots.txt:
Code: [Select]
Allow:/*Sitemap: http://www.allstudentforum.com/sitemap.xml
Correct:
Code: [Select]
Sitemap: http://www.allstudentforum.com/sitemap.xml
Title: Re: Optimus Brave
Post by: drfun on December 10, 2011, 04:22:18 AM
@ bugo, thanks,its ok now. No more error. Am grateful
Title: Re: Optimus Brave
Post by: MaXiForum.cz on January 04, 2012, 07:59:18 AM
Last Modified: Today
What´s news? :)
Title: Re: Optimus Brave
Post by: Bugo on January 04, 2012, 02:59:04 PM
Surprise :)
Title: Re: Optimus Brave
Post by: MaXiForum.cz on January 04, 2012, 03:15:10 PM
nothing :D
Title: Re: Optimus Brave
Post by: keith021773 on January 08, 2012, 05:53:14 PM
Hello there.  I installed this the other day and I am getting a few errors.   I will list them here.   Please tell me what you think.

8: Undefined index: map_title
File:Sources/Subs-Optimus.php
Line: 997

8: Undefined index: map_thumbnail
File:Sources/Subs-Optimus.php
Line: 996

8: Undefined index: map_direct_link
File: /Sources/Subs-Optimus.php
Line: 995

8: Undefined index: map_frequency
File: /Sources/Subs-Optimus.php
Line: 991

8: Undefined index: map_modified
File:/Sources/Subs-Optimus.php
Line: 990

8: Undefined index: map_url
File: /Sources/Subs-Optimus.php
Line: 971

any ideas?
Title: Re: Optimus Brave
Post by: Bugo on January 08, 2012, 07:30:51 PM
I think you're using non-UTF8 charset on forum. To solve this problem open Subs-Optimus.php, find
Code: [Select]
$file = $boarddir . '/sitemap.xsl';
optimus_file_create($file, $xsl, false);
and replace with:
Code: [Select]
global $context;

if ($context['character_set'] != 'UTF-8')
$xsl = iconv($context['character_set'], 'UTF-8', $xsl);

$file = $boarddir . '/sitemap.xsl';
optimus_file_create($file, $xsl, false);

Then re-create sitemap via Task Manager.
Title: Re: Optimus Brave
Post by: keith021773 on January 08, 2012, 07:48:37 PM
That seemed to fix that problem, but I think because of what we changed, I am now getting a new error.

 Use of undefined constant infopmi - assumed 'infopmi'
File: l/Sources//ManageSettings.php

same names as all of the ones before, just a different file where the errors are coming from.


One other thing too.    LOL     
I am getting this from google saying that it doesn't understand this in my robots.txt file.  Is this normal? 
Clean-param: PHPSESSID /index.php
Title: Re: Optimus Brave
Post by: Antes on January 15, 2012, 02:27:25 PM
Code: [Select]
2: html_entity_decode() [<a href='function.html-entity-decode'>function.html-entity-decode</a>]: charset `ISO-8859-9' not supported, assuming iso-8859-1

File: /home/gnoll/public_html/testsmf/Sources/Subs-Optimus.php
Line: 161
Title: Re: Optimus Brave
Post by: denisoi on January 17, 2012, 08:49:14 AM
hello Bugo , firstly i want to say thanks for this modification , i saw it very useful .. i just made upgrade with the latest version and i saw that is not anymore the fuctions with meta keywords .. i had settings in the last version to use the first bolded words like meta keywords and i think that now is a problem for my forum because i not anymore in settings

could u help me please how to modify for this version to set again this option ?

Thanks in advance 
Title: Re: Optimus Brave
Post by: Bugo on January 17, 2012, 09:11:08 AM
I think the keywords are useless for forums.
Title: Re: Optimus Brave
Post by: denisoi on January 17, 2012, 09:31:44 AM
so, about your opinion is not a problem to don't have seted keywords for any topic ? i have nice positions in engines till now and im afraid to don't lose way ... i have a poker forum where im posting daily tournaments and events .

Now i put the same keywords for all website (portal and forum) which appear in all topics and boards. Give me please some advice how is better to set up

thanks
Title: Re: Optimus Brave
Post by: Bugo on January 17, 2012, 10:09:33 AM
Just remove all keywords at all. And wait for indexing updates. Forget about keywords. Think about content ;)
Title: Re: Optimus Brave
Post by: denisoi on January 17, 2012, 10:44:21 AM
ok , i removed all ..

we will see the results after a while , hope to be ok
Title: Re: Optimus Brave
Post by: denisoi on January 24, 2012, 05:36:11 AM
Hello Bugo ,

Im back with another question about sitemap which is in this modification :)

Today i realised that my forum links wich are in sitemap is looking different than my normal links which are on form and i wanna ask if that is a problem (in my opinion i think yes) and if yes how to repair them to look normal

I will give u some example so see about what im talking :

In forum like is looking like that : domain/2626/a-gray-challenge-a-la-ferguson/
In sitemap link is looking like that :  domain/index.php?topic=2626.0

Total different .. question is how engines are looking that

Thank u in advance
Title: Re: Optimus Brave
Post by: Bugo on January 24, 2012, 09:17:52 AM
Did you try to create sitemap again?
Title: Re: Optimus Brave
Post by: denisoi on January 24, 2012, 09:35:59 AM
no , i had the last one , i have to rebuild it and reupload ? :)
Title: Re: Optimus Brave
Post by: Bugo on January 24, 2012, 09:38:01 AM
Open Subs-Optimus.php, find block:
Code: [Select]
// SimpleSEF enabled?
$sef = !empty($modSettings['simplesef_enable']) && file_exists($sourcedir . '/SimpleSEF.php');
if ($sef)
{
function create_sefurl($url)
{
global $sourcedir;

require_once($sourcedir . '/SimpleSEF.php');
$simple = new SimpleSEF;

return $simple->create_sef_url($url);
}
}
and replace with:
Code: [Select]
// SimpleSEF enabled?
$sef = !empty($modSettings['simplesef_enable']) && file_exists($sourcedir . '/SimpleSEF.php');
if ($sef)
{
function create_sefurl($url)
{
global $sourcedir;

require_once($sourcedir . '/SimpleSEF.php');
$simple = new SimpleSEF;

return $simple->create_sef_url($url);
}
}

// PortaMx SEF enabled?
if (file_exists($sourcedir . '/PortaMx/PortaMxSEF.php') && function_exists('create_sefurl')) $sef = true;

Then re-create sitemap in Task Manager.
Title: Re: Optimus Brave
Post by: denisoi on January 24, 2012, 09:51:47 AM
cool bro , thanks for advice .. now everything is all right :) is looking well


Title: Re: Optimus Brave
Post by: Kindred on February 01, 2012, 12:38:10 PM
ok...   I installed this on my test system (with 150+ mods - set to test conflicts, overlaps, etc)

everything seems to be working correctly - except the wiki

Quote
Fatal error: Cannot use object of type WikiPage as array in /mysite/Sources/Subs-Optimus.php on line 77

Code: (find line77) [Select]
  $board_page_number = $topic_page_number = '';
  if (!empty($context['page_info']['current_page']) && $context['page_info']['num_pages'] != 1)
  {
    $trans = array("{#}" => $context['page_info']['current_page']);
    $board_page_number = strtr($board_page_tpl, $trans);
    $topic_page_number = strtr($topic_page_tpl, $trans);
  }

any ideas?
Title: Re: Optimus Brave
Post by: Bugo on February 01, 2012, 08:03:44 PM
What is "wiki"? Do you mean SimpleWiki mod?
Title: Re: Optimus Brave
Post by: Kindred on February 01, 2012, 08:11:50 PM
No, it's Niko's beta SMF wiki mod...http://smfwiki.net/

It calls, http://test.turtleshellprod.com/index.php?action=wiki just before choking
Title: Re: Optimus Brave
Post by: Bugo on February 01, 2012, 10:58:42 PM
Unfortunately, this mod doesn't work for me. Wait stable release.
Title: Re: Optimus Brave
Post by: Kindred on February 01, 2012, 11:00:30 PM
The wiki mod doesn't work for you?  It is working fine for me, just not with  Optimus...  As for the stable release... I'm not sure it'll ever get done...lol, it's been in beta longer than 2.0 was, I think.
Title: Re: Optimus Brave
Post by: Bugo on February 02, 2012, 01:22:10 AM
Possible solution. Find
Code: [Select]
$board_page_number = $topic_page_number = '';
if (!empty($context['page_info']['current_page']) && $context['page_info']['num_pages'] != 1)
{
$trans = array("{#}" => $context['page_info']['current_page']);
$board_page_number = strtr($board_page_tpl, $trans);
$topic_page_number = strtr($topic_page_tpl, $trans);
}
and replace with:
Code: [Select]
$board_page_number = $topic_page_number = '';
if ($context['current_action'] != 'wiki')
{
if (!empty($context['page_info']['current_page']) && $context['page_info']['num_pages'] != 1)
{
$trans = array("{#}" => $context['page_info']['current_page']);
$board_page_number = strtr($board_page_tpl, $trans);
$topic_page_number = strtr($topic_page_tpl, $trans);
}
}
Title: Re: Optimus Brave
Post by: Kindred on February 02, 2012, 07:28:03 AM
that worked. :)   thanks!
Title: Re: Optimus Brave
Post by: MaXiForum.cz on February 03, 2012, 12:58:30 PM
http://test.turtleshellprod.com/index.php?action=wiki;page=Special:Upload
Code: [Select]
Fatal error: Cannot use object of type WikiPage as array in /home/turtleshell/www/test/Sources/Subs-Optimus.php on line 79
;)
Title: Re: Optimus Brave
Post by: Kindred on February 04, 2012, 02:51:53 AM
hmmmm.... that link works for me, when I am logged in, so it must be a conflict in the guest settings/permissions
Title: Re: Optimus Brave
Post by: FreeMan19 on February 13, 2012, 08:15:02 AM
for SMF 2.0 RC3 ?when? :D
Title: Re: Optimus Brave
Post by: Bugo on February 13, 2012, 08:42:18 AM
When pigs fly.
Title: Re: Optimus Brave
Post by: painterforum20 on February 13, 2012, 12:14:15 PM
I installed the mod but according to Webmasters Tools the Robots Text provided with the mod blocked Google bots from crawling the forum . According to WT 383 important pages were blocked plus there was some syntax error. I dropped completely off Google Search.
Title: Re: Optimus Brave
Post by: daveb47 on February 16, 2012, 11:22:49 AM
I have these files on root of forum but none of them are recognised by google webmaster tools

sitemap.xml.gz
sitemap_images.xml.gz
sitemap_mobile.xml.gz
sitemap.xsl

Title: Re: Optimus Brave
Post by: lepidas on February 18, 2012, 04:44:13 AM
Hi I just installed Optimus Brave but I dont know what to add in these fields

Title: Re: Optimus Brave
Post by: daveb47 on February 18, 2012, 12:07:34 PM
Getting these errors on webmaster tools

Code: [Select]
[code]Sitemap: /sitemap.xml.gz
Type: ?
Error details: 1 Errors, 0 Warnings.
Show:
Show
25 rows
1-1 of 1
# Type Issue Description Issues count Example Line Detected
1


Errors

Unsupported file format

Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.[

1


-

Feb 18, 2012

Quote
Sitemap: /sitemap_images.xml.gz
Type: ?
Error details: 1 Errors, 0 Warnings.
Show:
Show
25 rows
1-1 of 1
#      Type   Issue   Description   Issues count   Example   Line   Detected
1
   
   
Errors
   
Unsupported file format
   
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.
   
1
   
   
-
   
Feb 18, 2012
Title: Re: Optimus Brave
Post by: Bugo on February 19, 2012, 06:34:12 AM
Well, don't use .gz format. Do you know about Sitemap mod?
Title: Re: Optimus Brave
Post by: painterforum20 on February 19, 2012, 03:10:08 PM
Google only recognizes XML and TEXT fie extensions for sitemaps.  You can create your own sitemap with any of the free online sitemap generators like http://sitemapxml.net/  download the file and upload to your server then submit to Google in your Webmaster Tools account.
Title: Re: Optimus Brave
Post by: bluedragon2k9 on March 11, 2012, 11:39:49 PM
hello i have a question.when we use this mod do we leave the  meta keywords that are in admin-feature and options blank or fill them out to?
Title: Re: Optimus Brave
Post by: Bugo on March 12, 2012, 01:24:55 AM
No difference.
Title: Re: Optimus Brave
Post by: bluedragon2k9 on March 14, 2012, 01:09:51 AM
ok i have one last question love the mod so far by the way great work.anyways the robot.txt generation does it matter if i have pretty urls mod? does the mod account for that or  does it matter  at all? meaning will the robots.txt be the same either way.
thanks for the help much appreciated
Title: Re: Optimus Brave
Post by: InfoStrides on March 16, 2012, 11:02:07 PM
Thanks for this great mod. But I am having difficulty with Sitemap generation. It is not working at all.
Title: Re: Optimus Brave
Post by: tectonny on April 29, 2012, 11:59:24 AM
Topic/board pages settings

After the last update to the functioning of nuperação of pages in the term page displays.
Title: Re: Optimus Brave
Post by: MoinFaraz on May 13, 2012, 11:15:34 AM
The only thing i am concerned about is "dupe keywords"

No matter what page content is, it will not generate auto keywords for boards, topics etc...

Would there be a setting to generate auto keywords just like it generate description

Title: Re: Optimus Brave
Post by: shubha on May 24, 2012, 02:28:40 AM
This is not working
"Output board description to the meta-tag description "
Title: Re: Optimus Brave
Post by: James--- on May 24, 2012, 07:22:12 PM
@shubba

It is working by me. If I put this option on, this mod will take the description of the board and use it as the meta description for that board.

@ the creator of the mod

Quote
Other small changes to improve the indexing of your forum

Can you be specific and tell us what those changes are? Does this change the breadcrumb homepage link to off?
Title: Re: Optimus Brave
Post by: shubha on May 25, 2012, 12:41:15 AM
But it did not working for me and google show the duplicate meta description.
Title: Re: Optimus Brave
Post by: MESWEB on May 28, 2012, 05:44:07 AM
But it did not working for me and google show the duplicate meta description.
For me too.

How to display this:
Quote
{topic_name}+{category_name}+ - page {#} - +{board_name} - {forum_name}
I need category name in title tag
Title: Re: Optimus Brave
Post by: Bugo on May 30, 2012, 01:17:20 AM
{category_name} is not provided.
Title: Re: Optimus Brave
Post by: MoinFaraz on May 30, 2012, 01:25:36 AM
{category_name} is not provided.

Could you possibly address my question mate? or possibly point me in the right direction.

Any help would be much appreciated. :)
Title: Re: Optimus Brave
Post by: Bugo on May 30, 2012, 05:38:42 AM
I'll add this feature later. Next version, maybe.
Title: Re: Optimus Brave
Post by: MESWEB on May 30, 2012, 05:44:03 AM
I'll add this feature later. Next version, maybe.
I appreciate it and wait for this feature.
Title: Re: Optimus Brave
Post by: MoinFaraz on May 30, 2012, 11:08:53 AM
I'll add this feature later. Next version, maybe.

My bad! its not about category name, but auto generating of keywords based on title or description.
Currently, there is no function to generate keywords like it does for description and title.

Hope i am making sense.
Title: Re: Optimus Brave
Post by: shubha on May 30, 2012, 11:38:34 AM
No need to add "category name", repeat the keywords against the terms and condition of google. I have already remove the forum name. You can contact the any seo.
Title: Re: Optimus Brave
Post by: MESWEB on May 30, 2012, 01:14:25 PM
I need category name in title description coz I have double posts:
First posts in MP3 (category)
Second posts in Videoclips (category)
Google index my post as doubled title description coz in Mp3 and Videoclips posts are this same name. Only If I add category name to title description - google index this properly
Title: Re: Optimus Brave
Post by: shubha on June 02, 2012, 07:29:16 AM
Everything Mess up after install the meta modification.I am unable to verify the website using optomus brave . How to manaully add it.
Title: Re: Optimus Brave
Post by: Gà Mái on June 08, 2012, 02:12:33 PM
Many thanks!!!
Nice mod!
Title: Re: Optimus Brave
Post by: floridaflatlander on June 08, 2012, 02:23:57 PM
Many thanks!!!
Nice mod!

I agree
Title: Re: Optimus Brave
Post by: GCMain on June 19, 2012, 01:53:03 PM
Loved this mod, but when I installed it on my SMF 2.0.2 board, ALL of the other choices from the configuration drop-down menu disappeared except for the Optimus Brave one.

When I uninstalled it, they all came back.

Any suggestions?
Title: Re: Optimus Brave
Post by: butchs on June 24, 2012, 10:00:02 PM
Un-install all mods before upgrading SMF.
Title: Re: Optimus Brave
Post by: Vrooom on August 03, 2012, 10:31:39 AM
That is better I think:
in Subs-Optimus.php

find:
Code: [Select]
$context['optimus_description'] = optimus_meta_teaser($topicinfo['id_first_msg']);
replace with:
Code: [Select]
$context['optimus_description'] = optimus_meta_teaser($context['first_message']);
Title: Re: Optimus Brave
Post by: Bugo on August 04, 2012, 07:34:22 AM
$context['topic_first_message'] it's best :)
Title: Re: Optimus Brave
Post by: MiY4Gi on August 11, 2012, 12:03:22 PM
I use the PortaMx portal, so the homepage title I specified in the mod only shows when I'm in my forum (i.e. at mysite.tld/forum), not when I'm at my "Home"/Portal page (i.e. mysite.tld). Would it be possible to move the homepage title to the Website's homepage, and rename the Forum's homepage as simply "MySiteTitle - Forum"?
Title: Re: Optimus Brave
Post by: mrintech on August 11, 2012, 01:24:02 PM
I am using this MOD and it's awesome for SEO :)

Thanks a ton :)
Title: Re: Optimus Brave
Post by: Bugo on August 12, 2012, 02:50:53 AM
I use the PortaMx portal, so the homepage title I specified in the mod only shows when I'm in my forum (i.e. at mysite.tld/forum), not when I'm at my "Home"/Portal page (i.e. mysite.tld). Would it be possible to move the homepage title to the Website's homepage, and rename the Forum's homepage as simply "MySiteTitle - Forum"?
Subs-Optimus.php, find
Code: [Select]
function optimus_home()
{
global $txt, $modSettings, $context;

loadLanguage('Optimus');

$txt['forum_index'] = !empty($modSettings['optimus_forum_index']) ? '%1$s - ' . $modSettings['optimus_forum_index'] : $context['forum_name'];
}

function optimus_operations()
{
global $context, $boardurl, $modSettings, $smcFunc, $txt, $scripturl, $topicinfo, $board_info;
and replace with
Code: [Select]
function optimus_home()
{
global $context, $mbname, $txt, $modSettings;

loadLanguage('Optimus');

// Portal
if(empty($context['current_board']) && empty($context['current_topic']) && empty($_REQUEST['action']))
$context['forum_name'] = !empty($modSettings['optimus_forum_index']) ? $mbname . ' - ' . $modSettings['optimus_forum_index'] : $context['forum_name'];

// Forum
$txt['forum_index'] = '%1$s - Forum';
}

function optimus_operations()
{
global $context, $mbname, $boardurl, $modSettings, $smcFunc, $txt, $scripturl, $topicinfo, $board_info;

// Portal
if(empty($context['current_board']) && empty($context['current_topic']) && empty($_REQUEST['action']))
$context['linktree'][0]['name'] = $mbname;
Title: Re: Optimus Brave
Post by: MiY4Gi on August 13, 2012, 01:18:58 PM
Subs-Optimus.php, find
Code: [Select]
function optimus_home()
{
global $txt, $modSettings, $context;

loadLanguage('Optimus');

$txt['forum_index'] = !empty($modSettings['optimus_forum_index']) ? '%1$s - ' . $modSettings['optimus_forum_index'] : $context['forum_name'];
}

function optimus_operations()
{
global $context, $boardurl, $modSettings, $smcFunc, $txt, $scripturl, $topicinfo, $board_info;
and replace with
Code: [Select]
function optimus_home()
{
global $context, $mbname, $txt, $modSettings;

loadLanguage('Optimus');

// Portal
if(empty($context['current_board']) && empty($context['current_topic']) && empty($_REQUEST['action']))
$context['forum_name'] = !empty($modSettings['optimus_forum_index']) ? $mbname . ' - ' . $modSettings['optimus_forum_index'] : $context['forum_name'];

// Forum
$txt['forum_index'] = '%1$s - Forum';
}

function optimus_operations()
{
global $context, $mbname, $boardurl, $modSettings, $smcFunc, $txt, $scripturl, $topicinfo, $board_info;

// Portal
if(empty($context['current_board']) && empty($context['current_topic']) && empty($_REQUEST['action']))
$context['linktree'][0]['name'] = $mbname;

Worked like a charm. Thanks.
Title: Re: Optimus Brave
Post by: bearstreet on August 21, 2012, 05:08:12 PM
if i have a robots.txt file on root of my server, do i need to update the contents of it in the mod settings in my forum for this mod?

also, sitemap generated by it contains links like
forum/categoryx
and then
forum/categoryx/xyz
will it point to duplicate content issues?
Title: Re: Optimus Brave
Post by: mrintech on August 22, 2012, 12:44:50 AM
if i have a robots.txt file on root of my server, do i need to update the contents of it in the mod settings in my forum for this mod?

also, sitemap generated by it contains links like
forum/categoryx
and then
forum/categoryx/xyz
will it point to duplicate content issues?

1. Nope

2. Are both URLs serving exact same content?
Title: Re: Optimus Brave
Post by: bearstreet on August 22, 2012, 06:44:22 AM
thnks, problem solved :)
Title: Re: Optimus Brave
Post by: bearstreet on August 22, 2012, 02:41:09 PM
the frequency is set for daily for boards
can I set it to hourly ?

i.e hourly change in frequency of boards instead of daily?
Title: Re: Optimus Brave
Post by: Bugo on August 22, 2012, 03:36:08 PM
The frequency depends on the date of the latest messages in each board. If your messages will be posted every hour then frequency automatically set to "hourly".
Title: Re: Optimus Brave
Post by: bearstreet on August 23, 2012, 10:40:07 AM
this is the link of xml sitemap made by using this mod
http://testbear1234.site88.net/sitemap.xml

I am using pretty urls
now the sitemap generates the urls and they are not that should be generated by using pretty urls
and clicking on the urls generated by this mod's sitemap, i gt redirected to the index page
how to rectify it
i.e. the sitemap shows urls consistent with pretty urls mod and does not gets redirected to index page
Title: Re: Optimus Brave
Post by: Kindred on August 23, 2012, 10:44:51 AM
get rid of prettyurls...
Title: Re: Optimus Brave
Post by: Bugo on August 24, 2012, 01:03:15 AM
Recreate the sitemap via Task Manager.
Title: Re: Optimus Brave
Post by: James--- on August 31, 2012, 11:13:40 AM
@Bugo,

We use your mod (optimus brave) and its pretty good actually, but we have a question about it.
You can configure the settings for the board's title tags,
but the sub-boards doesn't have that option yet. So by the sub-boards, the title tags remains the same
and can not be edited yet. Maybe you can create an option to do that? (configure title tags of sub-boards).

Thanks in advance!
Title: Re: Optimus Brave
Post by: Kindred on August 31, 2012, 11:31:06 AM
James,

Subboards?  Do you mean child boards?
If so, then the display page of a childboard uses the exact same template as the parent board......
Title: Re: Optimus Brave
Post by: James--- on August 31, 2012, 11:36:42 AM
Yes, I mean child boards. I don't understand it. Bugo has made an SEO mod, called "Optimus Brave".
His mod creates better titles and descriptions. You can use the name of the forum in the title tag for example.
This option creates better title tags for all topics and boards, but for child boards, there is nothing to configure.
So the title tags for child boards cannot be optimized.

Title: Re: Optimus Brave
Post by: Bugo on August 31, 2012, 12:09:52 PM
What exactly do you want?

Special template for sub boards like "Forum name - Board name - Sub board name - page xxx"?
Title: Re: Optimus Brave
Post by: Kindred on August 31, 2012, 01:19:43 PM
James - child boards = boards...   the child board will use the exact same profile as every other board.

Template of board pages title


Unless, as Bugo suggested, you are looking for a special template, just for child boards... However, that could get REALLY messy, REALLY fast. (I have seen forums with boards buried 5 or 6 layers deep)
Title: Re: Optimus Brave
Post by: James--- on September 01, 2012, 07:09:03 AM
Just to clarify, this is what I mean:

This URL leads to the affiliate marketing board: http://www.geldverdienenopinternetforum.nl/affiliate-marketing/3/
However, this URL leads to a child board of affiliate marketing, named "clickbank": http://www.geldverdienenopinternetforum.nl/clickbank/45/

As you can see, "Affiliate Marketing - Pagina 1 - Geld Verdienen Op Internet Forum" is the title of the affiliate marketing board, which is excellent.

However, just the word "Clickbank" is the title of the Clickbank child board.
It should be: Clickbank - Pagina 1 - Geld Verdienen Op Internet Forum

And my question is if there would be an opportunity to modify this?
Title: Re: Optimus Brave
Post by: Bugo on September 01, 2012, 08:15:17 AM
This child board is empty. OB mod doesn't work with empty boards (it's my idea). Post any topic and you will see changes.
Look at other your child board => http://www.geldverdienenopinternetforum.nl/google-analytics/47/, for example.

If you still want to "fix" OB, do the following:
1) open /Sources/Subs-Optimus.php,
2) find
Code: [Select]
if (!empty($board_info['total_topics']))and replace with:
Code: [Select]
if (!empty($board_info['name']))
Title: Re: Optimus Brave
Post by: johnpaul2k2 on September 01, 2012, 11:00:08 AM
 i just installed Optimus Brave and i don't want to make mistakes

1. looking at the first image, do i need to include "meta-tag" (whether html or bbc) or should i leave it like that?

(https://lh5.googleusercontent.com/-VNeFdfMJZ7s/UEIG7Dws0wI/AAAAAAAAAHo/_FQfNTZlUGw/s989/Capture.PNG)

2. Looking at the second image, i dont understand this "robots.txt" very well. i only included the code that someone here shown  on how to block "link Profile" . i also saw many other codes but in order not to make mistakes.

(https://lh4.googleusercontent.com/-qkulan8jsh4/UEIG7PPrt9I/AAAAAAAAAHs/hbEV_YQXsZ4/s989/Capture2.PNG)
Should i copy all the codes to "robots.txt" box?
are there some i should select from?
or any smf tutorials concerning robots.txt??
here are the following robots.txt i saw in the "Generator of rules"

User-agent: Googlebot-Image
Disallow: /

User-agent: YandexImages
Disallow: /

User-agent: msnbot-MM
Disallow: /

User-agent: Googlebot-Mobile
Allow: /*wap
Disallow: /

User-agent: YandexImageResizer
Allow: /*wap
Disallow: /

User-agent: MediaPartners-Google
Allow: /

User-agent: *
Allow: /$
Allow: /*action=.xml
Disallow: /*action
Disallow: /*wap
Disallow: /*board=*wap
Disallow: /*topic=*wap
Disallow: /*topic=*.msg
Disallow: /*topic=*.new
Disallow: /*;
Disallow: /*PHPSESSID
Allow: /*board
Allow: /*topic
Disallow: /
Crawl-delay: 5
Clean-param: PHPSESSID /index.php
Host: topnichez.com
Title: Re: Optimus Brave
Post by: Bugo on September 01, 2012, 12:20:04 PM
1. Just make a short description (not keywords!) of your forum. Example: "The best forum in the world"...
2. Shouldn't, but can. It's not necessary.
Title: Re: Optimus Brave
Post by: johnpaul2k2 on September 01, 2012, 01:06:05 PM
Thanks but i saw another thing under "Search team"  take a look, they said my page has been indexed
what will i do?




(https://lh3.googleusercontent.com/-cJ6MgJTBLCg/UEI_xtKG_VI/AAAAAAAAAIM/ujzcXenfVfc/s848/Capture.PNG)
Title: Re: Optimus Brave
Post by: Bugo on September 01, 2012, 01:16:45 PM
Just wait... some days... or weeks. It depends on indexing & traffic :)
Title: Re: Optimus Brave
Post by: Oceander on September 15, 2012, 01:00:51 PM
Beautiful mod!  Thank you so very much for taking the time to give the world (well, ok, the SMF world) such a great present.
Title: Re: Optimus Brave
Post by: weerforum on September 17, 2012, 07:07:39 AM
Where can i change Page into Pagina.
Please see attachment.
Great mod by the way  ;)
Title: Re: Optimus Brave
Post by: Bugo on September 17, 2012, 07:12:05 AM
Admin -> Configuration -> SEO -> Common settings, 2 options: Template of board pages title and Template of topic pages title
Title: Re: Optimus Brave
Post by: weerforum on September 17, 2012, 07:21:44 AM
Briljant Bugo
Thanx for tje quick answer.
Greetings from the Netherlands  ;)
Title: Re: Optimus Brave
Post by: Thilo on September 19, 2012, 12:14:17 PM
Just one question:

My error-log shows always:

"Datenbankfehler: Duplicate entry '32767' for key 1"

So - to me it seems, that it isn't possible to store more than 32767 Search-Terms in the database ?

Ok - but is there a way to stop the mod trying to put more terms to the database if the number of terms already reached 32767...?
Title: Re: Optimus Brave
Post by: Bugo on September 19, 2012, 12:24:16 PM
Just change column (name "id") type from SMALLINT to INT - see search_terms table in your database.
Title: Re: Optimus Brave
Post by: Thilo on September 19, 2012, 12:39:23 PM
Ahhh - perfect ! Thanks :-)
Title: Re: Optimus Brave
Post by: PersianDeveloper on October 12, 2012, 10:27:31 AM
no questions but just in one tiny sweet sentence, this package is a MUST for all SMF forums

thumbs up Bugo
Title: Re: Optimus Brave
Post by: zoki on October 13, 2012, 07:29:18 AM
Is it possible for META Description tag to have not first sentence, but for example first 200 characters from the post? That would be awesome.
Title: Re: Optimus Brave
Post by: jobey on October 15, 2012, 06:42:15 PM
In the verification metatags section, what type of text am i supposed to be putting in the boxes?
  Thanks.
Title: Re: Optimus Brave
Post by: Bugo on October 15, 2012, 11:15:53 PM
What is written there?
Title: Re: Optimus Brave
Post by: mrintech on October 16, 2012, 01:50:35 AM
In the verification metatags section, what type of text am i supposed to be putting in the boxes?
  Thanks.

When you try to verify your Site in Google Webmasters Tool, Bing etc., you will get a small verification snippet. You need to enter these snippets in these boxes

http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35179
Title: Re: Optimus Brave
Post by: oloyede JAMIU on October 16, 2012, 04:55:44 AM
can somebody guide me on how to set this mod for my site to be search engine friendly
Title: Re: Optimus Brave
Post by: alphacaveman on October 17, 2012, 07:56:52 PM
Hi there, I'm using Optimus Brave but am running into a problem. It won't change the meta description no matter how I enter the settings. I went to my index.template.php file and saw that I had a meta description in there that it was pulling. But when I remove it, the forum still won't show what I'm asking it to via Optimus. Any ideas? Thanks.
Title: Re: Optimus Brave
Post by: Bugo on October 18, 2012, 03:29:59 AM
You shouldn't change nothing in index.template.php, never. This mod doesn't make any edits with files.
Title: Re: Optimus Brave
Post by: jobey on October 18, 2012, 03:32:22 PM
Apart from entering a description in the forum review....and entering the verification metatags....should i be doing anything else with this mod to optimize the results i get?
Title: Re: Optimus Brave
Post by: Bugo on October 18, 2012, 09:35:02 PM
Not required, but one can use other tabs of this mod.
Title: Re: Optimus Brave
Post by: jobey on October 19, 2012, 04:50:30 PM
ok, thanks
Title: Re: Optimus Brave
Post by: Bugo on October 19, 2012, 10:47:23 PM
Is it possible for META Description tag to have not first sentence, but for example first 200 characters from the post? That would be awesome.
Of course, it's possible. Open Subs-Optimus.php, find this:
Code: [Select]
if ($smcFunc['strlen']($teaser) < 150) return strip_tags($teaser);and replace with
Code: [Select]
if ($smcFunc['strlen']($teaser) < 200) return strip_tags($teaser);
Then find this:
Code: [Select]
$teaser = $smcFunc['substr']($teaser, 0, 150);and replace with
Code: [Select]
$teaser = $smcFunc['substr']($teaser, 0, 200);
Finally, find
Code: [Select]
$result = !empty($tmp1) ? $tmp1 : (!empty($tmp2) ? $tmp2 : (!empty($tmp3) ? $tmp3 : rtrim($teaser)));and replace with
Code: [Select]
$result = rtrim($teaser);
Title: Re: Optimus Brave
Post by: Uhura! on October 25, 2012, 09:14:39 PM
Great mod! Where are the controls in the Admin Panel?
Title: Re: Optimus Brave
Post by: Bugo on October 25, 2012, 11:12:51 PM
You wouldn't believe me — Admin Panel => Configuration => Search Engine Optimization :)
Title: Re: Optimus Brave
Post by: Uhura! on October 26, 2012, 06:46:00 PM
It's not that - I thought I would get a faster response in the support thread.

Anyway - it was my lack of attention. i uploaded but did not hit "install"

Sorry LOL!
Title: Re: Optimus Brave
Post by: alphacaveman on October 28, 2012, 05:21:45 PM
So back to my original post. Whether or not I edit the index.template.php file is irrelevant. The mod still won't change the meta description no matter how I enter the settings.
Title: Re: Optimus Brave
Post by: alphacaveman on November 07, 2012, 12:35:43 PM
Anyone? Optimus Brave, though I ask it to, won't change the meta description anywhere. Any ideas?
Title: Re: Optimus Brave
Post by: Bugo on November 07, 2012, 07:40:35 PM
Try to use original index.template.php, without ANY changes.
Title: Re: Optimus Brave
Post by: alphacaveman on November 16, 2012, 05:06:16 PM
Try to use original index.template.php, without ANY changes.

As far as I know, that's what I'm doing. :) Can you tell me what parts are essential so I can check them with the SMF default? Or if you know of a quicker, easier way, I'd certainly appreciate that as well.
Title: Re: Optimus Brave
Post by: jack001 on November 17, 2012, 03:51:06 AM
i am not getting what to write in

Search engine (Tools)    
Google (Webmasters tools)       
Yandex (Yandex.Webmaster)       
MSN (MSN Webmaster Tools)       
Yahoo (Yahoo Site Explorer)       
Alexa (Alexa Site Tools)

can you please elaborate??
Title: Re: Optimus Brave
Post by: Bugo on November 17, 2012, 04:25:59 AM
If you don't know what to write, leave these fields blank.
Title: Re: Optimus Brave
Post by: mrintech on November 17, 2012, 08:49:47 AM
i am not getting what to write in

Search engine (Tools)    
Google (Webmasters tools)       

can you please elaborate??

You need to enter Meta Verification Tags in these fields: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35659

Google matters the most :)
Title: Re: Optimus Brave
Post by: perfec2 on November 21, 2012, 06:10:54 AM
Does it support 1.16 version?
Title: Re: Optimus Brave
Post by: Kindred on November 21, 2012, 10:07:18 AM
did you even bother to read the mod download page?

Quote
Compatible With:
    2.0, 2.0.1, 2.0.2


so. no.
Title: Re: Optimus Brave
Post by: normd on November 27, 2012, 01:16:10 PM
I can not get the sitemap generator to work using 2.0.2, There is no option in the Scheduled Tasks to enable Sitemap Generation task? 

When you go to
Administration Center » Search Engine Optimization »robots.txt  in the place where the options should be under Search Engine Optimization it just says "Do you want a simple sitemap? Optimus Brave can generate sitemap.xml for small forums. Just go to Scheduled Tasks and enable Sitemap Generation task.. " But as i say there is no option for this in scheduled tasks??????

any idea's ???
Title: Re: Optimus Brave
Post by: Bugo on November 27, 2012, 09:22:21 PM
How did you install it? Via Package Manager or by hand?
Title: Re: Optimus Brave
Post by: normd on November 28, 2012, 02:22:16 PM
Via package manager but all is fine, there is still no option for the site map but it has now done one anyway all by it's self lol, well happy with it thanks!!
Title: Re: Optimus Brave
Post by: Bugo on November 28, 2012, 11:45:39 PM
Can you make a screenshot of your Scheduled Tasks page?
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on December 04, 2012, 06:12:06 PM
Bugo thanks for the great mod. Can you help me with something possibly small related to the sitemap?

The sitemap is generating, but each link in the sitemap, when I click it, just leads to to the main index page. Is this normal? Should the sitemap links not go direct to the specific topics for the search engines?

Sitemap URL
http://www.dropkickrugby.com/forum/sitemap.xml
 (http://www.dropkickrugby.com/forum/sitemap.xml)
Many thanks for any thoughts.

kind regards
Title: Re: Optimus Brave
Post by: Bugo on December 05, 2012, 01:33:56 AM
Try to run task "Creating of Sitemap" in Scheduled Tasks by hand.
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on December 05, 2012, 11:11:56 AM
Hi Bugo,

thanks for getting back to me.

I tried that, and yet the sitemap on the url is the same- every link on it, when clicked, just goes to the index.
Can you try it and see if they all go to the index for you too?

http://www.dropkickrugby.com/forum/sitemap.xml

Do you have any other ideas as to what is wrong?

Thanks
Title: Re: Optimus Brave
Post by: Kindred on December 05, 2012, 12:56:44 PM
ok, joey...   the links in your sitemap work fine for me...   each of them links to a specific BOARD, exactly as it should

it looks like you have some silly "SEO" or "pretty urls" mod...   I'd say get rid of it, it's useless and will cause mor eproblems than it supposedly solves.!
Title: Re: Optimus Brave
Post by: Bugo on December 05, 2012, 01:50:12 PM
All links work fine for me too. Try to update cache in your browser.
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on December 05, 2012, 09:44:41 PM
hey guys - i cleared my cache and it's still the same. Even when I try it in IExplorer, every link takes me to this page

http://www.dropkickrugby.com/forum/index

but comes up like this in the browser address

http://www.dropkickrugby.com/forum/index.php?topic;=87.0

am I going crazy? ( maybe i am!)
Title: Re: Optimus Brave
Post by: Bugo on December 06, 2012, 01:58:36 AM
Disable/Uninstall your SEO mod (Pretty URLs or what you are using) and then re-create Sitemap via Scheduled Tasks.
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on December 09, 2012, 02:34:37 PM
Hi Bugo, thanks for getting back to me. Can I then go back to using pretty URL after doing that?
Title: Re: Optimus Brave
Post by: Kindred on December 09, 2012, 06:11:37 PM
no....   and, as I said - pretty urls will cause problems with lots of mods (and is not necessary)
Title: Re: Optimus Brave
Post by: 2strokecentral on December 28, 2012, 02:53:44 AM
Hi,
I installed this mod. It seems like it would great. Only problem is that none of my titles changed they are still the same.
www.2strokecentral.com/index.php
it should be www.2strokecentral.com/home

Is there something I'm not doing or I should do?
Title: Re: Optimus Brave
Post by: Kindred on December 28, 2012, 08:20:39 AM
This mod does not change the urls at all, since urls have very little, if any, effect on search engine ranking.
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on January 03, 2013, 04:57:07 PM
Hi kindred,

I agree they dont do alot for SEO (maybe a little according to some people) but as an internet user myself i'm FAR more likely to click on a link if it's not a jumble of numbers - but words relevant to what im looking for
Title: Re: Optimus Brave
Post by: Arantor on January 03, 2013, 05:02:11 PM
You're in the minority actually - the WSJ and YouTube, consistently in the top 10 sites online, do not bother with 'nice' URLs.
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on January 03, 2013, 05:42:21 PM
im not in any minority or majority actually - said 'maybe' a little. From what i've read. That's all.

And youtube being owned by google means theyll get the most favourable traffic anyway, so not sure theyre a good example. Plus, with the volume and uploaders writing headings, its not practical for them to make pretty urls.

Again, i dont know, but alot of people online say they matter. Again, not here to argue with you....................................
Title: Re: Optimus Brave
Post by: Arantor on January 03, 2013, 05:44:31 PM
And here's the other thing... remember that you're not writing all the topics on the forum, your *users* are, and I guarantee users will not care about keywords and whatnot in titles.

I'm not asking you to believe what I'm saying. Nor am I asking you to argue. I'm asking you to take what I'm saying and think about it.
Title: Re: Optimus Brave
Post by: Badboy on January 06, 2013, 05:30:58 PM
Turkish translation
Code: [Select]
$txt['optimus_main'] = 'Optimus Brave';
$txt['optimus_title'] = 'Arama Motoru Optimizasyonu';

$txt['optimus_common_title'] = 'Genel ayarlar';
$txt['optimus_common_desc'] = 'Bu sayfada forum açıklamasını değiştirebilir, sayfa başlıklarının şablonlarını yönetebilirsiniz.';
$txt['optimus_verification_title'] = 'Meta etiketleri doğrulaması';
$txt['optimus_verification_desc'] = 'Bu sayfada aşağıdaki listeden herhangi bir genel veya doğrulama kodu ekleyebilirsiniz.';
$txt['optimus_robots_title'] = 'robots.txt';
$txt['optimus_robots_desc'] = 'Bu sayfada forum haritası oluşturmanın bazı seçeneklerini değiştirebilirsiniz, bunun yanı sıra özel üreteci kullanarak bir robots.txt dosyası değiştirebilirsiniz.';
$txt['optimus_terms_title'] = 'Arama terimleri';
$txt['optimus_terms_desc'] = 'Arama terimleri insanların forumunuzu bulmak için arama motorlarının arama formlarına yazdığı kelime ve ifadelerdir.';

$txt['optimus_main_page'] = 'Anasayfa';
$txt['optimus_common_info'] = 'Peki, eğer robot bir sayfa ile bir arama sorgusunun eşleştiğini belirlerse açıklama etiketi içeriği dikkate alınabilir.';
$txt['optimus_portal_index'] = 'Portal anasayfa başlığı';
$txt['optimus_forum_index'] = 'Forum anasayfa başlığı';
$txt['optimus_description'] = 'Kısa ama ilginç bir forum yorumu<br /><span class="smalltext"><em>description</em> etiketinin içeriği olarak kullanılacaktır.</span>';
$txt['optimus_all_pages'] = 'Konu/bölüm sayfalarının ayarları';
$txt['optimus_tpl_info'] = 'Olası değişkenler:<br/><strong>{board_name}</strong> &mdash; bölüm adı, <strong>{topic_name}</strong> &mdash; konu başlığı,<br/><strong>{#}</strong> &mdash; geçerli sayfa numarası, <strong>{cat_name}</strong> &mdash; kategori adı, <strong>{forum_name}</strong> &mdash; forumunuzun adı.';
$txt['optimus_board_tpl'] = 'Bölüm sayfalarının başlık şablonu';
$txt['optimus_topic_tpl'] = 'Konu sayfalarının başlık şablonu';
$txt['optimus_templates'] = array(
'board' => array('{board_name}', ' - sayfa {#} - ', '{forum_name}'),
'topic' => array('{topic_name}', ' - sayfa {#} - ', '{board_name} - {forum_name}')
);

$txt['optimus_board_description'] = 'Bölüm açıklamasını meta-etikete gönder <em>description</em>';
$txt['optimus_topic_description'] = 'Konunun ilk mesajının ilk cümlesini meta-etikete gönder <em>description</em>';
$txt['optimus_404_status'] = 'İstenen sayfa durumuna göre <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" target="_blank">403/404 kodunu</a> getir';
$txt['optimus_404_page_title'] = '404 - Sayfa bulunamadı';
$txt['optimus_404_h2'] = 'Hata 404';
$txt['optimus_404_h3'] = 'Üzgünüm, ama istenilen sayfa bulunamadı.';
$txt['optimus_403_page_title'] = '403 - Erişim Yasak';
$txt['optimus_403_h2'] = 'Hata 403';
$txt['optimus_403_h3'] = 'Üzgünüm, ancak bu sayfaya erişim hakkınız yok.';

$txt['optimus_codes'] = 'Doğrulama meta etiketleri';
$txt['optimus_titles'] = 'Arama Motoru (Araçları)';
$txt['optimus_name'] = 'Adı';
$txt['optimus_content'] = 'İçerik';
$txt['optimus_meta_info'] = ' Lütfen sadece <strong>content</strong> meta etiketinin parametre değerlerini kullanın.<br />Örneğin: <span class="smalltext">&lt;meta name="google-site-verification" content="<strong>SAĞ SÜTUNA YAPIŞTIRMANIZ GEREKEN DEĞER</strong>" /&gt;</span>';
$txt['optimus_search_engines'] = array(
'Google' => array('google-site-verification','<a href="http://www.google.com/webmasters/tools" target="_blank">Web Yöneticisi Araçları</a>'),
'Yandex' => array('yandex-verification','<a href="http://webmaster.yandex.com/" target="_blank">Yandex.Web Yöneticisi</a>'),
'MSN' => array('msvalidate.01','<a href="http://www.bing.com/webmaster" target="_blank">MSN Web Yöneticisi Araçları</a>'),
'Yahoo' => array('y_key','<a href="https://siteexplorer.search.yahoo.com/" target="_blank">Yahoo Site Tarayıcısı</a>'),
'Alexa' => array('alexaVerifyID','<a href="http://www.alexa.com/siteowners" target="_blank">Alexa Site Araçları</a>')
);

$txt['optimus_counters'] = 'Sayaçlar';
$txt['optimus_counters_desc'] = 'Bu bölümde forumunuza ziyaretleri hesaplamak için sayaç çeşitleri ekleyebilir veya değiştirebilirsiniz.';
$txt['optimus_stat_code'] = 'Görünmez sayaçlar (<a href="http://www.google.com/analytics/sign_up.html" target="_blank">Google Analytics</a>, <a href="http://piwik.org/" target="_blank">Piwik</a> etc)';
$txt['optimus_count_code'] = 'Görünür sayaçlar (<a href="http://www.freestats.com/" target="_blank">FreeStats</a>, <a href="http://www.superstats.com/" target="_blank">SuperStats</a>, <a href="http://www.prtracker.com/FreeCounter.html" target="_blank">PRTracker</a> etc)';
$txt['optimus_ignored_actions'] = 'Yoksayılan eylemler';

$txt['optimus_sitemap_section'] = 'Forum haritası';
$txt['optimus_sitemap_desc'] = 'Basit bir site haritası ister misiniz? Optimus Brave küçük forumlar için sitemap.xml oluşturabilir. Sadece <a href="?action=admin;area=scheduledtasks;sa=tasks" target="_blank">Zamanlanmış Görevler</a>e gidin ve Site Haritası Oluşturma görevini etkinleştirin.';

$txt['optimus_manage'] = 'Robots.txt yönet';
$txt['optimus_robots_old'] = 'Eski (yüklemeden önceki) robots.txt içeriğini <a href="/old_robots.txt" target="_blank">bu bağlantıdan</a> görebilirsiniz.';
$txt['optimus_links_title'] = 'Faydalı bağlantılar';
$txt['optimus_links'] = array(
'.htaccess düzenleme' => 'http://httpd.apache.org/docs/trunk/howto/htaccess.html',
'robots.txt kullanımı' => 'http://help.yandex.com/webmaster/?id=1113851',
'robots.txt dosyası kullanarak sayfaları engelleme veya kaldırma' => 'http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=156449'
);

$txt['optimus_rules'] = 'Kural oluşturucu';
$txt['optimus_rules_hint'] = 'Siz sağdaki alana bu kuralları kopyalayabilirsiniz:';
$txt['optimus_robots_hint'] = 'Burada kendi kurallarınızı ekleyebilir veya mevcut olanları değiştirebilirsiniz:';
$txt['optimus_other_text'] = 'Lütfen unutmayın';
$txt['optimus_post_scriptum'] = '<span class="alert">Bu değişikliği kendi sorumluluğunuzda kullanın</span>';
$txt['optimus_useful'] = '';

$txt['scheduled_task_optimus_sitemap'] = 'Forum Haritası Oluştur';
$txt['scheduled_task_desc_optimus_sitemap'] = 'Önerilen düzenlilik &mdash; günde bir defa.';
$txt['optimus_sitemap_rec'] = ' Optimus Brave dosyaları birkaç parçaya bölemez.';
$txt['optimus_sitemap_url_limit'] = 'Site Haritası dosyası 50.000\'den fazla URL içermemelidir!';
$txt['optimus_sitemap_size_limit'] = '%1$s dosyası 10 MB\'den büyük olmamalıdır.!';

$txt['optimus_search_stats'] = 'Arama terimleri kaydını etkinleştir';
$txt['optimus_chart_title'] = 'Arama terimleri - En İyi %1$s';
$txt['optimus_terms_none'] = 'İstatistikler mevcut değil. Belki forumunuz henüz indekslenmemiştir.';
$txt['optimus_terms'] = array(
'google' => 'q',
'yahoo' => 'p',
'bing' => 'q',
'alexa' => 'q'
);

Turkish-utf8 translation
Code: [Select]
$txt['optimus_main'] = 'Optimus Brave';
$txt['optimus_title'] = 'Arama Motoru Optimizasyonu';

$txt['optimus_common_title'] = 'Genel ayarlar';
$txt['optimus_common_desc'] = 'Bu sayfada forum açıklamasını değiştirebilir, sayfa başlıklarının şablonlarını yönetebilirsiniz.';
$txt['optimus_verification_title'] = 'Meta etiketleri doğrulaması';
$txt['optimus_verification_desc'] = 'Bu sayfada aşağıdaki listeden herhangi bir genel veya doğrulama kodu ekleyebilirsiniz.';
$txt['optimus_robots_title'] = 'robots.txt';
$txt['optimus_robots_desc'] = 'Bu sayfada forum haritası oluşturmanın bazı seçeneklerini değiştirebilirsiniz, bunun yanı sıra özel üreteci kullanarak bir robots.txt dosyası değiştirebilirsiniz.';
$txt['optimus_terms_title'] = 'Arama terimleri';
$txt['optimus_terms_desc'] = 'Arama terimleri insanların forumunuzu bulmak için arama motorlarının arama formlarına yazdığı kelime ve ifadelerdir.';

$txt['optimus_main_page'] = 'Anasayfa';
$txt['optimus_common_info'] = 'Peki, eğer robot bir sayfa ile bir arama sorgusunun eşleştiğini belirlerse açıklama etiketi içeriği dikkate alınabilir.';
$txt['optimus_portal_index'] = 'Portal anasayfa başlığı';
$txt['optimus_forum_index'] = 'Forum anasayfa başlığı';
$txt['optimus_description'] = 'Kısa ama ilginç bir forum yorumu<br /><span class="smalltext"><em>description</em> etiketinin içeriği olarak kullanılacaktır.</span>';
$txt['optimus_all_pages'] = 'Konu/bölüm sayfalarının ayarları';
$txt['optimus_tpl_info'] = 'Olası değişkenler:<br/><strong>{board_name}</strong> &mdash; bölüm adı, <strong>{topic_name}</strong> &mdash; konu başlığı,<br/><strong>{#}</strong> &mdash; geçerli sayfa numarası, <strong>{cat_name}</strong> &mdash; kategori adı, <strong>{forum_name}</strong> &mdash; forumunuzun adı.';
$txt['optimus_board_tpl'] = 'Bölüm sayfalarının başlık şablonu';
$txt['optimus_topic_tpl'] = 'Konu sayfalarının başlık şablonu';
$txt['optimus_templates'] = array(
'board' => array('{board_name}', ' - sayfa {#} - ', '{forum_name}'),
'topic' => array('{topic_name}', ' - sayfa {#} - ', '{board_name} - {forum_name}')
);

$txt['optimus_board_description'] = 'Bölüm açıklamasını meta-etikete gönder <em>description</em>';
$txt['optimus_topic_description'] = 'Konunun ilk mesajının ilk cümlesini meta-etikete gönder <em>description</em>';
$txt['optimus_404_status'] = 'İstenen sayfa durumuna göre <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" target="_blank">403/404 kodunu</a> getir';
$txt['optimus_404_page_title'] = '404 - Sayfa bulunamadı';
$txt['optimus_404_h2'] = 'Hata 404';
$txt['optimus_404_h3'] = 'Üzgünüm, ama istenilen sayfa bulunamadı.';
$txt['optimus_403_page_title'] = '403 - EriÅŸim Yasak';
$txt['optimus_403_h2'] = 'Hata 403';
$txt['optimus_403_h3'] = 'Üzgünüm, ancak bu sayfaya erişim hakkınız yok.';

$txt['optimus_codes'] = 'DoÄŸrulama meta etiketleri';
$txt['optimus_titles'] = 'Arama Motoru (Araçları)';
$txt['optimus_name'] = 'Adı';
$txt['optimus_content'] = 'İçerik';
$txt['optimus_meta_info'] = ' Lütfen sadece <strong>content</strong> meta etiketinin parametre değerlerini kullanın.<br />Örneğin: <span class="smalltext">&lt;meta name="google-site-verification" content="<strong>SAĞ SÜTUNA YAPIŞTIRMANIZ GEREKEN DEĞER</strong>" /&gt;</span>';
$txt['optimus_search_engines'] = array(
'Google' => array('google-site-verification','<a href="http://www.google.com/webmasters/tools" target="_blank">Web Yöneticisi Araçları</a>'),
'Yandex' => array('yandex-verification','<a href="http://webmaster.yandex.com/" target="_blank">Yandex.Web Yöneticisi</a>'),
'MSN' => array('msvalidate.01','<a href="http://www.bing.com/webmaster" target="_blank">MSN Web Yöneticisi Araçları</a>'),
'Yahoo' => array('y_key','<a href="https://siteexplorer.search.yahoo.com/" target="_blank">Yahoo Site Tarayıcısı</a>'),
'Alexa' => array('alexaVerifyID','<a href="http://www.alexa.com/siteowners" target="_blank">Alexa Site Araçları</a>')
);

$txt['optimus_counters'] = 'Sayaçlar';
$txt['optimus_counters_desc'] = 'Bu bölümde forumunuza ziyaretleri hesaplamak için sayaç çeşitleri ekleyebilir veya değiştirebilirsiniz.';
$txt['optimus_stat_code'] = 'Görünmez sayaçlar (<a href="http://www.google.com/analytics/sign_up.html" target="_blank">Google Analytics</a>, <a href="http://piwik.org/" target="_blank">Piwik</a> etc)';
$txt['optimus_count_code'] = 'Görünür sayaçlar (<a href="http://www.freestats.com/" target="_blank">FreeStats</a>, <a href="http://www.superstats.com/" target="_blank">SuperStats</a>, <a href="http://www.prtracker.com/FreeCounter.html" target="_blank">PRTracker</a> etc)';
$txt['optimus_ignored_actions'] = 'Yoksayılan eylemler';

$txt['optimus_sitemap_section'] = 'Forum haritası';
$txt['optimus_sitemap_desc'] = 'Basit bir site haritası ister misiniz? Optimus Brave küçük forumlar için sitemap.xml oluşturabilir. Sadece <a href="?action=admin;area=scheduledtasks;sa=tasks" target="_blank">Zamanlanmış Görevler</a>e gidin ve Site Haritası Oluşturma görevini etkinleştirin.';

$txt['optimus_manage'] = 'Robots.txt yönet';
$txt['optimus_robots_old'] = 'Eski (yüklemeden önceki) robots.txt içeriğini <a href="/old_robots.txt" target="_blank">bu bağlantıdan</a> görebilirsiniz.';
$txt['optimus_links_title'] = 'Faydalı bağlantılar';
$txt['optimus_links'] = array(
'.htaccess düzenleme' => 'http://httpd.apache.org/docs/trunk/howto/htaccess.html',
'robots.txt kullanımı' => 'http://help.yandex.com/webmaster/?id=1113851',
'robots.txt dosyası kullanarak sayfaları engelleme veya kaldırma' => 'http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=156449'
);

$txt['optimus_rules'] = 'Kural oluÅŸturucu';
$txt['optimus_rules_hint'] = 'Siz sağdaki alana bu kuralları kopyalayabilirsiniz:';
$txt['optimus_robots_hint'] = 'Burada kendi kurallarınızı ekleyebilir veya mevcut olanları değiştirebilirsiniz:';
$txt['optimus_other_text'] = 'Lütfen unutmayın';
$txt['optimus_post_scriptum'] = '<span class="alert">Bu değişikliği kendi sorumluluğunuzda kullanın</span>';
$txt['optimus_useful'] = '';

$txt['scheduled_task_optimus_sitemap'] = 'Forum Haritası Oluştur';
$txt['scheduled_task_desc_optimus_sitemap'] = 'Önerilen düzenlilik &mdash; günde bir defa.';
$txt['optimus_sitemap_rec'] = ' Optimus Brave dosyaları birkaç parçaya bölemez.';
$txt['optimus_sitemap_url_limit'] = 'Site Haritası dosyası 50.000\'den fazla URL içermemelidir!';
$txt['optimus_sitemap_size_limit'] = '%1$s dosyası 10 MB\'den büyük olmamalıdır.!';

$txt['optimus_search_stats'] = 'Arama terimleri kaydını etkinleştir';
$txt['optimus_chart_title'] = 'Arama terimleri - En Ä°yi %1$s';
$txt['optimus_terms_none'] = 'İstatistikler mevcut değil. Belki forumunuz henüz indekslenmemiştir.';
$txt['optimus_terms'] = array(
'google' => 'q',
'yahoo' => 'p',
'bing' => 'q',
'alexa' => 'q'
);
Title: Re: Optimus Brave
Post by: Kindred on January 06, 2013, 06:29:53 PM
the utf-8 translation did not come across well.

You have to make UTF-8 translations as attachments not as posts
Title: Re: Optimus Brave
Post by: Badboy on January 07, 2013, 11:00:04 AM
Thx. Previous post was edited.
Title: Re: Optimus Brave
Post by: sukafia on January 15, 2013, 10:57:31 PM
hi, please can someone guide me on what to do to make this mod work properly after installing it what next, i don't understand its setting, please what should i do?

"Output board description to the meta-tag description 
Output the first sentence of the topic first message to the meta-tag description 
Return 403/404 code depending on the requested page's status "

should i tick the above, can someone explain their functions please.
it also ask for forum title, should put the title again or it'll use my forum title if i don't put it.
Template of board pages title: what should i put here please.
 
Title: Re: Optimus Brave
Post by: maarawoe on January 28, 2013, 01:42:52 PM
Hi,

I am having the same problem as someone described before...
I installed this mod via the package manager, all went ok, the addon works well but there is no scheduled task in the list of my scheduled tasks...

Is there any way how to crate the task manually?

Thanks!
Title: Re: Optimus Brave
Post by: sukafia on January 30, 2013, 04:15:45 PM
I used this mod to add Google analytics to my site, its working but the whole Google analytics code is showing in the mobile version of my site. is there a fix?
Title: Re: Optimus Brave
Post by: Bugo on January 30, 2013, 04:44:22 PM
Is there an example?
Title: Re: Optimus Brave
Post by: Pyrhel on January 31, 2013, 06:32:27 PM
Hi guys! I hit the wall :)
In the "Common settings" menu there are two sections, right - homepage and Topic/board pages settings. Everything in the Homepage settings work fine, but the settings about board and topic don't change the titles. There are no errors in the apache log files and nothing in the admin logs section. Do you have any ideas? Thanks :)
Title: Re: Optimus Brave
Post by: maarawoe on February 01, 2013, 03:11:01 AM
Any solution for that missing scheduled task please?
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 01:08:46 PM
Hi Bugo, thanks for this MOD. I have a question.

If a thread has 5 pages, Optimus would present the thread page with with Page Number. I notice however that all the pages in a thread have the same meta name description.

Is is possible to update this MOD so that it can give a different meta name description for each page of the thread instead of just one meta name description for all the pages of the thread?
Title: Re: Optimus Brave
Post by: Bugo on February 03, 2013, 02:25:01 PM
Where the mod should to take different description from? From the first message on every page?
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 05:35:58 PM
Yes, first message of the thread. But the first message in the first page is also the meta description in the second, third, fourth, fifth pages.

I checked the vBulletin seo mod and it is not like that way. The second page will take a different first message as meta description, then another meta description for the third page...
Title: Re: Optimus Brave
Post by: Kindred on February 03, 2013, 05:53:28 PM
humbleworld, that's just silly, IMO... it's the same thread, why would it have  different description?
(and as a note, "that's the way vb does it" is not really a valid argument. VB does a lot of things, many of them poorly (and some of the good)
Title: Re: Optimus Brave
Post by: Arantor on February 03, 2013, 05:58:56 PM
Quote
humbleworld, that's just silly, IMO... it's the same thread, why would it have  different description?

Because the description describes the page, and the first post of the page would *actually* make more sense than reusing the first post of the page.

Consider a 12 page topic like this one. The 12th page comments may or may not have anything at all to do with the original post.

And actually it's not 'vB' that does it that way. It's vbSEO. And other forum systems. Oh, and a certain fork, while I'm at it *whistle*
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 07:28:55 PM
Hello Kindred, this is for SEO benefits. Each page of the thread, if it has the same meta content description, will be treated as duplicate by Google. But if each page of your thread has a unique meta content description based on the first sentence of that page, each page will be treated differently by Google, not duplicate. That's why Google would serve search results from a VBulletin from a Page 27 of a thread, not Page 1 or Page 2, depending on the related content being searched for.

Arantor, yes, I agree, it's the vBSEO that is doing this fork.

I'm not going to shift to VBulletin, but I just want a better SEO Mod available in SMF.

Optimus Brave is already a very good one, only that I wish this meta content description would be improved by showing a different content in each page of the thread.
Title: Re: Optimus Brave
Post by: Arantor on February 03, 2013, 07:33:07 PM
Quote
Arantor, yes, I agree, it's the vBSEO that is doing this fork.

If only that were the point I were making, which it isn't.

The point I was making is that yes, vbSEO does this. So do other forum systems like XenForo. And in fact a certain fork of SMF does this as well (and has done for months)

Just as a clue to those who haven't got the hint yet. Said fork has a developer who is about as anti 'forum SEO' as I am. And *that* developer was the one who implemented this in said fork. What does *that* tell you?
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 08:01:57 PM
Arantor, we can all be anti-SEO but I believe it is worth trying following the rules. It's still a cat-and-mouse game, I know, but there are still good things that we'll gain from SEO techniques.
Title: Re: Optimus Brave
Post by: Arantor on February 03, 2013, 08:16:54 PM
-sigh- I really wish people would read what I actually wrote. Forum SEO != SEO in general. Please do not assume you know what I mean, because I'm pretty sure you've missed the actual point of what I was saying (and I'm *certain* Kindred will get the point, which is actually arguing in favour of what you're arguing in favour of...)
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 09:14:30 PM
Quote
[size=78%]And in fact a certain fork of SMF does this as well (and has done for months)[/size]

May I know what Fork are you referring to? Is it a MOD or do we have to do it manually?
Title: Re: Optimus Brave
Post by: Arantor on February 03, 2013, 09:21:35 PM
I'm not supposed to talk about it seeing that it is an SMF derivative, that because it's not under an 'open source licence', it is not supposed to be discussed here. The team have been known to remove it from my signature in the past, too.

Suffice to say, it is a heavily modified SMF base, and it would be a truly enormous mod if it were possible to make as a mod. (It would modify EVERY file in SMF, without exception. And be impossible to uninstall after.)

That is what a fork is: a branch off of the software. This software I'm talking about started with 2.0 and started rewriting great chunks of it. The developers today, for example, are finishing up replacing the entire ban system with one that is faster and has features the base SMF package does not. But the fork is not yet publicly available.


We're getting off topic here. Point stands: more systems do actually do different-meta-description-per-topic-page than don't these days, and there are justifications for it.
Title: Re: Optimus Brave
Post by: humbleworld on February 03, 2013, 09:30:37 PM
Oh, I know what you mean, Arantor. It starts with letter W... A 5-letter word. When the fork is publicly available, I will surely try it in one of my idle domains.
Title: Re: Optimus Brave
Post by: Arantor on February 03, 2013, 09:32:57 PM
Oh yes, that's the one. And yes, the rampantly anti 'forum SEO' developer over there implemented this feature months ago.
Title: Re: Optimus Brave
Post by: Kindred on February 03, 2013, 10:25:06 PM
Oh yes, I get your point...  Not sure that I agree, but I will accept that you have probably done a bit more research into it than I have, currently.
Title: Re: Optimus Brave
Post by: Mick. on February 04, 2013, 12:27:23 AM
@bugo....

I have an external page. In fact is my front page since I have SMF in /community.

Code:
Code: [Select]

<?php
 
require_once('/path/to/SSI.php');
 
$context['page_title_html_safe'] = 'Page title goes here';

 
template_html_above();
  
template_body_above();
  
 echo 
'
   <hr />
   This would be the content sections of the page
   <hr />
   '
;
  
   
template_body_below();
  
template_html_below();
    
 
?>


Optimus is not reading said page. How can I make it work?

I used the mod's globals and $context and ran a meta tag service and it seems not to see the description. Only the title. I'm stumped.
Title: Re: Optimus Brave
Post by: sukafia on February 15, 2013, 11:57:54 PM
Hi, please i don't understand how to set this part of Optimus brave, I've attached the screenshot. Thanks
Title: Re: Optimus Brave
Post by: Mick. on February 16, 2013, 12:05:10 AM
Hi, please i don't understand how to set this part of Optimus brave, I've attached the screenshot. Thanks
leave it like that.
Title: Re: Optimus Brave
Post by: sukafia on February 16, 2013, 12:20:45 AM
Hi, please i don't understand how to set this part of Optimus brave, I've attached the screenshot. Thanks
leave it like that.

Thanks!
Title: Re: Optimus Brave
Post by: Dblog on February 22, 2013, 08:10:27 AM
for some unknown reasons, one site that runs optimus brave's 2011 version, shows sitemap properly and options in admin panel
another site newly converted to smf and running 2.0.4 now has optimus brave 1.8.5 and sitemap shows errors
Title: Re: Optimus Brave
Post by: drfun on February 22, 2013, 12:27:26 PM
Good day to you all , please i noticed today as i was searching for info on google, there was a post from my site, but google was displaying the name of my site as the topic, instead of displaying the topic as it does for other site. I am using optimus bave as my SEO mod, is there i way i can change this and make google display my topics for any match query search for.
I will be grateful for any assistance and if this has been treated please kindly point me to it. Thanks
Title: Re: Optimus Brave
Post by: floridaflatlander on February 23, 2013, 08:22:37 AM
Good day to you all , please i noticed today as i was searching for info on google, there was a post from my site, but google was displaying the name of my site as the topic

That's odd, it should be displaying whatever you have as your title(what you have in your title tags)

Checked here, http://www.allstudentforum.com/index.php?PHPSESSID=c3f7f4774213f02f2934cbd32ce2fd15&topic=1460.0 it seems right to me.

Can you put the google search link up?
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 09:47:05 PM
This mod does not change the urls at all, since urls have very little, if any, effect on search engine ranking.

Can you post the link to Google stating this?
Title: Re: Optimus Brave
Post by: Arantor on February 25, 2013, 09:48:30 PM
Why would search engines tell you how they work? If they told you how they worked, they would be opening them up to abuse from scammers.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 09:52:01 PM
Why would search engines tell you how they work? If they told you how they worked, they would be opening them up to abuse from scammers.

Do they not post guidelines?
Title: Re: Optimus Brave
Post by: Arantor on February 25, 2013, 10:02:00 PM
The guidelines are very vague but they do not make any mention of 'pretty URLs' being helpful.

The last guidelines I saw from Google came out a few years ago and concentrate far more on things like having everything actually link together, proper XHTML, and so on. Stuff that SMF does out of the box and has done for years.

A bigger problem is how you expect users to write 'content optimised for search engines'. If you use the 'pretty URLs', the topic's title is what the user gives it. If the URL were a major part of ranking, you've just given users a tool to shoot you in the foot.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 10:16:34 PM
The guidelines are very vague but they do not make any mention of 'pretty URLs' being helpful.

The last guidelines I saw from Google came out a few years ago and concentrate far more on things like having everything actually link together, proper XHTML, and so on. Stuff that SMF does out of the box and has done for years.

A bigger problem is how you expect users to write 'content optimised for search engines'. If you use the 'pretty URLs', the topic's title is what the user gives it. If the URL were a major part of ranking, you've just given users a tool to shoot you in the foot.

They actually encourage you to use pretty URLs (check page 8 on their guidelines).

Personally, I think SEO is fool's gold, and the biggest scam of the century.  Setting proper titles, descriptions, and housing good content is important, however, as Google has said it is.  When Google encourages behaviors in their guidelines, I don't quite understand the advice to push back on it, especially if you (anyone) doesn't know for certain.  Maybe pretty URLs do affect rankings.  Maybe they don't.  Unless any of us has Google's code sitting in front of us, we don't really know.
Title: Re: Optimus Brave
Post by: Kindred on February 25, 2013, 10:34:57 PM
they don't affect rankings. plain and simple.  Google has already indicated that CONTENT and proper tagging of content is the way their system works best.
Also, pretty urls on a forum are next to useless. After all - how many posts would we have on this site with the url simplemachines.org/help_me
I have never had any pretty urls on any of my forums, yet they are all ranked very high with the content.

However, as page 8 points out... it is the human factor that could be affected - people looking at the url may be more likely to click it...   but that depends on it being actually descriptive - and for forums, that is at the mercy of your users - you as an admin have very little control.
Title: Re: Optimus Brave
Post by: Arantor on February 25, 2013, 10:42:27 PM
Which edition of the guidelines? The 2007 or the 2009 edition? The 2007 guidelines does make it clear that it's a bigger factor, but in the 2009 guidelines it's made clearer that it doesn't influence rankings but only possibly clickthrough.

There is a small argument with respect to link sharing and keywords being in the link text, but from a ranking perspective it's very small.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 10:52:55 PM
they don't affect rankings. plain and simple.
You don't know for sure. You're guessing, until you can prove it.

Quote
Google has already indicated that CONTENT and proper tagging of content is the way their system works best.
Agreed.

Quote
Also, pretty urls on a forum are next to useless. After all - how many posts would we have on this site with the url simplemachines.org/help_me
I have never had any pretty urls on any of my forums, yet they are all ranked very high with the content.
The site would need to be smart enough to make the URLs unique.

Quote
However, as page 8 points out... it is the human factor that could be affected - people looking at the url may be more likely to click it...   but that depends on it being actually descriptive - and for forums, that is at the mercy of your users - you as an admin have very little control.
I don't disagree.
Title: Re: Optimus Brave
Post by: Arantor on February 25, 2013, 10:55:51 PM
Quote
You don't know for sure. You're guessing, until you can prove it.

And you'll never get proof. They're never going to tell you how to game their system.

Quote
The site would need to be smart enough to make the URLs unique.

That's not hard.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 10:57:17 PM
Which edition of the guidelines? The 2007 or the 2009 edition? The 2007 guidelines does make it clear that it's a bigger factor, but in the 2009 guidelines it's made clearer that it doesn't influence rankings but only possibly clickthrough.

There is a small argument with respect to link sharing and keywords being in the link text, but from a ranking perspective it's very small.

I'm not sure.  It says copyright 2010 at the end of the doc, but I'm not sure...  It's the first PDF that popped up for 'google seo guidlines'.
Title: Re: Optimus Brave
Post by: Kindred on February 25, 2013, 10:57:36 PM
I am guessing...   sort of.  I am making educated assumptions based on 20+ years of experience in dealing with websites.


and making the url unique is not hard, no... but making it USEFUL is.
help_me, help_me2, help_me3
etc
all useless, actually....  regardless of being unique.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 10:58:16 PM
And you'll never get proof. They're never going to tell you how to game their system.
I agree.  Until then, it's speculation.
Title: Re: Optimus Brave
Post by: rightofatilla on February 25, 2013, 10:59:43 PM
I am guessing...   sort of.  I am making educated assumptions based on 20+ years of experience in dealing with websites.
Same here.  I don't think they help either, but I'm not going to tell people they don't (help rankings) unless I know 100% for sure.

Quote
and making the url unique is not hard, no... but making it USEFUL is.
help_me, help_me2, help_me3
etc
all useless, actually....  regardless of being unique.
Yes.
Title: Re: Optimus Brave
Post by: drfun on March 01, 2013, 05:49:51 PM
Thank you all for you contributions, it could be from google, but i will look out to see if more search result comes up like this.
Title: Re: Optimus Brave
Post by: radu81 on March 31, 2013, 05:20:52 PM
Thank you for this great mod!
Title: Re: Optimus Brave
Post by: putoguiri on April 02, 2013, 08:04:33 AM
Thanks for the mod!

But I've run into some troubles.

The mod does everything it announced but it seems that I can't get the titles and meta descriptions working. The titles do show fine on my home (tinyportal) and forum but not in any subforum/topic.

And the meta description doesn't change in any, it's just the title.

The rest of the mod works fine (it shows the meta tag for google webmaster, for examples) the previous and next links...

I've been looking into the mod files and tinkering with the forum (removing mods that could conflict) but I haven't achieved anything.


Now for the fun fact: I do have seen the changed titles in a topic but they seem to show in a random fashion (after refreshing the same page some times it poped up and later disapeared, I tried with different browsers and emptying the cache).

Last but not least, here is a diff between a fresh index.template.php and the one I'm using (the differences are some mods):

Code: [Select]
diff /route/toFreshFile/index.template.php Themes/default/index.template.php
128a129,135
>
> // Bad Behavior Start
> if (function_exists('bb2_insert_head')) {
>   bb2_insert_head();
> }
> // Bad Behavior End
>
160a168,179
>
> //Tynt-SMF Tracer Mod Starts Here
> if (!empty($modSettings['tynt_on']) && !empty($modSettings['tynt_userid']))
> echo '
> <script type="text/javascript">
> if(document.location.protocol==\'http:\'){
>  var Tynt=Tynt||[];Tynt.push(\'', $modSettings['tynt_userid'] . '\');
>  (function(){var s=document.createElement(\'script\');s.async="async";s.type="text/javascript";s.src=\'http://tcr.tynt.com/ti.js\';var h=document.getElementsByTagName(\'script\')[0];h.parentNode.insertBefore(s,h);})();
> }
> </script>';
> //Tynt-SMF Tracer Mod Ends Here
>
215a235,244
>
> if (!empty($modSettings['enableChatBelowPM'])){
> $count = count(chatOnlineUsers());
> if ($count == 0 )
> echo '<li>' . $txt['chat_no_user'] . '</li>';
> elseif ($count == 1 )
>    echo '<li>1' . $txt['chat_aUser'] . '</li>';
> else
>    echo '<li> ' . $count . $txt['chat_users'] . '.</li>';
> }
344a374,380
> if ($modSettings['badbehavior_display_stats']) {
> if (!function_exists('bb2_insert_stats')) {
> global $sourcedir;
> require_once($sourcedir . '/bad-behavior/BadBehavior-SMF.php'); }
>
bb2_insert_stats();
> }
410,412c446,448
< {
< global $context, $settings, $options, $scripturl, $txt;
<
---
> {
> global $context, $settings, $options, $scripturl, $txt, $modSettings;
505c541
< ?>
\ No newline at end of file
---
> ?>

My guess is that it is somehow not calling optimus_operations() right int Subs-Optimus, but I don't know how I could check that or where the hook is for calling the function.
Title: Re: Optimus Brave
Post by: Kacper on April 05, 2013, 02:40:10 PM
Hi! I have a question: Is the sitemap working perfectly with Pretty URLs MOD? :)
Thanks.
Title: Re: Optimus Brave
Post by: Kindred on April 05, 2013, 03:01:46 PM
I don't think so...

prettyurls screws up many things, including this mod. drop it. it serves no really useful purpose.
Title: Re: Optimus Brave
Post by: Arantor on April 05, 2013, 03:03:28 PM
Quote
it serves no really useful purpose.

Makes the URLs look nice though.
Title: Re: Optimus Brave
Post by: Kindred on April 05, 2013, 03:09:07 PM
I suppose it does...  but is it worth it, when it has issues with a dozen other mods?

There's another SEO mod around that does nice urls without conflict (at least that's what the authors claim)
Title: Re: Optimus Brave
Post by: Arantor on April 05, 2013, 03:10:13 PM
Any mod that rewrites URLs is going to cause trouble. The only solution I can see is if the core does it then plugin authors should fall into line.
Title: Re: Optimus Brave
Post by: Bugo on April 06, 2013, 08:17:46 AM
Hi! I have a question: Is the sitemap working perfectly with Pretty URLs MOD? :)
Thanks.
1. Install Optimus.
2. Install Pretty Urls. Enable it.
3. Re-create Sitemap via Scheduled Tasks.
Title: Re: Optimus Brave
Post by: Dblog on April 08, 2013, 04:26:30 PM
how to make latest topics come on top of sitemap ?
also frequently updated topic is shown priority text as 'hourly' but priority remains 0.6 and is at bottom of sitemap
Title: Re: Optimus Brave
Post by: toastedone on April 11, 2013, 02:45:56 PM
HI, I just installed this and I do not see the option to generate sitemap, any help would be appreciated.

thanks
Title: Re: Optimus Brave
Post by: toastedone on April 11, 2013, 02:48:44 PM
Ignore that working fine now
Title: Re: Optimus Brave
Post by: joeyjojoshabadoo on April 17, 2013, 11:16:36 PM
Hi guys,

can anyone think of any reason why my sitemap still wouldnt be working properly using optimus brave?

http://www.dropkickrugby.com/forum/sitemap.xml

every link is just leading to the index page, and the accursed pretty url's is finally gone ( thanks to the great people on here). I had thought this was screwed up because of pretty urls but I dont think so now

Anyone any ideas ? - I have changed all my URL's so google doesn't like me now probably, and i'd love to get the sitemap working asap.


ignore me guys, i ran it again, and it started working somehow, after i deleted pretty url files.

sorry.

thanks all
Title: Re: Optimus Brave
Post by: Hawkmoth on May 21, 2013, 01:53:24 PM
Hi
I hope someone may be able to give me some guidance.

On google my listing is showing with:-

www.follyfoot.org/‎
A description for this result is not available because of this site's robots.txt – learn more.

I am using the robots.txt suggested in this mod:-

User-agent: Googlebot-Image
Disallow: /smf/

User-agent: YandexImages
Disallow: /smf/

User-agent: msnbot-MM
Disallow: /smf/

User-agent: Googlebot-Mobile
Allow: /smf/*wap
Disallow: /smf/

User-agent: YandexImageResizer
Allow: /smf/*wap
Disallow: /smf/

User-agent: MediaPartners-Google
Allow: /smf/

User-agent: *
Allow: /smf/$
Allow: /smf/*action=.xml
Allow: /smf/*sitemap
Disallow: /smf/*action
Disallow: /smf/*wap
Disallow: /smf/*board=*wap
Disallow: /smf/*topic=*wap
Disallow: /smf/*;
Disallow: /smf/*PHPSESSID
Allow: /smf/*board*.html$
Allow: /smf/*topic*.html$
Disallow: /smf/
Sitemap: http://follyfoot.org/smf/sitemap.xml
Crawl-delay: 5
Clean-param: PHPSESSID /smf/index.php
Host: follyfoot.org


Am I doing something wrong?

Thanks
Title: Re: Optimus Brave
Post by: Arantor on May 21, 2013, 02:12:10 PM
The key here is:
Code: [Select]
Disallow: /smf/
in the User-Agent: * block

That will disallow anything that starts with /smf/


It might be better if you explain what it is you're trying to achieve rather than showing us the code and asking what's wrong with it. I can see cases where that list would be fine.
Title: Re: Optimus Brave
Post by: Hawkmoth on May 21, 2013, 04:28:48 PM
Hi Arantor

Many thanks for your quick reply.
I have removed that line now.

It might be better if you explain what it is you're trying to achieve rather than showing us the code and asking what's wrong with it. I can see cases where that list would be fine.

I originally installed this great MOD to help manage the verification Meta tags without having to manually edit files etc.
After installing the MOD, I noticed that it had the ability to do a lot of other useful stuff including the editing of the robot.txt.
I'm no expert as you can probably tell but the developer was kind enough to include some suggested rules which I duly used.

It was only few weeks later that we noticed the description wasn't showing correctly in google.

Many thanks
Title: can anyone help to install this mod
Post by: mossite on June 02, 2013, 03:14:40 AM
i want to install this mod, can anyone can help me to install it correctly
Title: Re: Optimus Brave - no <meta> <h1> description robot.txt
Post by: averageangler on June 02, 2013, 09:54:42 AM
Hi everyone who has taken the time to read my post, Thank You.
I have searched the board and am unable to find exactly where to find a solution that defines my problem. If this has been covered..please link me up.

My problem seems pretty basic, I assume user error. When using bing webmaster tools seo analyzer, it says no <h1> <meta> <description> .
 
also it says that robots.txt is blocking sitemap.xml
I used the optimus sitemap section and copy/paste the items it suggested.
I went FTP and deleted robots.txt and resubmitted sitemap to bing...
Google also was blocked by robots.txt
That has allowed access to the optimus sitemap. It seems odd that it would block its own sitemap?

I must have the settings wrong.
could someone point me in the right direction
thanks
Title: Re: Optimus Brave
Post by: Bugo on June 02, 2013, 06:28:19 PM
It would not be bad to show up your robots.txt and your forum.
Title: Re: Optimus Brave
Post by: Brewster on June 04, 2013, 09:16:46 AM
Hi

Great plugin. I am having issues with the sitemap generation though.

I have installed 1.8.6.2 using the package manager and am running SMF 2.0.4

When I go to scheduled tasks, there is no option for sitemap generation. I do have "Create Forum Map" - is this what I should be running? I have set this to be run every ten minutes, but nothing appears in the task log.

What information can I provide to help debug this issue?

Thanks,
Joe
Title: Re: Optimus Brave
Post by: Brewster on June 04, 2013, 09:34:10 AM
When I run this task manually, the sitemap gets generated correctly, but it doesnt seem to run as a scheduled task
Title: Re: Optimus Brave
Post by: Obcy on June 04, 2013, 09:41:24 AM
For me the same thing
Title: Re: Optimus Brave
Post by: Bugo on June 05, 2013, 12:46:02 PM
Attach your Subs-Optimus.php file.
Title: Re: Optimus Brave
Post by: Dhayzon on July 06, 2013, 08:20:12 PM
not  cleaning bbcode in meta description

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fclub-dhayzone.net%2Fimg_styles%2F20130707001933942.png&hash=28fb86f701be06b8fc2e649a20fff00e)

I would like to use the function
strip_tags for cleaning
Title: Re: Optimus Brave
Post by: Kindred on July 07, 2013, 05:47:19 AM
Do not use bbcode or html in the description. Ever. Images are not allowed in the description tag anyway
Title: Re: Optimus Brave
Post by: Babyfacemagee on August 23, 2013, 03:56:59 AM
Ok, so now I'm a bit confused.  My site Nexus7forum.com uses 'Pretty URLs'.  Should I not use this mod?  I just installed it hoping it would help with indexing.  Should I uninstall it?  Can anyone tell me what the specific advantages of using this mod for my particular site would be?  Thanks in advance and yes, I read this complete board from start to finish before posting this. 
Title: Re: Optimus Brave
Post by: Kindred on August 23, 2013, 06:59:19 AM
prettyurls are a waste of resources anyway..... and they contribute nothing to SEO
Title: Re: Optimus Brave
Post by: Babyfacemagee on August 23, 2013, 01:30:53 PM
I'm sure we could have a long debate about whether using a mod like 'Pretty URLs' or not adds value at all to a forum.  In many areas of life I've learned that looking at something purely from the 'technical' doesn't always give the complete story.   For instance while strictly speaking Pretty URLs might not help SEO at all from a technical standpoint, I think many would agree that a url with meaning or 'familiarity' does make someone more inclined to click on it when compared to a url that is cryptic.  Thus, there is a psychological component to why a person clicks a url as well as a 'technical'.  I think most would agree that is common sense.  Even if only 1 in 20 chooses my URL because it is understandable and hints at the subject matter...compared to another URL that is cryptic...that 1 in 20 is an advantage I want.

With that said, back to my main interest...the advantage of using this MOD for my site.   Would this mod help me have more 'site links' in google results and thus have more 'screen real estate' or otherwise increase traffic?  Right now when searching for 'nexus 7 forum' in google my site comes up usually within the top 3 listings.  My concern is that my competitors seem to have many 'site links' or 'sub-topics' listed beneath their main url and mine does not.  My site is large enough that I should have some of these as well and I believe it's because the theme i'm using or setup of my forum is not doing something that these others are.   It might not be coincidental that these competitors are predominantly using either Vbulletin or another paid platform. 

So again...would this mod help rectify this issue and help increase site links or subheadings on Google results?

Thx in advance.
Title: Re: Optimus Brave
Post by: Arantor on August 23, 2013, 01:37:13 PM
Yes we could. We could also note that pretty much all of this has been hashed many times over and the salient points are reiterated every time.

1. There is no actual SEO benefit for pretty URLs.
2. There is an arguable benefit to nicer looking URLs but that doesn't stop YouTube now, does it?
3. This mod does have some SEO improvements.
4. The 'site links' and 'sub links' are not related to this mod but based on having better ranking to those individual pages due to good backlinks.
Title: Re: Optimus Brave
Post by: Babyfacemagee on August 26, 2013, 04:21:13 AM
Thanks for the response Arantor.  #4 was what I was looking for. 

Best,

BFM
Title: Re: Optimus Brave
Post by: Antes on August 31, 2013, 07:32:47 PM
Updated the translation, thank you for including them to core :)
Title: Re: Optimus Brave
Post by: Bugo on September 03, 2013, 12:29:46 AM
There are some errors in your language files. Please fix them.
Title: Re: Optimus Brave
Post by: akonze on September 26, 2013, 03:11:18 PM
This mod deleted my complete configuration menu in the admin area. I can't administrate the board anymore and have to completetely reinstall everything.

I just can warn you to not use the current version. It seems to have a massive bug in it.
Title: Re: Optimus Brave
Post by: Kindred on September 26, 2013, 03:13:43 PM
Sorry, akonze, but I can not replicate your issue.

I use the current version and had no such reaction.
Title: Re: Optimus Brave
Post by: Bugo on September 27, 2013, 07:52:21 AM
This mod deleted my complete configuration menu in the admin area. I can't administrate the board anymore and have to completetely reinstall everything.

I just can warn you to not use the current version. It seems to have a massive bug in it.
Just rename Subs-Optimus.php to Subs-Optimus1.php and re-check.
Title: Re: Optimus Brave
Post by: Low on October 13, 2013, 10:16:19 AM
This mod adds it's own sitemap with credit link regardless of your settings. This can be quite bad for SEO. Any chance of removing the sitemap?
Title: Re: Optimus Brave
Post by: Bugo on October 13, 2013, 03:34:35 PM
Disable "Create and periodically update Sitemap XML-file" option in mod's settings.
Title: Re: Optimus Brave
Post by: Low on October 14, 2013, 05:50:22 AM
Disable "Create and periodically update Sitemap XML-file" option in mod's settings.
That's what I posted originally, I've tried that.
Title: Re: Optimus Brave
Post by: Bugo on October 14, 2013, 09:10:34 AM
Is it difficult for you to remove sitemap.xml (see forum's root)?
Title: Re: Optimus Brave
Post by: dianneu on November 03, 2013, 11:48:57 AM
I don't mean to seem dense. But how do I know if it's running? I had a please wait... on forever.

I copied everything that needed to be based on what was on the page.

Not certain if it's even running? How do I confirm this? I'm not a programmer, just can do installs I guess. I'm running GT5 as the forum.

Title: Re: Optimus Brave
Post by: DeroZ on January 24, 2014, 05:17:05 AM
Disable "Create and periodically update Sitemap XML-file" option in mod's settings.

Where is this option? i need disable to remove linktree on my site (simpleportal)
Title: Re: Optimus Brave
Post by: cortez on February 09, 2014, 06:59:40 PM
Really nice mod, I have few questions though:

1. Suggested robots.txt

Code: [Select]
User-agent: Googlebot-Image
Disallow: /forum/

User-agent: YandexImages
Disallow: /forum/

User-agent: msnbot-MM
Disallow: /forum/

User-agent: Googlebot-Mobile
Allow: /forum/*wap
Disallow: /forum/

User-agent: YandexImageResizer
Allow: /forum/*wap
Disallow: /forum/

User-agent: MediaPartners-Google
Allow: /forum/

User-agent: *
Allow: /forum/$
Allow: /forum/*.xml
Allow: /forum/*sitemap
Disallow: /forum/*action
Disallow: /forum/*board=*wap
Disallow: /forum/*board=*imode
Disallow: /forum/*topic=*wap
Disallow: /forum/*topic=*imode
Disallow: /forum/*;
Disallow: /forum/*PHPSESSID
Allow: /forum/*board*.html$
Allow: /forum/*topic*.html$
Disallow: /forum/
Sitemap: well this one is hidden
Crawl-delay: 5

"Disallow: /forum/" ? Forum is in /forum/ dir and this setting will disallow bots from accessing it? Also, why is "Googlebot-Image" blocked by default? For example, I want images from my site (picture posting is highly valued) to appear everywhere.

2. Inserting html tag for additional ownership verification fails for me, webmaster tools can't detect it (yes, it's formatted properly). Insterting analytics code works, though.

3. Does formatting of allowed "topic" and "board" have issues with enabled "Search engine friendly URLs" setting in SMF?
Title: Re: Optimus Brave
Post by: Kindred on February 09, 2014, 08:40:51 PM
that SEF setting is stupid and should not be used anyway.
Title: Re: Optimus Brave
Post by: cortez on February 10, 2014, 06:23:43 AM
Alright, that was short and to the point. :) Any suggestions about other stuff?
Title: Re: Optimus Brave
Post by: Bugo on February 10, 2014, 08:39:57 PM
"Disallow: /forum/" ? Forum is in /forum/ dir and this setting will disallow bots from accessing it?
There are more strong methods to prohibit bots any access to your forum. For example, using the rules in .htaccess file.

Also, why is "Googlebot-Image" blocked by default? For example, I want images from my site (picture posting is highly valued) to appear everywhere.
Just remove a line with this rule ("Googlebot-Image" bla-bla-bla).

2. Inserting html tag for additional ownership verification fails for me, webmaster tools can't detect it (yes, it's formatted properly). Insterting analytics code works, though.
Well, try to find information on this question in the Google's help. Maybe, they have changed your html tag etc.

3. Does formatting of allowed "topic" and "board" have issues with enabled "Search engine friendly URLs" setting in SMF?
After enabling this option "topic/board" rules in robots.txt will be changed. And yes,
that SEF setting is stupid and should not be used anyway.
Title: Re: Optimus Brave
Post by: cortez on February 10, 2014, 08:48:09 PM
Well, try to find information on this question in the Google's help. Maybe, they have changed your html tag etc.

Nope, I've double checked that. It just doesn't insert a line in <head>.
Title: Re: Optimus Brave
Post by: _socrates_ on February 22, 2014, 12:24:27 PM

Hi,

I get the following error on my sitemap.xml:

Quote
This page contains the following errors:

error on line 3 at column 21: Entity 'nbsp' not defined
Below is a rendering of the page up to the first error.

How can I troubleshoot this? I have uninstalled/reinstalled the mod, but the same error appears.

Thanks!
Title: Re: Optimus Brave
Post by: johnpaul2k2 on February 26, 2014, 10:37:12 AM
this particular board has refused to show

check the page 2 of this place please

http://www.topnichez.com/index.php/board,10.15.html

could it caused by this mod

please how can i set it to work

thanks
Title: Re: Optimus Brave
Post by: Kindred on February 26, 2014, 07:03:55 PM
turn off the silly SEO friendly urls...
Title: Re: Optimus Brave
Post by: johnpaul2k2 on February 26, 2014, 11:41:11 PM
turn off the silly SEO friendly urls...
then it will affect my 2 years urls in search engines. I think this started of recent  because other page 2 boards are openings !!
Title: Re: Optimus Brave
Post by: hawe2014 on March 19, 2014, 12:47:03 PM
Excuse me, i am brandnew to SMF and tried to use the optimus brave modification on my board.

But after installation and configuration my board url still is: /index.php/board,2.0.html

I wanted something like "/board1/topc1.html

I already tried to activate/deactivate SMF internal SEO URL (the "?" says, that my server supports SEO URL) and i tried to reinstall optimus brave twice. Still no changes.

Is there anything else my server need to get this done? I host my forum on a namecheap business account. Do i need a .htaccess in my root? I don't see where i could have made an error.

I would love to get some help on this issue.

Thank you and best regards.

Harald
Title: Re: Optimus Brave
Post by: Kindred on March 19, 2014, 06:42:01 PM
Welcome to smf.

First... This mod does nothing to the urls. Urls have no benefit to see anyway... This mod only changes things like the title, description and keywords.

Second, if you just started your board, the. Insuggestbthat your turn off the silly seo thing. It serves no useful purpose any more (it was intended for search engines years ago, when they looked for the HTML at the end of a website address) search engines will catalog sites just fine without any silly URL changes.

Third, if you absolutely insist on change the urls  you will have to install a mod like pretty urls or smf sef urls.
In both cases, there are potential issues with those urls and other mods
Title: Re: Optimus Brave
Post by: hawe2014 on March 20, 2014, 03:41:06 AM
Hello Kindred,

thank you for your reply. So i totally misunderstodd the use of Optimus Brave ;-) Thank you for the explanation and i see, if i will test pretty url oder sef url. I thought Optimus Brave does this :) Thanks again!
Title: Re: Optimus Brave
Post by: Dblog on July 03, 2014, 11:44:08 AM
Is there anyway to  do these topic/board settings ?

{board_name} -  {forum_name} - page {#}

{topic_name} - {board_name} - {forum_name} - page {#}

if i try to display page {#} in 3rd column, it doesnt show actual number but just shows the word : page {#}, # doesnt get replaced by number.
it only happens if {#} is used in 2nd column.
Title: Re: Optimus Brave
Post by: Portugal on July 04, 2014, 10:38:39 AM
Hi all,

Its possible to change the original configuration of that mod on "Display the first sentence of the current page first message as the meta-tag description" to the firsts 50 words, or the 2 firsts sentences? I apreciate to do this on my particular situation.


Thanks in advance.
From Portugal
Title: Re: Optimus Brave
Post by: asura88 on July 23, 2014, 04:13:50 PM
It's a great mod, but the whole META description parsing method is imperfect in my opinion.
For example, if someone started their topic with:
"Hello. (content)", the description would look as follows: "Hello", since it's coded to show only the first sentence (ended with dot or exclamation mark).
I have simplified the description function and it should now correctly deal with this issue. In addition it will now also remove the trimmed (cut) last word from the description and empty spaces from the messages started with new line. I would like to point out that I am still coding noob, but there's nothing advanced, so.

Sources/Subs-Optimus.php
Code: [Select]
function optimus_meta_teaser()
{
global $context, $txt, $smcFunc;

if ($context['is_poll'])
{
$teaser = $txt['poll'] . ': ' . $context['poll']['question'] . ' (' . $context['page_info']['current_page'] . ')';
}
else
{
$request = $smcFunc['db_query']('', '
SELECT SUBSTRING(body, 1, 200)
FROM {db_prefix}messages
WHERE id_msg = {int:id_msg}
LIMIT 1',
array(
'id_msg' => $context['first_message']
)
);

list ($teaser) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);
}

$teaser = optimus_meta_chars(str_replace('<br />', ' ', parse_bbc($teaser, false)));
$teaser = trim($teaser);
$teaser = str_replace("&nbsp;", "", $teaser);

if ($smcFunc['strlen']($teaser) < 150) return strip_tags($teaser);

$teaser = preg_replace('/\s+?(\S+)?$/', '', substr($teaser, 0, 150));

return strip_tags($teaser);
}

Hi all,

Its possible to change the original configuration of that mod on "Display the first sentence of the current page first message as the meta-tag description" to the firsts 50 words, or the 2 firsts sentences? I apreciate to do this on my particular situation.


Thanks in advance.
From Portugal
In the function above just change 150 to 50 in two places.
Title: Re: Optimus Brave
Post by: Portugal on July 25, 2014, 10:44:08 AM
Hi,

Thanks Homeland for your work on this. Now i will go to implement this modification, after to see the results i will give my feedback here.

Regards
Title: Re: Optimus Brave
Post by: swaggaderby on September 12, 2014, 02:07:32 PM
this is what i get from the robot text am told to copy to the right. and im not sure its correct

User-agent: Googlebot-Image
Disallow: /

User-agent: YandexImages
Disallow: /

User-agent: msnbot-MM
Disallow: /

User-agent: Googlebot-Mobile
Allow: /*wap
Disallow: /

User-agent: YandexImageResizer
Allow: /*wap
Disallow: /

User-agent: MediaPartners-Google
Allow: /

User-agent: *
Allow: /$
Allow: /*.xml
Disallow: /attachments/
Disallow: /avatars/
Disallow: /Packages/
Disallow: /Smileys/
Disallow: /Sources/
Disallow: /Themes/
Disallow: /*msg
Disallow: /*profile
Disallow: /*help
Disallow: /*search
Disallow: /*mlist
Disallow: /*sort
Disallow: /*recent
Disallow: /*register
Disallow: /*groups
Disallow: /*stats
Disallow: /*unread
Disallow: /*topicseen
Disallow: /*showtopic
Disallow: /*prev_next
Disallow: /*imode
Disallow: /*wap
Disallow: /*all
Disallow: /*action
Disallow: /*PHPSESSID
Crawl-delay: 5
Title: Re: Optimus Brave
Post by: swaggaderby on September 12, 2014, 02:12:39 PM

Thanks Bugo.
All my problem is happened by my meta tags. Now every thing is fine.
The new version of optimusbrave is very nice. The recommended format of robots.txt is ultimate.

Thanks a lot for creating this mod

Below iam giving some useful links for our smf users to check their website's strength, and errors.

The below website can help you to create website's meta tags. dont use refresh page meta tag. Because, the meta tag is related with spam problems.

http://www.onlinemetatag.com

The below website can analyze your website's meta description.

http://www.submitexpress.com/analyzer/

Thats all. :)
Thanking you.
the website u gave to analyze my website meta description seems to be giving me error whenever i try checking it dunno if you can help out
Title: Re: Optimus Brave
Post by: Thilo on November 17, 2014, 03:25:30 AM
Hi there,

a very nice Mod! Thanks for sharing it!!!

Just on thing. On my forum (quite big one) almost everytime a Posting ist made the following error shows up:

Code: [Select]
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194207 bytes) in /var/www/sites/xxx/html/forum/Sources/Subs-Optimus.php on line 705…“
To me it seems that creating the xml-sitemap for google needs to much memory (probably because it's quite big - 40.000 Urls) ?
Is that right ? Does Optimus Brave updates that file each time a new thread is transmitted?

Ok - one thing would be - to enlarge the memory of course. (Shouldn't actually be a big problem)

But on the other side: Maybe it's worth to do another logic in creating the sitemap.
(i don't know - maybe every hour as a cron-job or something else...? Cause i believe if there is a huge forum and we have rush-hour with many users writings posts, it could quite annoy the server... ;- ) )

Greets,

Thilo
Title: Re: Optimus Brave
Post by: Thilo on November 17, 2014, 05:39:40 AM
Just another thought:

Another Solutions would be for example an option to put only the newest 10.000 URLs insinde the sitemap...

Title: Re: Optimus Brave
Post by: Kindred on November 17, 2014, 06:36:41 AM
well, since I used this on a site with over 3 millions posts... I think there may be something else going on with you...
Title: Re: Optimus Brave
Post by: Thilo on November 17, 2014, 06:42:23 AM
That's interesting.

How many URLs are inside your sitemap.xml ?

Should be more than 50.000, right ?


Can you tell me what's your "allowed memory size" for php on your server ?


Title: Re: Optimus Brave
Post by: Arantor on November 17, 2014, 06:46:29 AM
I thought sitemaps individually weren't permitted above 50k URLs anyway?
Title: Re: Optimus Brave
Post by: Thilo on November 17, 2014, 06:53:52 AM
If that's so, (and im sure you are right) than a option to set a limit somewhere inside the mod would definetely make sense!
Title: Re: Optimus Brave
Post by: Arantor on November 17, 2014, 06:56:53 AM
Just for clarification, http://www.sitemaps.org/protocol.html says this:

Quote
You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 10MB (10,485,760 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 10MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
Title: Re: Optimus Brave
Post by: Thilo on November 17, 2014, 08:21:25 AM
Hi there,

again me. I checked my xml Sitemap and it's already 9 MB.
So there isn't much left 'til it reaches the max. allowed size...

In Kindreds site it should be already way larger than the allowed size.

So for some users it would be a very friendly option to limit the sitemap to a size the board-admin can chose ?

i really would appreciate that!
Title: Re: Optimus Brave
Post by: Black Tiger on December 11, 2014, 04:30:31 PM
I just installed this mod, but it seems I'm missing something somewhere, because I read this on some site:
Quote
all you need is to do is to install Optimus Brave in your forum and click Schedule tasks to generate and enable your sitemap
However... I don't see anything about sitemap or Optimus or Brave in the Schedule tasks.

I left every setting default, I only activated to generate sitemap:
Quote
Create and periodically update Sitemap XML-file

What am I doing wrong?
Title: Re: Optimus Brave
Post by: Black Tiger on December 13, 2014, 03:26:41 PM
I've seen this problem a couple of times in this 17 page thread, also seen 1 time that it was fixed, but not how it was fixed.
Does anybody have a clue on what's causing this?

No Scheduled task present in the scheduled tasks manager and no option "Create forum map" either.
Title: Re: Optimus Brave
Post by: Armada on December 17, 2014, 10:45:38 AM
I've a strange problem here.

I installed Optimus Brave, but when I looked at the metadata of pages it had not changed anything.

I then read that perhaps Pretty URL didn't work well with it. SO I uninstalled Pretty URLs.

Then I could see Optimus Brave changes in the metadata. So then it worked. Great.  Whoohoo.

Anyway I've broken something, because it doesn't work now. Argh!

As a background the things I did that might have messed it up is:

Checking/repairing database because of a crash yesterday (sessions table shown as crashed)
Also, Six of the boards on out forum were using a different theme to the rest of the forum, I changed them back to the overall forum default.

So any pointers on how to get this working again would be much appreciated.
Thanks.

I've attached an image of the settings. Were using SMF 2.0.9.
Armada
Title: Re: Optimus Brave
Post by: Armada on December 17, 2014, 11:50:48 AM
I think I've found the problem and fixed it.  :) Hopefully this will help somebody if you have the same problem.

To try and work out what is going on, I had a look at the latest modified files.

I saw something interesting in changes in Load.php by running "diff" to see the changes:

Code: [Select]
diff Load.php~ Load.php

11c11
<  * @version 2.0.7
---
>  * @version 2.0.9
2746a2747,2753
>
> // Invalidate the opcode cache
> if (function_exists('opcache_invalidate'))
>    opcache_invalidate($cachedir . '/data_' . $key . '.php', true);
>
> if (function_exists('apc_delete_file'))
>    @apc_delete_file($cachedir . '/data_' . $key . '.php');


It's something to do with caching.
So I went to my caching options under Admin > Server Settings > Caching and I changed it from "Level 2" caching to "No caching" then went back in and changed it from "No caching" to "Level 1" caching.

Now it works :)

Armada
Title: Re: Optimus Brave
Post by: MESWEB on January 22, 2015, 06:08:17 AM
How to add download file (all files have title, description and much more) from Download System mod to sitemap?
Title: Re: Optimus Brave
Post by: B3aker on March 15, 2015, 11:21:22 AM
Hi. This add on's been working great for the last couple years but I do have a new problem I hope someone can answer for me. Whenever I or someone on my forum tries to upload an attachment, this error pops up. It's only been a recent thing like within the last week.

Quote
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 5603761 bytes) in /home/xxxx/xxxxxx_xxxx/community/Sources/Subs-Optimus.php on line 780

Any help would be appreciated. Don't want to have to uninstall this mod :)
Title: Re: Optimus Brave
Post by: Black Tiger on March 15, 2015, 11:39:58 AM
This is more a php error. It might not have to do with this mod specifically. You could try to increase your php memory size to 128 for example.
If you are not your own host, you could try it via a .htaccess file in your public_html root directory with this statement:
Code: [Select]
php_value memory_limit 128M
or
Code: [Select]
<IfModule mod_php5.c>
php_value memory_limit 128M
</IfModule>

If this won't work, you have to ask your host.
Since it's only the last week, you could investigate if you have installed other php things which might have increased the memory usage for php.
Title: Re: Optimus Brave
Post by: B3aker on March 15, 2015, 11:49:41 AM
This is more a php error. It might not have to do with this mod specifically. You could try to increase your php memory size to 128 for example.
If you are not your own host, you could try it via a .htaccess file in your public_html root directory with this statement:
Code: [Select]
php_value memory_limit 128M
or
Code: [Select]
<IfModule mod_php5.c>
php_value memory_limit 128M
</IfModule>

If this won't work, you have to ask your host.
Since it's only the last week, you could investigate if you have installed other php things which might have increased the memory usage for php.

Thanks for the response. I'm a little confused though. I don't see any coding like this to my htaccess file. Do I have to add this or edit this?
Title: Re: Optimus Brave
Post by: Black Tiger on March 15, 2015, 11:58:24 AM
You have to add it to your .htaccess file indeed.
Title: Re: Optimus Brave
Post by: B3aker on March 15, 2015, 12:00:16 PM
You have to add it to your .htaccess file indeed.

Does it matter where this goes? Sorry for my ignorance. I'm still learning this web stuff :)
Title: Re: Optimus Brave
Post by: Black Tiger on March 15, 2015, 12:17:32 PM
As far as I know it does not really matter. I mostly put it at the bottom.

Ah you're still learning. In that case. Check your phpinfo what the memory limit is now, and afterwards. That way you can fastly see if it did change.
Title: Re: Optimus Brave
Post by: B3aker on March 15, 2015, 01:00:25 PM
Yeah. I do my forum more as a hobby. My day job is merchandising for a major retailer. So I'm a little out of my element here ;) I usually only learn something new with web development when something goes wrong, lol.

So I put both the codes in. I checked my memory limit, doesn't seem to have changed.

Quote
Resource Limits     memory_limit       96M

EDIT: Seems to have caused a 500 internal server error. Had to remove the code :/
Title: Re: Optimus Brave
Post by: Black Tiger on March 15, 2015, 01:13:50 PM
You only need 1 code. If you use both, you have the chance on a 500 internal server error.
In that case only use the second code only, just to be sure.

If that also gives a 500 internal server error, the host has configured things another way. In that case you can try to create a php.ini on your public_html with the following content:
Code: [Select]
memory_limit = 128M
If that also does not work, you can try to change it internally in the SMF files:
http://wiki.simplemachines.org/smf/What_the_white_screen_of_death_means_when_accessing_admin_or_package_installs#Increase_memory_allocation_in_the_file.28s.29
bottom part of the page.

However, I would suggest to rather ask your host to increase the php memory size for you instead of changing SMF files.
Title: Re: Optimus Brave
Post by: B3aker on March 15, 2015, 01:32:48 PM
You only need 1 code. If you use both, you have the chance on a 500 internal server error.
In that case only use the second code only, just to be sure.

If that also gives a 500 internal server error, the host has configured things another way. In that case you can try to create a php.ini on your public_html with the following content:
Code: [Select]
memory_limit = 128M
If that also does not work, you can try to change it internally in the SMF files:
http://wiki.simplemachines.org/smf/What_the_white_screen_of_death_means_when_accessing_admin_or_package_installs#Increase_memory_allocation_in_the_file.28s.29
bottom part of the page.

However, I would suggest to rather ask your host to increase the php memory size for you instead of changing SMF files.

Oh yeah. I only used one at a time and tested it. Thanks for you help. I'm reaching out to my host now to see what they can do before I change the SMF files. I'll have an update when I hear back or if this is fixed or not.
Title: Re: Optimus Brave
Post by: Low on April 15, 2015, 10:20:51 AM
Hi this mod is changing my URL structure in the canonical source i.e. the forum homepage and all links to it is example.com/index.php but with Optimus activated the canonical in the source shows example.com/.

Please help
Title: Re: Optimus Brave
Post by: Stanyy on April 17, 2015, 04:21:03 PM
I think I've found the problem and fixed it.  :) Hopefully this will help somebody if you have the same problem.

To try and work out what is going on, I had a look at the latest modified files.

I saw something interesting in changes in Load.php by running "diff" to see the changes:

Code: [Select]
diff Load.php~ Load.php

11c11
<  * @version 2.0.7
---
>  * @version 2.0.9
2746a2747,2753
>
> // Invalidate the opcode cache
> if (function_exists('opcache_invalidate'))
>    opcache_invalidate($cachedir . '/data_' . $key . '.php', true);
>
> if (function_exists('apc_delete_file'))
>    @apc_delete_file($cachedir . '/data_' . $key . '.php');


It's something to do with caching.
So I went to my caching options under Admin > Server Settings > Caching and I changed it from "Level 2" caching to "No caching" then went back in and changed it from "No caching" to "Level 1" caching.

Now it works :)

Armada

Thank you. You just saved me a few hours of headache.
Title: Re: Optimus Brave
Post by: jarin001 on April 28, 2015, 10:20:02 AM
Excuse my English. Is there any way to change the OB, instead of the first sentence in the meta description added a larger part of the text? For example, three sentences to 500 characters .. I for subjects sharing on Facebook and that takes data from a meta description on FB page is then as 5 words next to the big picture. Thank you for your help.
Title: Re: Optimus Brave
Post by: roshaoar on April 28, 2015, 11:00:24 AM
Hello,

Just wanted to make a note of something here in case someone else runs into the same problem I had this morning. My forum is a subdirectory and I wanted to make the breadcrumb (linktree in SMF talk) show the site homepage before the forum. This meant adding some lines to load.php, as per here (http://www.simplemachines.org/community/index.php?topic=361506.msg3808187#msg3808187). But on the forum homepage the breadcrumb title over the site homepage was consistently wrong. This is because in Sources\Subs-Optimus.php, there is a line which overwrites what it should be -

Code: [Select]
$context['linktree'][0]['name'] = $mbname;
Commenting this out solved the problem.

-Johan
Title: Re: Optimus Brave
Post by: Kindred on April 28, 2015, 11:30:36 AM
Excuse my English. Is there any way to change the OB, instead of the first sentence in the meta description added a larger part of the text? For example, three sentences to 500 characters .. I for subjects sharing on Facebook and that takes data from a meta description on FB page is then as 5 words next to the big picture. Thank you for your help.

not without recoding the mod...
Title: Re: Optimus Brave
Post by: jarin001 on April 28, 2015, 12:06:08 PM
I have already found a way, the solution is on page 17.
Title: Re: Optimus Brave
Post by: Kindred on April 28, 2015, 02:39:07 PM
which involved re-coding... :P
Title: Re: Optimus Brave
Post by: Paracelsus on May 01, 2015, 05:42:45 AM
This MOD is absolutely brilliant, one of the few I would like to see built-in SMF.
Title: Re: Optimus Brave
Post by: Armada on July 15, 2015, 05:58:48 AM
Thank you. You just saved me a few hours of headache.

You're most welcome - glad to be of some help. :)
Title: Re: Optimus Brave
Post by: Armada on July 15, 2015, 06:00:14 AM
Excuse my English. Is there any way to change the OB, instead of the first sentence in the meta description added a larger part of the text? For example, three sentences to 500 characters .. I for subjects sharing on Facebook and that takes data from a meta description on FB page is then as 5 words next to the big picture. Thank you for your help.

not without recoding the mod...

In all fairness, that's probably why the person said "Is there any way to change the OB", and they did excuse for their English too :)
Title: Re: Optimus Brave
Post by: Armada on July 15, 2015, 09:16:09 AM
It's a great mod, but the whole META description parsing method is imperfect in my opinion.
For example, if someone started their topic with:
"Hello. (content)", the description would look as follows: "Hello", since it's coded to show only the first sentence (ended with dot or exclamation mark).
I have simplified the description function and it should now correctly deal with this issue. In addition it will now also remove the trimmed (cut) last word from the description and empty spaces from the messages started with new line. I would like to point out that I am still coding noob, but there's nothing advanced, so.

Sources/Subs-Optimus.php
Code: [Select]
function optimus_meta_teaser()
{
global $context, $txt, $smcFunc;

if ($context['is_poll'])
{
$teaser = $txt['poll'] . ': ' . $context['poll']['question'] . ' (' . $context['page_info']['current_page'] . ')';
}
else
{
$request = $smcFunc['db_query']('', '
SELECT SUBSTRING(body, 1, 200)
FROM {db_prefix}messages
WHERE id_msg = {int:id_msg}
LIMIT 1',
array(
'id_msg' => $context['first_message']
)
);

list ($teaser) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);
}

$teaser = optimus_meta_chars(str_replace('<br />', ' ', parse_bbc($teaser, false)));
$teaser = trim($teaser);
$teaser = str_replace("&nbsp;", "", $teaser);

if ($smcFunc['strlen']($teaser) < 150) return strip_tags($teaser);

$teaser = preg_replace('/\s+?(\S+)?$/', '', substr($teaser, 0, 150));

return strip_tags($teaser);
}



asura88,

That modification to the mod is good. I've just used it myself.


I've added the thing to strip out the "&nbsb" before it returns the description:

Sources/Subs-Optimus.php
Code: [Select]
function optimus_meta_teaser()

// RIght neat the end of the function
// I've added this next line too
$teaser = str_replace("&nbsp;", "", $teaser);
return strip_tags($teaser);
}
Title: Re: Optimus Brave
Post by: tectonny on July 30, 2015, 11:55:58 AM
Bugo Installed in smf 2.1 beta 2 without error, but the redirect after installation I get this error:

Unable to load the 'main' template.

You can solve this problem?
Title: Re: Optimus Brave
Post by: Kindred on July 30, 2015, 01:09:19 PM
this mod will not work on 2.1 beta...      2.1 is still in beta and will not run most 2.0 mods without edit -- even if they "install without error"
additionally, you should not be running 2.1 beta on any production site.
Title: Re: Optimus Brave
Post by: tectonny on July 30, 2015, 01:57:09 PM
I am aware that I must not use SMF 2.1, this is not a problem for me.

And I know that was not done, but many MODs I could have run in SMF 2.1, but give this error.

I thought you could help me.

I'll try alone, as I did with those who are already working,

Thanks for the answer.
Title: Re: Optimus Brave
Post by: Paleus on September 16, 2015, 03:19:41 PM
How can I submit my sitemap to Google Webmaster if it is HTML? Should it not be an XML file?

www.example.com/sitemap.xml
Title: Re: Optimus Brave
Post by: Kindred on September 16, 2015, 03:21:05 PM
I don't believe that this mod creates an XML sitemap.  You would use a different mod for that
Title: Re: Optimus Brave
Post by: Dblog on October 09, 2015, 09:53:09 PM
I don't believe that this mod creates an XML sitemap.  You would use a different mod for that
It does create an XML sitemap (yoursite.com/sitemap.xml)
check options as admin
Title: Re: Optimus Brave
Post by: Jade Elizabeth on January 28, 2016, 10:51:24 PM
So I recently discovered that I'm not indexed in google properly, and neither are any of my other forums using this mod. This is very disappointing.

I went into google webmasters and out of almost 200 submitted sitemap links only 50 were indexed.

I tried resubmitting the sitemap and this time 93 out of 20 links were accepted.

It (google) is not rechecking the sitemap and the sitemap is not adding topics specifically. How often is "periodically" and do I need to resubmit the sitemap each time? Can you please take a look and help?

www.colormeforum.com/sitemap.xml
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 15, 2016, 08:10:19 PM
Is it a good idea to have the forum name in the title? When I google I am getting mixed results.

http://sixrevisions.com/content-strategy/5-common-seo-mistakes-with-web-page-titles/
Quote
4. Using the Company/Site Name in All Web Pages

As previously said, Google displays up to 70 characters of a given page title in their SERPs. It does see longer ones, though, and despite what many SEO professionals preach, it isn’t a huge problem to have page titles that are greater than 70 characters in a page title.

Nevertheless, you need to think of what should and shouldn’t appear in the title. Many website owners tend to include their business name in the title, some of which can be very lengthy. What is even worse is that they want their name to appear first in every single web page.

Including your company name (unless it’s a search term that will likely be used), is unnecessary, and is consistent with some of the mistakes I’ve discussed earlier.

For example, study this title:

<title>ACME Exporting/Importing Company, LLC: Export Surfboards to Hawaii<title>
With the page title including the company’s name, it is using 37 more characters (with spaces)!

Search engine ranking might be better if it was simply:

<title>Export Surfboards to Hawaii</title>
It would make sense displaying your company name in the homepage, contact page, and about page but avoid them in content pages.


Additionally would you be willing to include open graph things so we can format the titles for Facebook, add the body as the description, maybe even choose a global Facebook image as well as using post images and avatars when sharing?
Title: Re: Optimus Brave
Post by: Kindred on February 15, 2016, 08:24:24 PM
First... I disagree with that person's interpretation of seo.

Second, however... This mod author has not updated the mod ins a while so, it's unlikely to have any features added...
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 15, 2016, 09:18:02 PM
There's a bunch of other posts for and against it. I can understand how it can be detrimental in come cases.
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 16, 2016, 08:13:15 PM
Hey!

Not sure what's going on but on one of my forums the title is showing twice. It's showing as forum name - optimus brave title (which includes the forum name at the end). It's doing this when I look at it, when I share it on Facebook, and probably in search results too. I want that first forum name to bugger off.

I've compared the meta tags to the default theme (clean) and they're the same except I've added open graph things for facebook image and description. I'm having this across all themes. Any suggestions? or ideas on what to look for? :)
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 21, 2016, 09:02:12 PM
Hey!

Not sure what's going on but on one of my forums the title is showing twice. It's showing as forum name - optimus brave title (which includes the forum name at the end). It's doing this when I look at it, when I share it on Facebook, and probably in search results too. I want that first forum name to bugger off.

I've compared the meta tags to the default theme (clean) and they're the same except I've added open graph things for facebook image and description. I'm having this across all themes. Any suggestions? or ideas on what to look for? :)

Anyone? :)
Happening on all themes.
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 22, 2016, 09:24:22 PM
Uninstalling and reinstalling isn't working. How do I completely wipe Optimus Brave's existence so I can try a fresh install like it's new? I don't know what else I can do.
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 22, 2016, 11:08:15 PM
I found the DB stuff, still no dice. Can ANYONE help please?
Title: Re: Optimus Brave
Post by: Paracelsus on February 23, 2016, 02:43:25 PM
Are there any plans to develop a "Social Optimus Brave"? :laugh:

Looking at WPSSO makes me wonder if some ideas there could be ported to a SMF mod in order to improve the way social networks pick up data from SMF (a glimpse: https://wpsso.com/ and https://surniaulula.com/2014/10/25/social-seo-wordpress-seo-vs-wpsso/
Title: Re: Optimus Brave
Post by: Jade Elizabeth on February 25, 2016, 10:44:28 PM
THERE IS A BUG

On a forum with Tinyportal installed that does not use the portal aspect, say they only use sidebars, etc, "integrate with Tinyportal" breaks the canonical URL. This is actually pretty major! ALL canonicals will be set to index.php?action=forum, topics, boards, the whole lot. Perhaps you want to check the settings of Tinyportal before assuming? Or perhaps you want to make a note for the end user to only integrate if using the portal function.

I checked it with simple portal and it doesn't happen. I don't have any other portals to test with so that bit is up to you :D.

Also it would be really good to put a check in for RIAST or to state they are not compatible because it duplicates the title and mucks it all up. It should be obvious but it's not if you installed it 20 years ago lol.
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 23, 2016, 07:45:42 PM
Open Graph default image doesn't work, is there anyone even supporting this anymore? I like this mod a lot and can't get anything with open graph enabled, running SMF 2.0.12 and aeva media... if there are embedded images it sometimes will work but usually not. Also a missing language entry for the sitemap title ...
Title: Re: Optimus
Post by: anidea on November 13, 2016, 02:53:38 PM
Hi All,

I just installed this mod on my site (2.0.12) and I keep getting this error.  Is anyone familiar with it and can help make it go away?  It generates a ton of errors at a time... (and I just noted the language error above me, is it the same thing?)

http://ragdollsunited.com/smf/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: optimus_sitemap_title
File: /home/public/smf/Sources/Admin-Optimus.php
Line: 42

Thanks!  :)
Title: Re: Optimus
Post by: wintstar on November 14, 2016, 10:08:48 AM
Open Themes/default/languages/Optimus/Optimus.xxx.php

XXX = france, english or german

find
Code: (php) [Select]
$txt['optimus_sitemap_section'] = 'Optimus Sitemap';
add before
Code: (php) [Select]
$txt['optimus_sitemap_title'] = 'Sitemap';


Title: Re: Optimus
Post by: anidea on November 14, 2016, 11:14:24 PM
Woo hoo!  Thank you, winstar!  :)
Title: Re: Optimus
Post by: owemeone on December 22, 2016, 02:18:06 PM
Hello.

The mod works great, except for the analytics part.

Error:
Code: [Select]
Forbidden

You don't have permission to access /f/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I am using the following code:

Code: [Select]
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', '****54392-1', 'auto');
  ga('send', 'pageview');

</script>

Theme: zone99

extra info: Without the <script> tags the code is displayed at the top of my page in normal text.

tried:
1. backlashing (adding \ before the ')
2. adding echo stuff
3. trying different combos, ie. removing <script> tags, only pasting my tracking ID, etc.

From this post you can see I have little knowledge about scripting, so any help is appreciated.

PS: I know there is a mod specifically for google analytics, but I would prefer to get this mod working.

Title: Re: Optimus
Post by: owemeone on December 26, 2016, 11:50:23 AM
I contacted my host and my problem has been solved.
Title: Re: Optimus
Post by: perfec2 on January 07, 2017, 11:36:24 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.
Title: Re: Optimus
Post by: owemeone on January 13, 2017, 09:48:03 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.

You're not able to change the settings? Are you able to install simpleportal?

If not, then you'll have to dig into your database.

Quote
How do you change the settings of a mod if you aren't able to access the settings via natural methods?

> phpmyadmin
> open up relevant database
> search mod name (for this example: Cumulus Congestus)
> Words or values to search for (wildcard: "%"): Cumulus Congestus
> Find: At least one of the words
> ***_Settings

>browse

>edit whichever field you need to edit

Just make sure you've got a backup :)

There might be another solution, and I am an amateur, so yer.. :p
Title: Re: Optimus
Post by: acsieben on January 18, 2017, 06:29:27 AM
Hi,
After starting to use PHP 7.1 I had to make this change to get a lot of warnings related to "optimus_buffer()" from being generated:

function optimus_buffer(&$buffer) -> function optimus_buffer($buffer)

I.e. I removed the ampersand.

Edit:
Another error that is popping up a lot in the logs is:
Quote
8: Undefined index: optimus_sitemap_title
File: /home/**myforum**/public_html/smf/Sources/Admin-Optimus.php
Line: 42
Title: Re: Optimus
Post by: perfec2 on January 20, 2017, 06:23:43 AM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.

You're not able to change the settings? Are you able to install simpleportal?

If not, then you'll have to dig into your database.

Quote
How do you change the settings of a mod if you aren't able to access the settings via natural methods?

> phpmyadmin
> open up relevant database
> search mod name (for this example: Cumulus Congestus)
> Words or values to search for (wildcard: "%"): Cumulus Congestus
> Find: At least one of the words
> ***_Settings

>browse

>edit whichever field you need to edit

Just make sure you've got a backup :)

There might be another solution, and I am an amateur, so yer.. :p

Thank you for your help, this I believe can solve setting saving issue. How about when a user clicks "post" to start a new thread and it displays 500 server errors at thesame time get posted? currently I uninstalled the mod so that users can post without seeing errors. Please how can I solve this aspect?
Title: Re: Optimus
Post by: perfec2 on January 22, 2017, 08:18:50 AM
Is there a way to remove all the mod instances in the database, as if it hasn't installed before?
Title: Re: Optimus
Post by: aetherdan on March 22, 2017, 07:04:58 AM
Doe this mod work when using SSL?

Once installed and activated, none of the features seem to be working.
Title: Re: Optimus
Post by: Kindred on March 22, 2017, 07:46:09 AM
be more specific please?

Because I have all of my sites on SSL and optimus brave is working just fine
Title: Re: Optimus
Post by: aetherdan on March 23, 2017, 01:17:11 AM
See attachments. The mod just doesn't seem to be working at all, also sitemap was never generated.

No error when checking apache log.
Title: Re: Optimus
Post by: Kindred on March 23, 2017, 11:12:08 PM
It looks like you have done some bad things...
1- removing index.php from the URL is useless when it comes to seo and may cause issues
2- turn off the set URLs in smf admin, they are useless these days.

3- what do you think this mod does? It does not change the URL at all... 
Title: Re: Optimus
Post by: aetherdan on March 23, 2017, 11:19:32 PM
Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.

ll i get now is

Code: [Select]
8: Undefined index: optimus_sitemap_title
Title: Re: Optimus
Post by: Kindred on March 23, 2017, 11:24:56 PM
No, this changes  the meta description, etc tags... not the URL ... because pretty URLs are also, basically, useless for seo
Title: Re: Optimus
Post by: aetherdan on March 23, 2017, 11:27:21 PM
No, this changes  the meta description, etc tags... not the URL ... because pretty URLs are also, basically, useless for seo

Cheers mate, learn something enw every day.
Title: Re: Optimus
Post by: Linkjay on March 24, 2017, 02:06:47 AM
I keep meaning to try this. Looks awesome!
Title: Re: Optimus
Post by: khalimerot on June 25, 2017, 06:42:44 AM
Hi everyone,

When i send a new topic, or change a sitemap option in Optimus i have this error:

Code: [Select]
Table 'icka_smf.smf_bbs_items' doesn't exist
File: /var/sentora/hostdata/icka/public_html/icka_eu/Sources/Subs-Optimus.php
Ligne: 852

My SMF is a 2.0.14 and i Re run the upgrade.php to re update the database...but the problem is still there...

And i have uninstall and reinstall the mod, with no luck..

Edit: After searching i think i have to change the Subs-Optimus.php file to search in smf_topics, but i'm not sure....
Edit2: Not working, it search for id wich could possibly be id_topics, date, and last_edit which are not present in smf_topics

Code: [Select]
// Simple Classifieds
if (!empty($modSettings['optimus_sitemap_classifieds'])) {
$request = $smcFunc['db_query']('', '
SELECT id, date, last_edit
FROM {db_prefix}bbs.items
WHERE status = {int:approved}
ORDER BY date',
array(
'approved' => 1
)
);
Title: Re: Optimus
Post by: khalimerot on June 25, 2017, 07:47:29 AM
The problem seems to come from the Simple Classifed Sitemap option...but I cannot deactivate this option...each time it return selected...

The options seems to not be stored in the database...so i don't know where i can change it..

Edit: Found the parameters in the DB smf_settings at Optimus_sitemap_classifieds and change it to 0, solved my problems..

Do not activate the SMF Classifieds option if you don't have this mod...it was a miss click from me...and this option cannot be change without manually editing the database...
Title: Re: Optimus
Post by: whoey on June 26, 2017, 02:59:29 PM
I don't have simpleportal installed, and mistakenly chose Portal integration >>Simpleportal. I got 500 server error when I clicked save.
As a result whenever a user click post to start a new thread, it will display 500 server, when you view board index you will see that the new thread is posted.

Please how can I fix this?

Note that posting reply doesn't have any problem as it works fine.
We had Optimus Brave 1.8.7 installed, updating to 1.9.x caused 500 errors when starting a new topic. Have temporarily reverted to 1.8.7 since it's not causing us any headaches. I guess something in the old config barfs with the new versions...
Title: Re: Optimus
Post by: acsieben on July 01, 2017, 01:00:20 PM
Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.

ll i get now is

Code: [Select]
8: Undefined index: optimus_sitemap_title


To clear this warning from the error log I changed two entries of this string in Sources/Admin-Optimus.php:

Code: [Select]
$txt['optimus_sitemap_title']
To:

Code: [Select]
isset($txt['optimus_sitemap_title'])?$txt['optimus_sitemap_title']:""
Title: Re: Optimus
Post by: Kindred on July 01, 2017, 01:06:50 PM
or, a better solution would be to actually define $txt['optimus_sitemap_title'] in modifications.YOURLANGUAGE.php
Title: Re: Optimus
Post by: SaidJan on August 06, 2017, 02:59:10 PM
Sometimes, I get this error with SMF 2.1 beta 3. How to fix it?

8: Undefined variable: mobile_type
file: .../Sources/Subs-Optimus.php
Line: 466

==>466:            'wap'      => $scripturl . '/?' . $mobile_type,

Title: Re: Optimus
Post by: Kindred on August 06, 2017, 03:05:41 PM
Well, for one, this mod is not designed for smf 2.1
Title: Re: Optimus
Post by: SaidJan on August 06, 2017, 04:11:11 PM
Well, for one, this mod is not designed for smf 2.1
Ok, NP.
I thought it's compatible as it says in Modification section of the site.
Title: Re: Optimus
Post by: Kindred on August 06, 2017, 06:27:28 PM
hmmm.... it does say that, doesn't it?   Bugo must have made a update or mistakenly clicked 2.1 when he meant 2.0.14


but it would require some changes since I believe we may have removed WAP from the 2.1 codebase
Title: Re: Optimus
Post by: Bugo on August 08, 2017, 04:19:11 AM
Sometimes, I get this error with SMF 2.1 beta 3. How to fix it?

8: Undefined variable: mobile_type
file: .../Sources/Subs-Optimus.php
Line: 466

==>466:            'wap'      => $scripturl . '/?' . $mobile_type,
Thanks, I fixed it on GitHub (develop branch (https://github.com/dragomano/Optimus/tree/develop))
Title: Re: Optimus
Post by: SaidJan on August 08, 2017, 10:16:39 AM
Thank you.
I think you missed ?> at the end of both files.
Title: Re: Optimus
Post by: Bugo on August 08, 2017, 12:44:05 PM
It's not required :)
Title: Re: Optimus
Post by: boyanova6 on September 15, 2017, 03:07:27 AM
I can not activate this option. Please help.

(https://www.simplemachines.org/community/index.php?action=dlattach;topic=422210.0;attach=254597;image)
Title: Re: Optimus
Post by: Bugo on September 19, 2017, 01:17:26 PM
This option is visible if there is sitemap.xml on the forum's root.
Title: Re: Optimus
Post by: boyanova6 on September 19, 2017, 01:35:56 PM
It works. Thanks for the reply!
Title: Re: Optimus
Post by: Parmaster on October 02, 2017, 07:10:50 PM
Is this really the correct robots.txt?

Because in the Google Console I see the message that Google has no access to my site because of the second  Disallow: /

Code: [Select]
User-agent: MediaPartners-Google
Allow: /

User-agent: *
Allow: /*.xml
Allow: /*sitemap
Allow: /*.css
Allow: /*.js
Allow: /*.png
Allow: /*.jpg
Allow: /*.gif
Disallow: /*action
Disallow: /*board=*wap
Disallow: /*board=*imode
Disallow: /*topic=*wap
Disallow: /*topic=*imode
Disallow: /*topic=*.msg
Disallow: /*topic=*.new
Disallow: /*;
Disallow: /*PHPSESSID
Allow: /*board
Allow: /*topic
Disallow: /

Sitemap: https://mydomain.tld/sitemap.xml
Title: Re: Optimus
Post by: anidea on October 21, 2017, 04:39:01 PM
Hi!  I hate to be a pest, but this error started up again today.  It was resolved previously by winstar's post (change "Optimus Sitemap' to 'Sitemap' in languages), and nothing changed about the forum (that I know of/within my control) so I don't really understand what might've suddenly happened.  It is only generated when I am on the site, under my admin username.  Also I don't have the sitemap option enabled, and don't know where it can be found.

BTW my site has been 2.0.14 for months (since shortly after it was available).

If anyone could point me in a direction to fixing this, I'd be very grateful.

Hi All,

I just installed this mod on my site (2.0.12) and I keep getting this error.  Is anyone familiar with it and can help make it go away?  It generates a ton of errors at a time... (and I just noted the language error above me, is it the same thing?)

http://ragdollsunited.com/smf/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: optimus_sitemap_title
File: /home/public/smf/Sources/Admin-Optimus.php
Line: 42

Thanks!  :)
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 21, 2017, 05:38:13 PM
Hi!  I hate to be a pest, but this error started up again today.  It was resolved previously by winstar's post (change "Optimus Sitemap' to 'Sitemap' in languages), and nothing changed about the forum (that I know of/within my control) so I don't really understand what might've suddenly happened.  It is only generated when I am on the site, under my admin username.  Also I don't have the sitemap option enabled, and don't know where it can be found.

BTW my site has been 2.0.14 for months (since shortly after it was available).

If anyone could point me in a direction to fixing this, I'd be very grateful.

Hi All,

I just installed this mod on my site (2.0.12) and I keep getting this error.  Is anyone familiar with it and can help make it go away?  It generates a ton of errors at a time... (and I just noted the language error above me, is it the same thing?)

http://ragdollsunited.com/smf/index.php?action=admin;area=logs;sa=errorlog;desc
8: Undefined index: optimus_sitemap_title
File: /home/public/smf/Sources/Admin-Optimus.php
Line: 42

Thanks!  :)

If you start at the beginning of this thread and read each post carefully you may find that somewhere along the line the file sitemap.xml got deleted, OR your language files did not install correctly, I've had experience with the latter in this module when installing on 2.1, which as Kindred stated this module needs to be updated for 2.1... its a fair module for what it does, but requires custom edits to install on 2.1, but you are on 2.0.14 yes? same issue maybe, check that the language files got installed correctly... because back when I was messing with this one there was a whole missing menu item because of the language files, simple fix though...

Title: Re: Optimus
Post by: anidea on October 21, 2017, 06:55:00 PM
If you start at the beginning of this thread and read each post carefully you may find that somewhere along the line the file sitemap.xml got deleted, OR your language files did not install correctly, I've had experience with the latter in this module when installing on 2.1, which as Kindred stated this module needs to be updated for 2.1... its a fair module for what it does, but requires custom edits to install on 2.1, but you are on 2.0.14 yes? same issue maybe, check that the language files got installed correctly... because back when I was messing with this one there was a whole missing menu item because of the language files, simple fix though...

Thanks for the hint, it certainly sounds similar to my problem, BUT...

I went through 21 pages of discussion and didn't find anything addressing how to fix it.  A lot of work and no result :(  (and yes, I did uninstall and reinstall, which was the only thing I saw.)

If anyone can point me to something more concrete, I would really appreciate it.
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 21, 2017, 07:05:05 PM
If you start at the beginning of this thread and read each post carefully you may find that somewhere along the line the file sitemap.xml got deleted, OR your language files did not install correctly, I've had experience with the latter in this module when installing on 2.1, which as Kindred stated this module needs to be updated for 2.1... its a fair module for what it does, but requires custom edits to install on 2.1, but you are on 2.0.14 yes? same issue maybe, check that the language files got installed correctly... because back when I was messing with this one there was a whole missing menu item because of the language files, simple fix though...

Thanks for the hint, it certainly sounds similar to my problem, BUT...

I went through 21 pages of discussion and didn't find anything addressing how to fix it.  A lot of work and no result :(  (and yes, I did uninstall and reinstall, which was the only thing I saw.)

If anyone can point me to something more concrete, I would really appreciate it.

Oops, what I meant to say is that you should start at the top of this page of the thread, not meaning to suggestion the entire thread...

At any rate, so what you are saying is that you have physically checked and that sitemap.xml file does indeed exist in the root directory of the forum?

The error msg that you cited indicates to me initially that a manual edit of your language files will fix this, IF that file does indeed exist where it is suppose to be... especially if the module was working okay beforehand...

Title: Re: Optimus
Post by: anidea on October 21, 2017, 10:23:37 PM

Oops, what I meant to say is that you should start at the top of this page of the thread, not meaning to suggestion the entire thread...

At any rate, so what you are saying is that you have physically checked and that sitemap.xml file does indeed exist in the root directory of the forum?

The error msg that you cited indicates to me initially that a manual edit of your language files will fix this, IF that file does indeed exist where it is suppose to be... especially if the module was working okay beforehand...

I'm still confused.

I made a txt document and renamed it to sitemap.xml and uploaded it to smf.  Didn't fix it.

I'm not sure what I should do.  If there's a manual edit of my language files needed, how do I find what/where to edit? 

On the other hand, if something was supposed to happen that didn't, shouldn't there be a reason *why* something didn't happen as predicted?  I checked the zip file for the mod, and there is no sitemap.xml in there.  What creates this file?  When?  And if it was supposed to happen on install, why didn't that happen?  'Cause obviously something is broken.  Re-install did not fix it.

BTW, that screenshot that Boyanova6 posted above?  I don't have anything looking like that in the mod.  There is nothing referencing sitemaps *at all* in any of the mod settings.  When I look through the language file, I see a whole section on creating a sitemap.xml.  Should I just delete all that?  Shouldn't that appear somewhere in the mod? 

Still confused.  :(
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 21, 2017, 11:37:23 PM
Yes, if you are unfamiliar with doing a manual edit, it can be confusing... been working with computers for longer than some have been alive, and they always do EXACTLY as they are told to do by the programmer, they do not make mistakes, ever... its the programmer's responsibility to account for every scenario & details of what the task at hand is doing.

Sometimes, if the forum admin has installed/re-installed several different modules, some modules change the language files and source code of the core software in a variety of ways, or are "suppose" to, but because some other module has already made changes to those files, and un-install re-install does not always fix some little quirk of the software and you must manually make the edits yourself to put things back in order...

SMF© makes that process relatively easy to spot and tells you where/what edits to make through the pre-install/uninstall test...

Title: Re: Optimus
Post by: anidea on October 21, 2017, 11:42:39 PM
So what you're saying is my only choice is to delete the entire forum and start over?

SMF© makes that process relatively easy to spot and tells you where/what edits to make through the pre-install/uninstall test...

Not really, because there was never a single indication of the mod not installing properly.  Not the first time, and not when I uninstalled and reinstalled earlier today.

Unless there is some other pre-install/uninstall test that I am unaware of?
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 21, 2017, 11:56:06 PM
So what you're saying is my only choice is to delete the entire forum and start over?

In this case, no that is not the case, if you go in and un-install Optimus, then turn around and re-install it, the pretest phase will show where and what files need to be edited... familiarize yourself with this feature of the package manager, it will save you hours of fret, confusion, and headaches if you are trying to add functionality features new or old...

The wiki section of the online manual here has vast resources for a variety of scenarios that typically happen with the SMF platform, one of the moderators can point you to the section of the manual that covers manual edits of source code...

In your case, you should be able to quickly make a minor edit to the language files which are located in the Themes/default/languages sub-directory, but first you need to determine which one(s) to edit...

Title: Re: Optimus
Post by: anidea on October 22, 2017, 12:01:12 AM
In this case, no that is not the case, if you go in and un-install Optimus, then turn around and re-install it, the pretest phase will show where and what files need to be edited... familiarize yourself with this feature of the package manager, it will save you hours of fret, confusion, and headaches if you are trying to add functionality features new or old...

I've uninstalled and reinstalled twice today.  The pretest phase does not show any issues AT ALL.  That's the problem.  So what do I do next?

Installations actions for "Optimus"
Installing this package will perform the following actions:
Type   Action   Description
1.   Extract File   ./Sources/Admin-Optimus.php   Core file
2.   Extract File   ./Sources/Subs-Optimus.php   Core file
3.   Extract File   ./Themes/default/Optimus.template.php   Template file
4.   Extract Tree   ./Themes/default/languages   Language files
5.   Extract Tree   ./Themes/default/css   CSS files
6.   Adapt Database   install.php

This is followed by a quick "successful install" screen that I don't even have the chance to read it is so quick, followed by the "Base Settings" page with these options:

Base settings
Extra
Verification meta tags
Counters
File robots.txt

Nothing about sitemaps.

STill getting this error:

8: Undefined index: optimus_sitemap_title
File: /home/public/smf/Sources/Admin-Optimus.php
Line: 42

The wiki section of the online manual here has vast resources for a variety of scenarios that typically happen with the SMF platform, one of the moderators can point you to the section of the manual that covers manual edits of source code...

In your case, you should be able to quickly make a minor edit to the language files which are located in the Themes/default/languages sub-directory, but first you need to determine which one(s) to edit...

I should also add that most of the descriptions for the code are in Russian.  While I can boast being able to utter a few Russian words/phrases, I can't read whatever the writing says in the Admin-Optimus.php file says.  I tried looking at places where "sitemap" is mentioned, but I can't find anything particularly wrong with it, other than that it doesn't work.  I'm not sure how the SMF wiki is supposed to help here... :-/  I came to the Mod thread hoping for help with the Mod, is that not what I'm supposed to do?
Title: Re: Optimus
Post by: Bob Perry of Web Presence Consulting on October 22, 2017, 12:32:58 AM
Okay, let me ask you this, is your forum utilizing utf-8 protocol? or no?

If it is, try replacing these two files in your Themes/default/languages directory... see attached...

Afterward you should see an additional option on the optimus admin menu regarding sitemap...

Title: Re: Optimus
Post by: anidea 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
Title: Re: Optimus
Post by: Black Tiger 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
Title: Re: Optimus
Post by: Black Tiger on April 01, 2018, 02:32:25 PM
What is the changelog between 1.9.6 and 1.9.7?
Title: Re: Optimus
Post by: Bugo on April 01, 2018, 05:57:04 PM
Title: Re: Optimus
Post by: Rock Lee 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!
Title: Re: Optimus
Post by: @rjen 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
Title: Re: Optimus
Post by: Bugo on April 03, 2018, 06:35:19 AM
Thanks. I have added your translations into package.
Title: Re: Optimus
Post by: @rjen 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

Title: Re: Optimus
Post by: Bugo 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 ;)
Title: Re: Optimus
Post by: @rjen 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...
Title: Re: Optimus
Post by: pocttopus on April 03, 2018, 11:11:46 AM
  • Favicon support
  • Custom metatags
  • Various fixes
This is awesome. Thanks!  :)
Title: Re: Optimus
Post by: Bugo 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?
Title: Re: Optimus
Post by: @rjen 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...
Title: Re: Optimus
Post by: pocttopus 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
Title: Re: Optimus
Post by: @rjen 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
Title: Re: Optimus
Post by: alexetgus 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).

Title: Re: Optimus
Post by: alexetgus on April 24, 2018, 02:59:54 AM
Forgotten variable $txt['optimus_robots_desc'] :-[

Complete french translation:
Title: Re: Optimus
Post by: Bugo on April 25, 2018, 04:01:27 AM
Thanks :)
Title: Re: Optimus
Post by: njtweb 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!
Title: Re: Optimus
Post by: Bugo 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.
Title: Re: Optimus
Post by: njtweb on April 25, 2018, 02:21:20 PM
Ok, that's what I did. I wasn't sure if there was a "suggested default config" for starters. Thanks
Title: Re: Optimus
Post by: njtweb on April 26, 2018, 04:12:50 PM
How do you change the meta data open graph image link? I can't it's hard coded. I uploaded the image I want to use to my app on FB and it's not using that either.
Title: Re: Optimus
Post by: njtweb on April 26, 2018, 05:58:49 PM
Couple Questions..... I would've edited my last comment but can't.


- How do you change the meta data open graph image link? I can't it's hard coded. I uploaded the image I want to use to my app on FB and it's not using that either.

- Under base settings/Forum Homepage title. I don't want "- Index" showing in web search results. If I leave it empty there's still a hyphen. Is there anyway to remove the hyphen so just my website title shows up without it in results, (image attached)?

- When I browse to my site in chrome the suffix is index.php?wwwRedirect<--- What is that? It doesn't show that in FF or IE

Code: [Select]
http://www.youthhockeyinfo.com/index.php?wwwRedirect
Title: Re: Optimus
Post by: alexetgus on April 27, 2018, 04:24:22 AM
Off topic

On the mod page, you should indicate which languages ​​are supported. It would bring you more people. ;)
Title: Re: Optimus
Post by: Kindred on April 27, 2018, 07:13:09 AM
- When I browse to my site in chrome the suffix is index.php?wwwRedirect<--- What is that? It doesn't show that in FF or IE

Code: [Select]
http://www.youthhockeyinfo.com/index.php?wwwRedirect

https://wiki.simplemachines.org/smf/WwwRedirect
Title: Re: Optimus
Post by: njtweb on May 13, 2018, 03:10:53 PM
Hi @Bugo

What does the portal support do in your mod? I ask because I don't see EZ Portal listed.
Title: Re: Optimus
Post by: Bugo on May 13, 2018, 03:23:23 PM
"Portal support" just means that Optimus can change page titles and/or $context['canonical_url'] on portal frontpages.
I didn't use the last versions of EZ Portal, so I don't know how it works, what is changed, etc.
Title: Re: Optimus
Post by: BillLeeDee on May 14, 2018, 01:14:25 PM
I don't know if this is widespread or not, but when I upgraded from 1.9.6 to 1.9.7.2 or 1.9.7.3 I lost all the open graph tags, regardless of the settings. Reverting back to 1.9.6 returned them to the forum. I didn't check anything else to see what wasn't working with the 1.9.7.x version as when I noticed all my Twitter cards were broken until I reverted to the old version.
Title: Re: Optimus
Post by: BillLeeDee on May 16, 2018, 07:32:15 PM
Anybody have any suggestions on this or doesn't anyone use this mod?
Title: Re: Optimus
Post by: alexetgus on May 17, 2018, 09:29:35 AM
Sorry, i use another system, of my making, for social images.
I installed Optimus after i started a big SEO job on my site.
Optimus is a complement.
Title: Re: Optimus
Post by: BillLeeDee on May 19, 2018, 09:46:55 PM
Thanks for the reply. Apparently there's some sort of bug or features have been removed, so I'll use the older version for now.
Title: Re: Optimus
Post by: njtweb on June 28, 2018, 08:09:00 AM
I don't know if this is widespread or not, but when I upgraded from 1.9.6 to 1.9.7.2 or 1.9.7.3 I lost all the open graph tags, regardless of the settings. Reverting back to 1.9.6 returned them to the forum. I didn't check anything else to see what wasn't working with the 1.9.7.x version as when I noticed all my Twitter cards were broken until I reverted to the old version.

Did you install optimus.zip or optimus_smf21.zip?
Title: Re: Optimus
Post by: pocttopus on July 20, 2018, 01:19:36 PM
Hello,

I am receiving a lot of errors and I don't know how to fix this... I had noticed that this issue is related with optimus modificiation.
In this message I had uploaded Class-Optimus.php
Is there any fix!?

Thanks!

(https://s20.postimg.cc/lkzvx9vu5/err.jpg)
Title: Re: Optimus
Post by: alexetgus on July 20, 2018, 01:42:51 PM
Hello

Use this file. I changed lines 475 to 478.
Code: [Select]
if (!empty($context['canonical_url'])) {
$open_graph .= '
<meta property="og:url" content="' . $context['canonical_url'] . '" />';
}

These errors are caused by the absence of canonical url on SMF privates pages (admin, PM, ...)
Title: Re: Optimus
Post by: pocttopus on July 20, 2018, 02:45:07 PM
Hello

Use this file. I changed lines 475 to 478.
Code: [Select]
if (!empty($context['canonical_url'])) {
$open_graph .= '
<meta property="og:url" content="' . $context['canonical_url'] . '" />';
}

These errors are caused by the absence of canonical url on SMF privates pages (admin, PM, ...)
Thanks, I had uploaded the file and see how it goes...
Title: Re: Optimus
Post by: alexetgus on July 20, 2018, 03:03:45 PM
I'm not sure that Optimus is compatible with Pretty URL... :-\
Title: Re: Optimus
Post by: pocttopus on July 20, 2018, 03:36:10 PM
I'm not sure that Optimus is compatible with Pretty URL... :-\
Thanks for the advice... now I had removed PrettyUrl's and not to worry.
Title: Re: Optimus
Post by: Bugo on July 21, 2018, 01:02:31 AM
I'm not sure that Optimus is compatible with Pretty URL... :-\
It is compatible and works with the latest version very well.
Title: Re: Optimus
Post by: pocttopus on July 21, 2018, 03:29:23 AM
I'm not sure that Optimus is compatible with Pretty URL... :-\
It is compatible and works with the latest version very well.
Now I am able to return PrettyUrl's?  :o
Title: Re: Optimus
Post by: Bugo on July 21, 2018, 04:25:41 AM
It's up to you :)
Title: Re: Optimus
Post by: pocttopus on July 21, 2018, 06:03:07 AM
Thanks... I will install it again.  ;)
Title: Re: Optimus
Post by: brettuk on July 21, 2018, 12:40:39 PM
Hey great mod btw, however, having some issues with the sitemap.

I have all of the relevant sitemap boxes checked, but where is the sitemap URL?