News:

Join the Facebook Fan Page.

Main Menu

Optimus

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

Previous topic - Next topic

davo88

@Bugo... this is very nice software. I am new to Optimus and have been using another sitemap mod on 2.0.19. But this week I am converting to SMF 2.1.4, TP 3.0 and Optimus 3.0b. I have found having a sitemap significantly improved the Google crawler results, so am looking forward to learning about and using Optimus' features.

'Enable logging of search terms' is very useful  for understanding users' needs. I am not a coder, but this part looks as though it is designed to limit the display of terms searched to those having > 10 hits under  'Popular search queries'.

$i = 0;[font=Verdana, Arial, Helvetica, sans-serif] $rows = '';[/font]
 foreach (Utils::$context['search_terms'] as $data) {
 if ($data['hit'] > 10) {
 $i++;
 $rows .= '["' . $data['text'] . '",' . $data['hit'] . '],';
 }
 }


What I see listed under 'Popular search queries', is every search term irrespective of the hit count. Is this the intended behaviour?

Bugo

So, basically, it just decides which queries are going to be in the round chart. The normal (bar) chart only shows the top 30 most popular queries, but the round chart shows the ones that were searched for more than 10 times.

clubkadettspain

Hi, first thanks for this great mod!.
I have 2 smf forums on my server and one shows sitemap.xml correctly but the other one show white screen (with nothing) on the browser, but if i opened from my server i can see data inside, what is wrong?

Regards.

Bugo

I am very sorry to hear that you are facing a similar problem. Try searching by the combination "blank page" within this topic. If I knew for sure which version of SMF and Optimus you were using, it would be easier for me to determine the source of the problem. The general recommendations are as follows: if you are using Optimus 2.x, try to upgrade to 3.0. If the problem persists, check the permissions to create files inside your forum's root directory on the server.

clubkadettspain

Quote from: Bugo on June 22, 2024, 10:39:55 AMI am very sorry to hear that you are facing a similar problem. Try searching by the combination "blank page" within this topic. If I knew for sure which version of SMF and Optimus you were using, it would be easier for me to determine the source of the problem. The general recommendations are as follows: if you are using Optimus 2.x, try to upgrade to 3.0. If the problem persists, check the permissions to create files inside your forum's root directory on the server.

Hi @Bugo i have smf 2.1.4 and Optimus 3.0 Beta, my main folder /var/www/xxxxx/ is 0777 and i can see inside sitemap.xml. If i open my forum /sitemap.xml it show empty on browsers but if i open the file on the server inside i can see content... the other smf site has the same versions, permissions etc and i can see it without problem on my browser the sitemap.xml file and content. thanks, regards.

Bugo

What about /Themes/default/css/optimus/sitemap.xsl - does it exist?

clubkadettspain

Quote from: Bugo on June 24, 2024, 12:40:29 AMWhat about /Themes/default/css/optimus/sitemap.xsl - does it exist?

yes, sitemap.xsl, optimus.css and index.php there i can see.

Pieszyce

Hello,

I'm not sure if this is the right place but I have a problem.
First of all, Google has stopped crawling my SMF forum
I get when I look in Statistics and then for say a month back the error message . . . .

QuoteFouttype: Database
Foutmelding Selecteer
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'offset
FROM smfvd_log_spider_stats
WHERE stat_date < '2024-04-01'' at line 1


SELECT COUNT(*) AS offset
FROM smfvd_log_spider_stats
WHERE stat_date < '2024-04-01'

In my screen and in my error log.

I am totally unfamiliar with this kind of thing, but what should be done?

Kind regards,
Pieszyce
Gebruikt SMF 2.1.4 © 2023, Simple Machines,
TinyPortal 2.2.2 © 2005-2022
Curve2 Color Changer    1.4.1    
 Optimus    3.0 Beta 
 Post Subject Length    1.1

Bugo

You are right, this is not the right place, but try to replace "offset" with any other word, that is not a reserved in SQL.

ManageSearchEngines.php
SELECT COUNT(*) AS offset

Pieszyce

I'm sorry I am Mr. Zero about this kind of work,

I changed

SELECT COUNT(*) AS num_stats  in

SELECT COUNT(*) AS offset en now I dont have totaly no stats anymore the error is

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'offset
FROM smfvd_log_spider_stats' at line 1
File: /home/g101178/domains/polenforum.nl/public_html/forum-over-polen/Sources/ManageSearchEngines.php
Line: 1096

What did I wrong?

Kind regards
Gebruikt SMF 2.1.4 © 2023, Simple Machines,
TinyPortal 2.2.2 © 2005-2022
Curve2 Color Changer    1.4.1    
 Optimus    3.0 Beta 
 Post Subject Length    1.1

Pieszyce

DONE

I changed it in upset because it made me angry and it is working know.

Thanks BUGO for your help and sorry I'm, that stupid.   ;)
Gebruikt SMF 2.1.4 © 2023, Simple Machines,
TinyPortal 2.2.2 © 2005-2022
Curve2 Color Changer    1.4.1    
 Optimus    3.0 Beta 
 Post Subject Length    1.1

Pieszyce

@Bugo

after done, my whole spiderfile was disappeared. Stats was perfect, but spiderfile gave the following error
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'offset
FROM smfvd_spiders' at line 1
File: /home/g101178/domains/polenforum.nl/public_html/forum-over-polen/Sources/ManageSearchEngines.php
Line: 370

I know I'm in the wrong topic, can you please move everything to the right topic, my age doesn't allow me to find everything properly and quickly, so please help me get to the right topic.

for now I have restored the original with offset

Kind regards
Pieszyce
Gebruikt SMF 2.1.4 © 2023, Simple Machines,
TinyPortal 2.2.2 © 2005-2022
Curve2 Color Changer    1.4.1    
 Optimus    3.0 Beta 
 Post Subject Length    1.1

Xvost

Ukrainian localization.

Author, please add it to the mod pack.
My native language is Ukrainian. I communicate with you through an interpreter.

Bugo

Quote from: Xvost on June 24, 2024, 08:24:33 PMUkrainian localization.

Author, please add it to the mod pack.
Thanks, we use Crowdin system for translations, you can join and upload your file there.

Bugo

Quote from: clubkadettspain on June 21, 2024, 08:58:45 AMI have 2 smf forums
Can you provide links to these forums? Do they have the same set of installed mods?

davo88


Hi @Bugo, I have the same situation as clubkadettspain. If I click on the Sitemap link at the bottom of the home page, Chrome, Brave, Opera browsers display a white screen. However using Firefox, I do see a screen full of links. 

If I download and save sitemap.xml from the same link at the bottom of the home page using any of those browsers, it downloads correctly and is a properly formatted xml file. Google Search Console is able to read the sitemap OK.

/Themes/default/css/optimus/sitemap.xsl also exists and is 0666.

SMF 2.1.4
Optimus 3.0 Beta
TinyPortal 3.0.0
TinyPortalArticleDefaults 1.0.0
Forum Width Setting 1.2
Board Sorting Method 1.0.1
Custom Form Mod 4.0.6
Quick Reply Attachments Button 1.0
Simple Audio Video Embedder 7.0.5
Ultimate Menu 2.0.2
Login Menu Button 2.0
Admin Notes 1.0
https://www.douglasmotorcycles.net/

Bugo

Try to enable "Force SSL" (Maintenance - Server Settings - General) and re-create (disable/enable) a sitemap.

davo88

Thanks @Bugo, that fixed it. Could you explain how that fix worked please?

Bugo

For some reason, sometimes the map generates links with `http` instead of `https`, that's the problem.

InfoStrides

Hi @Bugo, I am having issues with the Optimus mod on my site. I installed v3.0 Beta and everything looks alright but no sitemap.xml is generated.

The link to the sitemap.xml returns to 404.

My forum is in a sub-folder - https://www.theinfostride.com/forum/

Please help!

Advertisement: