Simple Machines Community Forum
Customizing SMF => Modifications and Packages => Topic started 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 the indexing of your forum by search engines.
The version for SMF 2.0.x needs PHP 5.6 or greater.
The version for SMF 2.1.x needs PHP 7.2 or greater.
Features:
- Managing of title and description for the main forum page.
- Description meta-tag for boards' and topics' pages.
- Keywords meta-tag for topics. Users can fill them when creating/changing topics (only in the version for SMF 2.1).
- Support of Open Graph meta-tags and Twitter Cards.
- Ability to specify the verification codes when adding sites to Google, Yandex, and Bing (Webmaster Tools).
- Adding custom metatags.
- Adding any counters without template editing.
- Changing the robots.txt from the Settings page.
- Generator for the robots.txt file.
- Simple Sitemap XML.
- Generation of favicon.
- Support of Cyrillic domains.
- Statistics of search queries on the forum (only in the version for SMF 2.1).
I do not support any previous versions of this mod. Please, use only the latest version of OP for your SMF.
To submit an issue, leave:
- a short description of your problem
- mods list that installed
- your SMF version
- your PHP version
- forum link where I can see the issue
Attach screenshots, if it is possible. You can send me all this information via PM.
(https://img.shields.io/github/license/dragomano/optimus?color=red) (https://img.shields.io/badge/Donate-$-blue.svg?style=flat&logo=paypal) (https://ko-fi.com/dragomano) (https://img.shields.io/github/v/release/dragomano/optimus.svg?style=flat&logo=github&color=green) (https://github.com/dragomano/Optimus)
-
I like this mod! 8)
-
Nice mod...
-
very nice mod, just installed it on my RC5 8)
the only thing is that my error log is flooded with the following error:
index.php?action=dlattach;attach=####;type=avatar
8: Undefined index: current_action
/Sources/Subs-Optimus.php
Line: 17
any suggestions?
-
I fixed it, try new version :)
-
thanks for the update :)
just installed it, will update you if the issue is fixed.
-
Nice mod Bugo :)
-
Bugo, that fix did the job :D
many thanks for the cool mod and great support 8)
-
My robots.txt is suggested by this mod:
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/
-
Try and learn :)
-
I don't know what i did to cause this error, but i just noticed it...
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
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
-
I don't know what i did
And how I can resolve this problem?
-
i don't want help, i just informing...
-
Well, maybe this problem appears only for the first time but after saving of settings it disappears.
-
Try and learn :)
Hello dear, I am wrong in my conclusion? Sorry do not understand is why robots.txt
-
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
-
2 link.
-
Use link the two? With the same content?
-
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
-
thanks bro.
What is the meaning of
Allow: /$
Thanking you.
-
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.
-
This line — "Allow: /$" it's a main page (only main page!) of your forum (i.e: http://www.yourforum/).
-
Now my doubt cleared.
Thanks for your quick reply.
Wish You All The Best.
-
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.
-
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.
-
http://www.simplemachines.org/community/index.php?topic=422210.msg3144963#msg3144963
-
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.
-
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.
-
I like this mod, but would take the keys of the number, looks like this {1} could contain just the number 1.
-
What do you mean?
-
Here's the link the title, appears on page {1} instead of just one page:
http://www.tectonny.com/forum/apoio-tecnico/
-
And what? Look at page 2, 3 etc — you'll see {2}, {3} etc. If you don't want see page number, remove
[#]
from topic/board title templates in Optimus settings.
If you don't want see { and } symbols — it's another question... :)
-
I do not want to see the symbols, I see only the number without the {}.
-
Well, I'll add this feature in the next release.
-
Okay.
-
Ok, try new version.
-
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.
-
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.
-
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).
-
The problem is that if we use the fixed number will appear on all pages with the same number.
-
And why you use the fixed number? :) You must use the constant — "number". It will be replaced with number page automatically.
-
There was no way, tried everything, here's what I tried.
[board_name] - [forum_name] - Página [board_name] - [forum_name] - Página {number}
-
Look at screenshots ("666" in mod settings - it's just example).
-
Yes, my work well, but not without braces. "{ }"
(http://imgbr.in/images/63179327200033548942_thumb.png) (http://imgbr.in/viewer.php?file=63179327200033548942.jpg)
-
Is difficult to guess replace {number} with number?
-
Perfect your explanation, now understood and is working perfectly.
Thanks
Muito Obrigado.
-
I liked the update, best explains how the sitemap ....
-
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
-
I was able to generate the sitemap prettyurl disabling, but where is the sitemap? What is the link to the sitemap?
-
Log errors with just one minute of use:
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?
-
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.
-
Looks good.
Good job ;)
-
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'
-
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
-
Default values help you to get a proper result:
[topic_name] - page [#] - [forum_name]
If you want add board name just paste [board_name] after (or before) [topic_name] (to field #1):
[topic_name] - [board_name] - page [#] - [forum_name]
Alternative way (add board name to field #3):
[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.
-
You forgot to paste square brackets: []
-
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
-
This is a feature.
Why did you remove the link to your forum?
-
If page is only one, page number not appears.
Can I see a screenshot of your settings?
-
the problem is not with topic pages but only with board pages
-
If page is only one, page number not appears.
Can I see a screenshot of your settings?
-
okay i posted a screenshot of settings above
-
Well, I have the same settings but don't have any problem. Do you have any mods that can change page titles/numbers?
-
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
-
Can you give me test admin account to PM?
-
sent you PM
just append /discus to access SMF at the end of the link i sent
-
Well, you forgot to mention you are using an older version of Optimus. Current last stable - 1.7.1, you have - 1.7
-
ok done
-
Awesome mod!! But there is a error in my errorlog:
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
==>430: $context['small_advice'] = iconv('UTF-8', $db_character_set, $context['small_advice']);
-
i find similar errors with Sources/Subs-Optimus.php
it generates sitemap with deleted topic numbers and 404 errors are caused.
-
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.
-
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 :)
-
oops.. those errors were from 1.7
i've just updated to 1.7.1 and let me see for errors after few hrs
-
I have a question :)
This is the suggested robots.txt from the Optimus Brave mod:
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:
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 :)
-
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).
-
PM is send :) thank you very much!
-
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?
-
Sorry i answer my own question, in your mod it says:
Metatag keywords
Recommended no more than 20.
I should learn to read :P
-
now sitemap.xml is not getting generated even after 1 day of scheduling the task.
the existing sitemap.xml is also missing !!!!!!!!!!!
-
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
-
Thank you for the update!!! I just installed it, will let you know how it works out! ;D
-
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"
-
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.
-
Ok, this is solved.
But, is there a way to put all of urls in sitemap?
-
Why? Any sitemap is not required if there is a proper robots.txt
-
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
-
Try add http://www.allstudentforum.com/common.xml
-
Why? Any sitemap is not required if there is a proper robots.txt
And why is there option for making sitemap at all?
-
Exactly, it's optional - you can use, you can not use.
-
@ 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
-
@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)
-
You are using a wrong line in your robots.txt:
Allow:/*Sitemap: http://www.allstudentforum.com/sitemap.xml
Correct:
Sitemap: http://www.allstudentforum.com/sitemap.xml
-
@ bugo, thanks,its ok now. No more error. Am grateful
-
Last Modified: Today
What´s news? :)
-
Surprise :)
-
nothing :D
-
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?
-
I think you're using non-UTF8 charset on forum. To solve this problem open Subs-Optimus.php, find
$file = $boarddir . '/sitemap.xsl';
optimus_file_create($file, $xsl, false);
and replace with:
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.
-
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
-
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
-
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
-
I think the keywords are useless for forums.
-
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
-
Just remove all keywords at all. And wait for indexing updates. Forget about keywords. Think about content ;)
-
ok , i removed all ..
we will see the results after a while , hope to be ok
-
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
-
Did you try to create sitemap again?
-
no , i had the last one , i have to rebuild it and reupload ? :)
-
Open Subs-Optimus.php, find block:
// 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:
// 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.
-
cool bro , thanks for advice .. now everything is all right :) is looking well
-
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
Fatal error: Cannot use object of type WikiPage as array in /mysite/Sources/Subs-Optimus.php on line 77
$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?
-
What is "wiki"? Do you mean SimpleWiki mod?
-
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
-
Unfortunately, this mod doesn't work for me. Wait stable release.
-
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.
-
Possible solution. Find
$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:
$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);
}
}
-
that worked. :) thanks!
-
http://test.turtleshellprod.com/index.php?action=wiki;page=Special:Upload
Fatal error: Cannot use object of type WikiPage as array in /home/turtleshell/www/test/Sources/Subs-Optimus.php on line 79
;)
-
hmmmm.... that link works for me, when I am logged in, so it must be a conflict in the guest settings/permissions
-
for SMF 2.0 RC3 ?when? :D
-
When pigs fly.
-
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.
-
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
-
Hi I just installed Optimus Brave but I dont know what to add in these fields
-
Getting these errors on webmaster tools
[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
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
-
Well, don't use .gz format. Do you know about Sitemap mod?
-
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.
-
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?
-
No difference.
-
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
-
Thanks for this great mod. But I am having difficulty with Sitemap generation. It is not working at all.
-
Topic/board pages settings
After the last update to the functioning of nuperação of pages in the term page displays.
-
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
-
This is not working
"Output board description to the meta-tag description "
-
@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
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?
-
But it did not working for me and google show the duplicate meta description.
-
But it did not working for me and google show the duplicate meta description.
For me too.
How to display this:
{topic_name}+{category_name}+ - page {#} - +{board_name} - {forum_name}
I need category name in title tag
-
{category_name} is not provided.
-
{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. :)
-
I'll add this feature later. Next version, maybe.
-
I'll add this feature later. Next version, maybe.
I appreciate it and wait for this feature.
-
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.
-
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.
-
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
-
Everything Mess up after install the meta modification.I am unable to verify the website using optomus brave . How to manaully add it.
-
Many thanks!!!
Nice mod!
-
Many thanks!!!
Nice mod!
I agree
-
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?
-
Un-install all mods before upgrading SMF.
-
That is better I think:
in Subs-Optimus.php
find:
$context['optimus_description'] = optimus_meta_teaser($topicinfo['id_first_msg']);
replace with:
$context['optimus_description'] = optimus_meta_teaser($context['first_message']);
-
$context['topic_first_message'] it's best :)
-
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"?
-
I am using this MOD and it's awesome for SEO :)
Thanks a ton :)
-
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
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
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;
-
Subs-Optimus.php, find
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
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.
-
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?
-
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?
-
thnks, problem solved :)
-
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?
-
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".
-
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
-
get rid of prettyurls...
-
Recreate the sitemap via Task Manager.
-
@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!
-
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......
-
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.
-
What exactly do you want?
Special template for sub boards like "Forum name - Board name - Sub board name - page xxx"?
-
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)
-
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?
-
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
if (!empty($board_info['total_topics']))
and replace with:
if (!empty($board_info['name']))
-
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
-
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.
-
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)
-
Just wait... some days... or weeks. It depends on indexing & traffic :)
-
Beautiful mod! Thank you so very much for taking the time to give the world (well, ok, the SMF world) such a great present.
-
Where can i change Page into Pagina.
Please see attachment.
Great mod by the way ;)
-
Admin -> Configuration -> SEO -> Common settings, 2 options: Template of board pages title and Template of topic pages title
-
Briljant Bugo
Thanx for tje quick answer.
Greetings from the Netherlands ;)
-
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...?
-
Just change column (name "id") type from SMALLINT to INT - see search_terms table in your database.
-
Ahhh - perfect ! Thanks :-)
-
no questions but just in one tiny sweet sentence, this package is a MUST for all SMF forums
thumbs up Bugo
-
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.
-
In the verification metatags section, what type of text am i supposed to be putting in the boxes?
Thanks.
-
What is written there?
-
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
-
can somebody guide me on how to set this mod for my site to be search engine friendly
-
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.
-
You shouldn't change nothing in index.template.php, never. This mod doesn't make any edits with files.
-
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?
-
Not required, but one can use other tabs of this mod.
-
ok, thanks
-
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:
if ($smcFunc['strlen']($teaser) < 150) return strip_tags($teaser);
and replace with
if ($smcFunc['strlen']($teaser) < 200) return strip_tags($teaser);
Then find this:
$teaser = $smcFunc['substr']($teaser, 0, 150);
and replace with
$teaser = $smcFunc['substr']($teaser, 0, 200);
Finally, find
$result = !empty($tmp1) ? $tmp1 : (!empty($tmp2) ? $tmp2 : (!empty($tmp3) ? $tmp3 : rtrim($teaser)));
and replace with
$result = rtrim($teaser);
-
Great mod! Where are the controls in the Admin Panel?
-
You wouldn't believe me — Admin Panel => Configuration => Search Engine Optimization :)
-
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!
-
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.
-
Anyone? Optimus Brave, though I ask it to, won't change the meta description anywhere. Any ideas?
-
Try to use original index.template.php, without ANY changes.
-
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.
-
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??
-
If you don't know what to write, leave these fields blank.
-
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 :)
-
Does it support 1.16 version?
-
did you even bother to read the mod download page?
Compatible With:
2.0, 2.0.1, 2.0.2
so. no.
-
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 ???
-
How did you install it? Via Package Manager or by hand?
-
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!!
-
Can you make a screenshot of your Scheduled Tasks page?
-
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
-
Try to run task "Creating of Sitemap" in Scheduled Tasks by hand.
-
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
-
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.!
-
All links work fine for me too. Try to update cache in your browser.
-
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!)
-
Disable/Uninstall your SEO mod (Pretty URLs or what you are using) and then re-create Sitemap via Scheduled Tasks.
-
Hi Bugo, thanks for getting back to me. Can I then go back to using pretty URL after doing that?
-
no.... and, as I said - pretty urls will cause problems with lots of mods (and is not necessary)
-
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?
-
This mod does not change the urls at all, since urls have very little, if any, effect on search engine ranking.
-
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
-
You're in the minority actually - the WSJ and YouTube, consistently in the top 10 sites online, do not bother with 'nice' URLs.
-
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....................................
-
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.
-
Turkish translation
$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> — bölüm adı, <strong>{topic_name}</strong> — konu başlığı,<br/><strong>{#}</strong> — geçerli sayfa numarası, <strong>{cat_name}</strong> — kategori adı, <strong>{forum_name}</strong> — 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"><meta name="google-site-verification" content="<strong>SAĞ SÜTUNA YAPIŞTIRMANIZ GEREKEN DEĞER</strong>" /></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&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 — 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
$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> — bölüm adı, <strong>{topic_name}</strong> — konu baÅŸlığı,<br/><strong>{#}</strong> — geçerli sayfa numarası, <strong>{cat_name}</strong> — kategori adı, <strong>{forum_name}</strong> — 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"><meta name="google-site-verification" content="<strong>SAÄ SÜTUNA YAPIÅTIRMANIZ GEREKEN DEÄER</strong>" /></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&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 — 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'
);
-
the utf-8 translation did not come across well.
You have to make UTF-8 translations as attachments not as posts
-
Thx. Previous post was edited.
-
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.
-
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!
-
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?
-
Is there an example?
-
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 :)
-
Any solution for that missing scheduled task please?
-
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?
-
Where the mod should to take different description from? From the first message on every page?
-
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...
-
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)
-
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*
-
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.
-
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?
-
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.
-
-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...)
-
[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?
-
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.
-
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.
-
Oh yes, that's the one. And yes, the rampantly anti 'forum SEO' developer over there implemented this feature months ago.
-
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.
-
@bugo....
I have an external page. In fact is my front page since I have SMF in /community.
Code:
<?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.
-
Hi, please i don't understand how to set this part of Optimus brave, I've attached the screenshot. Thanks
-
Hi, please i don't understand how to set this part of Optimus brave, I've attached the screenshot. Thanks
leave it like that.
-
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!
-
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
-
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
-
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?
-
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?
-
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.
-
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?
-
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.
-
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.
-
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.
-
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.
-
they don't affect rankings. plain and simple.
You don't know for sure. You're guessing, until you can prove it.
Google has already indicated that CONTENT and proper tagging of content is the way their system works best.
Agreed.
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.
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.
-
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.
The site would need to be smart enough to make the URLs unique.
That's not hard.
-
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'.
-
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.
-
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.
-
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.
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.
-
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.
-
Thank you for this great mod!
-
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):
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.
-
Hi! I have a question: Is the sitemap working perfectly with Pretty URLs MOD? :)
Thanks.
-
I don't think so...
prettyurls screws up many things, including this mod. drop it. it serves no really useful purpose.
-
it serves no really useful purpose.
Makes the URLs look nice though.
-
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)
-
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.
-
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.
-
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
-
HI, I just installed this and I do not see the option to generate sitemap, any help would be appreciated.
thanks
-
Ignore that working fine now
-
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
-
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
-
The key here is:
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.
-
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
-
i want to install this mod, can anyone can help me to install it correctly
-
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
-
It would not be bad to show up your robots.txt and your forum.
-
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
-
When I run this task manually, the sitemap gets generated correctly, but it doesnt seem to run as a scheduled task
-
For me the same thing
-
Attach your Subs-Optimus.php file.
-
not cleaning bbcode in meta description
(http://club-dhayzone.net/img_styles/20130707001933942.png)
I would like to use the function
strip_tags for cleaning
-
Do not use bbcode or html in the description. Ever. Images are not allowed in the description tag anyway
-
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.
-
prettyurls are a waste of resources anyway..... and they contribute nothing to SEO
-
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.
-
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.
-
Thanks for the response Arantor. #4 was what I was looking for.
Best,
BFM
-
Updated the translation, thank you for including them to core :)
-
There are some errors in your language files. Please fix them.
-
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.
-
Sorry, akonze, but I can not replicate your issue.
I use the current version and had no such reaction.
-
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.
-
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?
-
Disable "Create and periodically update Sitemap XML-file" option in mod's settings.
-
Disable "Create and periodically update Sitemap XML-file" option in mod's settings.
That's what I posted originally, I've tried that.
-
Is it difficult for you to remove sitemap.xml (see forum's root)?
-
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.
-
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)
-
Really nice mod, I have few questions though:
1. Suggested robots.txt
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?
-
that SEF setting is stupid and should not be used anyway.
-
Alright, that was short and to the point. :) Any suggestions about other stuff?
-
"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.
-
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>.
-
Hi,
I get the following error on my sitemap.xml:
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!
-
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
-
turn off the silly SEO friendly urls...
-
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 !!
-
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
-
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
-
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!
-
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.
-
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
-
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
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(" ", "", $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.
-
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
-
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
-
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
-
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:
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
-
Just another thought:
Another Solutions would be for example an option to put only the newest 10.000 URLs insinde the sitemap...
-
well, since I used this on a site with over 3 millions posts... I think there may be something else going on with you...
-
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 ?
-
I thought sitemaps individually weren't permitted above 50k URLs anyway?
-
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!
-
Just for clarification, http://www.sitemaps.org/protocol.html says this:
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.
-
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!
-
I just installed this mod, but it seems I'm missing something somewhere, because I read this on some site:
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:
Create and periodically update Sitemap XML-file
What am I doing wrong?
-
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.
-
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
-
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:
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
-
How to add download file (all files have title, description and much more) from Download System mod to sitemap?
-
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.
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 :)
-
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:
php_value memory_limit 128M
or
<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.
-
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:
php_value memory_limit 128M
or
<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?
-
You have to add it to your .htaccess file indeed.
-
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 :)
-
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.
-
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.
Resource Limits memory_limit 96M
EDIT: Seems to have caused a 500 internal server error. Had to remove the code :/
-
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:
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.
-
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:
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.
-
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
-
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:
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.
-
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.
-
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 -
$context['linktree'][0]['name'] = $mbname;
Commenting this out solved the problem.
-Johan
-
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...
-
I have already found a way, the solution is on page 17.
-
which involved re-coding... :P
-
This MOD is absolutely brilliant, one of the few I would like to see built-in SMF.
-
Thank you. You just saved me a few hours of headache.
You're most welcome - glad to be of some help. :)
-
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 :)
-
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
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(" ", "", $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
function optimus_meta_teaser()
// RIght neat the end of the function
// I've added this next line too
$teaser = str_replace(" ", "", $teaser);
return strip_tags($teaser);
}
-
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?
-
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.
-
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.
-
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
-
I don't believe that this mod creates an XML sitemap. You would use a different mod for that
-
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
-
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
-
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/
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?
-
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...
-
There's a bunch of other posts for and against it. I can understand how it can be detrimental in come cases.
-
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? :)
-
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.
-
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.
-
I found the DB stuff, still no dice. Can ANYONE help please?
-
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/
-
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.
-
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 ...
-
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! :)
-
Open Themes/default/languages/Optimus/Optimus.xxx.php
XXX = france, english or german
find
$txt['optimus_sitemap_section'] = 'Optimus Sitemap';
add before
$txt['optimus_sitemap_title'] = 'Sitemap';
-
Woo hoo! Thank you, winstar! :)
-
Hello.
The mod works great, except for the analytics part.
Error:
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:
<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.
-
I contacted my host and my problem has been solved.
-
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.
-
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.
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
-
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:
8: Undefined index: optimus_sitemap_title
File: /home/**myforum**/public_html/smf/Sources/Admin-Optimus.php
Line: 42
-
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.
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?
-
Is there a way to remove all the mod instances in the database, as if it hasn't installed before?
-
Doe this mod work when using SSL?
Once installed and activated, none of the features seem to be working.
-
be more specific please?
Because I have all of my sites on SSL and optimus brave is working just fine
-
See attachments. The mod just doesn't seem to be working at all, also sitemap was never generated.
No error when checking apache log.
-
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...
-
Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.
ll i get now is
8: Undefined index: optimus_sitemap_title
-
No, this changes the meta description, etc tags... not the URL ... because pretty URLs are also, basically, useless for seo
-
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.
-
I keep meaning to try this. Looks awesome!
-
Hi everyone,
When i send a new topic, or change a sitemap option in Optimus i have this error:
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
// 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
)
);
-
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...
-
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...
-
Ahhh, I thought it was similar to pretty urls. Thanks mate, must be working as intended.
ll i get now is
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:
$txt['optimus_sitemap_title']
To:
isset($txt['optimus_sitemap_title'])?$txt['optimus_sitemap_title']:""
-
or, a better solution would be to actually define $txt['optimus_sitemap_title'] in modifications.YOURLANGUAGE.php
-
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,
-
Well, for one, this mod is not designed for smf 2.1
-
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.
-
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
-
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))
-
Thank you.
I think you missed ?> at the end of both files.
-
It's not required :)
-
I can not activate this option. Please help.
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=422210.0;attach=254597;image)
-
This option is visible if there is sitemap.xml on the forum's root.
-
It works. Thanks for the reply!
-
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: /
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
-
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! :)
-
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...
-
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.
-
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...
-
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. :(
-
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...
-
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?
-
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...
-
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?
-
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...
-
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
-
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
-
What is the changelog between 1.9.6 and 1.9.7?
-
- Favicon support
- Custom metatags
- Various fixes
-
Very good @Bugo for updating the mod and step by step I leave the translation into Spanish Latin ;D
Regards!
-
A glitch in the code
Optimus.template.php
<span>
<label for="optimus_favicon_text">Код для вставки favicon</label><br />
<span class="smalltext">', $txt['optimus_favicon_help'], '</span>
</span>
Should be
<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
-
Thanks. I have added your translations into package.
-
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
-
Open Subs-Optimus.php, find
function get_optimus_description()
{
global $smcFunc, $context, $txt, $board_info;
and add after
if (!allowedTo('view_attachments'))
return;
It should look like that:
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 ;)
-
That does NOT solve the issue.
I should have mentioned: error occurs for members that ARE allowed to see attachments...
-
- Favicon support
- Custom metatags
- Various fixes
This is awesome. Thanks! :)
-
That does NOT solve the issue.
I should have mentioned: error occurs for members that ARE allowed to see attachments...
Did you clean cache?
-
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...
-
Another update? What's that all about? :o Every second day something new... I am just wondering what is the chagelog? :D
-
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...
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
-
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).
-
Forgotten variable $txt['optimus_robots_desc'] :-[
Complete french translation:
-
Thanks :)
-
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!
-
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.
-
Ok, that's what I did. I wasn't sure if there was a "suggested default config" for starters. Thanks
-
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.
-
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
http://www.youthhockeyinfo.com/index.php?wwwRedirect
-
Off topic
On the mod page, you should indicate which languages are supported. It would bring you more people. ;)
-
- 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
http://www.youthhockeyinfo.com/index.php?wwwRedirect
https://wiki.simplemachines.org/smf/WwwRedirect
-
Hi @Bugo
What does the portal support do in your mod? I ask because I don't see EZ Portal listed.
-
"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.
-
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.
-
Anybody have any suggestions on this or doesn't anyone use this mod?
-
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.
-
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.
-
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?
-
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)
-
Hello
Use this file. I changed lines 475 to 478.
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, ...)
-
Hello
Use this file. I changed lines 475 to 478.
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...
-
I'm not sure that Optimus is compatible with Pretty URL... :-\
-
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.
-
I'm not sure that Optimus is compatible with Pretty URL... :-\
It is compatible and works with the latest version very well.
-
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
-
It's up to you :)
-
Thanks... I will install it again. ;)
-
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?
-
Sitemap file is creating via Scheduled Tasks.
-
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?
Just submit sitemap.xml to google webmaster tools. It'll get picked up.
-
For some reason my sitemap shows in the bottom this:
/* loading */ .lt-sk-three-bounce { margin: 2px auto; width: 100%; text-align: center; } .lt-sk-three-bounce .lt-sk-child { width: 5px; height: 5px; background-color: #333; border-radius: 100%; display: inline-block; -webkit-animation: lt-sk-three-bounce 1.4s ease-in-out 0s infinite both; animation: lt-sk-three-bounce 1.4s ease-in-out 0s infinite both; } .lt-sk-three-bounce .lt-sk-bounce1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; } .lt-sk-three-bounce .lt-sk-bounce2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; } @-webkit-keyframes lt-sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } } @keyframes lt-sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } }
And it's not showing visually right like this one: https://dragomano.ru/sitemap.xml
It just shows a plain text file with all the sitemap fields (loc, changefreq, lastmod, etc..)
I've seen that Google is not indexing any of the URLs in this sitemap... It seems that is broken for some reason I can understand.
I'm using latest version 1.9.9 and I've regenerated manually the sitemap trough the task system.
-
For some reason my sitemap shows in the bottom this:
/* loading */ .lt-sk-three-bounce { margin: 2px auto; width: 100%; text-align: center; } .lt-sk-three-bounce .lt-sk-child { width: 5px; height: 5px; background-color: #333; border-radius: 100%; display: inline-block; -webkit-animation: lt-sk-three-bounce 1.4s ease-in-out 0s infinite both; animation: lt-sk-three-bounce 1.4s ease-in-out 0s infinite both; } .lt-sk-three-bounce .lt-sk-bounce1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; } .lt-sk-three-bounce .lt-sk-bounce2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; } @-webkit-keyframes lt-sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } } @keyframes lt-sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1); transform: scale(1); } }
And it's not showing visually right like this one: https://dragomano.ru/sitemap.xml
It just shows a plain text file with all the sitemap fields (loc, changefreq, lastmod, etc..)
I've seen that Google is not indexing any of the URLs in this sitemap... It seems that is broken for some reason I can understand.
I'm using latest version 1.9.9 and I've regenerated manually the sitemap trough the task system.
Not sure if mine is working right either. While my sitemap does resolve without error in Google webmaster tools It shows 869 web pages submitted and 34 indexed.
-
Getting this error:
Incorrect namespace
Your Sitemap or Sitemap index file doesn't properly declare the namespace.
-
I need URL to your sitemap file, SMF forum's version, Optimus version.
-
I need URL to your sitemap file, SMF forum's version, Optimus version.
Your Sitemap or Sitemap index file doesn't properly declare the namespace. Expected: http://www.sitemaps.org/schemas/sitemap/0.9 Found: https://www.sitemaps.org/schemas/sitemap/0.9
I'm forcing my forum to use https so that could be why?
-
Try new version, https://github.com/dragomano/Optimus/releases/tag/v1.9.9.1_optimus
-
Try new version, https://github.com/dragomano/Optimus/releases/tag/v1.9.9.1_optimus
Hi Bugo, does the new version address the all of the sitemap responses?
-
Yes, of course.
-
I see 3 zip packages, do I need to do all three or just the Optimus package?
Thank you
-
The first, optimus.zip
-
The first, optimus.zip
Thank you, hopefully my sitemap links get indexed now.
-
What is today's change log? ???
-
@Bugo https://www.forotoc.com/sitemap.xml
Latest 1.9.9.1
+ SMF 2.0.15
Completely broken as you can see
By the way, how can I save the config file before updating? Everytime I remove the plugin and put the new one, the whole config system resets to default :P
-
??? I see normal sitemap file :)
By the way, how can I save the config file before updating? Everytime I remove the plugin and put the new one, the whole config system resets to default :P
Just comment Line #11 in uninstall.php file
-
??? I see normal sitemap file :)
The old one seem to have some formating, this one seems to be plain xml where is the difference?
-
Updated to 2.0 and sitemap is working but nothing's changed except for the number of URLs total that have been submitted, 945. Nothing has indexed for months. That last time anything indexed was April.
Google Webmaster tools shows no Crawl, Sitemap, Robots errors.
-
The old one seem to have some formating, this one seems to be plain xml where is the difference?
The current version uses simple format. Sitemap is for spiders, not for people. Spiders do not need in any formatting.
sitemap is working
It's good. Optimus is not responsible for the work of search engines.
-
Hi,
Is there any way we're able to exclude certain pages/boards from showing in the sitemap file?
e.g I am blocking the "Introduce Yourself" section from Google, however, it's being listed in the sitemap file.
Thanks, great plugin btw.
-
Check the robots.txt config. Use that as a disallow template for exclusions.
-
Check the robots.txt config. Use that as a disallow template for exclusions.
I am and that's why I'd like to remove the entries from the sitemap file. I am sending two different signals to Google.
Sitemap: "hey google, crawl this please".
Robots: "Google, please ignore these URL's."
Google now thinks, well the sitemap file is telling me to crawl it but the robots is telling me not to crawl it?
-
Robots will scan everything that is available to them, it does not matter whether it is in sitemap or not. If you do not want to see some board in sitemap, close it for guests in properties.
-
Robots will scan everything that is available to them, it does not matter whether it is in sitemap or not. If you do not want to see some board in sitemap, close it for guests in properties.
Roger, that will work for me. Thanks.
Also the Sitemap was compatible with pretty URL's at first, but now it seems as if it's switched to index.php urls.
Any idea? My sitemap can be found here. (http://letschatlove.com/sitemap.xml)
-
Did you try to recreate the sitemap manually, via Scheduled Tasks area?
-
Did you try to recreate the sitemap manually, via Scheduled Tasks area?
Thanks for the help.
I have a scheduled task set to re-generate the sitemap every 1 day, yes. Do you think this is interfering?
-
No, it's normal. What settings of Pretty URLs do you have?
-
Hello, I've been using this mod for a while on some forums (and thanks for it, it's great! :) )
I do have a bit of a problem though, I have "Display board description as the meta-tag description" checked, but what actually shows on google is the board name, followed by the forum name, not the board description ???
I looked at the code but couldn't really understand what's wrong, the conditional for the description seemed fine... Do you have any idea?
Thanks in advance.
P.S.: Actually... Maybe it should be the opposite here?
if (!empty($modSettings['optimus_board_description'])) {
$context['optimus_description'] = !empty($context['description']) ? $context['description'] : $context['name'];
$context['optimus_description'] = $smcFunc['htmlspecialchars']($context['optimus_description']);
Shouldn't it be
if (!empty($modSettings['optimus_board_description'])) {
$context['optimus_description'] = empty($context['description']) ? $context['description'] : $context['name'];
$context['optimus_description'] = $smcFunc['htmlspecialchars']($context['optimus_description']);
? Perhaps it's me being crazy at 3 a.m. ;D
-
Search system (Google, in your case) can or can't use meta description tag for its search results. Meta description is only recommendation, not strong rule.
-
Thanks but that doesn't answer my question at all...
-
So uhm... Some more updates about this, the code doesn't work because it's run before the board description variable is populated, so it can't find it. You're running your hooks at integrate_pre_include and integrate_pre_load, which is really (and too) early as the hooks documentation says.
I'm 100% sure about it because I tried to change that and that was the only way I could get visible effects. The problem is, I wouldn't really know what hooks to use for this mod, as it doesn't seem to like the other ones I tried either (too late with already established page or too early without variable, can't find the sweet spot).
Any input would be appreciated, you know how your mod works better than me and you surely have a better idea about how to make it work :)
-
hey installed this mod successfully in SMF 2.0.15 but cant generate sitemap if i click to generate sitemap under schedule task getting internal 500 error other task running successfully kindly help to fix this issue
-
So uhm... Some more updates about this, the code doesn't work because it's run before the board description variable is populated, so it can't find it. You're running your hooks at integrate_pre_include and integrate_pre_load, which is really (and too) early as the hooks documentation says.
I'm 100% sure about it because I tried to change that and that was the only way I could get visible effects. The problem is, I wouldn't really know what hooks to use for this mod, as it doesn't seem to like the other ones I tried either (too late with already established page or too early without variable, can't find the sweet spot).
Any input would be appreciated, you know how your mod works better than me and you surely have a better idea about how to make it work :)
*bump*
hey installed this mod successfully in SMF 2.0.15 but cant generate sitemap if i click to generate sitemap under schedule task getting internal 500 error other task running successfully kindly help to fix this issue
Potentially bad host.
-
Hi Optimus,
Thanks for the great mod which I installed just now.
Running SMF 2.0.15.
While the forum shows 431 topics, the entries in the xml sitemap are 119.
On checking I find that the old posts have not been included in the sitemap while the new ones are all there.
Could you guide me how to fix this so that all posts are present in the sitemap.
Thanks
-
Does anybody have Optimus v1.9.9? It seems to be missing from the Package files, thus the package manager can't uninstall it :S.
-
Hi, would be useful to add an option like "Add to the sitemap only those topics that have the last post date with year greater that" ?
Maybe it could be a good idea to make sitemap exclude old topics to be indexed...
-
Does anybody have Optimus v1.9.9? It seems to be missing from the Package files, thus the package manager can't uninstall it :S.
Just in case anybody was wondering, I found version 1.9.9 ;).
-
Hi Bugo,
Great mod - I have been using this for a while now.
I have a question regarding the sitemap re-generation within the scheduled tasks section in SMF.
My categories are being generated in the sitemap file with a change freq of yearly, which seems to be affecting Google's ability to crawl my content. Are we able to change this? If so, how? I'd like my categories to be daily change frequency.
-
Your categories change daily? Really?
-
My categories are being generated in the sitemap file with a change freq of yearly, which seems to be affecting Google's ability to crawl my content. Are we able to change this? If so, how? I'd like my categories to be daily change frequency.
Just leave a post in any of your boards and re-generate the sitemap. The frequency depends on the last post date for each board.
-
The sitemap file includes this...
<?xml-stylesheet type="text/xsl" href=".../Themes/default/css/sitemap.xsl"?>
However, no such file is included with the mod, which leads to users getting a blank screen when they click on the Sitemap XML link.
Is the mod supposed to include this?
-
The last version does not included xsl file, just install updated version of the OP, remove old sitemap files, re-generate new.
-
Your categories change daily? Really?
Of course, new posts every day in the categories, Google needs to re-crawl the categories to find the new posts.
-
Only two boards, board 4 and board 50 have a frequency of yearly. They're literally the only mentions of 'yearly' in the sitemap.
Though the URLs look broken in the sitemap.xml file, https://letschatlove.com/index.php?board;=4.0 which won't work properly at all. I suspect pretty URLs doesn't play nice.
-
Is it possible to fix this?
Optimus (for 2.0.15) is throwing this error:
8: Array to string conversion
Apply Filter: Only show the errors from this file
File: /home/user/domains/forumsite.org/public_html/forum/Sources/Class-Optimus.php
Line: 435
It might be caused because I'm using php 7.2 and I know SMF is only supporting up to 7.1 but I'm on 7.2 with the mod from Chen Zen to fix things.
But maybe this is easy to fix?
Or maybe you can give me a code to replace line 435 with?
-
Are you using right values on Metatags page?
For example, if your metatag for Google looks like this:
<meta name="google-site-verification" content="12345" />
then you need to paste value "12345" into the right text box. That's it.
-
No I did not yet. I did not know what to put there.
I installed the new versions and the content part was gone.
Where can I find those values? Also the values for Yandex and Bing?
It looks like this in my screen now (attachment).
I don't know where the last 3 lines (aangepaste meta tag = custom meta tag) are coming from.
-
Euh LoL, never mind, I wasn't awake enough. Found out where I had too look and it's fixed now.
Thank you!
-
turkish translate
-
How do I get access to the sitemap? '
It does not show it at the bottom of the page
-
You need to create it at first (see Sitemap Tab Settings and Scheduled Tasks).
-
When I install this optimus MOD , my site is not opening, what could be problem?
-
help us help you.....
SMF version?
Were there any errors on the installation?
your site URL?
please explain what you mean by "my site is not opening"? What is happening? Is there an error?
-
In 2.1 the extra CSS file from Optimus is effectively breaking some standard screens.
@media screen and (max-width:720px) {
th,td:first-child{display:none}
td input{display:block;width:100%}
input[name^=custom_tag_]{width:100%}
div[class=min]{float:none;width:100%}
}
This code : th,td:first-child{display:none}
Is making the notifications settings in the admin area SMF unusable by hiding the first column in tables...
-
This CSS file is loading only on Optimus settings area.
-
No, it is not
-
Ok, just remove this rule from CSS.
-
Already done that. Thought you would like to know for future releases...
-
So uhm... Some more updates about this, the code doesn't work because it's run before the board description variable is populated, so it can't find it. You're running your hooks at integrate_pre_include and integrate_pre_load, which is really (and too) early as the hooks documentation says.
I'm 100% sure about it because I tried to change that and that was the only way I could get visible effects. The problem is, I wouldn't really know what hooks to use for this mod, as it doesn't seem to like the other ones I tried either (too late with already established page or too early without variable, can't find the sweet spot).
Any input would be appreciated, you know how your mod works better than me and you surely have a better idea about how to make it work :)
Gonna bump again, perhaps someone has a solution. To me having a wrong meta description is just silly, that's the first thing users read below the website name, it's not even about SEO, it's common sense...
-
Why it works for others? Any specific settings? Hosting? Php?
-
Hi and thanks for this mod!
Can I activate the sitemap even in large forums and there is a limit for topics?
Thanks
-
Why not. Just try it. The mod will create a few sitemaps if your forum has over 50000 urls.
-
Hi friends, I have a question, where I can see the sitemap that the mod generates.
What is the URL to send to search engines ???
-
Hi friends, I have a question, where I can see the sitemap that the mod generates.
What is the URL to send to search engines ???
Let me ask you this, did you scan through the previous 26 pages of this thread with a key word or two about the problem, the search function is your friend...
-
Apart from the sitemap creations, is this mod still relevant? The reason I'm curious is because it was made in 2011
-
It is updated frequently so I would assume it is probably still current.
-
Apart from the sitemap creations, is this mod still relevant? The reason I'm curious is because it was made in 2011
It still functions properly if installed correctly, but the last time i used it there were glitch's in the install process that were easy to fix but none the less, newbies get lost...
-
Hello!!
I have a question the urls of the optimus sitemap do not match the urls of my forum, can something be done ??
example: https://forum.50gsm.com/index.php/board,6.0.html
https://forum.50gsm.com/sitemap.xml
my urls end in .html, but the ones in the sitemap do not
-
well, you should get rid of that silly .html setting anyway....
https://wiki.simplemachines.org/smf/SMF2.0:Features_and_Options
turn off Search engine friendly URLs
that is an old setting that really should have been removed years ago since it just confuses things and is not needed
-
well, you should get rid of that silly .html setting anyway....
https://wiki.simplemachines.org/smf/SMF2.0:Features_and_Options
turn off Search engine friendly URLs
that is an old setting that really should have been removed years ago since it just confuses things and is not needed
I appreciate your comment. I thought that this option helped in the friendly urls.
Now deactivate it, remove that option in the new update jejeje
-
Guys, I have optimus mod, but I can not find where it is generating sitemap file? Can someone help me how to find sitemap URL path which is generated automatically by Optimus mod?
-
If you enabled generation of this file in mod's settings and file has generated you can view it on this url: http://your_forum/sitemap.xml
-
If you enabled generation of this file in mod's settings and file has generated you can view it on this url: http://your_forum/sitemap.xml
I've had this installed since April 2018. The sitemap at the root of my site says it was last updated August 6th 2018. Wembaster tools hasn't updated my sitemap from 945 URL's since that time. No matter how many times I re-submit.
How do I know Optimus is still working?
Edit. I think it doesn't work on my site anymore. I clicked to show sitemap links on footer and nothing shows up. Optimus v1.9.9
Edit again..... I uninstalled Optimus and downloaded 2.0 and installed. No changes. Is the Optimus sitemap at the root or somewhere else on the server?
-
Great mod! Where are the controls in the Admin Panel?
-
^ do the screenshots in the mod page not show where these are?
-
Thanks for this great mod, I have found a problem...
Editor robots.txt
Sitemap: https://site.name/sitemap-index.xml
but sitemap address is
https://site.name/sitemap.xml
-
Does sitemap-index.xml not exist in your forum root?
-
No, I don't know where it comes from...
-
Sorry Bugo, it was my fault ::)
Thank you again
-
That is not the mod error. This is its logic — when a forum is small, Optimus creates sitemap.xml with forum links, when a forum is large, Optimus creates sitemap.xml (sitemap_index.xml in old versions of the mod) with sitemapindex, depending on https://www.sitemaps.org rules.
There is a simple formula: Small forum < 50000 posts < Large forum.
Of course, I mean the latest version of the Optimus. The logic of different versions may differ.
You can change the count of posts to define a small/large forum. Open Sources/Optimus/Sitemap.php (or Class-OptimusSitemap.php, for SMF 2.0), find
private static $count = 50000;
and set your own value.
-
Hello
I have tried to upgrade Optimus on my smf 2.0.15, first it said the package is already available (it was there but older version) so i renamed the file and upload it.
when i click install mod, my website goes offline with http 500 error. now i dont know ho to modify/revert or delete this mod from cpanel to make online my website.
-
At first, you should uninstall the previous version (uninstall the mod, remove the mod's file), then install a new one.
If you see 500 error and cannot enter into the admin area, try to remove all the mod's files from /Sources dir, then remove "$sourcedir/Optimus/Class-Optimus.php" line from the value of variable integrate_pre_include (smf_settings table in database), and "Optimus::hooks" line from the value of variable integrate_pre_load.
-
I have resolved the 500 http error by removing /sources/optimus directory but now in my error log im getting
Undefined index: optimus_common_titleApply Filter: Only show the errors from this file File: /home/engrz/public_html/engrz.org/Sources/Admin-Optimus.php
Line: 28
and when trying to enter into "search engine optimization" from admin menu i see
An Error Has Occurred!
Unable to load the 'common' template.
-
You should apply ALL provided changes, not just one...
-
No option to uninstall, do i need to delete?
see attachment
-
done as you said and installed a new one
successfully intalled, but now error in error log is:
Array to string conversionApply Filter: Only show the errors from this file File: Sources/Optimus/Class-Optimus.php
Line: 434
-
Open phpMyAdmin and try to run SQL query:
DELETE FROM smf_settings WHERE variable LIKE "optimus_%"
Then go to OP setting area and enter new settings.
-
i have done, it looks okay but i lost all credentials was setup in optimus... Thank you for the support
-
New posts/topics are not in sitemap.xml it is not adding, what to do?
-
Take a look at the mod's settings area.
-
Take a look at the mod's settings area.
according to my knowledge, i have configured it well.
is there any specific option to look?
-
There is a special area, the Optimus Sitemap. Also, there are Scheduled Tasks, where you can manage time for periodically creating sitemap.xml
-
i set it 0 as many topics have no reply.
but still no update and it is not showing sitemap link in footer as im enabling the option.
-
checked every option again and again but new links are not added into sitemap. kindly help.
-
How often is your sitemap updated? Look in the Scheduled Tasks area. New topics should be added to the sitemap only after the corresponding task is completed (in Scheduled Tasks). If you really need, you can run any task manually.
P. S. Why clutter search results with topics without replies?
-
Hi @Bugo
Is there any chance you can add Tinyportal article support to Sources/Class-Optimus.php
As it stands when Tiny Portal articles are posted to Facebook nothing is parsed. The Facebook posting defaults to the general site name, description and image. FB completely ignores anything associated with the article.
This is my "Rink Directory" article. Its called Rink Directory, it has a ton of context and an image. All of it is ignored, same deal with all other articles.
https://www.youthhockeyinfo.com/index.php?page=rink-directory
-
Is there any chance you can add Tinyportal article support to Sources/Class-Optimus.php
Unfortunately, only very few make donations to support my free work. So I have little free time.
-
Hi Bugo,
Ive instaled the new pakage and i ask you if can help me.
My forum its about law and some staff for professionals in this category. Almost of my members starts topic´s with a saludations like "Hi everyone" hi coleagues" etc, but this kind of prases ar to bad for the SEO. Worst when they make a saludatiosn and due like i was done on this post. It means, if they wright the saludation, and give a enter to go to another line, only stay as SEO like this: name="description" content="Good afternon,
the rest of the text is not included, becouse it goes a line below. Its possibile to remove the sentence? "Good afternoon", or in case to do not be possibile to remove some sentences from the begin of the text, must be possibile to be included the second line.
I apreciatte your attencion to this.
Thanks in advance.
Regards
Portugal
-
By default, this mod takes the first paragraph from the first topic to create the description. But you can use the Topic Descriptions mod with Optimus. It will help to fill more concrete descriptions. Or, if you are using the SMF 2.1.x, just enable "Allow a separate field for the topic description" option for that.
A different variant, open Class-Optimus.php, find
$row['body'] = parse_bbc($row['body'], false);
and replace with
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br />', '', $row['body']);
or with
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br /><br />', '', $row['body']);
-
I can confirm FB posting is working now. It's taking the image from the topic. Twitter isn't working yet.
-
Very thanks Bugo, i will g oto test it :) soon i will come here to give some feedback.
Thanks
-
Working on both FB and Twitter now!
-
Hi Bugo,
After instal the new version of this great MOD, i try to read the sitemap, and i think its no good genareted, it includes in fact a large number of items, but give me the message psted here attached.
Ive changed from 50000 to 500000 to dont have a blank xml sitemap file. Any sugestion?
Thanks
Portugal
-
Like i said before, after testing this solution i will come back with the results. Well, as as far i see it doesn´t work. I will go to test the mod you refer, but i think inst a good option, ive more than 30.000 topics until now.
Regards,
Thanks anyway Bugo
By default, this mod takes the first paragraph from the first topic to create the description. But you can use the Topic Descriptions mod with Optimus. It will help to fill more concrete descriptions. Or, if you are using the SMF 2.1.x, just enable "Allow a separate field for the topic description" option for that.
A different variant, open Class-Optimus.php, find
$row['body'] = parse_bbc($row['body'], false);
and replace with
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br />', '', $row['body']);
or with
$row['body'] = parse_bbc($row['body'], false);
$row['body'] = str_replace('Good afternon,<br /><br />', '', $row['body']);
-
Any case you should not change Sitemap.php ("50000" etc.)
https://www.sitemaps.org/protocol.html
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 50MB (52,428,800 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 50MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 50MB (52,428,800 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.
Optimus adds to the sitemap only those topics, the number of messages in which more than defined in the mod's settings. And these topics should be within the boards that available to guests.
-
Hi Bugo
I installed Optimus today but since then facing some issues. My SMF version is latest SMF 2.1 RC2
- Sitemap is not generating
- Missing Properties. When sharing topics/replies on Facebook. Facebook isn't fetching Topic title. before installing the Optimus it was fetching first image and title correctly.
Kindly help !
-
1. Does the manual run via Scheduled Tasks not work too?
2. Give me an example (link) of a topic with such a problem.
-
1. Does the manual run via Scheduled Tasks not work too?
2. Give me an example (link) of a topic with such a problem.
Thank you for your reply.
1. Does the manual run via Scheduled Tasks not work too?
Answer: Manual Run didn't work also No sitemap was generated on Manual Run
2. Give me an example (link) of a topic with such a problem.
here a few screenshots of shared posts on Facebook:
https://i.imgur.com/yv5LNas.jpg
-
Try to install updated version v2.4.3 (https://github.com/dragomano/Optimus/archive/develop.zip)
Use https://developers.facebook.com/tools/debug/ for testing problem URLs of your site, and post here any notes.
-
Think about donating towards this project. It helps immensely with google and bing placement. The project needs our help to stay alive. I greatly appreciate Bugo's effort's to keep it going.
Thank you Bugo.
-
I can confirm FB posting is working now. It's taking the image from the topic. Twitter isn't working yet.
Since trying this mod, when I share a TinyPortal bbc article to farcebook, it picks up the first image ok, but seems to be posting the bbcode from within the article as well.
-
Hmmmmm, my articles are html. I don't do bbcode so that wasn't tested on mine.
-
Think about donating towards this project. It helps immensely with google and bing placement.
You're right, Bugo did a great job!
-
Since trying this mod, when I share a TinyPortal bbc article to farcebook, it picks up the first image ok, but seems to be posting the bbcode from within the article as well.
Similar issues with php articles... the PHP code is posted to facebook, not the resulting html...
-
I have made special versions to testing these issues, try it.
-
Look like that fixed the BBC articles Bugo!
I only tested the 2.0 version yet, but I am not seeing the bbc codes in the facebook posts anymore. Image is picked up and the description is showing without the bbc.
The php article is not showing php code anymore, bu it seems that both the og:title and the og:description are picking up the Article title.
Example article: https://test.fjr-club.nl/index.php?page=Welkom
I also see that the scaper has a problem picking up the image on this article, because the link is built up in php, showing random images. I dont think that has anything to do with Optimus though...
Invalid URL
Provided og:image URL, Documenten/Images/Illustraties/details', rand(1, 8), '.gif was not a valid URL.
-
@rjen haven't tested this one on php, or bbc articles yet, but have you tried a html article again with this new version, it appears to be posting the html code from my mine. Will test properly later.
-
2.2.1 seems to work fine on html articles in 2.0.15
-
2.2.1 seems to work fine on html articles in 2.0.15
Thanks, I'm also testing with 2.0.15 I have some adsense code at the top of one of mine, and displays part of the code on facebook and twitter when I share it. Apart from that it works really well. For now I have just moved the code further down, and it works.
-
If article type is "php", it is better to use "intro" block (in article settings) for a short description. However, this block you can use for any article types.
-
If article type is "php", it is better to use "intro" block (in article settings) for a short description. However, this block you can use for any article types.
It could be , but the intro text is only open for input when you choose to use intro text. Doing that will cause the Frontpage to only show the intro text. A separate descriptive text would be more appropriate. Maybe we can add that in the next TP version...
-
I have made special versions to testing these issues, try it.
Testing 2.4.5 on SMF 2.1 RC2 with TinyPortal 1.6.3
When I have a BBC article without introtext each page load gives one error:
8: Undefined variable: intro
/home/deb77453/domains/fjr-club.nl/public_html/test2/Sources/Optimus/addons/TinyPortal.php (Regel 139)
The line in question..
138: // Если есть intro, используем в качестве описания его, иначе — выдержку из текста страницы
==>139: $context['meta_description'] = $intro ?: $body;
140:
141: $context['optimus_og_type']['article']['published_time'] = date('Y-m-d\TH:i:s', $row['date']);
the $intro value needs to be checked for a value first...
Then If I set to use Intro for the article but leave the introtext empty the whole body text is showing in the page...
See attachment...
-
Fixed the code.
below the corrected section of the file TinyPortal.php
// Ищем изображение в тексте страницы
$first_post_image = preg_match('/<img(.*)src(.*)=(.*)"(.*)"/U', $body, $value);
$settings['og_image'] = $first_post_image ? array_pop($value) : null;
if ($row['useintro'] && !empty($row['intro'])) {
$intro = $row['type'] == 'bbc' ? parse_bbc($row['intro'], false) : ($row['type'] == 'php' ? '<?php' . $row['intro'] : $row['intro']);
$intro = Subs::getTeaser($intro);
$intro = explode(' ', $intro)[0];
$intro = shorten_subject($intro, 130);
} else {
$body = Subs::getTeaser($body);
$body = str_replace($txt['quote'], '', $body);
$body = explode(' ', $body)[0];
$body = shorten_subject($body, 130);
}
// Если есть intro, используем в качестве описания его, иначе — выдержку из текста страницы
$context['meta_description'] = (isset($intro) ? $intro : $body);
-
Just an observation: in version 2.4.5 you dropped the "Link to your default Open Graph image" setting.
I found this very useful in the 2.0 branch... any particular reason for not having that setting in 2.1?
-
SMF 2.1 has such a setting by default, in Current Theme settings.
-
SMF 2.1 has such a setting by default, in Current Theme settings.
Oops, must have missed that, thanks.
-
I have enabled sitemap in SMF 2.1 RC2 but it is not generating sitemap.xml and no other sitemap file. I am using 2.4.4 [06/27/19] version.
- Kailash
-
Try this version => https://www.simplemachines.org/community/index.php?topic=422210.msg4023106#msg4023106
-
Try this version => https://www.simplemachines.org/community/index.php?topic=422210.msg4023106#msg4023106
It worked on one test installation but it is not working on another installation. Both are having same SMF version and other mods.
- Kailash
-
Hi,
I just noticed a bug in latest version. It is actually creating sitemap.xml file but if you have install SMF in subfolder, it is creating xml file in website's root directory instead of subfolder. For example, if forum is in example.com/forum, it is creating sitemap in example.com/sitemap.xml instead of example.com/forum/sitemap.xml.
Can this be fixed?
Thanks,
Kailash
-
Ok, I'll fix it in the next release.
-
Thank you!
Also, as a feature request, it is possible to split the sitemap to multiple xml files as follow:
- sitemap.xml (main sitemap file) contains xml of individual forum board sitemap.
-
in theory, that would require a lot of parsing logic...
-
Thank you!
Also, as a feature request, it is possible to split the sitemap to multiple xml files as follow:
- sitemap.xml (main sitemap file) contains xml of individual forum board sitemap.
What do you believe the benefit would be? Google and Bing webmaster tools only support one sitemap. submission per site.
-
What do you believe the benefit would be? Google and Bing webmaster tools only support one sitemap. submission per site.
That is not true. You can submit multiple sitemaps for one website and in fact if you have large website having large number of of URLs, you will have to break your sitemap to multiple sitemaps. To understand in better way, you can refer the following:
https://support.google.com/webmasters/answer/75712?hl=en
- Kailash
-
Hi, I updated to version 2.4.4 and now I often get this error.
Table 'smf.smf_tp_articles' doesn't exist
https://sitename/index.php?topic=95.0&amp;page=35
/home/user/public_html/Sources/Optimus/addons/TinyPortal.php (Riga 99)
I never installed TinyPortal!
Topic 95 is not present in the sitemap and does not exist in the forum.
SMF 2.1 RC2 with default theme and language.
Many thanks
-
I have installed Optimus mod, but it is not generating sitemap file,
How OPTIMUS is creating sitemap?
-
I have installed Optimus mod, but it is not generating sitemap file,
How OPTIMUS is creating sitemap?
There is a task in forum Scheduled Tasks.
-
I could not find " scheduled task "
Can youshow path as > > >?
Pls see my dasboard screenshoot of OPTIMUS MOD...
-
I've marked the path on your screenshot.
-
I checked , it is already marked under scheduled task ,
But I do not see a sitemap is created...
-
Hi Bugo, thanks for the last 2.4.6 :)
When the task is executed I have the following error
Hook call: la funzione "Bugo\Optimus\Addons\PortaMx::makeSefUrl" nel file /home/user2560/public_html/Sources/Optimus/addons/PortaMx.php non può essere chiamata.
https://www.site.name/index.php?action=admin;area=scheduledtasks
d6ca350f5ccdacbf85525e62146b8c6f
Tipo di errore: Generale
The callable Bugo\Optimus\Addons\PortaMx::makeSefUrl could not be called.
https://site.name/index.php?action=admin;area=scheduledtasks
Optimus 2.4.6 and SMF 2.1 RC2
-
PortaMx.php, replace this line:
add_integration_function('integrate_optimus_sitemap', __NAMESPACE__ . '\PortaMx::makeSefUrl', true, __FILE__);
add_integration_function('integrate_optimus_sitemap', __NAMESPACE__ . '\PortaMx::makeSefUrls', true, __FILE__);
-
Thank you :)
-
Thanks for the new update Bugo, now i think my sugestion is implemented!
Excelent work!
-
Can I update safely from 1.8.7 by just replacing the files? (SMF 2.0)
-
It is better to remove the previous version, then install the current one. Save your settings, if you want.
-
Question...
we ran into an issue with TinyPortal that seems to be caused by Optimus.
In SMF2.0.15 the BBC code editor in blocks and articles is missing smileys and BBC buttons when Optimus is installed & a Twitter account name is set in Meta data. This only happens if the Twitter account is entered.
Using package: optimus_2.2.1_smf20.zip
This issue does not occur in SM2.1 using package optimus_2.4.6_smf21.zip
I tracked down the exact cause in the Optimus code, and it is in the file Integration.php
In 2.2.1 this code is used:
if (!empty($modSettings['optimus_tw_cards'])) {
Where 2.4.6 uses this code:
// Twitter cards
if (!empty($modSettings['optimus_tw_cards']) && isset($context['canonical_url'])) {
[/code]
The check for $context['canonical_url'] is missing in the 2.2.1 code
As a result it seems that a $twitter variable is being incorrectly set on admin pages, causing the bbc editor to break.
Is this left out on 2.2 on purpose? I am asking because it was there in Optimus version 1.9.7.2, but appears te be removed with 1.9.9..
If not, updating this line of code to this fixes the conflict..
if (!empty($modSettings['optimus_tw_cards']) && isset($context['canonical_url'])) {
-
Thanks, I've updated the Github repository.
-
Thanks, that does the trick!
-
Add to the sitemap only those topics that have the number of replies is more than
1
It is the default value.
If I set 0 then will it add all of the posts? Or any problem will come?
-
Approved topics only.
-
Hi Bugo
I have been reading all the questions and your patient replies to all queries. Hats off to you.
I had a question of my own.
Do you know if there is a reason why a link to the XML sitemap wouldnt appear on the footer on 2.0? Do you think it has something to do with the theme I may have installed?
If I manually go to the sitemap URL, I can read it but I it does not update even after I run the task manually.
Just some background. I reinstalled SMF 2.0. I tried 2.1 but not many mods available fo I am trying 2.0 however I think I am having cache issues as it takes a while for the site to show any changes once they are made.
-
Do you think it has something to do with the theme I may have installed?
I think so.
-
The callable \Bugo\Optimus\Integration::scheduledTask could not be called.
I am seeing in error LOG above given error code, is something to correct or?
-
Hi @Bugo do you know if Facebook changed it's API? Smaller 1st images stopped parsing in debugger 2 days ago.
Ex.
h++ps://www.youthhockeyinfo.com/index.php?topic=1406
Thank you
-
I have just tried to upgrade Optimus and got HTTP 500 error
Now my site gone offline www.engrz.org
-
Remove /Sources/Optimus dir and uninstall the mod.
Did you install the optimus_2.3_smf20.zip package?
-
Did you install the optimus_2.3_smf20.zip package?
yes i have installed the latest update 2.3
-
Any notes in your Error log?
List of installed mods?
I can't guess from coffee grounds what is happening :)
-
Can I set the name of topic or board to the <h1>...</h1> tag?
Maybe in the future versions? :)
-
That would require edits to the core and every theme template....
-
Got it. Thank you :)
-
I will realize this feature in the next version of Optimus for SMF 2.1
-
I will realize this feature in the next version of Optimus for SMF 2.1
Ураааа!
Ждем :)
-
I install the latest version of Optimus brave 2.3 and my forum start showing blank. the only page that is working on my forum is www.url/admin
After i uninstall the mod, the forum start working back. Please i need you to assist me in fixing this. i have deleted the old version of the optimus brave 1.9 am using before installing this new one of 2.3. Right now my forum has not Seo.
-
I will realize this feature in the next version of Optimus for SMF 2.1
Kindly fix this as well
(https://i.imgur.com/2zH9ipV.png)
i try to change the 1 to 0 but my sitemap is not increasing. the only sitemap i see from my sitemap.xml are the sitemaps with more than 1 replies. out of 14000 topics i have only 138 topic with more than one replies in it submitted to sitemap. other 13000 topics are not submitted to sitemap.xml. what is the correct values to input or what is the correction to this ?
-
I will realize this feature in the next version of Optimus for SMF 2.1
Kindly fix this as well
(https://i.imgur.com/2zH9ipV.png)
i try to change the 1 to 0 but my sitemap is not increasing. the only sitemap i see from my sitemap.xml are the sitemaps with more than 1 replies. out of 14000 topics i have only 138 topic with more than one replies in it submitted to sitemap. other 13000 topics are not submitted to sitemap.xml. what is the correct values to input or what is the correction to this ?
Please remove the replies topic of more than 1 in the optimus brave mod. The new mod you released is not improving the SEO of topic with no replies. The topic with no replies re not submitting to sitemap. Please help use remove it.
Thanks
-
I regret updating the Optimus brave to lastest updated version. The latest version is not working properly and I think the creator is very busy to respond to the error.
Did anyone else have the old version please? Should share the the old version of the Optimus brave
The new version is not pleased enough!
Thanks
-
I regret updating the Optimus brave to lastest updated version. The latest version is not working properly and I think the creator is very busy to respond to the error.
Did anyone else have the old version please? Should share the the old version of the Optimus brave
The new version is not pleased enough!
Thanks
I have version 1.9.9. Is ok for you?
-
I regret updating the Optimus brave to lastest updated version. The latest version is not working properly and I think the creator is very busy to respond to the error.
Did anyone else have the old version please? Should share the the old version of the Optimus brave
The new version is not pleased enough!
Thanks
I have version 1.9.9. Is ok for you?
Yes that was the version I have been looking for. Please drop it for me let me download
-
Here is Optimus version 1.9.9:
Thank you
-
I will realize this feature in the next version of Optimus for SMF 2.1
Pretty url mod is not working with my sitemap. I install both "Optimus brave" version 1.9 and version 2.3.2 but the urls in sitemap.xml are not rewriting.
I decide to permanent the new version 2.3.2 of optimus brave , i input the "Number of replies topic to show in sitemap to 1" i have just few topics with 139 replies topic, and all the 139 topics work with pretty url.
so i go back and set up the settings of "Number of replies topic to show in sitemap to 0" It brings all my topic with the total of about 14000 upwards but all this topics and boards submitted to sitemap did not work with pretty urls.
Could this because i have too much of topics submitted to the sitemap or what??
if i input 1 in the box, i have few submitted topic working with pretty url
if i input 0 in the box, i have all topic submitted but not working with pretty urls
Click to see what am saying (https://bit.ly/2Tv7NZA)
And in this link, if you copy any url and paste to new tab on your browser. it is not working. they are not opening the correct pages
-
I will realize this feature in the next version of Optimus for SMF 2.1
Pretty url mod is not working with my sitemap. I install both "Optimus brave" version 1.9 and version 2.3.2 but the urls in sitemap.xml are not rewriting.
I decide to permanent the new version 2.3.2 of optimus brave , i input the "Number of replies topic to show in sitemap to 1" i have just few topics with 139 replies topic, and all the 139 topics work with pretty url.
so i go back and set up the settings of "Number of replies topic to show in sitemap to 0" It brings all my topic with the total of about 14000 upwards but all this topics and boards submitted to sitemap did not work with pretty urls.
Could this because i have too much of topics submitted to the sitemap or what??
if i input 1 in the box, i have few submitted topic working with pretty url
if i input 0 in the box, i have all topic submitted but not working with pretty urls
Click to see what am saying (https://bit.ly/2Tv7NZA)
And in this link, if you copy any url and paste to new tab on your browser. it is not working. they are not opening the correct pages
Sorry for my interruption, the file "sitemap.xml" on your forum is created by Scheduled Tasks. Therefore, you should disable PrettyURL mod first, then run Scheduled Task for Sitemap XML Generation. After that, you can re-enable PrettyURL mod! Try it maybe help!
-
I will realize this feature in the next version of Optimus for SMF 2.1
Pretty url mod is not working with my sitemap. I install both "Optimus brave" version 1.9 and version 2.3.2 but the urls in sitemap.xml are not rewriting.
I decide to permanent the new version 2.3.2 of optimus brave , i input the "Number of replies topic to show in sitemap to 1" i have just few topics with 139 replies topic, and all the 139 topics work with pretty url.
so i go back and set up the settings of "Number of replies topic to show in sitemap to 0" It brings all my topic with the total of about 14000 upwards but all this topics and boards submitted to sitemap did not work with pretty urls.
Could this because i have too much of topics submitted to the sitemap or what??
if i input 1 in the box, i have few submitted topic working with pretty url
if i input 0 in the box, i have all topic submitted but not working with pretty urls
Click to see what am saying (https://bit.ly/2Tv7NZA)
And in this link, if you copy any url and paste to new tab on your browser. it is not working. they are not opening the correct pages
Sorry for my interruption, the file "sitemap.xml" on your forum is created by Scheduled Tasks. Therefore, you should disable PrettyURL mod first, then run Scheduled Task for Sitemap XML Generation. After that, you can re-enable PrettyURL mod! Try it maybe help!
Thanks for your concern. i did this step and what i notice is that the sitemap.xml works perfectly with no error when i disable pretty url. but immediately i enable the pretty url mod, the sitemap.xml is not working with pretty urls. I actually don't know if the problem is from optimus or pretty url. because the pretty url mod is working well on the forum both (profile, boards, topic) in the forum is working perfectly. but pretty url is not working on sitemap.xml only.
when i activate pretty url it rewrite my sitemap url to www.url.com/index.php?board;=232.0. in this link am confused with this symbol ; that was include after board instead of rewriting the sitemap urls to www.url.com/i-am-a-member-on-this-forum
If i disable the pretty url the sitemap url is www.url.com/index.php?board=232.0 from this url, no ; is include after the board and it works with no error if pretty url is deactivated
-
I will realize this feature in the next version of Optimus for SMF 2.1
Pretty url mod is not working with my sitemap. I install both "Optimus brave" version 1.9 and version 2.3.2 but the urls in sitemap.xml are not rewriting.
I decide to permanent the new version 2.3.2 of optimus brave , i input the "Number of replies topic to show in sitemap to 1" i have just few topics with 139 replies topic, and all the 139 topics work with pretty url.
so i go back and set up the settings of "Number of replies topic to show in sitemap to 0" It brings all my topic with the total of about 14000 upwards but all this topics and boards submitted to sitemap did not work with pretty urls.
Could this because i have too much of topics submitted to the sitemap or what??
if i input 1 in the box, i have few submitted topic working with pretty url
if i input 0 in the box, i have all topic submitted but not working with pretty urls
Click to see what am saying (https://bit.ly/2Tv7NZA)
And in this link, if you copy any url and paste to new tab on your browser. it is not working. they are not opening the correct pages
Sorry for my interruption, the file "sitemap.xml" on your forum is created by Scheduled Tasks. Therefore, you should disable PrettyURL mod first, then run Scheduled Task for Sitemap XML Generation. After that, you can re-enable PrettyURL mod! Try it maybe help!
Thanks for your concern. i did this step and what i notice is that the sitemap.xml works perfectly with no error when i disable pretty url. but immediately i enable the pretty url mod, the sitemap.xml is not working with pretty urls. I actually don't know if the problem is from optimus or pretty url. because the pretty url mod is working well on the forum both (profile, boards, topic) in the forum is working perfectly. but pretty url is not working on sitemap.xml only.
when i activate pretty url it rewrite my sitemap url to www.url.com/index.php?board;=232.0. in this link am confused with this symbol ; that was include after board instead of rewriting the sitemap urls to www.url.com/i-am-a-member-on-this-forum
If i disable the pretty url the sitemap url is www.url.com/index.php?board=232.0 from this url, no ; is include after the board and it works with no error if pretty url is deactivated
Can you please give me an URL has error with “;” on board? I’m seeing your forum working well with prettyurl and sitemap.xml at spyloadedng.com
-
I will realize this feature in the next version of Optimus for SMF 2.1
Pretty url mod is not working with my sitemap. I install both "Optimus brave" version 1.9 and version 2.3.2 but the urls in sitemap.xml are not rewriting.
I decide to permanent the new version 2.3.2 of optimus brave , i input the "Number of replies topic to show in sitemap to 1" i have just few topics with 139 replies topic, and all the 139 topics work with pretty url.
so i go back and set up the settings of "Number of replies topic to show in sitemap to 0" It brings all my topic with the total of about 14000 upwards but all this topics and boards submitted to sitemap did not work with pretty urls.
Could this because i have too much of topics submitted to the sitemap or what??
if i input 1 in the box, i have few submitted topic working with pretty url
if i input 0 in the box, i have all topic submitted but not working with pretty urls
Click to see what am saying (https://bit.ly/2Tv7NZA)
And in this link, if you copy any url and paste to new tab on your browser. it is not working. they are not opening the correct pages
Sorry for my interruption, the file "sitemap.xml" on your forum is created by Scheduled Tasks. Therefore, you should disable PrettyURL mod first, then run Scheduled Task for Sitemap XML Generation. After that, you can re-enable PrettyURL mod! Try it maybe help!
Thanks for your concern. i did this step and what i notice is that the sitemap.xml works perfectly with no error when i disable pretty url. but immediately i enable the pretty url mod, the sitemap.xml is not working with pretty urls. I actually don't know if the problem is from optimus or pretty url. because the pretty url mod is working well on the forum both (profile, boards, topic) in the forum is working perfectly. but pretty url is not working on sitemap.xml only.
when i activate pretty url it rewrite my sitemap url to www.url.com/index.php?board;=232.0. in this link am confused with this symbol ; that was include after board instead of rewriting the sitemap urls to www.url.com/i-am-a-member-on-this-forum
If i disable the pretty url the sitemap url is www.url.com/index.php?board=232.0 from this url, no ; is include after the board and it works with no error if pretty url is deactivated
Can you please give me an URL has error with “;” on board? I’m seeing your forum working well with prettyurl and sitemap.xml at spyloadedng.com
No URL has error with ";" on my topic and boards. The symbol ";" it only occurs on sitemap.xml urls when pretty url is activated.
-
I’m seeing now:
1. You sitemap at url/sitemap.xml is working well
2. You forum is working well, too (while enable prettyurl)
So I don’t see any errors with your boards url ;)
Did you get error when generate new sitemap xml or something else? I’m confused! :-\
-
I’m seeing now:
1. You sitemap at url/sitemap.xml is working well
2. You forum is working well, too (while enable prettyurl)
So I don’t see any errors with your boards url ;)
Did you get error when generate new sitemap xml or something else? I’m confused! :-\
1. My sitemap at url/sitemap.xml is working well ✔
2. My forum is working well, too (while enable prettyurl) ✔
But while pretty url is working, the url submitted in sitemap is not rewriting. it suppose to be this www.url.com/i-am-a-member-on-this-forum/
See the urls link in the sitemap.xml
-
It’s so strange! I’m not using prettyurl but I’ll test it with Optimus mod to check your problem. Maybe tonight when I work with my computer! :-)
-
AFAIK, this sitemap does not pair with prettyurls.
the scripts find/address the contents of the forum separately and do not talk to each other.
-
AFAIK, this sitemap does not pair with prettyurls.
the scripts find/address the contents of the forum separately and do not talk to each other.
I had pm to Xpresskonami and he fixed the problem (download all new files and replace to old). Actually this sitemap pairs with prettyurls!
-
From this new optimus brave mod, The scheduled Task was set to be 1 week, Is this means the New Urls topics post should get submitted to sitemap after 1 week or what? I am confused about this. If set to (Hourly, Daily) Will that affect the sitemap ?
For example if a forum is with 10 topics today, and i added another 5 new topics in the next day, making 15 topics. Will the 15 topics get submitted to sitemap after 1 week if the scheduled task was set to be 1 week. or it will get submitted daily and got index on SEO weekly/Daily?? Need better explanation about how the scheduled task works please!
-
From this new optimus brave mod, The scheduled Task was set to be 1 week, Is this means the New Urls topics post should get submitted to sitemap after 1 week or what? I am confused about this. If set to (Hourly, Daily) Will that affect the sitemap ?
For example if a forum is with 10 topics today, and i added another 5 new topics in the next day, making 15 topics. Will the 15 topics get submitted to sitemap after 1 week if the scheduled task was set to be 1 week. or it will get submitted daily and got index on SEO weekly/Daily?? Need better explanation about how the scheduled task works please!
Go to Admin CP —> Scheduled Task —> Click “Optimus Brave” to change your scheduled time
-
2.1 RC2
Pretty URLs 2.3
ehPortal 1.24
"Token verification failed. Please go back and try again."
When trying to save any settings
-
happens to me too, only in Base settings
-
Is there anywhere in mySQL that I can edit the <title> layout thing? That's mainly what I need.
-
Upon installation, this message appears
Fatal error: Class 'Bugo\Optimus\Subs' not found in /home/anime50/public_html/forums/Sources/Optimus/Integration.php on line 60
-
Seems that it did not actually, fully install on your server
-
Seems that it did not actually, fully install on your server
What's the solution ??
-
2.1 RC2
Pretty URLs 2.3
ehPortal 1.24
"Token verification failed. Please go back and try again."
When trying to save any settings
With SMF 2.1, you need the latest Optimus version from Github
Upon installation, this message appears
Fatal error: Class 'Bugo\Optimus\Subs' not found in /home/anime50/public_html/forums/Sources/Optimus/Integration.php on line 60
Seem you’re missing the file Sources/Optimus/Subs.php
But what’s your SMF, Optimus version?
-
2.1 RC2
Pretty URLs 2.3
ehPortal 1.24
"Token verification failed. Please go back and try again."
When trying to save any settings
With SMF 2.1, you need the latest Optimus version from Github
Upon installation, this message appears
Fatal error: Class 'Bugo\Optimus\Subs' not found in /home/anime50/public_html/forums/Sources/Optimus/Integration.php on line 60
Seem you’re missing the file Sources/Optimus/Subs.php
But what’s your SMF, Optimus version?
SMF 2.1 RC2
Optimus (v 2.3.3 [03/10/20])
-
For SMF2.1, you need to download Optimus version from github: https://github.com/dragomano/Optimus
-
For SMF2.1, you need to download Optimus version from github: https://github.com/dragomano/Optimus
The same problem, but in another file
The control panel has crashed completely
Parse error: syntax error, unexpected '?' in /home/anime50/public_html/forums/Sources/Optimus/Settings.php on line 384
-
The sign ?? is null coalesce operator just available in php7. What’s your PHP version? If possible you should change to php 7.2 or 7.3
-
The sign ?? is null coalesce operator just available in php7. What’s your PHP version? If possible you should change to php 7.2 or 7.3
php5.6
You deleted this line
$robots_path = ($_SERVER['DOCUMENT_ROOT'] ?? $modSettings['optimus_root_path'] ?? '') . "/robots.txt";
Now the control panel and plugin are working
But why do these links not work after activating the (Remove "index.php" from the forum urls) feature?
https://www.anime-network.org/forums//board,1.0.html
-
You shouldn’t enable that option, removing index.php from url doesn’t make sense for people and SEO, too
-
The sign ?? is null coalesce operator just available in php7. What’s your PHP version? If possible you should change to php 7.2 or 7.3
php5.6
You deleted this line
$robots_path = ($_SERVER['DOCUMENT_ROOT'] ?? $modSettings['optimus_root_path'] ?? '') . "/robots.txt";
Now the control panel and plugin are working
But why do these links not work after activating the (Remove "index.php" from the forum urls) feature?
https://www.anime-network.org/forums//board,1.0.html
Because for those style of links the index.php MUST be there. It WILL NOT work without it.
-
Hey guys, I have read through the support page of the Optimus mod, trying to figure out exactly how to use it, but I don't quite understand.
I have set my forum description, and if I do a Google search, it shows for crown-sports.com, but not for www.crown-sports.com?
Also, if I do a google search for 'crown-sports.com NFL forum', it shows;
Mar 31, 2020 - Sports Leagues. No New Posts, NFL. The official home of football. Child Boards: Draft Talk.
or a search for 'crown-sports.com NFL Tom Brady', and my site doesn't even show up in the results. How can that be when I have my specific site name in the search?
I don't like the google search results, and would like them to reflect how most other websites do on the web, like this;
(https://crown-sports.com/Images/Support Screenshots/website descriptions.png)
Why aren't keywords showing up when I specifically type in 'crown-sports.com nhl wayne gretzky'. That's very specific to my site, and I recently wrote an article with those keywords, but don't get any results?
What exactly do I need to do to have my site to pickup keywords from my posts and display paragraph descriptions such as above?
-
As pointed out in your other topic, first you have to wait for Google to update its index before any updated version will show.
Secondly, anything this mod does is considered a *hint* to Google. It is perfectly free to ignore any and all hints you give it, especially meta keywords is likely to be ignored, but meta description can be ignored for anything if Google thinks it has found a better match.
-
How long should one be expected to wait? I have posts dating back several weeks that I can't find when I do a google search.
I did just check the box off in Optimus to create a sitemap.xml file today. Perhaps that's what has been missing?
If I do a google search for a specific sentence posted within one of my topics, I was hoping to get a result showing my page, with a paragraph description of the search, as most other sites have.
If it's simply a matter of time, then that's fine, and I can wait. However, I want to be sure there isn't a specific setting and/or file that isn't checked off and/or working properly.
-
There are a total of 10 posts visible to guests on your forum. Don't expect Google to come visit regularly with so little content.
Google is perfectly capable of indexing a site without a sitemap; the sitemap is a suggestion of what content to look at more regularly.
-
I actually have a total of 16 posts, and those are mostly all mine, as I haven't been able to get any active members as of yet.
Point taken though. My site is new, and I understand it will take some time.
Again, I just wanted to be sure I wasn't missing anything with my site settings in terms of Optimus/SEO.
-
Don't think about SEO, think about content. And it will come ;)
-
Solved my problem https://github.com/dragomano/Optimus
-
sitemap does not enter Tasks scheduled. Not updated! (Optimus-master)
-
My mistake. Update yes. Even without scheduling
-
I installed both Optimus and SMFPacks SEO Pro. Will it be in conflict?
-
I installed both Optimus and SMFPacks SEO Pro. Will it be in conflict?
Why two? They are similar.
-
I installed both Optimus and SMFPacks SEO Pro. Will it be in conflict?
Why two? They are similar.
So I have to uninstall the other one?
-
Hey Bugo!
you seem to have removed the 2.0.x version of this mod! :(
-
Hey Bugo!
you seem to have removed the 2.0.x version of this mod! :(
Must admit, I was surprised to see it gone too. ;)
Optimus v2.4 for SMF 2.0.x is on GitHub though. Last updated 13 days ago.
-
Yes, little by little, I will transfer all my mods to SMF 2.1
-
I understand adding 2.1 -- but are you actually removing 2.0.x? :(
Because 2.0.x is going to continue to be a valid/supported branch until the NEXT release of SMF
-
In fact, the 2.0 version can still be downloaded from Github.
I am tired of messages where people write that the mod does not work or the sitemap is not updated, so I want to migrate the sitemap functionality from the version of the mod for SMF 2.1.
The next version for 2.0 will use caching instead of an update via the Task Manager.
-
The next version for 2.0 will use caching instead of an update via the Task Manager.
we wait!
-
500 error after update
-
Update PHP version to 7.2 or update the mod.
-
The first initial post states this mod has the capability of;
- Managing of title and description for the main forum page.
- Managing of title, description, and keywords metatags for topic pages.
- Description meta-tag for boards' and topics' pages.
- Keywords meta-tag for topics. Users can fill them when creating/changing topics.
Forgive my ignorance, but how exactly would I go about updating meta-tag descriptions for each individual topic of my forum?
Just for clarity, I'm look to modify the description content as shown in attached screenshot.
-
Updated the description of the OP, for your clarity :)
You can use the Topic Descriptions (https://custom.simplemachines.org/mods/index.php?mod=3012) mod with SMF 2.0.
-
I tried the Topics Description mod, and was immediately receiving syntax errors when simply trying to create a new topic post, so I uninstalled it.
I will look for another way to achieve my goal.
Thanks
-
gave an error What's the solution
Incorrect string value: '\xF0\x9F\x87\xB9\xF0\x9F...' for column `renklc_ppp`.`smf_settings`.`value` at row 1
Dosya: /home//public_html/Sources/Subs.php
Satır: 537
$smcFunc['db_insert']('replace',
'{db_prefix}settings',
array('variable' => 'string-255', 'value' => 'string-65534'),
$replaceArray,
array('variable')
);
-
Don't put emoji in the settings.
(Or the code should be changed so that $smcFunc['htmlspecialchars'] is explicitly used to cope with fixing emoji for the user.)
-
I think you're talking about the smile set exactly what should i do
-
No, no, I'm not. Smileys are one thing, I'm talking about emoji like you use on your phone. Don't use them in this mod.
-
No, no, I'm not. Smileys are one thing, I'm talking about emoji like you use on your phone. Don't use them in this mod.
🇹🇷 It was related to this: I am very happy laugh :D
-
What exactly field did you use to paste emoji?
-
What exactly field did you use to paste emoji?
I used the selection in the picture
-
Update PHP version to 7.2 or update the mod.
The new optimus 2.5.1 version sitemap url is good but not working working with prettyurl while the topics work with prettyurl. What i mean is, the sitemap link shown at the footer is https://www.url.com/?action=sitemap;xml NOT www.url.com/sitemap.xml
While all topics shown in the sitemap works with pretty urls.
And when i access the sitemap page i saw this
https://www.url.com/index.php?action=sitemap;xml;start=0
https://www.url.com/index.php?action=sitemap;xml;start=1
https://www.url.com/index.php?action=sitemap;xml;start=2
https://www.url.com/index.php?action=sitemap;xml;start=3
is there any way of making the urls to work with pretty url mod, like
https://www.url.com/sitemap.xml;start=0
https://www.url.com/sitemap.xml;start=1
https://www.url.com/sitemap.xml;start=2
https://www.url.com/sitemap.xml;start=3
-
The new optimus 2.5.1 version sitemap url is good
Can you give a link to the map of your site?
-
@Bugo
https://g-news.com.ua/forum_smf/index.php?action=sitemap;xml;start=1
Invalid argument supplied for foreach() Файл: /home/gnewscom/public_html/forum_smf/Themes/default/Optimus.template.php
Строка: 384
smf 2.0.15
-
Try to clear the cache.
-
Try to clear the cache.
@Bugo did not help
-
Create test.php in the forum root, then paste there this text:
require(dirname(__FILE__) . '/SSI.php');
require($sourcedir . '/Optimus/Sitemap.php');
$links = \Bugo\Optimus\Sitemap::getLinks();
var_dump($links);
Does it work?
-
@Bugo do not work
https://g-news.com.ua/forum_smf/index.php?action=sitemap;xml;start=2
Invalid argument supplied for foreach()
Файл: /home/gnewscom/public_html/forum_smf/Themes/default/Optimus.template.php
Строка: 384
https://g-news.com.ua/forum_smf/index.php?action=sitemap;xml;start=2
array_merge(): Argument #2 is not an array
Файл: /home/gnewscom/public_html/forum_smf/Sources/Optimus/Sitemap.php
Строка: 115
-
Create test.php in the forum root, then paste there this text:
require(dirname(__FILE__) . '/SSI.php');
require($sourcedir . '/Optimus/Sitemap.php');
$links = \Bugo\Optimus\Sitemap::getLinks();
var_dump($links);
Does it work?
What function of code is this working for?? Will it convert the www.url.come/?action=sitemap;xml to www.url.com/sitemap.xml
-
Update PHP version to 7.2 or update the mod.
The new optimus 2.5.1 version sitemap url is good but not working working with prettyurl while the topics work with prettyurl. What i mean is, the sitemap link shown at the footer is https://www.url.com/?action=sitemap;xml NOT www.url.com/sitemap.xml
While all topics shown in the sitemap works with pretty urls.
And when i access the sitemap page i saw this
https://www.url.com/index.php?action=sitemap;xml;start=0
https://www.url.com/index.php?action=sitemap;xml;start=1
https://www.url.com/index.php?action=sitemap;xml;start=2
https://www.url.com/index.php?action=sitemap;xml;start=3
is there any way of making the urls to work with pretty url mod, like
https://www.url.com/sitemap.xml;start=0
https://www.url.com/sitemap.xml;start=1
https://www.url.com/sitemap.xml;start=2
https://www.url.com/sitemap.xml;start=3
The new version of Optimus has affect the action page of my website. When I install back my previous version of the Optimus.
When I visit www.url.com/?action=sitemap;xml I saw this error
This page contains the following errors:
error on line 345 at column 2: Extra content at the end of the document
Below is a rendering of the page up to the first error.
Click here to see
(https://bit.ly/3f1ZDA5)
-
@Bugo do not work
https://g-news.com.ua/forum_smf/index.php?action=sitemap;xml;start=2
Invalid argument supplied for foreach()
Файл: /home/gnewscom/public_html/forum_smf/Themes/default/Optimus.template.php
Строка: 384
https://g-news.com.ua/forum_smf/index.php?action=sitemap;xml;start=2
array_merge(): Argument #2 is not an array
Файл: /home/gnewscom/public_html/forum_smf/Sources/Optimus/Sitemap.php
Строка: 115
NO ERROR FROM MY END POINT
YOU CAN TRY TO RE-CHECK
-
Update the mod (v2.6, for SMF 2.0)
-
Great work!!!
-
checked my forum logs today and there's about 200 pages
tons of
8: Undefined index: sub_buttons
File: /Themes/default/Optimus.template.php (body_above sub template - eval?)
on several lines
Line: 423
Line: 424
Line: 426
funny part is there aren't that many lines to the optimus.template.php, there's only 414 lines
any suggestions?
-
Turn off template eval in the admin area, see what the real error is.
-
hm ok...
now it says
8: Undefined index: sub_buttons
File: /Themes/SN/index.template.php
here's lines 420 - 434
foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '" class="', $button['sub_buttons'] ? 'dropdown ' : '', '', $button['active_button'] ? 'active ' : '', '">
<a ', $button['sub_buttons'] ? 'class="dropdown-toggle" ' : '', 'href="', $button['sub_buttons'] ? '#' : $button['href'] . '', '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '', $button['sub_buttons'] ? ' data-toggle="dropdown"' : '', '>
', $button['title'], '
', $button['sub_buttons'] ? '<span class="caret"></span>' : '' ,'
</a>';
if (!empty($button['sub_buttons']))
{
echo '
<ul class="dropdown-menu" role="menu">
<li>
<a href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>', $button['title'], '</a>
</li>';
switched through other themes, and doesn't seem to produce the error so seems to be the greeny theme....so probably nothing to do with the mod....i'll go ask over in the theme support...
-
After the opening { of that section (so, what would be between the { and the echo) add this:
if (empty($button['sub_buttons']))
$button['sub_buttons'] = [];
Yes it's a theme bug but this will get you an empty error log :)
-
thank you that seems to have stopped the flooding of my error log
-
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP) https://www.otelisilanlari.net/forum/index.php?action=admin;area=optimus;sa=sitemap
/home/mrtsoftw/domains/otelisilanlari.net/public_html/forum/Sources/Optimus/Settings.php (Line 156)
After installing optimus_2.9.1_smf21.zip , above given records appear on dashboard.
-
Before or after updating (can't really tell it was 1-3 minute spawn) to version 2.6.2 I ran into a peculiar "bug" where my file directory got spammed with hundreds of new xml files for the sitemap in the root of my forum.
Is not happening anymore so I guess it was when I uninstalled previous version, but thought it was worth bringing that up.
-
I installed Optimus after I installed PrettyURLs. The site got messed up. Are these two MODS not compatible with each other?
-
These are compatible, don't worry. But unfortunately, PrettyURLs increase the time of Sitemap's generation.
As you can see, on this screenshot:
1) A sitemap has created without PrettyURLs
2) A sitemap has created with PrettyURLs (the option "Use caching instead of database table for PrettyUrls" is disabled)
3) A sitemap has created with PrettyURLs (the option "Use caching instead of database table for PrettyUrls" is enabled)
The screenshot made on a test site with 2 mln posts.
-
First, I installed PrettyURL mod and the forum site was fine. Next I installed Optimus mod, then the site became inaccessible already. I am using Plesk control panel.
-
The information provided will not help me in any way. It seems it is not your fate to use both mods together.
-
The information provided will not help me in any way. It seems it is not your fate to use both mods together.
I agree with you, Bugo. Considering the Optimus has a built-in PrettyURL option, it may not be a better choice to install both mods.
-
There is no such built-in option. The mod has only a plugin, to make SEO URLs in sitemaps if the PrettyURL is installed.
-
2.6.4 глюк
-
There is no such built-in option. The mod has only a plugin, to make SEO URLs in sitemaps if the PrettyURL is installed.
I want to give optimus a second chance by installing it manually. I hope it won't run conflict with PrettyURLs.
-
I installed Optimus after I installed PrettyURLs. The site got messed up. Are these two MODS not compatible with each other?
This also happen to my forum. up till now i haven't fix the problem am facing on my prettyurl + optimus. Bugo is really doing a great job. but my recommendation to this is, Smf should also allow user to be able to download the old version of mods instead of new version only. Immediately you find the working good mod for your forum, i suggest you shouldn't try to upgrade because it may give other side effect to the other working mod. Only those who just install smf latest version can enjoy latest mods version.
-
Just udpate to 2.9.3 and sitemap stop working...
https://site.com/index.php?action=sitemap;xml takes you to the home page of the site.
OP_VERSION instead of the version of the mod.
(https://i.postimg.cc/WhWc3ZF5/sitemap.jpg) (https://postimg.cc/WhWc3ZF5)
-
Now you should use such a link: http://yourforum/sitemap.xml
Or you can make a redirect via .ḥtaccess.
-
Also with http://yourforum/sitemap.xml I am redirected to the home.
OP_VERSION present also on new 2.9.3 release.
It's correct that on robots.txt editor there isn't sitemap url?
Thanks Bugo :)
-
At first, you should create sitemap.xml, clean cache, and then the link will be working. I thought it goes without saying :)
I have no ideas about the problem with OP_VERSION.
It works for the latest version of SMF (from Github), which has an integrate_load_session hook.
-
At first, you should create sitemap.xml, clean cache, and then the link will be working. I thought it goes without saying :)
Thanks Bugo, now it works but it is empty.
Do I have to wait 24 hours for the first creation too?
-
Do I have to wait 24 hours for the first creation too?
Yes, it depends on the new setting "How often the map is updated". Or you can manually re-run Daily Maintenance or Weekly Maintenance via Scheduled Tasks.
-
Or you can manually re-run Daily Maintenance or Weekly Maintenance via Scheduled Tasks.
Do you mean these?
I run these but sitemap.xml is always empty.
The file is in the right path...
Thanks
-
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.
-
2.6.5 опять глюк
-
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.
Ah OK, thanks ;)
-
Hello,
I am using 2.1rc2 forum version and optimus 2.9 [04.06.20] but somehow I am receiving a lot of error's on lines 86 and 87.
Is there any fix for this? Thanks! :)
Type of error: General
8: Constant OP_VERSION already defined https://renaultclub.mk/index.php?action=login2
/xxxx/public_html/Sources/Optimus/Integration.php (Line 87)
Type of error: General
8: Constant OP_NAME already defined https://renaultclub.mk/index.php?action=login2
/xxxx/public_html/Sources/Optimus/Integration.php (Line 86)
-
Drag these lines from line 86-87 to line 32-33:
defined('OP_NAME') or define ...
defined('OP_VERSION') or define ...
-
Hi Bugo, I'm on SMF 2.0.17 and Optimus 2.2 which is working without issue. Do I need to upgrade if all is working fine?
-
If it's okay, do not touch anything :)
-
If it's okay, do not touch anything :)
Great, thank you!
-
Hello!
Installed Optimus_2.9.3, it gives errors:
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP)
/Sources/Optimus/Settings.php (Строка 164)
2: Use of undefined constant OP_VERSION - assumed 'OP_VERSION' (this will throw an Error in a future version of PHP)
/Sources/Optimus/Settings.php (Строка 146)
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP)
/Sources/Optimus/Settings.php (Строка 122)
If you click on the icon next to "Error type", then it displays:
For the first error:
[b]Error[/b]
Error type: Undefined_vars
Error message: 2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP)
File: /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php
Line: 164
URL error on page: http://ххххх.ru/?action=admin;area=optimus;a1898540baf=d56d405831c4b0c81e973c12550ef7f6
[b]Trace data[/b]
#0: smf_error_handler()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 164
#1: settingActions()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 77
#2: Bugo\Optimus\{closure}()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Admin.php in line 497
#3: AdminMain()
Call from /var/www/ххххх/data/www/ххххх.ru/index.php in line 153
For the second error:
[b]Error[/b]
Error type: Undefined_vars
Error message: 2: Use of undefined constant OP_VERSION - assumed 'OP_VERSION' (this will throw an Error in a future version of PHP)
File: /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php
Line: 146
URL error on page: http://ххххх.ru/?action=admin;area=optimus;a1898540baf=d56d405831c4b0c81e973c12550ef7f6
[b]Trace data[/b]
#0: smf_error_handler()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 146
#1: settingActions()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 77
#2: Bugo\Optimus\{closure}()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Admin.php in line 497
#3: AdminMain()
Call from /var/www/ххххх/data/www/ххххх.ru/index.php in line 153
For the third error:
[b]Error[/b]
Error type: Undefined_vars
Error message: 2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP)
File: /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php
Line: 122
URL error on page: http://ххххх.ru/?action=admin;area=optimus;a1898540baf=d56d405831c4b0c81e973c12550ef7f6
[b]Trace data[/b]
#0: smf_error_handler()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 122
#1: settingActions()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Optimus/Settings.php in line 77
#2: Bugo\Optimus\{closure}()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Admin.php in line 497
#3: AdminMain()
Call from /var/www/ххххх/data/www/ххххх.ru/index.php in line 153
Forum version: SMF_2-1-rc2
Tell me how to fix it or what could be the problem.
-
/Sources/Optimus/Integration.php
Drag these lines from line 86-87 to line 32-33:
defined('OP_NAME') or define ...
defined('OP_VERSION') or define ...
-
If I understand correctly, then during the installation the table "optimus_keywords" should have been created in the database?
But nothing was created in the DB
-
/Sources/Optimus/Integration.php
Drag these lines from line 86-87 to line 32-33:
defined('OP_NAME') or define ...
defined('OP_VERSION') or define ...
Thank.
For help!
-
If I understand correctly, then during the installation the table "optimus_keywords" should have been created in the database?
But nothing was created in the DB
Try to copy database.php to a forum root and run via browser.
-
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.
Installed Optimus_2.9.3
Forum version: SMF_2-1-rc2
Sorry but I don't understand... 2.9.3 is compatible or not with 2.1 RC2?
Thanks
-
Some features require the latest changes from SMF 2.1 GitHub.
I'll try to fix them in the next version.
In any case, if you are using the SMF 2.1, you should understand possible risks.
-
If I understand correctly, then during the installation the table "optimus_keywords" should have been created in the database?
But nothing was created in the DB
Try to copy database.php to a forum root and run via browser.
I did as they wrote.
Outputs:
Database Error
Duplicate column name 'optimus_description'
File: /var/www/xxxxx/data/www/xxxxx.ru/database.php
Line: 121
Back to
If you expand the error description
Mistake
Error type: Database
Error message: Database error: Duplicate column name 'optimus_description'
File: /var/www/ххххх/data/www/ххххх.ru/database.php
Line: 121
URL error on page: http://ххххх.ru/database.php
Trace data
# 0: smf_db_error ()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/Subs-Db-mysql.php on line 489
# 1: smf_db_query ()
Call from /var/www/ххххх/data/www/ххххх.ru/Sources/DbPackages-mysql.php on line 330
# 2: smf_db_add_column ()
Call from /var/www/ххххх/data/www/ххххх.com/database.php on line 121
-
Well, try to create necessary tables by hand, via phpMyAdmin, etc.
DROP TABLE IF EXISTS `smf_optimus_keywords`;
CREATE TABLE `smf_optimus_keywords` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `smf_optimus_log_keywords`;
CREATE TABLE `smf_optimus_log_keywords` (
`keyword_id` int(10) unsigned NOT NULL,
`topic_id` mediumint(8) unsigned NOT NULL,
`user_id` mediumint(8) unsigned NOT NULL,
PRIMARY KEY (`keyword_id`,`topic_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
This mod is not working with SMF 2.1 RC2:
SMF Version: SMF 2.1 RC2
Mod Version: optimus_2.9.3_smf21
No other mod. This is a fresh installation. The issue is with Sitemap. Running a sitemap task manually, generates the following error logs:
The callable \Bugo\Optimus\Integration::scheduledTask could not be called.
While accessing sitemap URL, it give 404 error page.
Kailash
-
This mod is not working with SMF 2.1 RC2:
SMF Version: SMF 2.1 RC2
Mod Version: optimus_2.9.3_smf21
No other mod. This is a fresh installation. The issue is with Sitemap. Running a sitemap task manually, generates the following error logs:
The callable \Bugo\Optimus\Integration::scheduledTask could not be called.
While accessing sitemap URL, it give 404 error page.
Kailash
Yes, same problem for me, the previous version works fine (Optimus 2.8.4 [28.05.20]).
-
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.
As in, not 2.1 RC2 from the download page.
-
You need to install the latest version of SMF from GitHub to properly work with v2.9.3.
As in, not 2.1 RC2 from the download page.
ah okay, I see, I have the 2.1 from download page, thanks Arantor.
-
If a visible counter with an informer is inserted in Optimus, the quote doesn't work in the posts.
SMF 2.1 RC2 from github, Optimus 2.9.3.
-
Thanks, it will be fixed in the next release.
-
Why Optimus 2.6.2 do not work with Opcache?
-
It works well. Just re-create a sitemap by hand (if you mean that a sitemap is not creating with Opcache enabled).
-
With php 7 work, with php5.6 do not work. Any 2.6.2 any 2.6.5
-
Just re-create a sitemap by hand
Or, a backup plan - open Sources/Optimus/Task.php, and add this line into scheduled_optimus_sitemap() function:
@ini_set('opcache.enable', false);
function scheduled_optimus_sitemap()
{
global $boarddir, $sourcedir;
@ini_set('opcache.enable', false);
-
Hello,
I am having these issues:
Type of error: General
8: Constant OP_VERSION already defined
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 33)
Type of error: General
8: Constant OP_NAME already defined
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 32)
How can I solve this?
Thanks.
-
Hi people,
I need yours help, Bugo can you hel me?
After try to instal the new version (2.6.5) without uninstal the older version (12/2019) ive got this fatal error:
[26-Sep-2020 20:09:24 Europe/Lisbon] PHP Fatal error: Cannot redeclare scheduled_optimus_sitemap() (previously declared in /home/xxxxxxxxxxxx/public_html/Sources/Optimus/Scheduled.php:25) in /home/xxxxxxxxx/public_html/Sources/Optimus/Task.php on line 32
What can i do to solve this? My forum is now down.
Thanks in advance
Portugal
-
Did you take a backup before you did that?
If not (shame on you, ALWAYS BACKUP) then you will have to manually remove ALL the duplicated code
-
At first, remove /Sources/Optimus dir.
Then, extract files from the new Optimus package, to the forum dir.
-
Thanks friends
Yesterday ive rebamad the file "scheduled.php" and the forum starts running withowt this file. Today ive changed all the folder as Bugo says... and works perfectllly.
Thanks Bugo and all
-
Hi, I installed Optimus version 2.9.3 [08.07.20] on SMF 2.1 RC2 and got 27 errors in the error log on install which keep repeating these three errors.
Type of error: Undefined
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 164)
admin
Today at 09:51 am
75.80.73.210
c87b7e15170ed1bc0937fd2bc707bbdf
Type of error: Undefined
2: Use of undefined constant OP_VERSION - assumed 'OP_VERSION' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 146)
admin
Today at 09:51 am
75.80.73.210
c87b7e15170ed1bc0937fd2bc707bbdf
Type of error: Undefined
2: Use of undefined constant OP_NAME - assumed 'OP_NAME' (this will throw an Error in a future version of PHP) /index.php?pretty;action=admin&area=optimus;d77834cdcf9=c87b7e15170ed1bc0937fd2bc707bbdf
/home/fts/public_html/Sources/Optimus/Settings.php (Line 122)
-
These and some other errors are fixed in v2.9.4 that is available for sponsors on Patreon yet.
-
Для СМФ2.0 есть спецпредложение?
-
Hi @Bugo - Facebook question
They have recently changed the format/design of the website. I've noticed a few things with shared posts from my website.
1. If there is no image in a site topic - Facebook no longer posts the default image which is identified in Optimus settings. It doesn't even post the topic title, it only posts the URL, nothing is parsed from the topic to Facebook
2. Ift the default image in a topic is small, like 260x260 Facebook does some weird stuff. It either defaults to a very old image from a Tiny Portal article, or it doesn't post any image at all and only posts the URL to the topic. Nothing is parsed.
3. If a topic has a normal sized image, FB will parse that and post it but there's no description
Lastly, in all 3 of these scenarios, I always run every topic I want to post on Facebook through the Facebook debugger. They always parse correctly but since Facebook changed, things don't seem to equate from debugger to facebook in general.
Which brings me to this question. Has FB changed how it parses code again? If it has can you fix this for me? $25USD for your help.
Thank yoU!
EDIT: I was able to install the Chrome Facebook "Switch to classic" extension in order to post topics correctly. This is only a bandaid and I expect the extension to eventually stop working.
-
Lets wait for the next release TinyPortal (2.0.0 final) because some things will be changed there.
Any case, I have already changed a TinyPortal addon for the current Optimus dev version.
Can you test articles with specific images (1200х630 px)?
-
Lets wait for the next release TinyPortal (2.0.0 final) because some things will be changed there.
Any case, I have already changed a TinyPortal addon for the current Optimus dev version.
Can you test articles with specific images (1200х630 px)?
Okay Bugo, thank you. I'll continue to use the Chrome extension for now. I'll get back to you on the image test.
-
I have spent the morning trying to get the mod to work. There are no instructions on how to do this.
I uploaded the zip file via admin panel. then I clicked on install. Mod shows a green light but I dont see the mod interface anywhere. there is a database.php file in the zip file. do I need to do something with that?
-
On the mod page find "Manual install" select box, select your SMF version and click "Parse" button.
-
if you used the package manager to install it, then it should already BE installed
it installed under a heading in the admin called "Search Engine Optimization
index.php?action=admin;area=optimus
-
if you used the package manager to install it, then it should already BE installed
it installed under a heading in the admin called "Search Engine Optimization
index.php?action=admin;area=optimus
Its installed but not there. And I dont see any changes to the database.
-
have you been able to install any other mods?
-
have you been able to install any other mods?
Have not tried. But its a good idea.
-
Yes. I installed invitation Mod. And it works.
-
Here is what my admin panel shows. Not the left column shows Invitation mod but not the other Optimus mod.
-
You could try uninstalling and then reinstalling optimus
if that doesn't work, then yes... you will probably have to manually install the Optimus mod, since your system seems to be incapable of installing it automatically.
-
You could try uninstalling and then reinstalling optimus
if that doesn't work, then yes... you will probably have to manually install the Optimus mod, since your system seems to be incapable of installing it automatically.
Uninstalling and reinstalling was the first thing I tried.
Going back to my original post...........are there any instructions on how to install this manually.
I noticed that owner is set to root for all of the mod files/directories when it is installed from the admin panel. Is that a problem?
-
if another mod installed correctly, it should not be a problem....
Manual install instructions are on the mod download page...
On the mod page find "Manual install" select box, select your SMF version and click "Parse" button.
-
Those are not instructions.
There is a database modification file that isnt even mention in the "directions".
-
Two different error log entries:
Apply Filter: Only show the error messages of this URL
https://cwpforum.com/index.php?action=admin;area=logs;sa=errorlog;desc;filter=error_type;value=database
Apply Filter: Only show the errors with the same message
2: Illegal string offset 'member_name'
Apply Filter: Only show the errors from this file
File: /home/user/public_html/cwpforum/Sources/ManageErrors.php
Line: 204
and
Apply Filter: Only show the error messages of this URL
https://cwpforum.com/index.php?action=admin;area=packages;sa=install2;package=optimus_2.6.5_smf20.zip;pid=0
Apply Filter: Only show the errors with the same message
2: fopen(/home/user/public_html/cwpforum/Themes/default/css/optimus/optimus.css): failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /home/user/public_html/cwpforum/Sources/Subs-Package.php
Line: 2545
-
Hi Bugo, is there a reason why this option has been removed?
Add ALL topic pages to the sitemap
If not checked, only the first pages of topics will be added to the sitemap.
Thanks
-
Usually, the search spider gets the first link - http://yourforum/?topic=x.0 - and then finds all other automatically, no need to collect all possible links in sitemaps.
-
Thanks for your reply Bugo :)
In my forum I have many discussions with over 50 pages and after the upgrade from 2.8.3 to 2.9.3 the google indexing has dropped a lot, last pages are no longer indexed.
I think it is better put back the option.
-
Need some help here.
I tried to add emojis to the forum title and description, but it won't work. If I add an emoji the whole title or description text will disappear. Usually, emojis are treated as text, and shouldn't be a problem to add/use them. I use emojis sometimes in topic titles and there are no issues in these cases. Just inside the meta data it won't work. Any idea why?
-
At first, make sure that your database supports utf8mb4 (https://mathiasbynens.be/notes/mysql-utf8mb4).
At second, add $db_character_set = 'utf8mb4';
into your Settings.php file.
-
That only works if you’re already using UTF-8, and is not a recommended or supported configuration. Especially when you realise the emoji are supported in posts and other areas *without needing this step*.
-
Yes, but this line
$context['page_title_html_safe'] = $smcFunc['htmlspecialchars'](un_htmlspecialchars($context['page_title'])) . (!empty($context['current_page']) ? ' - ' . $txt['page'] . ' ' . ($context['current_page'] + 1) : '');
in Subs.php does not allow to display emoji properly, if to use $smcFunc['htmlspecialchars'] on saving forum title/description.
Neol did not provide any data about his configuration, I gave advice based on the data from my test forum.
-
The ampersand is double encoded at that point. Or you could borrow the code in $smcFunc to fix just the emoji.
-
Ok, I will add a fix for that in the next version.
-
Hi, does anyone know where i can download version 2.8.3?
-
Hello.
I installed Optimus for forum using version 2.1 RC3. But it does not create a sitemap. When I click on the sitemap in the footer, I get a 404 error.
The sitemap.xml file was never created.
Can you help me?
Note:(I know very little English. I had to translate the text.) :(
-
Hello, I am receiving a lot error messages in error log.
How can I fix them?
Type of error: General
8: Constant OP_VERSION already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 87)
Type of error: General
8: Constant OP_NAME already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 86)
Thanks!
-
Hello, I am receiving a lot error messages in error log.
How can I fix them?
Type of error: General
8: Constant OP_VERSION already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 87)
Type of error: General
8: Constant OP_NAME already defined https://xxxx/index.php?https://xxxx/
/home/xxxx/public_html/Sources/Optimus/Integration.php (Line 86)
Thanks!
No help? Anyone? ???
-
More errors are displayed :-\
Тип ошибки: Критические
The database value you're trying to insert does not exist: var_modified_reason
Function: modifyPost
http://www.sub.ru/index.php?action=post2;board=11.0;start=0;msg=8370;aecb1c67557=8c6f7709089a41020279a3ae23fdcfdd
/home/admin/web/sub.ru/public_html/Sources/Subs-Post.php (Строка 2275)
-
That has nothing to do with this mod. It's the reason modified mod... and it looks like it did not fully install
-
Hey Bugo, I ran that xhtml checker and my site came back with 1 error. Wondering if this is part of Optimus mod.
Error: Bad value x-dns-prefetch-control for attribute http-equiv on element meta.
<meta http-equiv="x-dns-prefetch-control" content="on">
-
It is a part of Light Portal, will be fixed in the next version.
-
It is a part of Light Portal, will be fixed in the next version.
Awesome. Thank you. ;)
-
Just updated my site to 2.6.6.
Find attached the updated dutch language files...
-
Thanks :)
-
Where do i find the css for the topic kewords? I want to remove the roundframe around it but can't seem to locate it.
-
/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.
-
/Sources/Optimus/TopicHooks.php, prepareDisplayContext() method. It is a simple fieldset with "roundframe" class.
Found it. Thank you.
-
Hi Bugo.
I updated Optimus Brave 1.8.6.1. to 2.6.6. Updated php to 5.6. Installation without errors 2.6.6. The forum stopped showing. A clean slate. The admin panel works without errors. smf 2.0.15 + SimplePortal 2.3.7
-
To submit an issue, leave:
a short description of your problem
mods list that installed
your SMF version
your PHP version
forum link where I can see the issue
-
sorry
url FAW-CARS.ru
mods:
Auto Merge Double Post
Disable Help
Sitemap RUS
Sitemap
InLine Attachments
RedirectPage
Similar Topics
SimplePortal - KPR Block
Karma Post Rating
Fix set size for DECIMAL columns
New Hooks 0.4.1
Версия мода: 2.6.6, версия PHP: 5.6.40-38+0~20201103.42+debian9~1.gbpb211e0, версия MySQL: 5.7.30-log.
-
Try to comment some hooks in Sources/Optimus/Integration.php:
public static function hooks()
{
//add_integration_function('integrate_load_theme', __CLASS__ . '::loadTheme', false);
//add_integration_function('integrate_menu_buttons', __CLASS__ . '::menuButtons', false);
//add_integration_function('integrate_buffer', __CLASS__ . '::buffer', false);
add_integration_function('integrate_admin_include', '$sourcedir/Optimus/Settings.php', false);
add_integration_function('integrate_admin_areas', __NAMESPACE__ . '\Settings::adminAreas', false);
}
Will it help?
-
Thanks. This fixed the forum. Can you explain what to do to make the mod work without edits?
-
Run this SQL via phpMyAdmin:
DELETE FROM `smf_settings`
WHERE `variable` LIKE '%op_%' OR `variable` LIKE '%optimus_%';
This will remove all Optimus' settings. Then restore the hooks method in Sources/Optimus/Integration to the initial state.
If you see errors again, begin to comment hooks one by one until you find out which hook is responsible for the white screen:
1) integrate_buffer?
public static function hooks()
{
add_integration_function('integrate_load_theme', __CLASS__ . '::loadTheme', false);
add_integration_function('integrate_menu_buttons', __CLASS__ . '::menuButtons', false);
//add_integration_function('integrate_buffer', __CLASS__ . '::buffer', false);
add_integration_function('integrate_admin_include', '$sourcedir/Optimus/Settings.php', false);
add_integration_function('integrate_admin_areas', __NAMESPACE__ . '\Settings::adminAreas', false);
}
2) integrate_menu_buttons?
public static function hooks()
{
add_integration_function('integrate_load_theme', __CLASS__ . '::loadTheme', false);
//add_integration_function('integrate_menu_buttons', __CLASS__ . '::menuButtons', false);
add_integration_function('integrate_buffer', __CLASS__ . '::buffer', false);
add_integration_function('integrate_admin_include', '$sourcedir/Optimus/Settings.php', false);
add_integration_function('integrate_admin_areas', __NAMESPACE__ . '\Settings::adminAreas', false);
}
3) etc.
-
Thank you very much, after deleting the lines from the database, everything worked.
Дайте бог тебе здоровья.
-
I love this mod! However, there is a small issue.
On the forum main page, it's missing the following meta tags :
og:title
og:type
og:url
og:image
og:description
og:site_name
fb:app_id
Also, you need to include the og:image width/height.
<meta property="og:image:width" content="$width" />
<meta property="og:image:height" content="$height" />
You can easily grab the image width and height using this method :
list($width, $height) = getimagesize("/www/example.com/httpdocs/forum/$image_name");
-
Hi,
After make the last update, i get some errors on sitemap, any idea to fix it?
Sometimes instead of the "scheduledtasks" i comes with a topic, just one!
It produces about 39 erros everytime it makes the cronjob (hourly in my case)
Attached image to explain better!
Thanks!
-
v2.7.1 for SMF 2.0.x
* Fixed found issues
-
Thanks @Bugo problem solved!
v2.7.1 for SMF 2.0.x
* Fixed found issues
-
Hello,
@Bugo
I'm using Pretty URLs the url on the sitemap page looks index.php?topic=xxxx , index.php?board=xx etc
Could the sitemap be compatible with Pretty URLs?
Thanks
-
Optimus supports user addons, see addons dir for example.