News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SimpleSEF 2.0 (SMF 1.1.x and SMF 2.0)

Started by SlammedDime, December 05, 2009, 10:08:40 PM

Previous topic - Next topic

BeingSimplest

I've just been familiar with SMF so haven't heard of SMF's package manager. But yes, due to what I read this is way better. Let's reinstall and see how it works then (:

BeingSimplest

It's interesting that we can install mod in a few clicks :D I've removed all the uploaded files and installed using package installer.

However, the same problem occurs. Just like what you said, user's page can still be accessed but boards can't be. I tried to disable the mod and everything worked well as ordinary. It's strange isn't it (:

SlammedDime

It looks like you have 'Simple URLs' enabled in the SimpleSEF settings.  Can you disable that and allow SimpleSEF to create content rich URLs and see if that works?  It may be a bug in SimpleSEF.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

BeingSimplest

#1163
That works (: It should be a bug in SimpleSEF, I'll try looking to see if I can fix that myself.

Have just donated for you, good mod, good effort.

Another suggestion, when viewing user profile, the URL is rewritten something like /username_id/, do you think it's more SEF if we have /username/ only? Similarly, topic URL is like /topicname_id.html, is it better with /topicname.html only?

SlammedDime

Doing that would increase the complexity of the mod as well as the overhead of the forum.  Keeping the ID in the url prevents having to do additional database lookups on each request.  It's no more or less SEF than having the URL without it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

BeingSimplest

It has a problem with Vietnamese language [nofollow] encoding. For example:

Việc làm -> vic_lam (should be viec_lam).

Please have a check (: We use UTF-8


SlammedDime

I would need to check the encoding in the dictionary of SimpleSEF and make the change.  I don't have time at the moment to plug the character in to find out which file it's in and make the change, but I'll add it to my todo list.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

MrMike

I tried to install this on SMF 2.0 and got this message:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Is there an update available or a trick to get it to be recognized as valid?

Masterd

Emulate the version to SMF 2.0 RC5.


akbora

SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

MrMike

#1172
I installed Simple SEF and had a variety of issues I thought I'd report.

-----------------------------
When Simple SEF is enabled and I send a PM, I get a 500 error, and this path is shown in the error:

/forum/pm/f.inbox/l.-1/done.sent/

Additional info: I had to use the Simple SEF controls to exclude some actions to make the Avatar Verification mod work, I don't know if this has any bearing on it. I excluded (ignored) the following actions: admin, register, register2, verification code, verificationsimages, verifyimage.

-----------------------------

When accessing the Admin link, if it's from within a page or message the additional path info makes it so you can't get to the Admin section. If you go back to the main board listing page and click the admin link you're able to get to the Admin section.

-----------------------------


Also, I installed the SMF Archive package (SMF Archive, http://www.smfhacks.com By:vbgamer45), and when accessing the archive page (archive2.php) it generates the following errors and warnings:

Notice: Undefined index: admin in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 417

Warning: Invalid argument supplied for foreach() in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 417

Notice: Undefined index: admin in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 422

Warning: array_slice() expects parameter 1 to be array, null given in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 422

Notice: Undefined index: admin in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 430

Warning: array_slice() expects parameter 1 to be array, null given in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 430

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 431

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /var/www/virtual/<MY DOMAIN>/htdocs/forum/Sources/SimpleSEF.php on line 431


-----------------------------

MrMike

#1173
EDIT: I think this may be resolved...setting the Emulation Mode to SMF 2.0 RC5 allowed us to uninstall it.

Is it safe to remove the "Sources/SimpleSEF-Ext" directory? It appears to be empty.


We're trying to resolve a problem with Simple SEF caused by operator error. :( We had disabled Simple SEF because of conflicts with other packages and path issues. One of my moderators mistakenly deleted the Simple SEF package before uninstalling it. Now we're stuck..we can't uninstall it, and we can't reinstall it either.

When we try to upload it and install it we get this error:

This package is already installed, and no upgrade was found

That makes sense. However, we can't uninstall it no matter what we do. When we try to uninstall, we get this message:

This package cannot be uninstalled, because there is no uninstaller!

The package file is there in the Packages directory (SimpleSEF_2-0.tar.gz) and there appears to be a backup file in the /Packages/backups directory, named "2011-06-18_before_SimpleSEF_2-0.tar.gz".

So, our question is...How can we remove Simple SEF completely so we can start over with it? Or, how can we perform an uninstall of it?

rölyef

please for PrettyUrls converter. pretty urls ==> simple sef

BeingSimplest

Quote from: SlammedDime on June 17, 2011, 12:42:19 PM
I would need to check the encoding in the dictionary of SimpleSEF and make the change.  I don't have time at the moment to plug the character in to find out which file it's in and make the change, but I'll add it to my todo list.

Thanks for that. I've been waiting.

Because my forum needs to be up and running in 2 weeks time. If you're busy you can tell me how the encoding scheme constructs, I can edit it myself (:

spiros

Does is work with SMF 2 Final? The parser gives an error.

Masterd

It should work fine. Did you tried to emulate the version?

SlammedDime

I don't know why it would give an error, it doesn't modify any SMF files, so it has nothing to error on.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SleePy

SlammedDime,

The new 2.0 version works fairly well.  Came across a few issues so far.

  • Any board named after a action can no longer be accessed.  Reproducing I have a board named "Admin".  Clicking that board takes me to the admin panel instead of that board.
  • My rewrite rule was "RewriteRule (.*)$ index.php".  Which while this would of worked, SimpleSEF wouldn't reenable and wouldn't give me any hint as to why it wouldn't.  Should make a error notice as too why.
  • Additionally, I couldn't get the rewrite to work until I changed the last part of the rewrite to include ?q=$1 (as per new code it appears).  Otherwise it wouldn't work.  Your code to disable SimpleSEF should also check that or should work without it (not sure but it appears your code still wants to make it work?).
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: