Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter Converge

    (@converge)

    Well, actually I wrote most of the code from scratch (though I did peek more than a few times on the example-code on the Widget API-page) and the widget names were quite unique (named after the content they were processing, like “latest-bread”, “baktankar” etc. It’s a site for a bakery ?? ). And the header-info is very much my own.

    But if I have to guess I’d say there’s some sort of idiot mistake on my behalf that triggers these error. I’ll prowl through the code once more and see what I can find, but the apparent problem is solved for the time being at least.

    Thanks again!

    Thread Starter Converge

    (@converge)

    Have you tried setting your plugin version number to something very high such as 9999?

    Setting them to version 3.0 does remove the update-prompt by the system, and will certainly work for me for now. I guess it’ll do for now, and then I’ll just dig in some more and see if I can find some sort of solution to the disease, rather than treat the symptoms. Thanks for the tip!

    Thread Starter Converge

    (@converge)

    Really, noone?

    Thread Starter Converge

    (@converge)

    I told you the question was dumb. Behold:
    https://eightface.com/wordpress/flickrrss/

    Lesson learned: Sometimes things are easier than they fist seem…

    Thread Starter Converge

    (@converge)

    zeniph: It works like a charm! The jQuery-code works perfectly, but I had to change the
    $("img.alignnone").after("<span class="bigpicShadow"></span>");
    to
    $("img.alignnone").after("<span class='bigpicShadow'></span>");
    in order to make the script read the whlole line. THANK YOU VERY MUCH!

    Thread Starter Converge

    (@converge)

    zeniph: Thanks a bunch, looks really interesting! I’ll give it a try and report back here on how it went.

    Thread Starter Converge

    (@converge)

    Hey there!

    I gave zeniph and mores suggestion a try. the css looks like this:

    img.alignnone	{
    		background-color: white;
    		padding: 4px 4px 19px 4px;
    		border: 1px solid #CBCBCB;
    		border-bottom: none;
    		background: url(images/picshadow3.png) no-repeat center bottom;
    		display: block;
    		}

    (never mind the name, just something I use for testing to see if this thing can get solved. Anyways, so what we have here is this and beneath it we’re gonna add this. Sadly, the result looks like this. As you can see, the background overwrites the white bgcolor AND the side-border continues down on each side of the bottom-pic.

    So, what to do? At first I thought about making everything a bg-image, but I suspect doing that would require me to use a fixed width AND height for all my posts, which I hope to avoid. Also, for the record: I have been able to make this work with a separate span-element beneath every image. Code looks like this:

    First, the html inserted directly in the post:

    <img class="alignnone size-full wp-image-11" title="mbp17" src="https://localhost/gs/wp-content/uploads/2009/01/mbp17.png" alt="mbp17" width="550" height="311" />
    <span class="bigpicShadow"></span>

    And then the css for bigpicShadow:

    .bigpicShadow	{
    		display: block;
    		height: 14px;
    		margin-bottom: -8px;		/* to move the post-text up closer */
    		background: transparent url(images/picshadow2.png) no-repeat center bottom;
    		}

    This works, but I have to manually add the span-element after each picture which of course is doable, but something I’d love to avoid doing.

    Anyone have any ideas? Thank you so much for your tips, really appreciate your effort trying to help me.

    Thread Starter Converge

    (@converge)

    Is there a way of implementing this in WP, or do I have to manually alter the code in each post? It would be lovely if it could be built in…

    When I post a picture in each post, this is what I get:
    <img class="alignnone size-full wp-image-9" title="jul" src="https://adress/jul.png" alt="jul" width="550" height="225" />

    Now, the class is dynamic, since it’s generated by WP itself, and each pic has it’s own number (wp-image-9 in this case). Is there a way of assigning a class only to pics with a certain width? So that 550px wide pics get the added dropshadow, and smaller pics inte same post don’t??

    As is is now; the white padding and 1px border is made by:

    p img {
    	background-color: white;
    	padding: 4px;
    	border: 1px solid #CBCBCB;
    	}

    in the main css-file. What I’d like to add beneath every 550px vide pic in the post is something like this:

    .picShadow	{
    		background: url(images/picshadow.png) no-repeat center bottom;
    		width: 560px;
    		}

    Not sure if that is the way to go, since css at this level isn’t my hometurf exactly.

    So, I want to add this to this, so that it will look something like this (please not that this is the first thing I decided to alter in the post/sidebar-section, that’s why everything looks kinda dull at the moment.). The reason I want the shadow to snap onto the bottom of the pic is that I will use pictures with different height at times, but the width will always be 550px (or 560 with the padding+border included).

    This worked for me:

    Simply changing the encode_utf8 to ‘false’ solved all my problems. I can’t believe I hadn’t tested this before; I guess I figured the utf8 coding was neccessary BECAUSE of the swedish characters. Now it works like a charm!

    I get the same error when typing out swedish characters like ?, ? and ?. I also have encode_utf8 set to true in the twitter_messages(); function.

    Thread Starter Converge

    (@converge)

    Hey thanks Dgold, but actually, I found the Scrobbler configpage in the plugins-menu just right after I wrote my last post. It’s the first plugin i’ve used, so I didn’t know they all have their own configpage inside the WP config interface. Now I know better. Thanks anyways!

    Thread Starter Converge

    (@converge)

    I found it in the plugin index here at WP, but I downloaded the plugin from https://leflo.de/projects/scrobbler . I followed the instructions there, but still no luck.

    “Activate the plugin in your WordPress plugin control panel and edit the options to your needs

    This is what I interested in, I haven’t found a way to edit the options with any successful outcome.

    Thread Starter Converge

    (@converge)

    Noone really?

    Thread Starter Converge

    (@converge)

    hehe thanks a bunch, I found it two seconds after your reply.

    ONE final question, and then I’ll leave this thread alone, I swear:

    I’d like to change the “st/nd/rd/th” suffix to something that fits better with the swedish dates. I couldn’t find this one in locale.php, so apparently it’s in some other php include?

    Thread Starter Converge

    (@converge)

    Ok, so now I have altered the weekdays and months in locale.php. I’ve also changed the date format in the Options/General-section, and from there, it looks great (i.e., the example output under the input field shows the date format exactly as I want it) BUT when I update my browser-window, nothing has changed. I’ve tried to make a new post, but the date-format still looks the same.

    It should read: S?ndagen den 30 April, 2006 (l j F, Y)
    But it still reads: April 30th, 2006

    Any ideas?

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