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

asmith

Thanks danni. I haven't test it yet.

I added the $boardurl to the globals and added that before that line.
Thanks for the suggestion and help.


Antes

i think this SS helps to you then me xD

mark7144

Quote from: Dannii on June 19, 2009, 11:58:01 AM
That's not really a good attitude to have...
What's wrong with my attitude? My current version works fine, I don't need anything fixed and therefore it's not worth my time to upgrade now when I'd rather wait for 1.1.

Only thing I need fixed is the '!' bug but you are not going to do that.

Dannii

Antes, I can't see that page with the devs account.

Quote from: mark7144 on June 19, 2009, 06:22:34 PM
What's wrong with my attitude? My current version works fine, I don't need anything fixed and therefore it's not worth my time to upgrade now when I'd rather wait for 1.1.

Only thing I need fixed is the '!' bug but you are not going to do that.
Because 0.9 is beta software and it will take so little time to upgrade anyway. If you're not running the latest software I won't be able to help if you get into trouble in the future... and you can always remove !'s yourself, it's not hard.
"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."

Özgür

Quote from: Dannii on June 19, 2009, 09:34:03 PM
Antes, I can't see that page with the devs account.

Quote from: mark7144 on June 19, 2009, 06:22:34 PM
What's wrong with my attitude? My current version works fine, I don't need anything fixed and therefore it's not worth my time to upgrade now when I'd rather wait for 1.1.

Only thing I need fixed is the '!' bug but you are not going to do that.
Because 0.9 is beta software and it will take so little time to upgrade anyway. If you're not running the latest software I won't be able to help if you get into trouble in the future... and you can always remove !'s yourself, it's not hard.
Well how can we redirect this topics urls to new one? Because i have a lot of topic like this. If this is possible i will remove (, ), ' and !
So Long

Dannii

Yeah, that's not easy. You could add redirection rules to the .htaccess for each topic individually, but there's no easy way as the mod would only store the new URL.

I'm not sure what the problem with ( ) ! is. They've always worked fine for me.
"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."

Özgür

Yeah )( always worked but i think brackets marks not pretty. (this is my opinion=))

! not worked look at = > http://www.rockayseri.net/rk/haberler/varg-vikernes-yakinda-serbest-!!!/

but should be linked http://www.rockayseri.net/rk/haberler/varg-vikernes-yakinda-serbest-!!!/
So Long

Dannii

#3847
That's this issue: http://code.google.com/p/prettyurls/issues/detail?id=7

Think I should fix it in 1.0? I could just make it autolink everything until the next space comes. That would autolink characters that currently aren't, like brackets, but if that's a problem you could use BBCode. What do you think?

Also, how are people finding the test page? Good idea? It will be a little slower for admins who have used the mod before, but I think its worth it because it will stop many people from installing the mod and breaking their forum if it won't work.
"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."

Özgür

I think yes. But this is not necessary in 1.0. Because this is not a big issue. I think this fix in the 1.1 or future 1.1.x. I actually use the bbcode but if i give a link from outside the forum problem still ongoing. Like if you want to use these link in twitter or other social network. "!" just removed in future development but what happens to the old link?
So Long

Dannii

Well in 1.1 I'll hopefully add an interface to change topic URLs. I don't know whether I'll make it keep the old ones or not...
"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."

venex

Yes... I have a pretty small database. Its just 100 MB and my forum stats:

84139 Replies in 14413 Topics by 8484 Users. And around 350 users logged in everyday... so its a pretty large amount of data for my 100MB database. I use 1and1.com and I do want to change it... but I'm afraid because I can erase info while passing from one data base to the other.

Thanks anyway and keep it up :D.

sombra

nice mod hope the final version is soon here cant wait  :D

Dannii

#3852
Quote from: [Daydreamer] on June 19, 2009, 10:24:09 PM
I think yes. But this is not necessary in 1.0. Because this is not a big issue. I think this fix in the 1.1 or future 1.1.x. I actually use the bbcode but if i give a link from outside the forum problem still ongoing. Like if you want to use these link in twitter or other social network. "!" just removed in future development but what happens to the old link?
Okay, brilliant new idea! How about allowing ! and other punctuation characters, but ensuring that the last character of a board or topic must be something else?

Also, do you think it would be helpful to translate the wiki documents too? Maybe not the Filters or Database changes pages, but the Overview and Trouble Shooting pages would be good to have translated? Would you be willing to do that? If so, would you prefer to translate it at launchpad (it doesn't seem too good for big texts) or on the google code wiki itself?
"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."

asmith

I hope I'm not way out of the subject or so much wrong.
Why don't you use  rawurlencode() on the urls?

*The url will work everywhere.
*Google can read it to its actual characters and show it url 'decoded' on its result page.
*The mod will work for EVERY language. (Atm it removes some non-english characters)
*You wont' have to be worried about what characters are being use. Cause whatever is used will work.


Dannii

I'm planning to, after 1.0. It will be a big change though. And in some situations it could be less pretty.
"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."

sneijder23

hello,

I have a problem with pretty url, is installed and functions well but I have the forum in the board of root directory and in you paginate external to the forum redirects me to the forum ej: 

www.misyte.com/ (root forum)
www.mysite.com/chat (root chat)

Upon entering to the chat redirects me to the forum with the opcion "redireccion board" of pretty url, someone knows the solution? 

, thanks,

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

sneijder23

ok thanks :)

now I have another problem, when I put a direction email error leaves me because the route is www.mysite.com/[email protected]

thanks...

Dannii

#3858
Is that with the [email] or just posting an email and the autolinker makes a mistake?

Edit, I can reproduce this.. but it's weird.
"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."

sneijder23

http://www.zonagente.com/index.php
but now itself not because gives me error 500 and I have not changed anything, that can be? 

Advertisement: