Advertisement:

Author Topic: Pretty URLs  (Read 2056109 times)

Offline bod22

  • Newbie
  • *
  • Posts: 4
Re: Pretty URLs
« Reply #7580 on: August 14, 2017, 01:29:15 PM »
So I don't have to worry and get rid of it?

PS. Oh, in my first post it should be of course "I'm NOT good at ..." ;)

Offline vbgamer45

  • Support Member of the Month
  • SMF Super Hero
  • *
  • Posts: 19,136
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7581 on: August 14, 2017, 03:06:11 PM »
No you don't you must keep if you use the mod
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Replikacep

  • Jr. Member
  • **
  • Posts: 244
  • Gender: Male
    • Orjinal Cin Kore Telefon lari Rom ve Destek
Re: Pretty URLs
« Reply #7582 on: August 15, 2017, 07:18:42 AM »
Missing character  problem  : smf 2.0.14  This version is having trouble

problem : ı ç ş ü ğ   These characters  connection  Not included in route

examples smf 2.0.14  utf8:  www.domain.com/şıüçğ  : These characters are not included in the link path

utf8 2.0.13 :  www.domain.com/şıüçğ  :   no problem

Utf8:  is also doing this problem

You are not updating the mode in time
After that link google is broken
Do your job properly in these types of mods

smf 2.0.13   In this version  no problem 

 Need to update the mode




« Last Edit: August 15, 2017, 07:35:21 AM by Replikacep »

Offline vbgamer45

  • Support Member of the Month
  • SMF Super Hero
  • *
  • Posts: 19,136
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7583 on: August 15, 2017, 08:33:16 AM »
I didn't do any changes to mod for SMF 2.0.14 character wise should be the same.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline bod22

  • Newbie
  • *
  • Posts: 4
Re: Pretty URLs
« Reply #7584 on: August 16, 2017, 03:16:36 AM »
No you don't you must keep if you use the mod

Ok, thank you for you help.

Offline vivien

  • Semi-Newbie
  • *
  • Posts: 18
Re: Pretty URLs
« Reply #7585 on: Yesterday at 05:12:43 AM »
I have a lot of php Notice, either with PHP 5.5 or PHP 7.0 for /[www-directory]/Sources/PrettyUrls-Filters.php (Pretty URLs 1.1.4 with SMF 2.0.14) :

PHP Notice:  Undefined index: session_var in /[www-directory]/Sources/PrettyUrls-Filters.php on line 149

Lines 148-149 of /[www-directory]/Sources/PrettyUrls-Filters.php
                        //      Rip out everything that shouldn't be cached
                        
$match preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+|' $context['session_var'] . '=[^;]+~''~\"~''~;+|=;~''~\?;~''~\?$|;$|=$~'), array('''%22'';''?'''), $match);




PHP Notice:  Undefined index: session_var in /[www-directory]/Sources/PrettyUrls-Filters.php on line 259

Lines 256-260 of /[www-directory]/Sources/PrettyUrls-Filters.php
        //      Store the parts of the URL that won't be cached so they can be inserted later
        
preg_match('~PHPSESSID=[^;#&]+~'$matches[2], $PHPSESSID);
        
preg_match('~(se)?sc=[^;#]+~'$matches[2], $sesc);
        
preg_match('~' $context['session_var'] . '=[^;#]+~'$matches[2], $session_var);
        
preg_match('~#.*~'$matches[2], $fragment);




PHP Notice:  Undefined index: session_var in /[www-directory]/Sources/PrettyUrls-Filters.php on line 263

Lines 262-263 of /[www-directory]/Sources/PrettyUrls-Filters.php
        //      Rip out everything that won't have been cached
        
$cacheableurl preg_replace(array('~PHPSESSID=[^;#]+|(se)?sc=[^;#]+|' $context['session_var'] . '=[^;#]+|#.*$~''~\"~''~;+|=;~''~\?;~''~\?$|;$|=$~'), array('''%22'';''?'''), $matches[2]);