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

ABCDiamond

Quote from: Dannii on December 02, 2009, 04:34:00 PM
It should be compatible with 1.1.11 already.

For everyone's information, I'll be away for a week, so don't expect any support. Check the trouble shooting page, it is important!
I have just upgraded to 1.1.11 but it gave trouble with pretty URL's.
The URL changed to the board number, eg:
www.mysite.com/3/topic-name
instead of
www.mysite.com/3rd-category-name/topic-name

I have reverted back to 1.1.10 and everything goes back OK.  I have upgraded and reverted back twice, just to be sure.

I also noticed that the Pretty URL's option in the left menu section [Configuration] disappears under 1.1.11, but comes back under 1.1.10

Other than that it is a great mod, and works perfectly with 1.1.10

I get this result, when clicking on uninstall:
Quote1.   Execute Modification   ./index.php   Test failed
2.   Execute Modification   ./SSI.php   Test successful
3.   Execute Modification   ./Sources/Admin.php   Test successful
4.   Execute Modification   ./Sources/ManageErrors.php   Test successful
5.   Execute Modification   ./Sources/ModSettings.php   Test successful
6.   Execute Modification   ./Sources/News.php   Test successful
7.   Execute Modification   ./Sources/QueryString.php   Test successful
8.   Execute Modification   ./Sources/Security.php   Test successful
9.   Execute Modification   ./Sources/Subs.php   Test failed
10.   Execute Modification   ./Sources/Subs-Post.php   Test successful
11.   Execute Modification   ./Sources/Display.php   Test failed
12.   Execute Modification   ./Sources/ManageBoards.php   Test successful
13.   Execute Modification   ./Sources/MessageIndex.php   Test successful
14.   Execute Modification   ./Sources/QueryString.php   Test successful
15.   Execute Modification   ./Sources/Subs-Boards.php   Test failed
16.   Execute Modification   ./Themes/default/ManageBoards.template.php   Test successful
17.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful

I am wondering if un-installing Pretty URL's and then re-installing would work.

IdanC

#4601
great mod!

yet for some reason, topics that are not in english characters don't become "pretty", while usernames with non-english characters are just fine. my db charset is utf-8

examples -
topic: http://glz.fm/newmila/b1/t1157/
user: http://glz.fm/newmila/profile/שרון שפירא/

normal? can i fix it?

MaXiForum.cz

Note: This mod works on SMF 1.1.11 all right!

Joker™

first of all g8 mod  :)

i just had a problem that before installing it ....

if i was in a topic as a guest n then login the site will send me back to topic , but

after installing pretty url site is sending me to main page ....

can u suggest any solution for it
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

lushadriatic

Can anyone please tell me WHERE to enable this mod? I don't see any new screen on the admin backend. Perhaps I'm just missing something obvious, but I really, really need help.

Thanks in advance.

Tanshaydar

Quote from: lushadriatic on December 08, 2009, 07:48:42 AM
Can anyone please tell me WHERE to enable this mod? I don't see any new screen on the admin backend. Perhaps I'm just missing something obvious, but I really, really need help.

Thanks in advance.

index.php?action=admin;area=pretty;

Joker™

Quote from: sid2varun on December 08, 2009, 06:41:47 AM
first of all g8 mod  :)

i just had a problem that before installing it ....

if i was in a topic as a guest n then login the site will send me back to topic , but

after installing pretty url site is sending me to main page ....

can u suggest any solution for it


bump
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

kizko

 1.     Execute Modification     SMF2-0/Sources.xml     Modification parse error
   2.    Execute Modification    SMF2-0/Sources.xml    Modification parse error
   3.    Execute Modification    SMF2-0/BoardsAndTopics.xml    Modification parse error
   4.    Execute Modification    SMF2-0/BoardsAndTopics.xml    Modification parse error
   5.    Execute Modification    SMF2-0/Themes.xml    Modification parse error
   6.    Execute Modification    SMF2-0/Themes.xml    Modification parse error

Why ?

sbmmm

#4608
Quote from: ABCDiamond on December 05, 2009, 09:42:12 AM
Quote from: Dannii on December 02, 2009, 04:34:00 PM
It should be compatible with 1.1.11 already.

For everyone's information, I'll be away for a week, so don't expect any support. Check the trouble shooting page, it is important!

I have just upgraded to 1.1.11 but it gave trouble with pretty URL's.
The URL changed to the board number, eg:
www.mysite.com/3/topic-name
instead of
www.mysite.com/3rd-category-name/topic-name

I have reverted back to 1.1.10 and everything goes back OK.  I have upgraded and reverted back twice, just to be sure.

I also noticed that the Pretty URL's option in the left menu section [Configuration] disappears under 1.1.11, but comes back under 1.1.10



For me,  in 1.1.11, Pretty URLs in the admin is not there anymore.  How to solve?

**Edit - I solved by re-uploading the mod. 

kizko

Ive instell the mod manually, i`ve run a PHP to resolve 404 error.

But i have some errors in log.


http://forum.psp-fanatik.ro/index.php?pretty;action=admin&area=pretty;sa=settings
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 184

http://forum.psp-fanatik.ro/index.php?pretty;action=admin&area=pretty;sa=settings
Apply Filter: Only show the errors with the same message
2: call_user_func(pretty_yagam_filter) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 70

http://forum.psp-fanatik.ro/index.php?action=admin;area=pretty;sa=settings;save
Apply Filter: Only show the errors with the same message
2: call_user_func(pretty_yagam_filter) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs.php
Line: 2608

http://forum.psp-fanatik.ro/index.php?pretty;action=admin&amp;area=pretty;sa=settings
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 321

http://forum.psp-fanatik.ro/index.php?pretty;action=admin&amp;area=pretty;sa=settings
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 347

http://forum.psp-fanatik.ro/index.php?action=admin;area=pretty
Apply Filter: Only show the errors with the same message
2: call_user_func(pretty_yagam_filter) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 70

Dannii

Quote from: Smitten on December 03, 2009, 03:12:54 AM
Hello Dannii!

How can i change /stats for /estadisticas? i need all the url's in spanish.

Thank you very much.
If you manually change the link, and then add a line to .htaccess you can.

Quote from: infostrides on December 04, 2009, 07:16:27 PM
This mod works great! Thanks to the Author.

Meanwhile, the mod doesn't rewrite 'action' command like

http://www.infostridesforum.com/?action=search

suppose to be

http://www.infostridesforum.com/search

Please help!
I'm guessing your theme uses relative URLs.

ABCDiamond, yes try that. Or else try replacing all the files with clean 1.1.11 files and installing the mod.

Quote from: IdanC on December 05, 2009, 08:07:04 PM
great mod!

yet for some reason, topics that are not in english characters don't become "pretty", while usernames with non-english characters are just fine. my db charset is utf-8

examples -
topic: http://glz.fm/newmila/b1/t1157/
user: http://glz.fm/newmila/profile/שרון שפירא/

normal? can i fix it?
Yes that's normally. It won't be easy to fix, but you can always try by modifiying your generatePrettyURL() function

lushadriatic, the mod adds a new admin page. Try in English if you're using another language. or go to index.php?action=admin;area=pretty

kizko, that's a problem with your package manager. Ask for help in the SMF boards.

kizko, if you manually installed it, double check them all. And make sure you added the yagam filter to PrettyUrls-Filters.php
"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."

InfoStrides

Quote from: infostrides on December 04, 2009, 07:16:27 PM
This mod works great! Thanks to the Author.

Meanwhile, the mod doesn't rewrite 'action' command like

http://www.infostridesforum.com/?action=search

suppose to be

http://www.infostridesforum.com/search

Please help!
I'm guessing your theme uses relative URLs.

What is the resolution? What should I do? Please help!

Dannii

Go and change your theme's index.template.php file so it doesn't use relative URLs.
"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."

kizko

kizko, if you manually installed it, double check them all. And make sure you added the yagam filter to PrettyUrls-Filters.php


Yagam filter ? What is that ?

Dannii

It's the Yet Another Global Announcements Mod (YAGAM). Perhaps try reinstalling it.
"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."

kizko

Quote from: Dannii on December 12, 2009, 07:59:24 AM
It's the Yet Another Global Announcements Mod (YAGAM). Perhaps try reinstalling it.

Oh, and this supposed to resolve the problem ?

Dannii

"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."


Dannii

I'm sorry, but I don't have the time to help you with other mods. You can always just disable the filter...
"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."

Joker™

Quote from: sid2varun on December 08, 2009, 06:41:47 AM
first of all g8 mod  :)

i just had a problem that before installing it ....

if i was in a topic as a guest n then login the site will send me back to topic , but

after installing pretty url site is sending me to main page ....

can u suggest any solution for it

danii bro plz have a look at my problem also
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: