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

franklinrony

Quote from: SlammedDime on December 12, 2010, 04:18:18 PM
Quote from: frony on December 11, 2010, 11:05:42 PM
Hi i have aproblem with spanish language. Enable simple SEF, but in the top appear the follow message

QuoteNotice: iconv() [function.iconv]: Detected an illegal character in input string in /Sources/SimpleSEF.php on line 669

Notice: iconv() [function.iconv]: Detected an illegal character in input string inSources/SimpleSEF.php on line 669

Notice: iconv() [function.iconv]: Detected an illegal character in input string in Sources/SimpleSEF.php on line 669

Notice: iconv() [function.iconv]: Detected an illegal character in input string in /Sources/SimpleSEF.php on line 669

Notice: iconv() [function.iconv]: Detected an illegal character in input string in /Sources/SimpleSEF.php on line 669

Notice: iconv() [function.iconv]: Detected an illegal character in input string in Sources/SimpleSEF.php on line 669

Try comment the lines
Quoteif (function_exists('iconv'))
         $string = iconv($char_set, 'UTF-8//IGNORE', $string);
      elseif (function_exists('mb_convert_encoding'))
         $string = mb_convert_encoding($string, 'UTF8', $char_set);

but dont work,  ::)
good work with the mod
I'll need to see a specific example of the characters causing that to nail down what's going on...
mmm the message appear after enable the mod,and the message appear in all pages, I use spanish_es language (ñ ` characters...)
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

eXtreme

Quote from: eXtreme on November 29, 2010, 04:04:16 AM
Quote from: SlammedDime on November 25, 2010, 11:34:06 AM
If that doesn't work, I can probably give you some code to use to alter SimpleSEF.php, but I won't incorporate it as a fix into the package permanently mainly because I don't recommend using the sitemap rewrite any longer.

Please send me the code when you find time.

Thanks

Can you please tell me what code to alter? Because I'm not able to submit my sitemap to any of the local search engines.

alpheus

Hello. I installed this mod. It is ok but I have some problems about my sitemap.xml and archive.php links like that;

HTTP 404 - Page Not Found
The server could not find this page.

DanteOz

If i install this mod on rc4, and someone clicks on an old link in my forum, will it work?

SlammedDime

Yes, old links will redirect automagically to the new SEF version... ie: click on http://mysite.com/index.php?topic=1.0 will automatically redirect the user to http://mysite.com/welcome-to-smf.1.0.html
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

alpheus

Quote from: alpheus on December 15, 2010, 02:24:51 PM
Hello. I installed this mod. It is ok but I have some problems about my sitemap.xml and archive.php links like that;

HTTP 404 - Page Not Found
The server could not find this page.

alpheus

When I install this mod I can't create a sitemap. I also using sitemap mod. I crate it but only my main site address added to sitemap. You have some ideas for this?

SlammedDime

without a link to your site, help is nearly impossible to give...
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Quote from: eXtreme on December 13, 2010, 03:20:53 AM
Quote from: eXtreme on November 29, 2010, 04:04:16 AM
Quote from: SlammedDime on November 25, 2010, 11:34:06 AM
If that doesn't work, I can probably give you some code to use to alter SimpleSEF.php, but I won't incorporate it as a fix into the package permanently mainly because I don't recommend using the sitemap rewrite any longer.

Please send me the code when you find time.

Thanks

Can you please tell me what code to alter? Because I'm not able to submit my sitemap to any of the local search engines.
It's not as easy as I thought it might be... I'm still working on trying to figure it out but I have very limited time. 
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

alpheus

Quote from: SlammedDime on December 20, 2010, 10:52:03 PM
without a link to your site, help is nearly impossible to give...

very sorry Slammed. my link is Here. Tell me please what can I do? Thank you.

SlammedDime

Your Sitemap and SimpleSEF seem to be working perfectly fine for me sitemap xml
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

alpheus

Yes Slammed it is working but I wonder this; when I create with gsitecrawler or an online sitemap generator, only my main link (www.mysite.com) adding to sitemap. What is your idea for this pls? There is no other link!

alpheus

Slammed sorry to disturb you again. I changed my site url and add www. And then remove simple sef completely. Now installed again but when I save simple sef setings I have this page;

Notice: Use of undefined constant WIRELESS - assumed 'WIRELESS' in /home/nicex/public_html/Sources/Subs.php on line 2622

Notice: Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /home/nicex/public_html/Sources/Subs.php on line 2633

Warning: Cannot modify header information - headers already sent by (output started at /home/nicex/public_html/Sources/Subs.php:2622) in /home/nicex/public_html/Sources/SimpleSEF.php on line 302


What may I do please?

SlammedDime

Quote from: alpheus on December 21, 2010, 09:29:27 AM
Yes Slammed it is working but I wonder this; when I create with gsitecrawler or an online sitemap generator, only my main link (www.mysite.com) adding to sitemap. What is your idea for this pls? There is no other link!
Don't use a sitemap generator... there is no point when using the Sitemap mod.  I can't (and won't) support something I don't make.

Quote from: alpheus on December 21, 2010, 05:40:26 PM
Slammed sorry to disturb you again. I changed my site url and add www. And then remove simple sef completely. Now installed again but when I save simple sef setings I have this page;

Notice: Use of undefined constant WIRELESS - assumed 'WIRELESS' in /home/nicex/public_html/Sources/Subs.php on line 2622

Notice: Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /home/nicex/public_html/Sources/Subs.php on line 2633

Warning: Cannot modify header information - headers already sent by (output started at /home/nicex/public_html/Sources/Subs.php:2622) in /home/nicex/public_html/Sources/SimpleSEF.php on line 302


What may I do please?
Are these persistent errors or did they only show up once?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Thredziii

it's look good mod, i installed, but now i have blank page on my forum... :-[

franklinrony

its compatible with smf 2.0 RC3?

when install i get this error, after press install package.
Fatal error: Call to undefined function add_integration_function() in /foro/Packages/temp/add_settings.php on line 38

in line 38 of the add_settings.php i get
      add_integration_function($hook, $function, TRUE);  ???

http://dev.simplemachines.org/mantis/view.php?id=4533
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

SlammedDime

Quote from: frony on December 26, 2010, 05:15:23 PM
its compatible with smf 2.0 RC3?
No...

From the mod page:
Latest Version:
    1.1.1
Compatible With:
    1.1.12, 2.0 RC4
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Am'

Quote from: Am' on November 15, 2010, 04:17:56 PM
Hi,

what about this bug ?

in the reading of a topic, or list of members, if you click on '...' to display to other page numbers, the link in these numbers is incorrect

when i click a number, i have this url :

http://localhost/Forum/NameBoard/NameTopic_20195.%1.html$d

any fix please ?

any news  ? ;)

I expect that this bug is resolved to migrate "pretty url" to "simplesef"

(the size of the table "pretty_urls_cache" is 700MB, while the table "post" is just 400MB  >:()
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

SlammedDime

I probably won't have a fix rolled out for it until after 2.0 is final.  I have very little time to do anything SMF related at the moment, so I have to prioritize, and this is not near the top.  If anyone wants to dig into the code and figure out the javascript replacement needed to make this work, feel free and I'll incorporate the fix into the next version. (keeping with the spirit of this mod, any fix should only be applied in SimpleSEF.php, there should be no core code changes required
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

feline

Quote from: Am' on November 15, 2010, 04:17:56 PM
in the reading of a topic, or list of members, if you click on '...' to display to other page numbers, the link in these numbers is incorrect
Find in /Sources/SimpleSEF.php

// Gotta fix up some javascript laying around in the templates
$extra_replacements = array(
'/rand,' => '/rand=',
$boardurl . '/topic/' => $scripturl . '?topic=',
'var smf_scripturl = "' . $boardurl . '/' => 'var smf_scripturl = "' . $scripturl,
);


and change to:

// Gotta fix up some javascript laying around in the templates
$extra_replacements = array(
'%1/$d' => '%1$d',
'/rand,' => '/rand=',
$boardurl . '/topic/' => $scripturl . '?topic=',
'var smf_scripturl = "' . $boardurl . '/' => 'var smf_scripturl = "' . $scripturl,
);


Fel

Advertisement: