News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Pretty URLs

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

Previous topic - Next topic

Dannii

Quote from: ivo2296 on October 23, 2008, 12:17:16 PMHi i have made it for bulgarian but i don't know how and where to add it:


It is cp1251 encoding.


On my forum i'm using var smf_charset = "windows-1251".
Add them into the big array in Subs-PrettyUrls.php. You should only use lowercase letters though. I don't think it will work with capitals.
If you're having problems with encodings you should try 0.9, though it may not work. It uses some complicated PHP functions which aren't always installed.

Quote from: genieuk on October 23, 2008, 04:00:51 PMSo can i use this mod then? as it seems to make them like that
Sure, just fix your menu.

Quote from: dannyd on October 23, 2008, 04:38:05 PM
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 ?
Quote from: dannyd on October 23, 2008, 09:44:16 PMThanks 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 ?
Sure your server supports mod_rewrite and .htaccess?

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.
Argh, that's embarrasing! I'm making new packages now.

Quote from: *erhan on October 23, 2008, 06:04:39 PM
Hi Dannii

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

Thanks.
There are quite a lot... check the changelog for everything: http://prettyurls.googlecode.com/svn/trunk/CHANGES
"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 was enable to turn the pretty filter off in the database. My hosting company has been pretty accomodating so far with what I needed. What do I need for this mod to work  from my server ?

dannyd

nevermind you answered it in the last post. Thanks!

dannyd

i did a test and my mod rewrite works. Is this mod supposed to modify the .htaccess file ?

Dannii

Yes, it does, so check that PHP can write to it. Set it to 777 if you can.
"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

that was the problem. .htaccess was not set to 777 and I had no idea the mod added code to it.

Thanks dude. Works!!!!!!!! Great Mod!

www.asroma-fans-forum.com .. working proof!

ChrisFBBS

For those who are like me and do dumb things, like install this mod without testing and then not being able to uninstall afterwards... I found a way where you don't have to replace every modified file.
All you need to do is play with the URL's.
For example... t ninstall a mod that you shouldn't have installed to begin with simply..  enter

http://yourwebaddress.com/index.php?action=packages;sa=uninstall2;package=prettyurls-0-8-5.tar.gz

I took a shot when I screwed up and it worked.
www.freeblackberrystuff.com Blackberry neews plus... free blackberry themes free blackberry apps and free blackberry games

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

au8ust

Hello,

I've installed Pretty URLs 0.8.5b on SMF 2.0 Beta 4 without any error. However, it seems not working at all. I've already turned on the Enable URL rewriting but no luck. The URLs still be index.php/board,15.0.html.

.htaccess is already chmod 777

Dannii

The files musn't have been modified correctly. You might have to manually install it. Check if QueryString.php has any of the new code.
"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."

ChrisFBBS

#2610
Quote from: Dannii on October 23, 2008, 11:01:46 PM
You could also follow these instructions: http://code.google.com/p/prettyurls/wiki/TroubleShooting
Sure make things simple. ;)

Would that php file used to diagnose need a particular name?
www.freeblackberrystuff.com Blackberry neews plus... free blackberry themes free blackberry apps and free blackberry games

Dannii

No it can't diagnose anything, it just disables the mod.
"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."

ChrisFBBS

Quote from: Dannii on October 24, 2008, 12:31:04 AM
No it can't diagnose anything, it just disables the mod.
Does it need a filename or when i upload it can it be named anything.php?
www.freeblackberrystuff.com Blackberry neews plus... free blackberry themes free blackberry apps and free blackberry games

Hoochie Coochie Man

Quote from: Dannii on October 23, 2008, 09:56:55 PM
Quote from: *erhan on October 23, 2008, 06:04:39 PM
Hi Dannii

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

Thanks.
There are quite a lot... check the changelog for everything: http://prettyurls.googlecode.com/svn/trunk/CHANGES
Thank you very much dude.
İnadına SMF 1.1.X

Dannii

Quote from: ChrisFBBS on October 24, 2008, 01:06:06 AM
Does it need a filename or when i upload it can it be named anything.php?
anything.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."

ivo2296

Could someone give me a link for version 0.9 please?
Quote from: Dannii on October 23, 2008, 09:56:55 PM
Quote from: ivo2296 on October 23, 2008, 12:17:16 PMHi i have made it for bulgarian but i don't know how and where to add it:


It is cp1251 encoding.


On my forum i'm using var smf_charset = "windows-1251".
Add them into the big array in Subs-PrettyUrls.php. You should only use lowercase letters though. I don't think it will work with capitals.
If you're having problems with encodings you should try 0.9, though it may not work. It uses some complicated PHP functions which aren't always installed.

Pretty URLs 0.9? - i can't find this version.

Thanks

brianjw

Check between the past two pages ivo2296, and I guarantee you will find it. Either that or search the google site for pretty urls project downloads. ;)

ivo2296

Quote from: brianjw on October 24, 2008, 04:10:16 PM
Check between the past two pages ivo2296, and I guarantee you will find it. Either that or search the google site for pretty urls project downloads. ;)


Thanks a lot!  :)

Frozt

is possible changed the pretty url that show the stats of the forum?

in my hosting  this url:

www. mydomain .com/stats/

show the stats of the hosting page and I cant see the stats of the forum


And the option for change the url of board in the 0.9 version is very useful thanks :)

Dannii

Can you just go directly to the index.php or index.html page?
"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."

Advertisement: