Hi,
I tried to improve the plugin rewrite.
If you want to see : http://en.voyagevirtuel.info/photo-de-france/ (http://en.voyagevirtuel.info/photo-de-france/) or here http://en.voyagevirtuel.info/concoursphoto/ (http://en.voyagevirtuel.info/concoursphoto/).
To take again the name of the galleries, seek in index.php and modify:
<a href=\"index.php?cat={$subcat['cid']}\">" . $user_thumb . "</a>"
in
<a href=\"index.php?cat={$subcat['cid']}&nam={$subcat['name']}\">" . $user_thumb . "</a>"
Test with the joined files and say to me if it is ok.
Cordially
Hi,
I'm very interested in using your upgrade but I can't seem to get it to install properly. I kept getting Error 500 Internal Server Errors whenever I tried to load my site. Could you perhaps give a step by step guide as to how to install your upgrade?
Many thanks,
Edward Gladwin ( http://photos.edgladwin.com/ )
disable the existing plugin, then upload the contributed plugin into your plugin folder (into a separate folder, e.g. "custom_sef"), then go to plugin manager and enable it there.
Thanks for your help, I'll give it a try :)
it is giving me Error 500 's too...
does your webhost allow you using mod_rewrite? If they don't, you can't use any SEF plugin, neither the packaged one nor this modified version. I suggest asking your webhost for support.
yeah..I am allowed to use mod_rewrite...the normal plugin one works...but when I use the .htaccess file that comes with this one it causes the 500s...when I switch back the .htaccess file the errors don't happen anymore...here is my gallery:
http://www.staticfiends.com/photos/index.php
I tried it , does'nt work :(
i get this error
RewriteRule: cannot compile regular expression 'thumbnails-([a-z0-9]*)-([a-zA-z0-9_-\xc0\xc1\xc2\xc3\xc4\xc5\xe0\xe1\xe2\xe3\xe4\xe5\xd2\xd3\xd4\xd5\xd6\xd8\xf2\xf3\xf4\xf5\xf6\xf8\xc8\xc9\xca\xcb\xe8\xe9\xea\xeb\xc7\xe7\xcc\xcd\xce\xcf\xec\xed\xee\xef\xd9\xda\xdb\xdc\xf9\xfa\xfb\xfc\xff\xd1\xf1@\xb0-]*)\\.html'\n
any suggestions ?
Quote from: farhan on February 27, 2006, 05:01:51 AM
I tried it , does'nt work :(
i get this error
RewriteRule: cannot compile regular expression 'thumbnails-([a-z0-9]*)-([a-zA-z0-9_-\xc0\xc1\xc2\xc3\xc4\xc5\xe0\xe1\xe2\xe3\xe4\xe5\xd2\xd3\xd4\xd5\xd6\xd8\xf2\xf3\xf4\xf5\xf6\xf8\xc8\xc9\xca\xcb\xe8\xe9\xea\xeb\xc7\xe7\xcc\xcd\xce\xcf\xec\xed\xee\xef\xd9\xda\xdb\xdc\xf9\xfa\xfb\xfc\xff\xd1\xf1@\xb0-]*)\\.html'\n
any suggestions ?
I got the same error.. can someone help us?
im working on something similar.. only doing it a few minutes a day though.. not really a priority for me... as of the moment...
but if u wanna see my progress...
http://photo.johnd.org
i'm sorry but what does this mod do exactly? sorry if im the last to know hehe
;D
it's meant to improve the search-engine-friendly URLs plugin. Don't use it if you don't need it.
Can someone give a little bit more detail on what has to be done to install this?
At the moment I have gathered is that there are two text files and we are supposed to make a new directory under the plugins directory.
Thanks
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin
i tried the plugin to my website and it works..... i checked all the links and everything works fine. ;D thanks claude
I've modified (actually rewrited : )) the plugin and it is nearly complete and working. Only the links in two pages linked from user profile page are absent but i'll copmlete it after because i have a terrible headache :S.
After install check the source of .htaccess file in the root of gallery folder with the htaccess.txt file in the plugin's folder, because sometimes it can be corrupted while copying. If it is corrupted you have "500 Server Internal Error" so you can understand it is corrupted : )
If you have problems don't hesitate to contact me: myabase-public [@] yahoo [.] com
Addition
I've mostly completed the plugin, there is two or three links that are not rewrited. And i don't think to rewrite them because they are not necessary a lot. These form of the plugin is enough to use (and for Google indexing)
If you want to see the script working, visit: http [://] www [.] bestofanime [.] net (correct the address first : ))
Works very nice mehyaa, tnx alot.
One thing though, the filename isnt visible in the browser window. Don't know how much of a problem this
could cause when indexing in goooogle.
Tnx again.
Hi. Would it be possible to include Russian album names being correctly rewritten into a directory name as well?
(Russian => translit)
(plus, it would be great if picture names were rewritten too.. simular to picture-id-nameintranslit.html)
something like this very general rus2lat function
function ru2Lat($string)
{
$rus = array(' ', 'ъ', 'ь', 'ё', 'ж', 'ц', 'ч', 'ш', 'щ', 'ю', 'я');
$lat = array('', '', '', 'yo', 'zh', 'ts', 'ch', 'sh', 'sh', 'yu', 'ya');
$string = str_replace($rus, $lat, strtolower($string));
$string = strtr($string,
"абвгдезийклмнопрстуфхыэ",
"abvgdezijklmnoprstufhye");
return preg_replace("/[^a-z0-9._-]/", "", $string);
}
Макс?
Thank you in advance! :)
Please don't request additional features on existing plugins, especially since this contribution is very old already. Your request is valid though imo - please start a new thread on the feature requests board instead.
Ok. Thank you. I wasn't sure whether it was ok for me to start a new thread.
Since this forum had a discussion about album names already (in this topic), and my request dealt with practically the same feature (it just had to support Russian lang), this is the reason I didn't start a new thread but instead posted in here.
Guys, what's with the carma being lowered on every 'wrongful' move? Seriously?
Well, if giving negative points to newbies makes you feel better or superior....
Please don't clutter this thread with yet another karma discussion (http://forum.coppermine-gallery.net/index.php?topic=26826.0). You have 10 postings so far - there's no telling what you got that negative karma for, but after all I wouldn't care if I were you. Karma is a tool that is being used by supporters to track "misbehaviour", but a negative karma score of -2 is nothing to be worried about.
Quote from: mehyaa on August 06, 2006, 10:04:21 PM
I've modified (actually rewrited : )) the plugin and it is nearly complete and working. Only the links in two pages linked from user profile page are absent but i'll copmlete it after because i have a terrible headache :S.
After install check the source of .htaccess file in the root of gallery folder with the htaccess.txt file in the plugin's folder, because sometimes it can be corrupted while copying. If it is corrupted you have "500 Server Internal Error" so you can understand it is corrupted : )
If you have problems don't hesitate to contact me: myabase-public [@] yahoo [.] com
Addition
I've mostly completed the plugin, there is two or three links that are not rewrited. And i don't think to rewrite them because they are not necessary a lot. These form of the plugin is enough to use (and for Google indexing)
If you want to see the script working, visit: http [://] www [.] bestofanime [.] net (correct the address first : ))
Thanks for your great work.
Will this work with a bridged gallery?
Hi:) I have a little problem with this plagin, when I try to see slideshow from album/ lastup etc. For example: displayimage.php?album=lastup&cat=-x&pid=x&slideshow=5000 rewrites to slideshow-album-lastup-cat--x-pid-241-delay-5000.html. Maybe, someone can help me with this?:)