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

distante

Yeap you were right, rare thing, the extras were installed, but the code wasn't in the pretty-urls filter. Thanks

vbgamer45

Yeah any time you update prettyurls you must also reinstall extras too
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

distante

Ohh, And what do you think about make the extras a separated file? And call it from the prettyurl-filters.php using simply the php file_exists() and include_once() functions?

In that way the filters can be updated/changed without touching the prettyurls core. :)

rightofatilla

Does anyone know where I can get info on how to write a good robots.txt file with prettyurls?  The stuff that has come up on google doesn't help me.

Makar

a problem
If the title theme only English symbols - then all is well
forum.site.by/test-new-razdel/test-letters-in-urls/

If the English and Cyrillic 
forum.site.by/letters-и-русские-буквы-in-urls
the Cyrillic fades from exile
forum.site.by/test-new-razdel/letters-in-urls/

if only Cyrillic
forum.site.by/ и русские буквы
the link takes the form
forum.site.by/t24

In general, the links are cut Cyrillic characters

how to fix?

Sorry for my english

remingtone

Макар, в Subs-PrettyUrls.php

// Do you know your ABCs?
$characterHash = array (
'' => array ('.', ',','_','!','@','#','$','%','^','٧'),
'-' => array (' ', '-'),
'' => array ('ъ', 'Ъ', 'ь', 'Ь',"'", '"','(', '{', '[',')', '}', ']','*'),
'a' => array ('a', 'A', 'а', 'А'),
'b' => array ('b', 'B', 'б', 'Б'),
'c' => array ('c', 'C', 'ц', 'Ц'),
'ch' => array ('ч', 'Ч'),
'd' => array ('d', 'D', 'д', 'Д'),
'e' => array ('e', 'E', 'е', 'Е', 'ё', 'Ё', 'є', 'Є', 'э', 'Э'),
'f' => array ('f', 'F', 'ф', 'Ф'),
'g' => array ('g', 'G', 'г', 'Г'),
'h' => array ('h', 'H', 'х', 'Х'),
'i' => array ('i', 'I', 'и', 'И', 'й', 'Й', 'ї', 'Ї', 'і', 'І'),
'j' => array ('j', 'J'),
'k' => array ('k', 'K', 'к', 'К'),
'l' => array ('l', 'L', 'л', 'Л'),
'm' => array ('m', 'M', 'м', 'М'),
'n' => array ('n', 'N', 'н', 'Н'),
'o' => array ('o', 'O', 'о', 'О'),
'p' => array ('p', 'P', 'п', 'П'),
'q' => array ('q', 'Q'),
'r' => array ('r', 'R', 'р', 'Р'),
's' => array ('s', 'S', 'с', 'С'),
'sh' => array ('ш', 'Ш', 'щ', 'Щ'),
't' => array ('t', 'T', 'т', 'Т'),
'u' => array ('u', 'U', 'у', 'У', 'ю', 'Ю'),
'v' => array ('v', 'V', 'в', 'В'),
'w' => array ('w', 'W'),
'x' => array ('x', 'X'),
'y' => array ('y', 'Y', 'у', 'У', 'ы', 'Ы'),
'ya' => array ('я', 'Я'),
'z' => array ('z', 'Z', 'з', 'З'),
'zh' => array ('ж', 'Ж'),
'' => array ('!'),
'~' => array ('~'),
'0' => array ('0'),
'1' => array ('1'),
'2' => array ('2'),
'3' => array ('3'),
'4' => array ('4'),
'5' => array ('5'),
'6' => array ('6'),
'7' => array ('7'),
'8' => array ('8'),
'9' => array ('9'),
);

Makar

remingtone,
я знаю о корявой таблице, она исправлена. вот только символы из нее не подставляются
I know about the crooked table, it is corrected. that's just not in symbols from the substituted

Sorry for my english

fedxrx

they al work, i installed:

prettyurls-tp-ext-none_0_3.tar.gz  Pretty URLs - TinyPortal - Extention: none 0.3   Featured  Jan 19 1.2 KB   
prettyurls-base_0_3.tar.gz  Pretty URLs - Base 0.3   Featured  Jan 19 5.8 KB 24   


exept.....

Installations actions for "Pretty URLs - Extention: none":

1. Execute Modification - Modification parse error
2. Execute Modification ./Sources/Stats.php Test successful

Domin

#6568
How it fix? Error with quotation, all functions are included. All time inscription "Ładowanie/Loading"

Screen below:

,,Nigdy się nie zniechęcam, ponieważ każda kolejna próba zakończona niepowodzeniem stanowi
krok naprzód."

Thomas Edison

JakZagadac.pl - Jak Zagadac Do dziewczyny? [nofollow]

distante

vbgamer, are you somewhere? :P

I have a doubt/ problem regarding this mod in conjuction with SA Facebook integration.

When Pretty URL is off, I can log with FB and stay in the same topic.

When Pretty URL is on, I'm kicked to the front page.

Since is a two mod problem, I also ask to SA about the facebook side, but I think it's better to ask you too!

Thanks

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

distante

Oh, well, I hope you can give me a hint about my problem when you have the time ;)

distante

* distante testing: Removing facebook and facebookintegration actions didn't work

shubha

QuoteApply Filter: Only show the error messages of this URL
http://www.yourdomain.com/index.php?pretty;action=.xml&type=rss
Apply Filter: Only show the errors with the same message
Database Error: Duplicate entry '132' for key 1
Apply Filter: Only show the errors from this file
File: /home/xxxxxx/public_html/Sources/PrettyUrls-Filters.php
This i have see in my error log.
This error
Line: 431


movierchives

If I switch back to the default urls will the existing pretty urls to my site still work?

vbgamer45

There is a reverter package that you can install on the prettyurls website.
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

movierchives

#6576
Quote from: vbgamer45 on March 12, 2012, 05:18:54 PM
There is a reverter package that you can install on the prettyurls website.
Will that allow existing links which were made with pretty urls to work?

EDIT: Also can't find one for SMF 2

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

Sono

I have a problem with Pretty URLs. This is when converting my forum German:

I downloaded and installed the SMF 2.0.2 . Then I downloaded the German utf-8 language pack, and set the default forum language to German, as I want a German forum this time. Then I installed Pretty URLs, and in spite of that it works and transforms the urls to static urls, the name of the navigation bar links remained English, they don't appear in their German name.

For example: in German 'Search' is 'Suche', but the link is still: http: // myforum . com / search /

Or: in German 'Login' is Einloggen, but the link to the login page is still the English: http: // myforum . com /login/

Can the name of the navbar links be adjusted somehow to include the German names instead of the English?

sildenafil

Hello

Im not sure if this is where I sshould post my problem, but I was looking at my error logs and found something that I think is relevant to the pretty url mod.

preg_replace(): Delimiter must not be alphanumeric or backslash
File: /home/content/j/o/u/jout/html/Sources/QueryString.php
Line: 520

That line consists of
           
$url['replacement'] = preg_replace(array('\"', '~\?;~', '~\?$|;$~'), array('%22', '?', ''), $url['replacement']);

Im not sure what I should do? Does anyone have any ideas? It takes up 556 pags of error log, lol.

Advertisement: