News:

Join the Facebook Fan Page.

Main Menu

Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

genieuk

mmm strangely enough i have no problems when i enable the mod but disable the actions filter,

how come?

Mathew

Dannii

Well I don't know. If you enable it again do you still get the problems?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

genieuk

Hi,

Yes when i enable the action filter again it does not display the the pages i gave above.

Thank you,
Mathew

at the moment i got the mod enabled apart from the action filter.

genieuk

If not already read above post.

I have noticed another problem.

When i am viewing a topic and go to view memberlist for example i get an error

For example i am viewing:

http://www.foreverlastingfriends.com/General/post-your-pictures-here/

then when i choose to view member list for example there url changes to
http://www.foreverlastingfriends.com/General/post-your-pictures-here/
index.php?action=mlist

as you can see it the url is incorrect as it should be the below when i click member list

http://www.foreverlastingfriends.com/index.php?action=mlist

ivo2296

How would the mod react when topic subjects are written in Cyrillic or other than Latin letters?

bjraines

In Joomla (before I left it) most SEF URLs mods had some sort of 404 capability,

is there a chance this sort of thing could be added here?

locau

#2586
I have a problem, when i removed / uninstalled pretty urls 0.8.4 from my SMF the forum when blank / white page. Not possible to open no acess to anything.

How can i fix this !?

The error that says on the page is:
500 internal error

Dannii

Quote from: genieuk on October 22, 2008, 02:41:44 PM
If not already read above post.

I have noticed another problem.

When i am viewing a topic and go to view memberlist for example i get an error

For example i am viewing:

http://www.foreverlastingfriends.com/General/post-your-pictures-here/

then when i choose to view member list for example there url changes to
http://www.foreverlastingfriends.com/General/post-your-pictures-here/
index.php?action=mlist

as you can see it the url is incorrect as it should be the below when i click member list

http://www.foreverlastingfriends.com/index.php?action=mlist
Hmm that's strange. Is your theme using relative rather than absolute URLs?

Quote from: ivo2296 on October 22, 2008, 03:20:42 PM
How would the mod react when topic subjects are written in Cyrillic or other than Latin letters?
It used to convert them, doesn't anymore in 0.9. You could add back the rows to the array in Subs-PrettyUrls.php. In the distant future it will percent encode them.

Quote from: bjraines on October 22, 2008, 03:25:42 PM
In Joomla (before I left it) most SEF URLs mods had some sort of 404 capability,

is there a chance this sort of thing could be added here?
What do you mean?

Quote from: locau on October 22, 2008, 07:36:20 PM
I have a problem, when i removed / uninstalled pretty urls 0.8.4 from my SMF the forum when blank / white page. Not possible to open no acess to anything.

How can i fix this !?

The error that says on the page is:
500 internal error
http://code.google.com/p/prettyurls/wiki/TroubleShooting
Try the first thing on there. And check your Apache error log.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

dannyd

I got this when I tried installing it, any idea what might went wrong ?

   Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     Skipping file
16.    Execute Modification    ./Themes/default/languages/Modifications.french.php    Skipping file
17.    Extract File    ./Sources/PrettyUrls.php    
18.    Extract File    ./Sources/PrettyUrls-Filters.php    
19.    Extract File    ./Sources/Subs-PrettyUrls.php    
20.    Extract File    ./Themes/default/PrettyUrls.template.php    
21.    Extract Tree    ./Themes/default/pretty    
22.    Extract File    ./Themes/default/languages/PrettyUrls.english.php    
23.    Extract File    ./Themes/default/languages/PrettyUrls.french.php    
24.    Execute Code    SMF1-1/install.php    

locau

#2589
Quote from: locau on October 22, 2008, 07:36:20 PM
I have a problem, when i removed / uninstalled pretty urls 0.8.4 from my SMF the forum when blank / white page. Not possible to open no acess to anything.

How can i fix this !?

The error that says on the page is:
500 internal error
http://code.google.com/p/prettyurls/wiki/TroubleShooting
Try the first thing on there. And check your Apache error log.
[/quote]

Did that same problem simple fix but same problem.
Apache log doesn't say anything.

What can i do ?

Update: enabling the show erros on php i get www/Sources/QueryString.php on line 507

locau

Quote from: locau on October 23, 2008, 04:22:37 AM
Quote from: locau on October 22, 2008, 07:36:20 PM
I have a problem, when i removed / uninstalled pretty urls 0.8.4 from my SMF the forum when blank / white page. Not possible to open no acess to anything.

How can i fix this !?

The error that says on the page is:
500 internal error
http://code.google.com/p/prettyurls/wiki/TroubleShooting
Try the first thing on there. And check your Apache error log.

Did that same problem simple fix but same problem.
Apache log doesn't say anything.

What can i do ?

Update: enabling the show erros on php i get www/Sources/QueryString.php on line 507
[/quote]

solution for this issue was in fact on www/Sources/QueryString.php on line 507 .. when i un-installed the pretty urls it left /forgot to delete a simple " */ " from the file :(

it's now working again properly

genieuk

Quote from: Dannii on October 22, 2008, 09:12:28 PM
Quote from: genieuk on October 22, 2008, 02:41:44 PM
If not already read above post.

I have noticed another problem.

When i am viewing a topic and go to view memberlist for example i get an error

For example i am viewing:

http://www.foreverlastingfriends.com/General/post-your-pictures-here/

then when i choose to view member list for example there url changes to
http://www.foreverlastingfriends.com/General/post-your-pictures-here/
index.php?action=mlist

as you can see it the url is incorrect as it should be the below when i click member list

http://www.foreverlastingfriends.com/index.php?action=mlist
Hmm that's strange. Is your theme using relative rather than absolute URLs?

Quote from: ivo2296 on October 22, 2008, 03:20:42 PM
How would the mod react when topic subjects are written in Cyrillic or other than Latin letters?
It used to convert them, doesn't anymore in 0.9. You could add back the rows to the array in Subs-PrettyUrls.php. In the distant future it will percent encode them.

Quote from: bjraines on October 22, 2008, 03:25:42 PM
In Joomla (before I left it) most SEF URLs mods had some sort of 404 capability,

is there a chance this sort of thing could be added here?
What do you mean?

Quote from: locau on October 22, 2008, 07:36:20 PM
I have a problem, when i removed / uninstalled pretty urls 0.8.4 from my SMF the forum when blank / white page. Not possible to open no acess to anything.

How can i fix this !?

The error that says on the page is:
500 internal error
http://code.google.com/p/prettyurls/wiki/TroubleShooting
Try the first thing on there. And check your Apache error log.

Hi,

I dont' get what you mean exactly but my theme use normal SMF URLs, if that makes sence and what your asking.

Thanks
Mathew

Dannii

Quote from: dannyd on October 23, 2008, 12:03:05 AM
I got this when I tried installing it, any idea what might went wrong ?

   Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     Skipping file
16.    Execute Modification    ./Themes/default/languages/Modifications.french.php    Skipping file
17.    Extract File    ./Sources/PrettyUrls.php    
18.    Extract File    ./Sources/PrettyUrls-Filters.php    
19.    Extract File    ./Sources/Subs-PrettyUrls.php    
20.    Extract File    ./Themes/default/PrettyUrls.template.php    
21.    Extract Tree    ./Themes/default/pretty    
22.    Extract File    ./Themes/default/languages/PrettyUrls.english.php    
23.    Extract File    ./Themes/default/languages/PrettyUrls.french.php    
24.    Execute Code    SMF1-1/install.php    

There's nothing wrong there.

Quoteit's now working again properly
Good to hear!

QuoteI dont' get what you mean exactly but my theme use normal SMF URLs, if that makes sence and what your asking.
Your templates are producing URLs like this: index.php?action=help;page=profile
They need to be full URLs like: http://www.foreverlastingfriends.com/index.php?action=help;page=profile
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

ivo2296

#2593
Quote from: Dannii on October 22, 2008, 09:12:28 PM

Quote from: ivo2296 on October 22, 2008, 03:20:42 PM
How would the mod react when topic subjects are written in Cyrillic or other than Latin letters?
It used to convert them, doesn't anymore in 0.9. You could add back the rows to the array in Subs-PrettyUrls.php. In the distant future it will percent encode them.


Which rows i have to add back?

Hi i have made it for bulgarian but i don't know how and where to add it:

'ь'=>'io', 'я'=>'ia', 'а'=>'a', 'о'=>'o', 'ж'=>'j', 'г'=>'g', 'т'=>'t', 'н'=>'n', 'в'=>'v', 'м'=>'m', 'ч'=>'ch', 'у'=>'u', 'е'=>'e', 'и'=>'i', 'ш'=>'sh', 'щ'=>'sht', 'к'=>'k', 'с'=>'s', 'д'=>'d', 'з'=>'z', 'ц'=>'c', 'б'=>'b', 'л'=>'l', 'р'=>'r', 'п'=>'p', 'х'=>'h', 'ф'=>'f', 'ъ'=>'u', 'й'=>'i', 'ю'=>'iu', 'Ь'=>'IO', 'Я'=>'IA', 'А'=>'A', 'О'=>'O', 'Ж'=>'J', 'Г'=>'G', 'Т'=>'T', 'Н'=>'N', 'В'=>'V', 'М'=>'M', 'Ч'=>'CH', 'У'=>'U', 'Е'=>'E', 'И'=>'I', 'Ш'=>'SH', 'Щ'=>'SHT', 'К'=>'K', 'С'=>'S', 'Д'=>'D', 'З'=>'Z', 'Ц'=>'C', 'Б'=>'B', 'Л'=>'L', 'Р'=>'R', 'П'=>'P', 'Х'=>'H', 'Ф'=>'F', 'Ъ'=>'U', 'Й'=>'I', 'Ю'=>'IU',

It is cp1251 encoding.


On my forum i'm using var smf_charset = "windows-1251".

ivo2296

#2594
I just made a test on my test forum(smf 1.1.6) with Cyrillic and mod doesn't converts the characters into Latin ones:
hxxp://www.xxxxx.com/b163/!!!-t14823/

It seems that all non Latin characters are ignored.

genieuk

So can i use this mod then? as it seems to make them like that

dannyd

#2596
Quote from: Dannii on October 23, 2008, 11:32:41 AM
Quote from: dannyd on October 23, 2008, 12:03:05 AM
I got this when I tried installing it, any idea what might went wrong ?

   Execute Modification     ./Themes/default/languages/Modifications.english-utf8.php     Skipping file
16.    Execute Modification    ./Themes/default/languages/Modifications.french.php    Skipping file
17.    Extract File    ./Sources/PrettyUrls.php    
18.    Extract File    ./Sources/PrettyUrls-Filters.php    
19.    Extract File    ./Sources/Subs-PrettyUrls.php    
20.    Extract File    ./Themes/default/PrettyUrls.template.php    
21.    Extract Tree    ./Themes/default/pretty    
22.    Extract File    ./Themes/default/languages/PrettyUrls.english.php    
23.    Extract File    ./Themes/default/languages/PrettyUrls.french.php    
24.    Execute Code    SMF1-1/install.php    

There's nothing wrong there.

I went ahead iwth the install .. its installed according to my admin panel yet my urls are still the same. See the forum at www.asroma-fans-forum.com .. sample url:

http://asroma-fans-forum.com/index.php?topic=3.msg5#new

I uninstalled the package ... deleted it and then reinstalled 0.8.5 and it says i have 0.8.4 in installed packages... incorrect version .. whats could be wrong ?

brianjw

dannyd,

I create mods myself. Dannii just forgot to change the version number in the package files. What shows up as 084 is really 085.

The reason your URLs are staying the same could be:
  • You did not change anything in the admin for Pretty URLs which is located at: index.php?action=admin;area=pretty
  • Your host doesn't allow you to use somethings this mod needs to work.

Hoochie Coochie Man

Hi Dannii

Can you tell me the difference of between 0.8.5 and 0.9 ?

Thanks.
İnadına SMF 1.1.X

dannyd

Quote from: brianjw on October 23, 2008, 04:50:42 PM
dannyd,

I create mods myself. Dannii just forgot to change the version number in the package files. What shows up as 084 is really 085.

The reason your URLs are staying the same could be:
  • You did not change anything in the admin for Pretty URLs which is located at: index.php?action=admin;area=pretty
  • Your host doesn't allow you to use somethings this mod needs to work.
Thanks I didn't know you had to enable it. I enabled it but now I have 404 errors when I try accessing any page ? Did I miss a step ?

Advertisement: