{"id":7032,"date":"2009-10-22T19:26:20","date_gmt":"2009-10-22T19:26:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/vokativ\/"},"modified":"2009-11-05T16:32:02","modified_gmt":"2009-11-05T16:32:02","slug":"vokativ","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/vokativ\/","author":317084,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"trunk","tested":"2.8.5","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Vokativ","header_author":"Nemanja Avramovi\u0107","header_description":"","assets_banners_color":"","last_updated":"2009-11-05 16:32:02","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.avramovic.info\/lang\/en-us\/donate","header_plugin_uri":"http:\/\/www.avramovic.info\/lang\/sr-rs\/wordpress-plugins\/vokativ","header_author_uri":"http:\/\/www.avramovic.info\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1082,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566838","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566838","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566838","resolution":"1","location":"plugin"}},"screenshots":{"1":"Greeting for logged in user","2":"(Malformed) greeting for returning users (who left at least one comment previously)","3":"Vokativ suggest dialog"}},"plugin_section":[],"plugin_tags":[361,1385,55621,12134,63946],"plugin_category":[42,48],"plugin_contributors":[81878],"plugin_business_model":[],"class_list":["post-7032","plugin","type-plugin","status-closed","hentry","plugin_tags-form","plugin_tags-language","plugin_tags-serbia","plugin_tags-serbian","plugin_tags-vokativ","plugin_category-contact-forms","plugin_category-language-tools","plugin_contributors-avram","plugin_committers-avram"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/vokativ.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/vokativ\/trunk\/screenshot-1.png?rev=1566838","caption":"Greeting for logged in user"},{"src":"https:\/\/ps.w.org\/vokativ\/trunk\/screenshot-2.png?rev=1566838","caption":"(Malformed) greeting for returning users (who left at least one comment previously)"},{"src":"https:\/\/ps.w.org\/vokativ\/trunk\/screenshot-3.png?rev=1566838","caption":"Vokativ suggest dialog"}],"raw_content":"<!--section=description-->\n<p>This plugin users currently logged user's display name if any, otherwise it'll use comment author name stored in cookie (if any), transforms it in form of Vokativ, and greets user in natural way in Serbian language, so if you have user named \"Filip\", instead of greeting him with \"Zdravo Filip!\" (\"Hello Filip!\"), this plugin would greet him with \"Zdravo Filipe!\"<\/p>\n\n<p>Only for ex-Yugoslavian bloggers ;)<\/p>\n\n<h3>Customization<\/h3>\n\n<p>Following <em>optional<\/em> parameters may be provided when calling <code>wp_vokativ()<\/code> function:<\/p>\n\n<ol>\n<li><code>$greeting<\/code> (str) - Greeting text, preferably in Serbian cyrillic (utf-8). %s will be replaced with Vokativ name. Default: \"\u0417\u0434\u0440\u0430\u0432\u043e %s!\"<\/li>\n<li><code>$force<\/code> (bool) - Force user name. If no name is found in logged in user display name or in browser's cookie, a input request will pop up asking user for his name. Default: false<\/li>\n<li><code>$force_title<\/code> (str) - If $force is true, this will be used for input request title. Preferably in Serbian cyrillic (utf-8). Default \"\u0414\u043e\u0431\u0440\u043e\u0434\u043e\u0448\u043b\u0438\"<\/li>\n<li><code>$cirilica<\/code> (bool) - True will force Serbian cyrillic, false will force Serbian latin script, and null value will let Vokativ decide which script to use. Default: null<\/li>\n<li><code>$css<\/code> (str) - Absolute URL of CSS file to apply to Vokativ suggest dialog. Default: \"predlog.css\"<\/li>\n<li><code>$rel<\/code> (str) - rel value of Vokativ suggest link. Default: \"shadowbox;width=350;height=300\"<\/li>\n<\/ol>\n\n<!--section=installation-->\n<p>Upload contents of zip archive to your <code>wp-content\/plugins\/<\/code> folder and activate plugin from WP admin area.<\/p>\n\n<p>Then, open up your template file (any of them, where you want your greeting to appear, I use <code>comments.php<\/code>) and insert following code:<\/p>\n\n<pre><code>&lt;?php\nif (function_exists('wp_vokativ')) :\n?&gt;\n&lt;p class=\"vokativ\"&gt;&lt;?php wp_vokativ(); ?&gt;&lt;\/p&gt;\n&lt;?php\nendif;\n?&gt;\n<\/code><\/pre>\n\n<p>This basically checks if wp_vokativ() function is defined (plugin is loaded) and if so, it calls the function.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How to update Vokativ dictionary?<\/dt>\n<dd><p>Currently you have to update Vokativ dictionary manually, but I hope in some of next releases I'll provide interface for this.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fixed bug which caused html validation break. This is minor update, more things to come (hopefully) soon!<\/li>\n<\/ul>","raw_excerpt":"This plugin greets your blog visitors\/users in natural form of Serbian language.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7032"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/avram"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7032"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7032"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7032"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7032"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7032"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}