News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Recent posts

#1
Modifications and Packages / Re: Optimus
Last post by davo88 - Today at 12:20:04 AM
I have installed a version which came in a file called 'optimus_3.0_beta.zip' which was downloaded on 03 March 2024. It is called 'Optimus 3.0 Beta' in Package Manager. It gives the same error message, so I went looking to see what was generating that error message.
The version listed on the mod download page is still called 'optimus_3.0_beta.zip' and is the file same size as the previous zip I downloaded. But I see the 'Last updated' date has changed to May 01 2024. Is this a new version with an old label? Or am I missing something?
#2
Modifications and Packages / Re: Optimus
Last post by Bugo - Yesterday at 11:18:03 PM
Quote from: davo88 on Yesterday at 07:31:28 PM@rjen ...do you know which file contains that string "Unable to load the 'main' template."? I haven't been able to find it in SMF 21.4, TP 3.0.0 or Optimus 3.0beta.
Why are you looking for this file? The package has already updated, and this error was fixing. And this error was not associated with any file.
#3
Modifications and Packages / Re: Optimus
Last post by davo88 - Yesterday at 07:31:28 PM
Quote from: [member=137340rjen[/member]]
I tried Optimus package 3.0 beta, but I removed it again: that version causes unknown actions to produce errors in the log: Unable to load the 'main' template.
To reproduce:
install version 3.0 beta in a forum
then access a non-existent action, like /index.php?action=register
Result:
Unable to load the 'main' template.

@rjen ...do you know which file contains that string "Unable to load the 'main' template."? I haven't been able to find it in SMF 21.4, TP 3.0.0 or Optimus 3.0beta.
#4
SMF 2.1.x Support / Re: Can I jump this windows wi...
Last post by gear777 - Yesterday at 06:38:05 PM
Quote from: shawnb61 on Yesterday at 12:55:14 PMA tool such as Papercut (link above) allows you to test email flows on your local test wamp server.  Even things like registration/activation emails.  It should help you get past being stuck there.  Enter the account/email, and when SMF sends the password recovery email, you will see it in Papercut.  Just click on the link in the email in Papercut.

There are other ways to fix a lost admin password, kinda involved.  IIRC you create a new account via the normal registration form, activate it & elevate it to admin (both via DB update) and use that new admin account to fix the password on the original one. 

Thanks a lot. Everything is really good, works perfectly!
#5
vBulletin / Re: vB 3.8.5 to 2.0.19
Last post by von Papst - Yesterday at 05:09:22 PM
Managed to solve. Openede converter.php and replaced curly brackets on the reported lines and it worked.
#6
Graphics and Templates / Re: Main Icon edit
Last post by bethl - Yesterday at 03:31:27 PM
How do you overwrite the  overwrite the selector.
.main_icons.home::before {}. I'm not familiar with coding that good. 
#7
SMF 2.0.x Support / Re: fix_packages.php file does...
Last post by shawnb61 - Yesterday at 03:28:33 PM
OK, I loaded PHP 7.3 and can see the problem.  I logged it here:
https://github.com/SimpleMachines/tools/issues/75

Allowing class type declarations was added to PHP in 7.4, and there is a class type declaration on that line. 

First recommendation is to upgrade to PHP 8.0.

If you cannot do that for some reason, I believe all you need to do is change the 'private bool' to 'private' on line 90.  Worth a try.

And then upgrade to PHP 8.0.
#8
SMF 2.0.x Support / Re: fix_packages.php file does...
Last post by Arantor - Yesterday at 03:18:21 PM
It won't work on 7.3 because protected bool as a typed property declaration isn't supported until 7.4.

Easy to verify, copy/paste the content into 3v4l and run it on the last 7.3 version to see it dies with a parse error.
#9
SMF 2.0.x Support / Re: fix_packages.php file does...
Last post by shawnb61 - Yesterday at 02:50:46 PM
Make sure you have the current version of fix_packages.php.  It had a bit of an overhaul a few months ago.  There are no known bugs at this time, all outstanding issues at that time were cleaned up.  (Issues would be visible here: https://github.com/SimpleMachines/tools/issues)

I just tried & had no issues with:
 - SMF 2.0.19 - PHP 7.4, PHP 8.0
 - SMF 2.1.4 - PHP 7.4, PHP 8.0-8.3

I don't have a PHP 7.3 to test with.  It's quite old, & has been out of support for a couple years. 

The current version is here:
https://download.simplemachines.org/index.php?tools
#10
SMF 2.1.x Support / Re: Multiple jquery.sceditor.c...
Last post by shawnb61 - Yesterday at 02:20:43 PM
Quote from: barry1947 on Yesterday at 01:52:27 PMI did try a very quick test to put a version of the jquery.sceditor.css (currently not looking at WYSIWYG) file into my theme css folder and then checked with the browser inspect function to get the address of the jquery.sceditor.css file and sure enough it still looked at the default theme location.

Note the naming difference...  Part of why it's confusing.  Copy it & rename it.

Quote from: shawnb61 on Yesterday at 10:07:22 AMSo if you want a unique appearance of the editor, e.g., buttons & toolbars, etc., update jquery.sceditor.theme.css in your theme folder.  It may help to start with a copy of jquery.sceditor.css from the default theme.

Advertisement: