News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Optimus

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

Previous topic - Next topic

Ninja ZX-10RR

I think the only person who knows for sure is Bugo, so I'd rather wait for him to say something. He's generally very friendly and helpful :)
For the time being, however, I cannot find any reference to 2.1 so unless he specifically says otherwise it's not officially supported as I pointed out :(
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

smartmouse

Quote from: Kindred on July 14, 2021, 08:57:48 AM
Actually, Ninja -- Optimus *DOES* have a version that supports SMF 2.1
Where can I get this version?

QuoteYou might need to get the 2.1 version from the author's github

https://github.com/dragomano/Optimus
No way: "Wait for the 2.1 Final. Unfortunately, at the current moment, I have no time, no funds, nor desire to continue this development"

https://github.com/dragomano/Optimus/issues/36#issuecomment-881225330

Quoteif you are running SMF 2.1 RC2 -- you DESPERATELY need to update to RC4.   there have been literally THOUSANDS of commits since RC2
Done, thank you ;)

Ninja ZX-10RR

Poor guy got 44 pages thread, it's understandable :(
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Dr Web

Hi guys and girls. I need help urgent.

I installed a new smf forum about a week ago, installed a few mods, including pretty urls. Yesterday I installed this Optimus mod. Everything was working fine.

A few minutes ago, I noticed that a few categories/boards were not showing the correct url. For example the General Discussion standard category/board that already comes with smf when we install it, I changed to another name a few days ago. However, it was still showing as general discussion in the URL.

A couple other categories created with a name that I changed right after to another name I found it was better, were also showing the first chosen name. 

Example: the URL https://www.myforum.com/new-board-name was still showing https://www.myforum.com/general-discussion

First I thought it was a browser cache problem, so I cleaned the cookies and cache. The problem was still there.

So I thought I need to run the manutention on pretty urls panel. I did it, and now I have a blank page.

I see the url of my site on my browser but I don't see anything. I have a white page.

As I read that this mod may conflict with pretty urls mod, it was probably what happened?

I looked at my server for errors, and no errors there.

I see this:

documentation.
Latest web server error log messages:
No recent web server errors exist for your domain: XXXXXXXXXXXXX

Latest suEXEC event log messages:
No recent suEXEC events exist for your domain:XXXXXXXXXXXXX

I also noticed something weird since several days. Every time I want to change something in the forum admin panel, I need to try several times until it is accepted. I click the button and stays the same. Then I wait 10 seconds and try again, and the same. After a few tryes, sometimes after one or two minutes, for some reason it is finally accepted. I think this has to do with the changed categories not being changed in the URL.

I don't know why this is happening, but I am telling you so maybe someone knows what it is.

I am running SMF 2.0.18, core theme, and these are my server settings:

Database server:
    Server: Localhost via UNIX socket
    Server type: MariaDB
    Server connection: SSL is not being used Documentation
    Server version: 10.3.31-MariaDB-cll-lve - MariaDB Server
    Protocol version: 10
    User: xxxxxxxxxxxxxxxxx
    Server charset: xxxxxxxxxxxxxxxx

Web server:
    cpsrvd 11.98.0.9
    Database client version: libmysql - 5.6.43
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.3.30

phpmyAdmin:
    Version information: 4.9.7

This is the code generated today on my .htaccess file exactly when I ran the manutention on pretty urls panel:

# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# https://www.smfhacks.com/prettyurls-seo-pro.php
# .htaccess file generated automatically on: October 24, 2021, 16:56

RewriteEngine on
RewriteBase /

# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

# PRETTYURLS MOD ENDS

More info: I have this Optimus mod installed, and also pretty urls, smfcontactpage, likeposts, StopSpammer_v2_4_0, ads management and WYSIWYGquickreply.
 
Any help in solving this big problem will be greatly appreciated  ;D
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

shadav

Quote from: Dr Web on October 24, 2021, 01:34:04 PMHi guys and girls. I need help urgent.

I installed a new smf forum about a week ago, installed a few mods, including pretty urls. Yesterday I installed this Optimus mod. Everything was working fine.

A few minutes ago, I noticed that a few categories/boards were not showing the correct url. For example the General Discussion standard category/board that already comes with smf when we install it, I changed to another name a few days ago. However, it was still showing as general discussion in the URL.

A couple other categories created with a name that I changed right after to another name I found it was better, were also showing the first chosen name. 

Example: the URL https://www.myforum.com/new-board-name was still showing https://www.myforum.com/general-discussion

First I thought it was a browser cache problem, so I cleaned the cookies and cache. The problem was still there.

So I thought I need to run the manutention on pretty urls panel. I did it, and now I have a blank page.

I see the url of my site on my browser but I don't see anything. I have a white page.

As I read that this mod may conflict with pretty urls mod, it was probably what happened?

I looked at my server for errors, and no errors there.

I see this:

documentation.
Latest web server error log messages:
No recent web server errors exist for your domain: XXXXXXXXXXXXX

Latest suEXEC event log messages:
No recent suEXEC events exist for your domain:XXXXXXXXXXXXX

I also noticed something weird since several days. Every time I want to change something in the forum admin panel, I need to try several times until it is accepted. I click the button and stays the same. Then I wait 10 seconds and try again, and the same. After a few tryes, sometimes after one or two minutes, for some reason it is finally accepted. I think this has to do with the changed categories not being changed in the URL.

I don't know why this is happening, but I am telling you so maybe someone knows what it is.

I am running SMF 2.0.18, core theme, and these are my server settings:

