News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Pretty URLs

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

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Grow your forum with 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

vicente127

Quote from: vbgamer45 on August 03, 2023, 04:49:30 PMWhat SMF version?

Oh, sorry for not mentioning that before. The latest one, 2.1.4

vbgamer45

Are you using the English language pack?
If not add this to the your themes modifications.language.php
// Pretty URLs mod
$txt['pretty_urls'] = 'Pretty URLs';
Community Suite for SMF - Grow your forum with 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

vicente127

Quote from: vbgamer45 on August 03, 2023, 11:50:56 PMAre you using the English language pack?
If not add this to the your themes modifications.language.php
// Pretty URLs mod
$txt['pretty_urls'] = 'Pretty URLs';

No, I'm not. I'm using a custom language pack from Spanish. I mean, I'm using as base the Spanish Language pack and I'm translating the strings manually from CP.

vbgamer45

Ok great add that to it and it should then work.
Community Suite for SMF - Grow your forum with 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

vicente127

Yeah, it worked, thank you so much! ❤️

babyjason

i got errors trying to install latest version 4 to smf forum smf 2.019


vbgamer45

Did you remove the old version?
Community Suite for SMF - Grow your forum with 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

peter_mein

Hello
When I click on settings or on maintenance I always get an error in the error log.
The error is: Undefined array key "pretty_chrome_menu_nginix".
Each click generates an error entry in the log

SMF 2.1.4
Pretty URL 4.0


vbgamer45

Are you using a language other than english?
If so you will have to copy that language string from modifications.english.php or prettyurls.english.php to your lanaugage file.
Community Suite for SMF - Grow your forum with 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

peter_mein

I use the german language package.
What do I need to copy where ?

vbgamer45

Add these language strings toyour language file for pretty urls
$txt['pretty_chrome_menu_nginx'] = 'Nginx Rules';
$txt['pretty_chrome_menu_nginx_description'] = 'Generate Nginx rules for Pretty Urls. Only used if you use Nginx webserver!';

$txt['pretty_nginix_note'] = 'If you use Nginx as a webserver here are the rules generated. Anytime you add a new mod or action you will need to update your Nginx rules.';

Community Suite for SMF - Grow your forum with 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

peter_mein

Which file do you mean ?
Modifications.german.php ?
Or what ?

vbgamer45

modifications works or prettyurls.german.php if it exists
Community Suite for SMF - Grow your forum with 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

peter_mein

Does not work.
I have changed the Modifications.german.php.

vbgamer45

You might have to clear cache in SMF check your themes modifications files.

Or just add to all prettyurls.*php lanaguage files
Community Suite for SMF - Grow your forum with 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

peter_mein

Does not work.
I have changed the Modifications.german.php and
modifications.english.php.

And now i have changed the prettyurls.english.php
but nothing do it.
I clear the cache in smf. Nothing.

vbgamer45

Do your themes/default/languages folder
And and the current theme you are using.
That will fix the issue.
Community Suite for SMF - Grow your forum with 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

peter_mein

Smf 2.1.4 has been freshly installed. Nothing else is installed only the German language. As soon as I install pretty url4, the error comes. If I install prettyurl 3.0b no error comes. Just try it out. Then comes the same error with you.

vbgamer45

Are you using the latest file on the mod site? I would redownloaded
Community Suite for SMF - Grow your forum with 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

Advertisement: