Milan Dinić's Blog

The Miscellaneous Ramblings from Serbia

Follow this blog via: RSS| Twitter| Email
  • About
  • WordPress
    • Plugins
      • Gravatar Signup Encouragement
      • Cache Images
      • bbPress Digest
      • Rename Media Files
      • Descriptions as Captions in Galleries
      • Run External Crons
      • Nav Menu Images
    • Blog Posts
    • Custom Development
  • Contact
    • Donate

New Zealand, the Only Undefeated Team of World Cup

11 July 2010

Congratulations to New Zealand for three great games at the World Cup. I’m sorry that they didn’t get in a second round but I expect that they’ll get over there in Brasil.

Posted in Asides | Tagged football, New Zealand, World Cup | Leave a response

How to use load_plugin_textdomain on activation of plugin

11 November 2009

With my new plugin, Gravatar Signup Encouragement, I had a problem with translation of string that is used only on activation.

That string contains default message that is saved in database. No matter what I tried, it would always save original string, not translation.

After asking question on wp-hackers mailing list and exchanging several replies with Otto, I found solution for this. In your function that is used in register_activation_hook, you need to again use function load_plugin_textdomain, even if you loaded it already in init. It should be used before any string.

So if you encounter this problem, you know how to solve it.
Don’t forget to try my plugin mentioned here, Gravatar Signup Encouragement.

Posted in Blogging, Software, Tips & Tricks, Web design | Tagged plugin, WordPress | Leave a response

Introducing Gravatar Signup Encouragement

18 October 2009

Gravatar Signup Encouragement is my first publicly released plugin for WordPress. I got idea to write it after reading comments on post on Weblog Tools Collection titled “Why Is Gravatar Still Not Mainstream”. At that same day I made first version of plugin and posted link to it’s download page as comment on post waiting for responses but comment never appeared.

For last couple of weeks I was doing slow rewriting of plugin while adding new features and finally decided to release it publicly and to add it to WordPress plugin directory. You can now download it from here.

Posted in Blogging, Software, Web design | Tagged Gravatar, Gravatar Signup Encouragement, plugin, WordPress | 1 Response

Google News soon in Serbian, Bulgarian, Romanian and Slovakian

4 October 2009

In March, I discovered (via Google Translate) that Google is testing localized version for Serbia. Half a year later, localized version is fully translated and snippets are showing on Google’s main search results page, but is not officially released.

By changing country and language codes, I discovered that localized Google News are also ready for Bulgarian, Romanian and Slovakian markets. You can see if there is a testing for your country and language by changing country and language codes in URL. For example, in http://news.google.com/news/search?um=1&ned=sr_rs&hl=sr&q=obama sr is code for language while rs is code for country.

I hope that Google will soon officially release these products, since now they lack some features like homepage, backlinks in top navbar from other Google’s products, ability to add new sources etc.

Posted in Google, Internet Services | Tagged Google News | 1 Response

New AdSense Unit?

15 February 2009

Fourteen months ago, last post here was about new AdSense units that started that day. Later they became usual, but in that time they were new and interesting.

Now I again spotted some unit that I didn’t see earlier. It is something like slideshow of products of particular advertiser. It is not flash but normal JavaScript and it was on 250×250 unit, and it seems that it is on image ad, since after refreshing I always see images (there is that google_ad_slot not google_ad_type). Page where I saw it is here.

Full quality download.

Is this really new unit or it is new only for me? I searched on web and didn’t find anything about it.

BTW, I do plan to write something here, I already have some drafts, and also want to publish some WordPress plugins I made so I’ll use this website for it.

Posted in AdSense, Google | Tagged AdSense, Google | 3 Responses

« PreviousNext »

Recent Posts

  • Nav Menu Images 3.0: Hover and Active Images
  • Detect keydown, mousedown and Other TinyMCE Events in WordPress
  • Nav Menu Images 2.0: With the New WordPress 3.5 Media Views
  • How to Avoid Overwriting of WordPress Theme Translations
  • Nav Menu Images: Developers Guide

Categories

  • Asides
  • Blogging
  • Business
  • Fun
  • Internet Services
  • Marketing
    • Affiliate Marketing
      • AdSense
  • Miscellaneous
  • Personal
  • Politics
  • Serbia
  • Software
  • Technology
    • Search engines
      • Google
    • Web design
  • The Internet
  • Tips & Tricks
  • Uncategorized
  • World

Me Elsewhere

  • on Gravatar
  • on Serbian blog
  • on Twitter

Recent Tweets

  • RT @EspuelasVox: Man-made ecological intervention gone very wrong: world's largest camel herd is in Australia http://t.co/PkZHWnfAWz 2 hours ago
  • RT @Queen_UK: Denmark won because it is one of few countries that can afford to host next year. Angela Merkel sighing in almighty relief. #… 1 day ago
  • 3 out of last 5 #Eurovision were from Scandinavia, 4 out of 8 from Nordic. Coincidence? 1 day ago
  • Voting for Denmark is even more fake than voting for Sweden last year. If you want only rich country as a host you can say that. #Eurovision 1 day ago
  • I'm embarrassed that Serbia has only one presenter of voting each year. #Eurovision 1 day ago

Copyright © 2006-2013 Milan Dinić's Blog.

Copyright | Disclaimer | Contact