Page 11 of 31 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 309

Thread: Pligg in French

  1. #101
    Casual Pligger spheero's Avatar
    Joined
    Dec 2006
    Posts
    30
    Thanks
    Received:0
    Given: 0
    Could someone tell how could i get a nice looking url (with URL2 method) on the story link

    in place of
    Le-march%C3%A9-automobile
    I could get
    Le-marche-automobile
    I tried to add
    PHP Code:
    function makeUrlFriendly($input) {
    .....
    .....
    //added for french characters...
       
    $output str_replace("é""e"$output);
       
    $output str_replace("à""e"$output);
       
    $output str_replace("ê""e"$output);
       
    $output str_replace("à""a"$output);
       
    $output str_replace("â""a"$output);
       
    $output str_replace("ù""u"$output); 
    And added some links, to see the results, but nothing happens !!!

  2. #102
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    There may be an easier way to do it. In your .htaccess file look for the category rewrite rule that looks like this (yours will have more categories)
    Code:
    RewriteRule ^(all|pligg)/([^/]+)/?$ story.php?title=$2 [L]
    and make sure yours has
    Code:
    ([^/]+)
    and not

    Code:
    (a-A0-9+)
    or whatever is currently there

  3. #103
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    Actually, nevermind. Although that code will help solve a lot of url method 2 errors it won't solve your problem

  4. #104
    Mayor of PliggVille/Coder AshDigg's Avatar
    Joined
    Dec 2005
    Posts
    1,515
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by spheero View Post
    And added some links, to see the results, but nothing happens !!!
    Just to be sure, you submitted some links AFTER you made this change?

    Can you post one of the links you're testing?

    thanks

  5. #105
    Casual Pligger spheero's Avatar
    Joined
    Dec 2006
    Posts
    30
    Thanks
    Received:0
    Given: 0
    These two links have been submited after the changes i made to lib/utils.php

    http://www.spheero.com/upcoming

    When you click for example on the seconde one, you get this

    So, How would i do, to remove the %C3%A9 from the link ?

  6. #106
    Casual Pligger spheero's Avatar
    Joined
    Dec 2006
    Posts
    30
    Thanks
    Received:0
    Given: 0
    I think we should add in the header section, of the lang.conf file, as they're missing

    PHP Code:
    //<SECTION>HEADER</SECTION><ADDED>0.57</ADDED>
    PLIGG_Visual_Header_AdminPanel_Links "Gestion de News"
    //<SECTION>HEADER</SECTION><ADDED>0.57</ADDED>
    PLIGG_Visual_Header_AdminPanel_Comments "Gestion de Commentaires"
    //<SECTION>HEADER</SECTION><ADDED>0.57</ADDED>
    PLIGG_Visual_Header_AdminPanel_Editor "Editeur de Templates" 

  7. #107
    New Pligger antou's Avatar
    Joined
    Apr 2007
    Posts
    2
    Thanks
    Received:0
    Given: 0
    Hello,
    new pligg user (french pligg user)

    I started to develop with the 9.1, then the 9.5, but i had some problem with the accent, sometime ? sometime Ã, sometime working but not in the database, vice versa... some new error message, etc...

    But i've managed to work it out.

    Replace in db.php, at the end
    Code:
    $db->query("SET NAMES 'utf-8'");
    with

    Code:
    $db->query("SET NAMES 'latin1'");

    hope that help !

  8. #108
    New Pligger jessy's Avatar
    Joined
    May 2007
    Posts
    18
    Thanks
    Received:0
    Given: 0
    Je suis vraiment content de voir qu'il y a des frenchi ici

    Je suis nouveau avec pligg et ça a l'air assez interessant, bonne continuation et peut etre qu'on aura un jour une communauté française pour pligg

  9. #109
    New Pligger cosmosing's Avatar
    Joined
    Feb 2007
    Posts
    5
    Thanks
    Received:0
    Given: 0

    bonjour

    c est sympas de rencontrer des Francais ici.
    J ai un robleme , car le vote ne se comptavblise plus . On voit que la personne a voter mais ca ne s aditionnent pas . ce serait sympas si quelqu un pourrait m'aider. je ne suis pas coder. envoyer moi un message .
    Merci a tous
    JC

  10. #110
    Banned edupin's Avatar
    Joined
    Apr 2007
    Posts
    25
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by Sacha QS View Post
    dreas >
    For that, you have to add all the accentuated characters you want in /libs/utils.php in the list at line 240.
    This functions works by pairs: the accentuated character followed by its non-accentuated equivalent.

    PHP Code:
      'é' => 'e'
    Does not work for me : "é" is always written "%E9" in my urls...
    Is there any other mod to apply elsewhere ?
    (I'm using Pligg 9.1 Paul01 template - which seems very buggy...)

Page 11 of 31 FirstFirst ... 91011121321 ... LastLast

Similar Threads

  1. Pligg Version 1.0.3 in French ?
    By PsyTerrorist in forum Questions & Comments
    Replies: 0
    Last Post: 01-09-2010, 01:31 PM
  2. [for French pligg users] Bug Admin et passage RC4 ?
    By nicog in forum Questions & Comments
    Replies: 0
    Last Post: 06-18-2009, 06:12 AM
  3. Replies: 0
    Last Post: 08-20-2008, 06:37 AM
  4. Tomateo - French Pligg Site and Template for Sale
    By pheal in forum Templates for Sale
    Replies: 3
    Last Post: 07-30-2008, 08:36 AM
  5. French pligg website - french caracters
    By WebAbitibi in forum Questions & Comments
    Replies: 5
    Last Post: 10-25-2007, 04:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg