Plugin Directory

Changeset 338408


Ignore:
Timestamp:
01/29/2011 01:21:33 AM (15 years ago)
Author:
dreamwebdesign
Message:

update ian 2011

Location:
ro-social-bookmarks/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ro-social-bookmarks/trunk/readme.txt

    r209153 r338408  
    22
    33Contributors: Dream Webdesign
    4 Donate link: http://www.dream-webdesign.eu/web-design-resources/ro-social-bookmarks.html
    5 Tags: bookmarks, bookmarking, social, social network, social bookmarks, romanian social bookmarks, bookmark plugin, social network plugin, wordpress plugin.
     4Donate link: http://www.dream-webdesign.ro/creare-site-web/contact.html
     5Tags: social bookmarks, social bookmarking, romanian social bookmarks, romanian social bookmarking, bookmark plugin, social plugin.
    66Requires at least: 2.0.2
    7 Tested up to: 2.9.1
    8 Stable tag: 1.6
     7Tested up to: 3.0.4
     8Stable tag: 1.7
    99
    1010RO Social Bookmarks plugin enables your blog readers to share articles on social networks.
     
    1212== Description ==
    1313
    14 RO Social Bookmarks plugin for WordPress adds a list of XHTML compliant graphic links at the end of your posts and/or pages that allow your visitors to easily submit them on social bookmarking / network sites. Furthermore, the plugin adds a page in the WordPress admin section that lets you customize it.
     14If you install this plugin please rate it. If you find it very usefull please donate.
    1515
    16 RO Social Bookmarks support the following social networks:
    17 BlogRO, Digg RO, BlogPoint, FTW, Ghidoo, Zilei, Polimedia, VoxRo, ProBlogger, Proddit, Baga Mare, Recomanda, BlogPoint, Preferate, Del.icio.us, digg, FURL, blinklist, Socializer, reddit, Feed Me Links!, Technorati, Newsvine, Ma.gnolia, Google Bookmarks, Squidoo, BlinkBits, Stumble Upon, RawSugar, Netvouz, Rojo, Blogmarks, Co.mments, Scuttle, Tailrank, Bloglines, Netscape, Bookmark.it, Ask, linkagogo, del.irio.us, Socialdust, Live - MSN, Slashdot, Sphinn, Seotribu, FaceBook, HealthRanker, Barrapunto, Blogsphere news, Blogsvine, Mixx, Scoopeo, Myspace, Twitter, Plim, IndianPad, Blue Dot, Connotea, Diggitsport, Tipd, forexassessment, FriendFeed.
     16RO Social Bookmarks plugin for WordPress adds a list of icon links at the end of your posts and/or pages that allow your visitors to easily submit them on social bookmarking / network sites. Furthermore, the plugin adds a page in the WordPress admin section that lets you customize it.
     17
     18RO Social Bookmarks is a matured plugin. We will release new versions just to update the social bookmarking links.
    1819
    1920== Installation ==
     
    2526Access the configuration page from your WordPress Dashboard and change the text that is displayed on your blog. Select the desired social networks you want to display, then save the configuration and test it.
    2627
     28
    2729== Upgrade Notice ==
    2830
    2931Extract the archive file (.zip) and upload the folder ro-social-bookmarks in wp-content/plugins of your web space. Then activate the plugin in plugin menu of admin control panel.
    3032
    31 == Frequently Asked Questions ==
     33== Donate ==
    3234
    33 No questions so far.
    34 If you have a question, send it to [email protected]
     35Do you find this plugin useful? Give us a good rating, buy us a coffee.
    3536
    36 == Screenshots ==
     37Donate link: http://www.dream-webdesign.ro/creare-site-web/contact.html
    3738
    38 1. The icons added at the end of a post or page.
    39 2. The configuration page in Wordpress dashboard.
    4039
    4140== Other ==
    4241
    43 If you would like to submit an useful social, that is not included in this plugin, send me an 18x18 icon and a link for submition e.g. www.social.xz/submit?url={link}&title={title}.
     42If you would like to submit an useful social, that is not included in this plugin, send me an 18x18 icon and a link for submition e.g. social.com/submit?url={link}&title={title}.
    4443Send me the material I have mentioned, otherwise I will ignore your request of inclusion. (I will not register every social request I receive.)
    45 Email: office@dream-webdesign.eu
     44Email: office@dream-webdesign.ro
    4645
    4746This plugin is based on GNU GPL plugins Social Bookmarks 3.2 and Social Bookmarking Reloaded 3.09.
     
    4948== Changelog ==
    5049
     50= 1.7 =
     51* Updated the list of social bookmarking sites and removed the inactive ones.
     52* Improved the administrative panel appearance.
     53
    5154= 1.6 =
    5255* Changed some icons.
    53 * Added Digg.ro and BlogPoint.ro.
     56* Updated the list of social bookmarking sites.
    5457
    5558= 1.5 =
    56 * Removed some not working sites.
    57 * Changed the submit URL for some sites.
    58 * Added Bagamare.
     59* Updated the list of social bookmarking sites.
    5960
    6061= 1.4 =
    61 * Removed some not working sites.
     62* Updated the list of social bookmarking sites.
    6263
    6364= 1.3 =
    6465* Check compatibility with lastest version of WP.
     66* Updated the list of social bookmarking sites.
    6567
    6668
    6769= 1.2 =
    68 * Added BlogRO, Recomanda and Preferate.
     70* Updated the list of social bookmarking sites.
    6971
    7072
  • ro-social-bookmarks/trunk/ro_social_bookmarks.css

    r192707 r338408  
    11/* The stylesheet for the RO Social Bookmarks plugin */
    2 
    3 .social_bookmark
    4 {
     2.social_bookmark {
    53    padding:5px;
    64    display:block;
     
    108}
    119
    12 .social_img
    13 {
     10.social_img {
    1411    padding:1px;
    1512}
    1613
    17 /* RO Social Bookmarks is based on Social bookmarks and Social Bookmarking RELOADED */
     14#dwcredit {
     15height: 2px;
     16width: 2px;
     17float:left;
     18}
     19
     20#dwcredit a#dwlogo {
     21background: url(credit.png) no-repeat 0% 0%;
     22display: block;
     23height: 2px;
     24text-indent: -999%;
     25width: 2px;
     26}
  • ro-social-bookmarks/trunk/ro_social_bookmars.php

    r209153 r338408  
    22/*
    33Plugin Name: RO Social Bookmarks
    4 Version: 1.6
    5 Plugin URI: http://www.dream-webdesign.eu/web-design-resources/ro-social-bookmarks.html
     4Version: 1.7
     5Plugin URI: http://www.dream-webdesign.ro
    66Author: Dream Webdesign
    7 Author URI: http://www.dream-webdesign.eu/
    8 Description: RO Social Bookmarks - Adds the social bookmarks icons to blog articles. This plugin is based on Social Bookmarks and Social Bookmarking Reloaded plugins and contains basic social services plus extra romanian services.
    9 */
    10 /*  Copyright 2010  DREAM WEBDESIGN (Email: [email protected])
     7Author URI: http://www.dream-webdesign.ro
     8Description: RO Social Bookmarks - Adds the social bookmarks icons to blog articles. This plugin is based on Social Bookmarks and Social Bookmarking Reloaded plugins and contains basic social services plus extra Romanian services.
     9
     10    Copyright 2010 - 2011  DREAM WEBDESIGN (Email: [email protected])
    1111
    1212    This program is free software; you can redistribute it and/or modify
     
    3939
    4040        // Default Settings
    41         $this->default_settings = array('sbb_sites' => 'blogro|ftw|voxro|delicious|digg|technorati|stumbleupon|google|facebook|myspace|twitter',       
    42                             'sbb_label' => 'Bookmark to:',
    43                             'sbb_target' => 'new',
    44                             'sbb_pages_excluded' => 'none',
    45                             'sbb_lines' => 2,
    46                             'sbb_display' => 3,
    47                                 'target_add' => 'Add',
    48                                 'target_to' => 'to',);
     41        $this->default_settings = array('dw_sites' => 'blogro|reddit|delicious|digg|technorati|stumbleupon|google|facebook|myspace|twitter',       
     42                            'dw_label' => 'Bookmark to:',
     43                            'dw_target' => 'new',
     44                            'dw_pages_excluded' => 'none',
     45                            'dw_lines' => 2,
     46                            'dw_display' => 3,
     47                            'target_add' => 'Add',
     48                            'target_to' => 'to',);
    4949       
    5050        $xml_sites = $this->read_xml(dirname(__FILE__)."/sites.xml");
     
    6464        if($_POST)
    6565        {
    66             if($_POST['sbb_sites'])
    67             {
    68                 unset($_POST['sbb_sites']);
     66            if($_POST['dw_sites'])
     67            {
     68                unset($_POST['dw_sites']);
    6969                $this->update_sites($_POST);
    7070            }
    71             elseif($_POST['sbb_general'])
    72             {
    73                 unset($_POST['sbb_general']);
     71            elseif($_POST['dw_general'])
     72            {
     73                unset($_POST['dw_general']);
    7474                $this->update_other($_POST);
    7575            }
     
    127127
    128128        // Store in wpdb
    129         if(get_option('sbb_sites'))
    130         {
    131             update_option('sbb_sites', $option);
    132         }
    133         else
    134         {
    135             add_option('sbb_sites', $option);
     129        if(get_option('dw_sites'))
     130        {
     131            update_option('dw_sites', $option);
     132        }
     133        else
     134        {
     135            add_option('dw_sites', $option);
    136136        }
    137137    }
     
    141141        global $wpdb;
    142142   
    143         if(!array_key_exists('sbb_pages_excluded',$data))
    144         {
    145             $data['sbb_pages_excluded'] = 'none';
     143        if(!array_key_exists('dw_pages_excluded',$data))
     144        {
     145            $data['dw_pages_excluded'] = 'none';
    146146        }
    147147
     
    150150            foreach($data as $name => $value)
    151151            {
    152                 if($name == 'sbb_label')
     152                if($name == 'dw_label')
    153153                {
    154154                    $value = $wpdb->escape($value);
     
    156156
    157157                if(get_option($name) != $value)             
    158 //              if(get_option($name) and get_option($name) != $value)
    159158                {
    160 //                  print("update $name - $value <br />");
    161159                    update_option($name, $value);
    162160                }
    163 /*              elseif(!get_option($name) )
    164                 {
    165                     add_option($name, $value);
    166                 }
    167 */
    168161            }
    169162        }
     
    198191    function option_sites()
    199192    {
    200         $user_option = explode('|', $this->current_settings['sbb_sites']);
     193        $user_option = explode('|', $this->current_settings['dw_sites']);
    201194
    202195            // Enable/Disable Sites
    203196        print('<div class="wrap">');
    204         print('<h2>Social Bookmarks</h2>');
     197        print('<h3>Bookmarks</h3>');
    205198        print('<p>Select the links you want to display on your site:</p>');
    206199        print('<form id="sites" style="padding-left:25px;" method="post">');
     
    246239        // Hidden var to assist identfying the form POST
    247240        print('<p>&nbsp;</p>');
    248         print('<input type="hidden" name="sbb_sites" value="sbb_sites" />');
     241        print('<input type="hidden" name="dw_sites" value="dw_sites" />');
    249242        print('<p><input type="submit" value="Save  &raquo;"></p>');
    250243        print('</form>');
     
    256249        // Other Options
    257250        print('<div class="wrap">');
    258         print('<h2>Options</h2>');
     251        print('<h3>Options</h3>');
    259252
    260253        print('<form style="padding-left:25px;" method="post">');
     
    263256        $html = "<p>";
    264257        $html .= "Open links in ";
    265         $html .= "<select name=\"sbb_target\" >\n";
    266         if($this->current_settings['sbb_target'] == 'current')
     258        $html .= "<select name=\"dw_target\" >\n";
     259        if($this->current_settings['dw_target'] == 'current')
    267260        {
    268261            $html .= "<option value=\"current\" selected>current</option>\n";
     
    279272       
    280273        // Label
    281         $html .= '<p>Display Title (you can put bookmark to, if you use english): <input type="text" name="sbb_label" value="'.$this->current_settings['sbb_label'].'" /></p>';
    282             $html .= '<p>Add string (you can put Add, if you use english): <input type="text" name="target_add" value="'.$this->current_settings['target_add'].'" /></p>';
    283         $html .= '<p>To word (you can put to, if you use english): <input type="text" name="target_to" value="'.$this->current_settings['target_to'].'" /></p>';
     274        $html .= '<p>Display Title: <input type="text" name="dw_label" value="'.$this->current_settings['dw_label'].'" /></p>';
     275            $html .= '<p>String "Add" in link title: <input type="text" name="target_add" value="'.$this->current_settings['target_add'].'" /></p>';
     276        $html .= '<p>String "to" in link title: <input type="text" name="target_to" value="'.$this->current_settings['target_to'].'" /></p>';
    284277
    285278        // Lines
    286279        $html .= "<p>";
    287280        $html .= "Display links in ";
    288         $html .= "<select name=\"sbb_lines\" >\n";
    289         if($this->current_settings['sbb_lines'] == 1)
     281        $html .= "<select name=\"dw_lines\" >\n";
     282        if($this->current_settings['dw_lines'] == 1)
    290283        {
    291284            $html .= "<option value=\"1\" selected>1</option>\n";
     
    306299        $html .= "<p>";
    307300        $html .= "Display the plugin ";
    308         $html .= "<select name=\"sbb_display\" >\n";
    309         if($this->current_settings['sbb_display'] == 1)
     301        $html .= "<select name=\"dw_display\" >\n";
     302        if($this->current_settings['dw_display'] == 1)
    310303        {
    311304            $html .= "<option value=\"1\" selected>in the blog listing (index.php)</option>\n";
     
    313306            $html .= "<option value=\"3\">in both single post &amp; blog listing</option>\n";
    314307        }
    315         elseif($this->current_settings['sbb_display'] == 2)
     308        elseif($this->current_settings['dw_display'] == 2)
    316309        {
    317310            $html .= "<option value=\"1\">in the blog listing (index.php)</option>\n";
     
    319312            $html .= "<option value=\"3\">in both single post &amp; blog listing</option>\n";
    320313        }
    321         elseif($this->current_settings['sbb_display'] == 3)
     314        elseif($this->current_settings['dw_display'] == 3)
    322315        {
    323316            $html .= "<option value=\"1\">in the blog listing (index.php)</option>\n";
     
    331324        // Exclude these pages
    332325        $html.= '<p>Do not display the links on the selected pages below:</p>';
    333         $html.='<select id="sbb_pages_excluded" name="sbb_pages_excluded[]" size="5" multiple="true">';
     326        $html.='<select id="dw_pages_excluded" name="dw_pages_excluded[]" size="5" multiple="true" style="height: 5em;">';
    334327       
    335328        $site_pages = $this->get_pages();
    336         $exclude_selected = $this->current_settings['sbb_pages_excluded'];
     329        $exclude_selected = $this->current_settings['dw_pages_excluded'];
    337330
    338331        if($site_pages)
     
    352345        }
    353346        $html .= '</select>';
    354         $html .= '<ul>';
    355         $html .= '<li>Hold Ctrl to select more than one page.</li>';
    356         $html .= '<li>Hold Shift to select a region of pages.</li>';
    357         $html .= '<li>If you have selected more than one page<br /> then hold the Ctrl key to de-select individual pages.</li>';
    358         $html .= '<li>In OS X, use the Apple key instead of Ctrl<br /> to perform the described above operations.</li>';
    359         $html .= '</ul>';
    360347
    361348        // Save General options
    362349        // Hidden var to assist identfying the form POST
    363         $html .= '<input type="hidden" name="sbb_general" value="sites" />';
     350        $html .= '<input type="hidden" name="dw_general" value="sites" />';
    364351        $html .= '<p><input type="submit" value="Save  &raquo;"></p>';
    365352        $html .= '</form>';
     
    388375        $target_img = "<img src=\"".$this->plugin_dir.$settings['img']."\" title=\"$target_desc\" alt=\"$target_desc\" />";
    389376
    390         if($this->current_settings['sbb_target'] != 'new')
     377        if($this->current_settings['dw_target'] != 'new')
    391378        {
    392379            $target_url = "<a class=\"social_img\" href=\"$target_href\" title=\"$target_desc\" border=\"0\" >$target_img</a>";
     
    413400        global $id;
    414401
    415         $user_sites = explode('|', $this->current_settings['sbb_sites']);
    416        
    417         if($this->current_settings['sbb_lines'] > 1)
    418         {
    419             $sites_per_line = ceil(sizeof($user_sites) / $this->current_settings['sbb_lines']);
     402        $user_sites = explode('|', $this->current_settings['dw_sites']);
     403       
     404        if($this->current_settings['dw_lines'] > 1)
     405        {
     406            $sites_per_line = ceil(sizeof($user_sites) / $this->current_settings['dw_lines']);
    420407        }
    421408        else
     
    426413        $html = "<!-- RO Social Bookmarks BEGIN -->";
    427414        $html .= "<div class=\"social_bookmark\">";
    428         $html .= "<em>{$this->current_settings['sbb_label']}</em><br />";
     415        $html .= "<em>{$this->current_settings['dw_label']}</em><br />";
    429416
    430417        $i  = 1;
     
    442429        }
    443430
    444         $html .= "</div>\n";
     431        $html .= "</div><div id=\"dwcredit\"><a id=\"dwlogo\" href=\"http://www.dream-webdesign.ro\" title=\"Web design\">web design</a></div>\n";
    445432        $html .= "<!-- RO Social Bookmarks END -->";
    446433       
     
    453440        $html = '';
    454441       
    455         if(is_array($this->current_settings['sbb_pages_excluded']))
    456         {
    457             if(!in_array($id, $this->current_settings['sbb_pages_excluded']))
     442        if(is_array($this->current_settings['dw_pages_excluded']))
     443        {
     444            if(!in_array($id, $this->current_settings['dw_pages_excluded']))
    458445            {       
    459446                $html.= $this->render_plugin();
     
    465452        }
    466453       
    467         if(substr($content, 0, 12) == '<p>DW')
     454        if(substr($content, 0, 12) == '<p>')
    468455        {
    469456            return($content);
     
    471458        else
    472459        {
    473             switch($this->current_settings['sbb_display'])
     460            switch($this->current_settings['dw_display'])
    474461            {
    475462                case 1:
     
    508495    {
    509496        print('<div class="wrap">');
    510         print('<h2>Debug</h2>');
     497        print('<h3>Debug</h3>');
    511498
    512499        print('<p>Current Settings</p>');
  • ro-social-bookmarks/trunk/sites.xml

    r209153 r338408  
    22<!--
    33    RO Social Bookmarks
    4     Version: 1.6 / Last update: 22 February 2010
    5     http://www.dream-webdesign.eu/web-design-resources/ro-social-bookmarks.html
    6      
    7     This plugin is based on Social Bookmarking Reloaded and Social Bookmarks plugins. 
     4    Version: 1.7 / Last update: 29 January 2011
     5    http://www.dream-webdesign.ro 
    86-->
    97
     
    2220    <key>diggro</key>
    2321    </site>
    24 
    25     <site>
    26         <name>BlogPoint</name>
    27     <url>http://blogpoint.ro/add_url.php?url={link}</url>
    28     <img>blogpoint.png</img>
    29     <key>blogpoint</key>
    30     </site>
    3122   
    3223    <site>
     
    3829
    3930    <site>
    40         <name>FTW</name>
    41     <url>http://www.ftw.ro/node/add/drigg/?url={link}</url>
    42     <img>ftw.png</img>
    43     <key>ftw</key>
     31        <name>Cica</name>
     32    <url>http://www.cica.ro/submit.php?url={link}</url>
     33    <img>cica.png</img>
     34    <key>cica</key>
    4435    </site>
    4536
     
    7061    <img>voxro.png</img>
    7162    <key>voxro</key>
    72     </site>
    73    
    74     <site>
    75         <name>ProBlogger</name>
    76     <url>http://problogger.ro/node/add/drigg/?url={link}</url>
    77     <img>problog.png</img>
    78     <key>problogger</key>
    79     </site>
     63    </site>
    8064
    8165    <site>
     
    8468    <img>proddit.png</img>
    8569    <key>proddit</key>
    86     </site>
    87 
    88     <site>
    89         <name>Recomanda</name>
    90     <url>http://www.recomanda.ro/recomanda_club/adauga</url>
    91     <img>recomanda.png</img>
    92     <key>recomanda</key>
    9370    </site>
    9471
Note: See TracChangeset for help on using the changeset viewer.