Plugin Directory

Changeset 139920


Ignore:
Timestamp:
07/28/2009 12:01:52 AM (16 years ago)
Author:
RogerTheriault
Message:

new release for WP 2.8.2

  • fix issue where DownloadManager 1.5 items don't appear
  • fix issue for PHP 5.0.x not recognizing NextGen
  • moved JS to footer
  • new translations/localizations
Location:
great-real-estate/trunk
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • great-real-estate/trunk/admin/about.php

    r80054 r139920  
    88<h2>About Great Real Estate</h2>
    99<h3 class="tablenav">Great Real Estate Development</h3>
    10 <p>This WordPress plugin is developed, supported, and updated by <a href="http://www.RogerTheriault.com/agents/">Roger Theriault</a>.</p>
    11 <p>Translations: Italian (v1.0) by Rodney Tommasi (Split), French (v1.2) by Patrice "plwm" ROMEVO, http://www.creaweb64.com</p>
     10<p>This WordPress plugin is developed, supported, and updated by <a href="http://RogerTheriault.com/agents/">Roger Theriault</a>.</p>
     11<p>Translations:</p>
     12<ul>
     13<li>Italian (v1.0) by Rodney Tommasi (Split)</li>
     14<li>French (v1.2) by Patrice "plwm" ROMEVO, http://www.creaweb64.com</li>
     15<li>Russian (v1.3) by Yaroslaw Dorogyy</li>
     16<li>German (v1.3) by Helge Siems</li>
     17<li>Spanish - Europe(ES) or Latin America(AR) (v1.3) by  Hernan Quiroga (Argentina) and Fernando Jose Orihuela Simon (Spain)</li>
     18</ul>
     19
    1220<p><!-- Contributions from Joan Soler (v1.2): Add New Listing link, Quick GMap Geocoding - coming in the next release, need some tweaks/testing --></p>
    1321<h3 class="tablenav">Documentation</h3>
  • great-real-estate/trunk/admin/admin.css

    r51436 r139920  
    5757#gre-dashboard-main {
    5858    float: left;
    59     width: 700px;
     59    min-width: 500px;
    6060    margin: 0px;
    6161    padding: 0px;
  • great-real-estate/trunk/great-real-estate.php

    r80564 r139920  
    44Plugin URI: http://www.rogertheriault.com/agents/plugins/great-real-estate-plugin/
    55Description: The Real Estate plugin for Wordpress
    6 Version: 1.2.1
     6Version: 1.3.0
    77Author: Roger Theriault
    88Author URI: http://RogerTheriault.com/agents/
     
    3232 * changelog
    3333 *
    34  * version 1.2.1
    35  * [2008-12-16] Added compatibility with NextGen Gallery version 1.0+
    36  * version 1.2
    37  * [2008-12-14] After WP 2.6, get default WP supplied jQuery ui and tabs
    38  * [2008-08-02] included widget file; widget now installed automatically and no longer has a separate (confusing) entry in the plugins list
    39  * Version 1.1
    40  * [2008-07-27] updated for WP2.6
    41  *      added localization (correctly)
    42  * Version 1.01
    43  * [2008-06-27] added shortcode handler for featured listings block
    44  * Version 1.0 (original)
     34 * see readme.txt
    4535 *
    4636 */
     
    7868define( 'IS_WP26', version_compare( $wp_version, '2.6', '>=' ) );
    7969define( 'IS_WP27', version_compare( $wp_version, '2.7', '>=' ) );
     70define( 'IS_WP28', version_compare( $wp_version, '2.8', '>=' ) );
    8071
    8172
     
    144135    if ( $googlekey ) {
    145136        $googlepath = "http://www.google.com/jsapi?key=" . $googlekey;
    146         wp_enqueue_script( 'google', $googlepath, FALSE );
    147         wp_enqueue_script( 'google-gre', GRE_URLPATH . 'js/google.gre.js', array( 'google' ), '0.1.0' );
    148     }
    149     if (! IS_WP26) { // pre-2.6 jquery includes
    150         wp_enqueue_script( 'jquery-ui', GRE_URLPATH . 'js/ui.core.js', array( 'jquery' ) );
    151         wp_enqueue_script( 'jquery-ui-tabs', GRE_URLPATH . 'js/ui.tabs.js', array( 'jquery' ) );
    152     } else {
    153         wp_enqueue_script( 'jquery-ui-core' );
     137        wp_enqueue_script( 'google', $googlepath, FALSE, false, true );
     138        wp_enqueue_script( 'google-gre', GRE_URLPATH . 'js/google.gre.js', array( 'google','jquery','jquery-ui-core','jquery-ui-tabs' ), '0.1.0', true );
     139    }
     140 else {
    154141        wp_enqueue_script( 'jquery-ui-tabs' );
    155142    }
    156143
    157144}
    158 add_action( 'wp_print_scripts', 'greatrealestate_add_javascript' );
     145add_action( 'wp_enqueue_scripts', 'greatrealestate_add_javascript' );
    159146
    160147
     
    175162    // the timeout gives the browser a few seconds to start displaying
    176163    // the map, otherwise GMaps will not receive its "kick"
     164}
     165add_action( 'wp_head', 'greatrealestate_add_headerincludes', 90 );
     166
     167function greatrealestate_add_footerjs() {
     168    echo "\n<!-- great-real-estate -->\n";
    177169?>
    178170<script type="text/javascript">
    179171/* <![CDATA[ */
    180172jQuery(document).ready(function() {
    181    jQuery('#listing-container > ul').tabs();
     173   jQuery('#listing-container').tabs();
    182174   jQuery('a[href=#map]').bind('click',fixMap);
    183175
     
    190182</script>
    191183<?php
    192     echo "\n<!-- end great-real-estate -->\n";
    193 }
    194 add_action( 'wp_head', 'greatrealestate_add_headerincludes', 90 );
     184}
     185add_action( 'wp_footer', 'greatrealestate_add_footerjs', 90 );
    195186
    196187/*********************************************************************
  • great-real-estate/trunk/greatrealestate-es_ES.po

    r118551 r139920  
    55"POT-Creation-Date: 2008-07-27 16:08-0500\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Hernan <altosierra@gmail.com>\n"
     7"Last-Translator: Roger Theriault <roger@rogertheriault.com>\n"
    88"Language-Team: ita\n"
    99"MIME-Version: 1.0\n"
     
    124124#: privatefunctions.php:152
    125125msgid " Acres"
    126 msgstr "Hectareasi"
     126msgstr "Hectareas"
    127127
    128128#: privatefunctions.php:153
     
    200200#: templatefunctions.php:73
    201201msgid "$"
    202 msgstr "$"
     202msgstr "&#8364;"
    203203
    204204#: templatefunctions.php:306
     
    463463#: admin/main.php:90
    464464msgid "NextGen Gallery"
    465 msgstr "Galleria di NextGen"
     465msgstr "Galleria de NextGen"
    466466
    467467#: admin/editpage.php:172
     
    523523#: admin/editpage.php:217
    524524msgid "Longitude (eg: -80.123456)"
    525 msgstr "Longitud (Ej: -80.123)"
     525msgstr "Longitud (Ej: -80.123456)"
    526526
    527527#: admin/editpage.php:224
     
    535535#: admin/listings.php:15
    536536msgid "Manage Listings"
    537 msgstr "Gestinar listado"
     537msgstr "Gestionar listado"
    538538
    539539#: admin/listings.php:16
     
    600600#: admin/main.php:70
    601601msgid "Unknown - please check your settings"
    602 msgstr "Desconocidoo - Por favor revise su selección"
     602msgstr "Desconocido - Por favor revise su selección"
    603603
    604604#: admin/main.php:73
     
    668668#: admin/main.php:123
    669669msgid "widget not activated"
    670 msgstr "Widget descativado"
     670msgstr "Widget desactivado"
    671671
    672672#: admin/main.php:126
     
    789789#: admin/settings.php:103
    790790msgid "e.g.: John Smith Listings, John Smith Homes For Sale, etc."
    791 msgstr "por ejemplo: Listados de Swits, Swits propiedadesi en venta, etc"
     791msgstr "por ejemplo: Listados de Swits, Swits propiedades en venta, etc"
    792792
    793793#: admin/settings.php:112
  • great-real-estate/trunk/interfaces/interface-nggallery.php

    r80564 r139920  
    1212 */
    1313
    14 if (!(class_exists('nggallery') || class_exists('nggGallery'))) return;
     14if (! (class_exists('nggallery') || class_exists('nggGallery')) ) return;
    1515
    1616// USE THESE FUNCTIONS
     
    5959    if ($picturelist) {
    6060        $pid = $picturelist[0]->pid;
    61         if (method_exists('nggGallery','get_thumbnail_url')) {
     61        if (is_callable(array('nggGallery','get_thumbnail_url'))) {
    6262            // new NextGen 1.0+
    6363            $out = '<img alt="' . __('property photo') . '" src="' . nggGallery::get_thumbnail_url($pid) . '" ' . $myclass . ' />';
  • great-real-estate/trunk/interfaces/interface-wpdownloadmanager.php

    r51436 r139920  
    22
    33# check for plugin wp-downloadmanager
    4 if (!function_exists('showdownload_embedded')) return;
     4if (!function_exists('download_shortcode')) return;
    55
    66// CALL THESE
     
    2929        $cat_sel = " AND file_category = '" . intval($cat) . "' ";
    3030    }
    31     $files = $wpdb->get_results("SELECT * FROM $wpdb->downloads WHERE file_permission != -1 ${cat_sel} ORDER BY 'file_name' ASC ");
     31    $files = $wpdb->get_results("SELECT * FROM $wpdb->downloads WHERE file_permission != -2 ${cat_sel} ORDER BY 'file_name' ASC ");
    3232    if($files) {
    3333        foreach($files as $file) {
     
    4141function downloadmanager_showdownloadlink($id = '0') {
    4242    if ($id == '0') return;
    43     $ids = explode(',', $id);
    44     if (is_array($ids)) {
    45         return download_embedded($ids, 'both');
    46     } else {
    47         return download_embedded($id, 'both');
    48     }
     43    return download_shortcode( array('id' => $id, 'display' => 'both') );
    4944}
    5045
  • great-real-estate/trunk/knownissues.txt

    r80054 r139920  
    22
    33
    4 Known Issues (version 1.2)
     4Known Issues (version 1.3)
    55
    6 [2007-07-16] the tabbed interface may caouse navigation oddities when combined with paged thumbnails in the gallery. To avoid this, you can disable the paging in the gallery (ie display all thumbnails on one page). A future release will allow disabling of the tabs.
    7 [2007-07-16] form validation of fractional fields complains about decimals without a leading zero. (eg: .25 acres)
     6[2007-07-16] the tabbed interface may cause navigation oddities when combined with paged thumbnails in the gallery. To avoid this, you can disable the paging in the gallery (ie display all thumbnails on one page). A future release will allow disabling of the tabs.
     7[2007-07-16] form validation of fractional fields complains about decimals without a leading zero. (eg: .25 acres) - use 0.25 instead
    88[2008-06-25] the Inline Google Maps plugin conflicts with this plugin. Symptoms include the map marker not displaying.
    99- UPDATE/INSERT code needs to be more robust
     
    1313- detect user templates and redirect first before using filters
    1414
    15 FEATURES COMING SOON
     15FEATURES COMING SOME DAY
    1616- additional choices and options for featured homes widget
    1717- shortcodes and editor insert button for featured homes
     
    2626- icons to show map, download, gallery, video, panorama on the Listings admin
    2727- allow user customization of widget code
     28- paginate the listings index page
    2829
    2930REPORT BUGS and FEATURE REQUESTS at http://rogertheriault.com/forums/
  • great-real-estate/trunk/readme.txt

    r80564 r139920  
    33Donate link: http://www.rogertheriault.com/agents/plugins/great-real-estate-plugin/
    44Tags: real estate,ajax,listings,real,estate,homes
    5 Requires at least: 2.5
    6 Tested up to: 2.7
    7 Stable tag: 1.2.1
     5Requires at least: 2.8
     6Tested up to: 2.8.2
     7Stable tag: 1.3.0
    88
    99Great Real Estate provides functionality to turn your WordPress installation into a content managed real estate website.
     
    6161
    6262    Great Real Estate - The Real Estate plugin for WordPress
    63     Copyright (C) 2008  Roger Theriault
     63    Copyright (C) 2008, 2009  Roger Theriault
    6464
    6565    This program is free software: you can redistribute it and/or modify
     
    7777
    7878
     79== Changelog ==
     80
     81= 1.3.0 =
     82* [2009-07-27] support for WP 2.8 (requires WordPress 2.8)
     83* moved the JS scripts to the page footer
     84* changed invocation of tabs to conform to jQuery 1.3.x (target the parent div instead of > ul)
     85* changed checking for NextGen version to be more compatible with PHP 5.0.x
     86* additional localizations: German, Spanish, French, Italian, and Russian supported now
     87* support WP Download Manager version 1.5 (Files with permission "Everyone" were hidden)
     88
     89= 1.2.1 =
     90 * [2008-12-16] Added compatibility with NextGen Gallery version 1.0+
     91 
     92= 1.2 =
     93 * [2008-12-14] After WP 2.6, get default WP supplied jQuery ui and tabs
     94 * [2008-08-02] included widget file; widget now installed automatically and no longer has a separate (confusing) entry in the plugins list
     95 
     96= 1.1 =
     97 * [2008-07-27] updated for WP2.6
     98 *      added localization (correctly)
     99 
     100= 1.01 =
     101 * [2008-06-27] added shortcode handler for featured listings block
     102 
     103= 1.0 =
     104 * (original)
Note: See TracChangeset for help on using the changeset viewer.