Database server:
    Server: Localhost via UNIX socket
    Server type: MariaDB
    Server connection: SSL is not being used Documentation
    Server version: 10.3.31-MariaDB-cll-lve - MariaDB Server
    Protocol version: 10
    User: xxxxxxxxxxxxxxxxx
    Server charset: xxxxxxxxxxxxxxxx

Web server:
    cpsrvd 11.98.0.9
    Database client version: libmysql - 5.6.43
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.3.30

phpmyAdmin:
    Version information: 4.9.7

This is the code generated today on my .htaccess file exactly when I ran the manutention on pretty urls panel:

# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# https://www.smfhacks.com/prettyurls-seo-pro.php
# .htaccess file generated automatically on: October 24, 2021, 16:56

RewriteEngine on
RewriteBase /

# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

# PRETTYURLS MOD ENDS

More info: I have this Optimus mod installed, and also pretty urls, smfcontactpage, likeposts, StopSpammer_v2_4_0, ads management and WYSIWYGquickreply.
 
Any help in solving this big problem will be greatly appreciated  ;D
please see thread here: https://www.simplemachines.org/community/index.php?topic=579404.0
where I originally moved your first post from this thread into it's own as this isn't really an issue with the optimus mod, it's party a pretty url issue

Dr Web

You were so fast moving the topic that I thought I didn't press the post button  ;D  , so I posted it again.

I posted it here because I read a few pages of this thread, and I know these two mods conflict with each other, and this one was the last one I installed so I thought here would be the best place.

Ok,thanks. I will take a look at the new thread.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Pause

Not a big deal since the underlying link itself is correct, but I just thought I should point out a slight error in the Base Settings page.

QuoteOne can discuss bugs and features of the mod at simplemachines.com.

Especially as the .com is owned by someone else doing something completely unrelated.

Since I'm already pointing out text errors on that page, you're also missing the 's' on 'thanks' in the text for the coffee link. :)
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

gorbi

can you add an option to create a map with pretty links?

Bugo

v2.10 (for SMF 2.1.0)
* Fixed found issues.
* Sitemap template is translatable now.
* Added managing of .htaccess.
* Added syntax highlighting for textareas in settings.
* Added IndexNow addon (for sponsors).
* Updated available settings.

If some addon occurs errors on your forum, and you do not use it — just remove addon file from Sources/Optimus/addons.

Shades.

#869
Hey this is great I love this mod and thank you for updating it! 8)

Just one question, how do I change the color for the highlighter in the code box when you select the codes?
#d9d9d9 It highlights the code but can't see the code itself. ???

Edit: I've searched thru all the css I could locate and couldn't find it anywhere.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Bugo

#870
It seems, I forgot to add a theme switcher.

As a temporary fix, open Sources/Optimus/Settings.php, find
addInlineCss('.CodeMirror {max-height: 24em; font-size: 1.4em; border: 1px solid #C5C5C5} .CodeMirror-line {z-index: auto !important}');and replace with
addInlineCss('.CodeMirror {max-height: 24em; font-size: 1.4em; border: 1px solid #C5C5C5}');

Shades.

Awesome thanks! 8)

Just an FYI for anyone else the code is to be replaced with:

addInlineCss('.CodeMirror {max-height: 24em; font-size: 1.4em; border: 1px solid #C5C5C5}');
Ya accidently left '); off the end and I figured it out when I got an error 500. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

@rjen

Quote from: Bugo on February 09, 2022, 08:49:33 PMv2.10 (for SMF 2.1.0)
* Fixed found issues.
* Sitemap template is translatable now.
* Added managing of .htaccess.
* Added syntax highlighting for textareas in settings.
* Added IndexNow addon (for sponsors).
* Updated available settings.

If some addon occurs errors on your forum, and you do not use it — just remove addon file from Sources/Optimus/addons.

Nice, find attached the updated dutch translation for this version...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Massl

@Bugo thanks for the update!
I think there is a problem ... I upgraded from 2.9.4 to 2.10 and URLs in the sitemap have become 344, in the previous version they were 2439.
The settings are the same, why are over 2000 URLs gone?

Bugo

Quote from: Massl on February 10, 2022, 10:25:46 AMI think there is a problem ... I upgraded from 2.9.4 to 2.10 and URLs in the sitemap have become 344, in the previous version they were 2439.
The settings are the same, why are over 2000 URLs gone?
I cannot know, compare sitemaps. In any case, these URLs will stay in the search index if they are available for spiders.

Massl

Quote from: Bugo on February 10, 2022, 11:21:47 AMI cannot know, compare sitemaps.

It looks like it hangs in a 97 page thread, there are no errors ... how can I verify?
Thanks

Massl

Sorry @Bugo , I can't edit my previous post...

It stops when threads exceed 30 pages and the option "Add ALL topic pages to the sitemap" is enabled.

I also noticed that I have to insert a year, before I used 0, higher than 1994 otherwise I get an error message.



And this


Thanks  :)

Bugo

That's right. I recommend not enabling the "Add ALL topic pages to the sitemap" option on large forums. You have to specify a minimum year because there were no forums in the zero year :)

Massl

Quote from: Bugo on February 10, 2022, 11:13:39 PMThat's right. I recommend not enabling the "Add ALL topic pages to the sitemap" option on large forums.

Ah OK, than is it normal that it gets stuck with threads with many pages (more than 30) and doesn't continue with sitemap generation?

Bugo

How many topics and posts on your forum? I need to create a similar test environment.

Advertisement: