Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2 3 4 5 ... 11   Go Down

Author Topic: SEF_URLs plugin for cpg1.5.x  (Read 214850 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
SEF_URLs plugin for cpg1.5.x
« on: March 26, 2007, 06:56:46 pm »

In cpg1.4.x, the SEF_URL plugin used to be part of the coppermine package, although there are known issues with it. That's why the dev team decided to not bundle the SEF_URL plugin with cpg1.5.x any longer.
Instead, it is available here for download. Please keep in mind that this plugin is still experimental and not recommended for production use.

What it does: this plugin makes search engine friendly URLs for index, thumbnails, and displayimage.php. It can only work on apache-driven webservers.
If you have issues using this plugin, uninstall it (using the plugin manager) and remove the .htaccess file from coppermine's root folder that the plugin has created.

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_sef-urls_v1.4.zip/download

Download latest SVN snapshot (use at own risk)
« Last Edit: February 08, 2010, 09:58:47 am by Timos-Welt »
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #1 on: January 05, 2009, 09:53:27 pm »

- fixed: didn't work for displayimage.php
- added: didn't t include the latest stable changes from the cpg 1.4.x version
- fixed: install / uninstall functions didn't work as intended (no use of Inspekt)

Changes in detail:

Changes needed in codebase.php:

Edit: Removed changes because they are in the current version
« Last Edit: February 02, 2010, 06:40:37 pm by Timos-Welt »
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #2 on: January 06, 2009, 10:22:28 am »

I've added another small change to the version in the message above; theme selection wasn't possible (now it is).
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: SEF_URLs plugin for cpg1.5.x
« Reply #3 on: January 07, 2009, 02:13:04 am »

@Joachim: Maybe the SEF_URLs plugin should be added to the SVN repository plugins branch so that Timo can commit the changes directly?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SEF_URLs plugin for cpg1.5.x
« Reply #4 on: January 07, 2009, 11:01:58 am »

I can add the plugin to the SVN, but this will of course not grant Timo write access there.
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: SEF_URLs plugin for cpg1.5.x
« Reply #5 on: May 10, 2009, 11:43:55 am »

I'm thinking of use this plugin when CPG v1.5 be ready for production and submit the bugs here. I'm a fan of SEO and CPG needs a boost on this topic to keep up to date in front of all new scripts and CMS out there.

Does the Timos' modifications has been added to the first post? Or do I just checkout from repository? (If the plugin was already submited.)
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SEF_URLs plugin for cpg1.5.x
« Reply #6 on: May 10, 2009, 11:49:29 am »

Please perform a checkout and try for yourself. I don't think that Timo's suggestions have made it into the SVN yet, but you should just try for yourself.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SEF_URLs plugin for cpg1.5.x
« Reply #7 on: August 24, 2009, 01:08:05 pm »

The sef_urls plugin hasn't existed in the SVN plugin repo, so I added it a few seconds ago. Please feel free to improve as suggested above.
Web SVN: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/sef_urls/
Subversion Repository: https://coppermine.svn.sourceforge.net/svnroot/coppermine/branches/cpg1.5.x/plugins/sef_urls
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #8 on: January 06, 2010, 10:25:32 am »

updated to v1.3 and attached new version to first post
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #9 on: February 02, 2010, 04:18:10 pm »

updated to v1.6 and attached version to first post

- fixed a lot of URLs
- added known issues text file
- added localisation support for german language
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #10 on: February 03, 2010, 10:31:05 am »

updated to v1.7

- removed slideshow URLs because not relevant for search engines, improving the plugin's perfomance
- removed sort string from german htaccess (wasn't used) improving performance
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #11 on: February 03, 2010, 06:19:00 pm »

I've updated the SVN version to 1.8 adding experimental support for french and spanish SEF URLs. It would be nice if a french or spanish speaking person could check if these work as they should (and if my translation is good enough).
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: SEF_URLs plugin for cpg1.5.x
« Reply #12 on: February 03, 2010, 07:27:36 pm »

I'll check out when I got home and I'll post my results this night!
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: SEF_URLs plugin for cpg1.5.x
« Reply #13 on: February 05, 2010, 04:24:47 am »

One day later, but here I'm! I'm having some troubles with my computer so I'm posting this tiny thing I found so far, if I keep testing and founding new bugs or bad spanish wording, I'll post them...

The little button referring the Plugin's threads on the plugin manager leads to "http://forum.coppermine-gallery.net//index.html/topic,42568.0.html". Please, take out one slash there becase it's giving me a 404.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: SEF_URLs plugin for cpg1.5.x
« Reply #14 on: February 05, 2010, 04:44:08 am »

OK, Rookie question: How am I supposed to see the plugin working in Spanish? Where does the plugin takes the language from?

If it's from the browser I got in spanish and I don't see the url in sp.
If it's from the cpg installation, despite we know that because someone's fault we don't have the file yet, I duplicated the english one and went to the config panel and chose it. Even that, I don't see spanish url.

Yes, I got the SVN version, 1.8 installed ;)
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: SEF_URLs plugin for cpg1.5.x
« Reply #15 on: February 05, 2010, 06:47:45 am »

"http://forum.coppermine-gallery.net//index.html/topic,42568.0.html". Please, take out one slash there becase it's giving me a 404.
AND... change the ".html" to ".php".

Or, just copy and paste the URL of this post! :P

Didn't tested when I posted... My bad!
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SEF_URLs plugin for cpg1.5.x
« Reply #16 on: February 05, 2010, 07:37:46 am »

Haven't looked into the plugin in detail, but as far as I can see the possible scope of i18n of this plugin could be transliteration - it should be able to cope with Spanish pecularities in writing, e.g. accented characters and ñ in case that it should allow filename -> title relations in the future.
As of now, the differences lie in the naming of particular pages:
  • search
  • contact
  • toprated
  • topn
  • lastcomby
  • lastcom
  • page
  • usermgr
  • profile
  • thumbnails
  • displayimage
  • lastupby
  • lastup
  • slideshow
  • top_display_media
  • usermgr

For you as a native speaker you just open ht-spanish.txt with a plain text editor and review each line like
Code: [Select]
RewriteRule busca.html(.*) search.php$1 [NC]if "busca" is actually the correct translation for "search" or if it should read buscar or busco. Pretty straightforward ;)
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #17 on: February 05, 2010, 07:59:37 am »

OK, Rookie question: How am I supposed to see the plugin working in Spanish? Where does the plugin takes the language from?

Please read the known issues txt file!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: SEF_URLs plugin for cpg1.5.x
« Reply #18 on: February 05, 2010, 10:09:23 am »

AND... change the ".html" to ".php".
'.html' is correct, as you can see in your address bar: http://forum.coppermine-gallery.net/index.php/topic,42568.0.html
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 808
    • Timos-Welt
Re: SEF_URLs plugin for cpg1.5.x
« Reply #19 on: February 05, 2010, 11:39:06 am »

To elaborate it: The german, french and spanish language words have to be tested very carefully. For example, the word 'comentaire' in ht-french.txt is misspelled consciously, because 'commentaire' would contain the word 'comment' which is forbidden because it is used at other places in URLs, too. The question is, if a french visitor would prefer 'comentaire' over 'lastcom' even if it is misspelled. The german version is used here for example without any problem.
Logged
Pages: [1] 2 3 4 5 ... 11   Go Up
 

Page created in 0.04 seconds with 20 queries.