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

kpac

First of all, thanks for the great mod. It's the only thing SMF needed.

I have a problem, unfortunately, and I can't figure it out.

I am running SMF 2.0 RC3 and SimpleSEF 1.0.3 on two different forums on two different websites. On one website, everything works perfectly, just as I want it, i.e. myforum.com/general-discussion/. [nofollow]
On the other, however, the board URLs appear as myforum2.com/ [nofollow]/ (the first board), myforum2.com/2/ [nofollow] (second board) and myforum2.com/3/ [nofollow], and so on. For some reason it seems to be using the board's ID as the URL instead of the title.

I'm using the latest version of SMF, as you can see, and the latest version of SimpleSEF. I have tried uninstalling all my other mods from both forums, I've tried reinstalling the mod, installing the mod using the different methods (server browser, via direct link, and upload), I've cleared the cache multiple times and all to no avail. My .htaccess file says nothing unusual. Website design and SMF customisation is nothing new to me so I don't know what's wrong.

Do you have any idea what's going wrong? I appreciate any help.

Raffoz

Quote from: Dismal Shadow on May 09, 2010, 11:14:14 PM
Quote from: SlammedDime on May 09, 2010, 11:09:36 PM
Anything is possible, just a matter of how much time we have to invest in coming up with a solution.  I might be able to come up with a reverse converter, but no promises
Great, that's one thing keeping me from having this for a while. Surprised  no one reported.  :)

dismal, can u explain to me this thing?

it means that if i use simple sef, and i convert and use all new links in the new form, then if i uninstall the mod, all links will be broken?
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

~DS~

Quote from: Raffaele1977 on May 10, 2010, 05:42:09 PM
Quote from: Dismal Shadow on May 09, 2010, 11:14:14 PM
Quote from: SlammedDime on May 09, 2010, 11:09:36 PM
Anything is possible, just a matter of how much time we have to invest in coming up with a solution.  I might be able to come up with a reverse converter, but no promises
Great, that's one thing keeping me from having this for a while. Surprised  no one reported.  :)

dismal, can u explain to me this thing?

it means that if i use simple sef, and i convert and use all new links in the new form, then if i uninstall the mod, all links will be broken?
If you are copying and pasting links from the forums itself with SEF enabled and uninstall...yes the links will be broken.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Raffoz

Quote from: Dismal Shadow on May 10, 2010, 05:48:06 PM
Quote from: Raffaele1977 on May 10, 2010, 05:42:09 PM
Quote from: Dismal Shadow on May 09, 2010, 11:14:14 PM
Quote from: SlammedDime on May 09, 2010, 11:09:36 PM
Anything is possible, just a matter of how much time we have to invest in coming up with a solution.  I might be able to come up with a reverse converter, but no promises
Great, that's one thing keeping me from having this for a while. Surprised  no one reported.  :)

dismal, can u explain to me this thing?

it means that if i use simple sef, and i convert and use all new links in the new form, then if i uninstall the mod, all links will be broken?
If you are copying and pasting links from the forums itself with SEF enabled and uninstall...yes the links will be broken.
is there another way to have a link in this way  www.domain.com/speak-about-soccer  ?
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Xarcell

kpac

Try changing the settings. Uncheck "Create Simple URLs".

kpac

Heh, thanks for the suggestion, but I've tried more than you could imagine.

With simple URLs on, the URLs look like myforum.com/board_2.0/ [nofollow] etc., which is the way it should look, but I still can't figure out why it doesn't work the normal way.

Yağız...


SlammedDime

kpac - sorry I didn't see your post before.  Normally that happens when the board names are not being cached properly (or if you have caching disabled, they are not being retrieved from the database for whatever reason.  Any errors in the error log for your forum?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

coolfx350

what's the difference between this mod and the pretty url?

SlammedDime

they both pretty much do the same thing, but the implementations are completely different, and I aimed to make this one as simple to use as possible from an admin/user standpoint.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

truhe

Great mod. But when I write a pm and put something into "To:" the name is replaced by another nick. When I uncheck "Enable SimpleSEF" it works again.

SlammedDime

What version of SMF and what version of the mod?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

truhe

SMF 1.1.11
SimpleSEF 1.0.3

I also installed
Another URL Popup      1.0
Ignore user      1.4


SlammedDime

I'll have test this to see what is causing it
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

kpac

Quote from: SlammedDime on May 11, 2010, 08:34:37 PM
kpac - sorry I didn't see your post before.  Normally that happens when the board names are not being cached properly (or if you have caching disabled, they are not being retrieved from the database for whatever reason.  Any errors in the error log for your forum?
Level 1 caching is enabled and I couldn't find anything wrong with the database. I've a feeling it must be the remnants of some poorly uninstalled mod. Anyway, there are two different errors.


Error 1:
http://forum.webdesigntuts.net/index.php?action=helpadmin;help=db_persist
8: Undefined index: simplesef_adds
File: /home/---------/public_html/~forumsmf/Sources/SimpleSEF.php
Line: 278

Problem line:
278: $buffer = preg_replace('~(' . preg_quote($txt['page_created']) . '.*?' . preg_quote($txt['queries']) . ')~', '\1<br />' . $txt['simplesef_adds'] . ' ' . $simpleSEF['execTime'] . $txt['seconds_with'] . $simpleSEF['query_count'] . $txt['queries'], $buffer);


Error 2:
http://forum.webdesigntuts.net/index.php?http://forum.webdesigntuts.net/
8: Undefined index: 42
File: /home/---------/public_html/~forumsmf/Sources/SimpleSEF.php
Line: 455

Problem line:
455: $boardName = $simpleSEF['boardNameList'][$id];

Thanks again for any light you can shine on this.

SlammedDime

The first one is due to the language strings not being in Modifications.english.php (or if they are, the cache needs to be cleared so that files is reloaded).

The second one is the source of the issue... it can't find the ID in the boardNameList array, which means it wasn't populated into the cache properly.  The only way I could troubleshoot further is if you wanted to created an FTP account for me on your host that I could use to check the files to see what is happening.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

kpac

Okay, thanks. I'll get back on this tomorrow. Schooooool.  :P

truhe

Quote from: SlammedDime on May 12, 2010, 04:25:21 AM
I'll have test this to see what is causing it
Thanks a lot. Does this happen on your board, too ? Or do you have to install a SMF 1.1.11 first ? 

kpac

I just sent a PM to you with all the required details. Thanks for the help. :)

truhe

In my case (name is replaced by another nick) the name is always replaced by the nick "Macy" which is the member with ID=1

Advertisement: