News:

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

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

SlammedDime

#160
I do not, and will not, conform my coding to your 'standards' just to work with your Portal.  I pointed out to very valid issues regarding your mod, and you get defensive.  You didn't see me getting defensive when you found issues with mine.  Here's a simple test script for you so you can see PHP's default behavior with .'s in request variables.

Code (test.php) Select
<?php
print_r
($_GET);
?>

then call test.php?test.help and test.php?test.help=help

You'll see that what is output is the following:
QuoteArray ( [test_help] => )
and
QuoteArray ( [test_help] => help )
respectively. (note: this is on PHP 5.3.1)

Take it up with the PHP developers if you have an issue with it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

akbora

Enable SimpleSEF
Requires mod_rewrite support or Url Rewrite/web.config (IIS7) support.

^What does it mean? What have I to do? How?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

SlammedDime

You need to check with your host to see if they have either.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

mirahalo

ok, for my issue with the thank you o matic mod,  I realize I had the  Enable AJAX (Inline) Thank You  on,  so I just   uncheck that  and now the thank you doesn't use ajax and works again,    now only one thing separates me  from truly joy,   I have my forum in a subfolder called foro  in my  root in my index.php file I got this little php script:

<?php

$id
=$_GET[id]; 

if(!
$id){include("noticias.php"); // aqui el archivo que se mostrara por defecto
}

else{if(
file_exists("$id.php")){include("$id.php");}else{include("error.php"); 
// Aqui el nombre de la pagina que aparecera cuando un link este mal o una pagina no exista

}
}

?>


and in my  .htacces I have this:


Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)\.html$ /index.php?id=$1

and  this for the sitemap:

RewriteEngine on
   RewriteRule ^sitemap.xml$ ./foro/index.php?action=sitemap;xml



so instead of showing  fo example  index.php?id=staff   it shows  staff.html  but when I turn  simplesef on,  this stop working, the page oharascans.com/staff.html  shows the content of index.php   if I type  index.php?id=staff   it shows me a 301 moved permanently.  that would be the only problem left

ოկtђ

hi  SlammedDime 
ı have a problem.
How ı use simpleSef with smf arcade?

hartiberlin

Hi SD, I hope you can find soon a solution to get your mod to work
with PortaMX and vice versa.

We really need to find a solution to get these 2 Mods compatible,
cause they are so good ! :)

Happy Christmas and holidays !

Regards, Stefan.

Nick Whetstone

This Mod works great for me, except for when the regular URLs get used (anything with index.php). Is this a known bug, or possibly with just my forum? Reason being, with bookmarks and such, there are old links out there, all of which cause 301 Errors when used.
Thanks
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

SlammedDime

I believe it has something to do with PHP being run as a CGI module on apache.  You can check your PHPInfo and it will be at the top under the configure line.  I'm in the process of setting of various apache/php configs on a spare Unix box of mine to test it out on.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

pokerullz

can u port it for version 1.11.1 please!!! I really need it. Would be a great xmas pressent ;D

Btw, Merry Christmas!

SlammedDime

I have the version for 1.1.x ready and will be released on the next release, I just want to figure out the CGI bug first. :)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

pokerullz

thank you. could you also please tell me or put as a readme file ..what to put in the web.config file. I have host on IIS7 and on my host account i don't have a web.config but I can upload one and will overide the default configurations. What do I exactly need to put into it when I create it. ::) Thanks for your help. Waiting for it's release ;D


SlammedDime

The info on what is needed for web.config is contained in the settings page for the mod once you install it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ოկtђ

Quote from: ოկtђ on December 23, 2009, 11:53:21 AM
hi  SlammedDime 
ı have a problem.
How ı use simpleSef with smf arcade?

SlammedDime

What issues are you having with it?  I can't really help without specifics.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

anmol

SD -
Firstly, kudos to you for making such a great MOD. I just installed SMF two days back, and this was the 1st mod I have installed. I did try prettyurls but found simplesef way better. I have an issue though -

While my board and topic URLs are now converted to seo friendly urls, the normal hxxp:forums.xyz.com/index.php [nonactive] has stopped working! I can still reach it at hxxp:forums.xyz.com [nonactive] but if I type hxxp:forums.xyz.com/index.php [nonactive] it says 301 Moved Permanently.


Moved Permanently

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ******* and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


I think the 500 Internal Server may be because 404 file is not defined on my server. But it leaves the question of 301 open.

The .htaccess that SimpleSEF created on my site is this -


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php


index.php is important for me, since so many tasks on SMF go through index.php only. For ex, when a new user signs up the activation email he receives has the link
forums.xyz.com/index.php?action=activate;u=...;code=.....

Interestingly, even while I get this error; the "index.php?action=admin" continues to work (i.e, I am able to set / change settings in Admin panel)

Any ideas on how can I get the index.php to work with SimpleSEF installed? This is a brand new forum just installed with NO mods - except SimpleSEF.

Warm Regards,
Anmol.

SlammedDime

I believe it has to do with PHP running as a CGI module in apache which I'm looking in to.  Can you please post a php info page so I can confirm?

What is a phpinfo() file?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

sAce

i believe i found a bug in this mod

when enabled, the jump to menu doesn't work , only the current board is displayed,

~DS~

Before I install it. How will I know the ID of the url. Some mods depend on ID for the mods to work.
"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

SlammedDime

Dismal Shadow, can you please be more specific?  I don't understand what you're asking.

S-Ace, I've already fixed that in the next version... it was an issue with the way the var scripturl javascript variable was changed (index.php was removed from the url).  Thanks :)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

~DS~

Quote from: SlammedDime on December 28, 2009, 12:29:29 PM
Dismal Shadow, can you please be more specific?  I don't understand what you're asking.

S-Ace, I've already fixed that in the next version... it was an issue with the way the var scripturl javascript variable was changed (index.php was removed from the url).  Thanks :)
Ok This is the example of AD management:
"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

Advertisement: