Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Heres the Danish one for all of you…in correct form.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Hi Spaniole,
    I will give your suggestion a try!!
    Very nice if I could get the characters showing. I will post later when I have tested it.

    Thanks guys for helping me out, such a good support community here on WordPress…

    Have a good day.

    Peter ??

    Thanks Zack for the quick reply. I made the changes now I just have to whait for the weather to turn something else besides Sunny!!! But I think your fix will do it as some of the other phrases worked fine and they were in the “correct order”.
    So thanks.

    Hi all,
    I have also translated the names labels but it is showing a strange problem. I have edited my functions.php to look like this (Danish):
    But the Partly Cloudy is beeing tanslated to Partly Overskyet ?
    I dont get it why it doesnt translate the entire sentence.
    See site here: https://www.buresoebanden.dk/
    Any ideas ??

    function replace_weather($content) {
    $content = str_replace(‘Chance of Flurries’, ‘Mulighed for Sne’, $content);
    $content = str_replace(‘Chance of Rain’, ‘Mulighed for Regn’, $content);
    $content = str_replace(‘Chance of Freezing Rain’, ‘Mulighed for Isslag’, $content);
    $content = str_replace(‘Chance of Sleet’, ‘Mulighed for Slud’, $content);
    $content = str_replace(‘Chance of Snow’, ‘Mulighed for Sne’, $content);
    $content = str_replace(‘Chance of Thunderstorms’, ‘Mulighed for Torden’, $content);
    $content = str_replace(‘Chance of a Thunderstorm’, ‘Mulighed for Torden’, $content);
    $content = str_replace(‘Clear’, ‘Klart vejer’, $content);
    $content = str_replace(‘Cloudy’, ‘Overskyet’, $content);
    $content = str_replace(‘Flurries’, ‘Sne’, $content);
    $content = str_replace(‘Fog’, ‘T?ge’, $content);
    $content = str_replace(‘Haze’, ‘T?ge’, $content);
    $content = str_replace(‘Mostly Cloudy’, ‘Mest Skyet’, $content);
    $content = str_replace(‘Mostly Sunny’, ‘Mest Sol’, $content);
    $content = str_replace(‘Partly Cloudy’, ‘Delvis Skyet’, $content);
    $content = str_replace(‘Partly Sunny’, ‘Delvis Sol’, $content);
    $content = str_replace(‘Freezing Rain’, ‘Isslag’, $content);
    $content = str_replace(‘Rain’, ‘Regn’, $content);
    $content = str_replace(‘Sleet’, ‘Slud’, $content);
    $content = str_replace(‘Sunny’, ‘Sol’, $content);
    $content = str_replace(‘Thunderstorms’, ‘Torden’, $content);
    $content = str_replace(‘Thunderstorm’, ‘Torden’, $content);
    $content = str_replace(‘Unknown’, ‘Ukendt’, $content);
    $content = str_replace(‘Overcast’, ‘Overskyet’, $content);
    $content = str_replace(‘Scattered Clouds’, ‘Lidt Skyet’, $content);
    $content = str_replace(‘Monday’, ‘Mandag’, $content);
    $content = str_replace(‘Tuesday’, ‘Tirsdag’, $content);
    $content = str_replace(‘Wednesday’, ‘Onsdag’, $content);
    $content = str_replace(‘Thursday’, ‘Torsdag’, $content);
    $content = str_replace(‘Friday’, ‘Fredag’, $content);
    $content = str_replace(‘Saturday’, ‘Lordag’, $content);
    $content = str_replace(‘Sunday’, ‘Sondag’, $content);
    return $content;
    }
    add_filter(‘wp_wunderground_forecast’, ‘replace_weather’);

    Thread Starter psoderlund

    (@psoderlund)

    I found out what it was… When in a specific gallery there is the PATH specified that points to your gallery created, I found out that this path or the last part (I use year_happening) was case sensitive.
    So just making sure that the path you have specified is EXACTLY the same as the gallery name (case sensitive) solved my isseu.
    So happy now.. don’t have to recrate like 100 galleries.

    Hope this helps anybody else with this problem.

    Peter

    Thread Starter psoderlund

    (@psoderlund)

    Sorry forgot to say in the header this is Plugin: NextGen Gallery

    Sorry.. I replied to already existing.. I made my own post, desregard this post.
    Cheers
    Peter

    Hi, Just moved to new hosting site running Linux and I have a strange problem. I moved my entire site from home hosting to this one and after setting everything up all seems to be ok but some of my galleries are missing ?? and some are not. Initial thoughts are that this is a rights issues but how come the other albums work fine (https://www.soderlund.dk/wp02/?page_id=3). At the moment I cannot even add new gallery, I get error that the server Safe-Mode is on and tells me to try to add the folder manually which I have also tried.
    I try to give all of the involved folder the 777 access but it doesnt seem to help ?? Any ideas were I’m going wrong and how come some of the folders seem to work ?

    Hoping for some tips on this ??
    Best regards
    Peter

    Hi Otto, just to tell you that your first suggestion has resolved my issue. Im actually hosting my own site and did try to change the php.ini according to your second suggestion but that was not helpfull.
    Anyways… just to say thanks and it now works fine.

    Peter

    To Otto42, first of all i really appriciate any help you guys can give us IIS users.
    I’m am a noob when it comes to this so when you say to create a test.php you mean just crate the file and paste your code in it and then enter that page if so you can just get access to that information (if I did it the right way) by entering this address: Address removed for security reasons.
    I’m running it on a Windows 2003 server with SP1 and IIS ver.6.0.
    At the moment I’m getting the path_info error at the bottom of my pages (using the old wp-settings.php file at the moment so not getting that error right now).
    If I use the new file (WP2.5) then my picture upload is not working (get HTTP Error) and if I use the old settings file then I get the error in the bottom of the page about the wrong path_info but then my picture upload is working. So if I mark out the lines according to Uncle Andrew the picture upload is not working again…
    So I’m kinda stuck now between choosing picture upload or error at bottom of the page (which isn’t too bad if that is all it does, but can I be sure?)

    Once again thankful for any more or new input in this case…
    Cheers
    Peter

    Hi Rebecca,
    I think everything is working again, I actually did get some issues solved by updating the theme also (Using the dKret 3 1.6 now) and also updated the plugin from nextgen to the latest. So right now all those issues are working but I still have some issues with pictures and posts that keeps giving me a HTTP error when trying to upload into posts… I have tried the whole copy replace with newly downloaded files for the actual WordPress 2.5 but still not working on that one… but thats a whole other ball game…
    Hope that helps.
    Peter

    I had the same problem and actually could solve it with the fix above, but after that my NextGEN Gallery didn’t work anymore so it would be nice to actually get some pointers in what should the line “PHP Notice: Undefined index: PATH_INFO in C:\Inetpub\wwwroot\wp02\wp-settings.php on line 72” contain. I’m also using IIS so obviously something is missing. Thought about “going back” to the old WordPress but the whole database update scares me to start that whole battle!!!

    Thankfull for any tips or tricks on this error.

    Cheers
    Peter

Viewing 11 replies - 1 through 11 (of 11 total)