5611
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/7/10 8:42

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I think to a very precise work to trap the cells, however, it's fine for now,
if we can make them more responsive would be better.

Thanks anyway!



5612
goffy
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/7/9 10:34

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


done

please check pull request



5613
Mamba
PhpStorm 9.0 released
  • 2015/7/8 19:27

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Resized Image PhpStorm, the best editor for PHP has been updated to Version 9.0 with tons of awesome new features!
Make faster progress with PhpStorm 9’s refined editing and debugging experience, deeper code understanding, advanced productivity boosts, and complete support for remote development:

See the issue tracker for the full list of PHP-related issues fixed and full release notes. PhpStorm 9 also delivers completely reworked JavaScript support and brings you these top-notch web technologies:

  • Application dependency diagrams
  • Tracing languages transpiled to JavaScript
  • V8 profiling for Node.js apps
  • Simultaneous tag editing
This release also borrows many features and improvements from IntelliJ Platform, such as Distraction Free Mode, diff viewer with one-side viewer mode, VCS improvements, database tools update, HiDPI support for Windows and Linux, an updated look-and-feel of Editor tabs, and more goodies. These awesome new features and many more are covered in detail on the PhpStorm website, where you can also download a free 30-day trial for your platform.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5614
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/7/8 12:10

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
But please merge your last version with master on github...

You must rename or download the new fork

https://github.com/txmodxoops/TDMCreate-1.91



5615
brutalicuss
Re: Rating system in publisher module

Sorting system working fine without bugs :)

Mamba, to not start new topic, I want to ask you for problem with "date to date" block. When I trying to edit in admin panel I had blank page. This happens in all publisher versions I have

Other thing (but not very important) - I cant set cyrillic characters for pdf - for tcpdf. I tried everything, other fonts, ignore page format, call MB and etc..

10x



5616
wishcraft
@xuplimental ::- route for seo purposes of small url..

Looking at the best way of having htaccess and routes, i think it is like the following path :: http://au.syd.labs.coop/publications/category/0/xoops-modules-open-source/2.html

so you have 'basename' = (.*?)/

then area: 'area' = ([a-zA-Z0-9]+)/([0-9])

i did start a module you could make so it covers in a module that people have drop down options like (.*?), or ([a-zA-Z0-9\-\+\%]+) and those other regular i did start one then had programmer electric shock injury and had to lye on the couch for month and month from RSI you will find it on the SVN!



5617
timgno
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/7/7 14:21

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
I will check it


Ooops!

Check well I think I made a mess!

I would not have canceled your fork

If so redo pull request!

sorry



5618
AngeloRocha
Re: [Search Results] Problem after upgrade 2.4.4 to 2.5.7

Send for you tonight.



5619
goffy
Re: TDMCreate 1.91 alpha 3 for Testing
  • 2015/7/7 12:35

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi timgno

yes, I can. But please merge your last version with master on github. If I look on my fork, the last change of master was 22 days ago.


edit: oh, sorry, I see it is done

I will check it



5620
amin_ts
Date persian
  • 2015/7/7 6:19

  • amin_ts

  • Just popping in

  • Posts: 70

  • Since: 2005/3/6 1


Hello

when I upgrade my XOOPS from 2.5.6 to 2.5.7.1 then Home page web site show blank page because my local language is persian and Suppert xoops for persian langauge (xoops.ir) didn't publish persian version core xoops for 2.5.7.1 then I upgrade xoops from main version.

when I replaced file locale.php from /language/english/locale.php with file locale.php in language/persian/locale.php , site open normally but date web site changed from persian to english .

please help me for make necessary change in this file locale.php in persian langauge:

language/persian/locale.php:
/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code 
 which is considered copyrighted (c) material of the original comment or credit authors.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
 * Xoops locale
 *
 * @copyright       The XOOPS project http://sourceforge.net/projects/xoops/
 * @license         GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * @package         kernel
 * @since           2.3.0
 * @author          Taiwen Jiang 
 * @version         $Id: locale.php 8066 2011-11-06 05:09:33Z beckmi $
 * @todo            To be handled by i18n/l10n
 */
// defined('XOOPS_ROOT_PATH') or die('Restricted access');

setlocale(LC_ALL,'fa_IR');
// lang file in the persian language directory
include_once dirname(__FILE__) . '/locale.lang.php';
// config file in the persian language directory
include_once dirname(__FILE__) . '/locale.config.php';

//start add file for jalali calendar config and language files
include_once dirname(__FILE__) . '/date/jdf.php';
//end add file for jalali calendar config and language files
class XoopsLocal extends XoopsLocalAbstract
{
// start add jalali calendar for persian language 
    /*
    * Function to display formatted times in user timezone
    */
    
function formatTimestamp($time$format "l"$timeoffset null)
    {
        global 
$xoopsConfig$xoopsUser;

        
$format_copy $format;
        
$format strtolower($format);

        if (
$format == 'rss' || $format == 'r') {
            
$TIME_ZONE '';
            if (isset(
$GLOBALS['xoopsConfig']['server_TZ'])) {
                
$server_TZ abs(intval($GLOBALS['xoopsConfig']['server_TZ'] * 3600.0));
                
$prefix = ($GLOBALS['xoopsConfig']['server_TZ'] < 0) ? ' -' ' +';
                
$TIME_ZONE $prefix date('Hi'$server_TZ);
            }
            
$date gmdate('D, d M Y H:i:s'intval($time)) . $TIME_ZONE;
            return 
$date;
        }

        if ((
$format == 'elapse' || $format == 'e') && $time time()) {
            
$elapse time() - $time;
            if (
$days floor($elapse / (24 3600))) {
                
$num $days sprintf(_DAYS$days) : _DAY;
            } elseif (
$hours floor(($elapse % (24 3600)) / 3600)) {
                
$num $hours sprintf(_HOURS$hours) : _HOUR;
            } elseif (
$minutes floor(($elapse 3600) / 60)) {
                
$num $minutes sprintf(_MINUTES$minutes) : _MINUTE;
            } else {
                
$seconds $elapse 60;
                
$num $seconds sprintf(_SECONDS$seconds) : _SECOND;
            }
            
$ret sprintf(_ELAPSE$num);
            return 
$ret;
        }
        
// disable user timezone calculation and use default timezone,
        // for cache consideration
        
if ($timeoffset === null) {
            
$timeoffset = ($xoopsConfig['default_TZ'] == '') ? '0.0' $xoopsConfig['default_TZ'];
        }
        
$usertimestamp xoops_getUserTimestamp($time$timeoffset);
        switch (
$format) {
            case 
's':
                
$datestring _SHORTDATESTRING;
                break;

            case 
'm':
                
$datestring _MEDIUMDATESTRING;
                break;

            case 
'mysql':
                
$datestring 'Y-m-d H:i:s';
                break;

            case 
'l':
                
$datestring _DATESTRING;
                break;

            case 
'c':
            case 
'custom':
                static 
$current_timestamp$today_timestamp$monthy_timestamp;
                if (!isset(
$current_timestamp)) {
                    
$current_timestamp xoops_getUserTimestamp(time(), $timeoffset);
                }
                if (!isset(
$today_timestamp)) {
                    
$today_timestamp mktime(000date('m'$current_timestamp), date('d'$current_timestamp), date('Y'$current_timestamp));
                }

                if (
abs($elapse_today $usertimestamp $today_timestamp) < 24 60 60) {
                    
$datestring = ($elapse_today 0) ? _TODAY _YESTERDAY;
                } else {
                    if (!isset(
$monthy_timestamp)) {
                        
$monthy_timestamp[0] = mktime(00000date('Y'$current_timestamp));
                        
$monthy_timestamp[1] = mktime(00000date('Y'$current_timestamp) + 1);
                    }
                    if (
$usertimestamp >= $monthy_timestamp[0] && $usertimestamp $monthy_timestamp[1]) {
                        
$datestring _MONTHDAY;
                    } else {
                        
$datestring _YEARMONTHDAY;
                    }
                }
                break;

            default:
                if (
$format != '') {
                    
$datestring $format_copy;
                } else {
                    
$datestring _DATESTRING;
                }
                break;
        }

    
// Start hacked by irmtfan for show hegira date in persian and other languages www.jadoogaran.org
    
if (_JDF_USE_HEGIRADATE && $format != 'mysql' ){
         return 
jdate($datestring,$usertimestamp);
       } else {
             return 
ucfirst(date($datestring,$usertimestamp));
           }
    
// End hacked by irmtfan for show hegira date in persian and other languages www.jadoogaran.org
    
}
// end add jalali calendar for persian language 
    
function number_format($number)
    {
        switch (
_NUM_TYPE) {
            case 
"figure":
                if (
_JDF_USE_PERSIANNUM){
                    return 
Convertnumber2farsi($number);
                } else {
                    return 
$number;
                }
                break;
            case 
"word":
                return (
$number 0) ? XoopsLocal::num2Words($number) : _NUMWORDS_ZERO;
                break;
            default:
                return 
$number;
                break;
        }    
    }
    function 
num2Words($no)
    {
        global 
$_numWords;
        if(
$no == 0)
            return 
' ';
        else {
            
$novalue='';
            
$highno=$no;
            
$remainno=0;
            
$value=100;
            
$value1=1000;        
            while(
$no>=100)    {
                if((
$value <= $no) &&($no  $value1)) {
                    
$novalue=$_numWords["$value"];
                    
$highno = (int)($no/$value);
                    
$remainno $no $value;
                    break;
                }
                
$value$value1;
                
$value1 $value 1000;
            }
            if(
array_key_exists("$highno",$_numWords)) {
                return 
$_numWords["$highno"]." ".$novalue." ".XoopsLocal::num2Words($remainno);
            } else { 
                
$unit=$highno%10;
                
$ten =(int)($highno/10)*10;             
                return 
$_numWords["$ten"]." ".$_numWords["$unit"]." ".$novalue." ".XoopsLocal::num2Words($remainno);
            }
        }
    }    
    function 
money_format($format$number)
    {
        
setlocale(LC_MONETARY,'fa_IR');
        return 
money_format($format$number);
    }
    
// reserved for future versions
    // Core and module developers can use this syntax in the future versions: XoopsLocal::strtotime($inputtime)
    
function strtotime($inputtime)
    {
        return 
strtotime(inputTimeToGregorian($inputtime));
    }

}
?>



and locale.php in English language is:

/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code
 which is considered copyrighted (c) material of the original comment or credit authors.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
 * Xoops locale
 *
 * @copyright       The XOOPS project http://sourceforge.net/projects/xoops/
 * @license         GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * @package         kernel
 * @since           2.3.0
 * @author          Taiwen Jiang 
 * @version         $Id: locale.php 12537 2014-05-19 14:19:33Z beckmi $
 * @todo            To be handled by i18n/l10n
 */
defined('XOOPS_ROOT_PATH') || die('Restricted access');

setlocale(LC_ALL'en_US');

// !!IMPORTANT!! insert '' before any char among reserved chars: "a","A","B","c","d","D","e","F","g","G","h","H","i","I","j","l","L","m","M","n","O","r","s","S","t","T","U","w","W","Y","y","z","Z"
// insert double '' before 't','r','n'
define("_TODAY","Today G:i");
define("_YESTERDAY","Y\es\t\e\rday G:i");
define("_MONTHDAY","n/j G:i");
define("_YEARMONTHDAY","Y/n/j G:i");
define("_ELAPSE","%s ago");
define("_TIMEFORMAT_DESC","Valid formats: "s" - " _SHORTDATESTRING "; "m" - " _MEDIUMDATESTRING "; "l" - " _DATESTRING ";""c" or "custom" - format determined according to interval to present; "e" - Elapsed; "mysql" - Y-m-d H:i:s;"specified string - Refer to http://php.net/manual/en/function.date.php" rel="external">PHP manual.");

/**
 * A Xoops Local
 *
 * @package     kernel
 * @subpackage  Language
 *
 * @author      Taiwen Jiang 
 * @copyright   copyright (c) 2000-2009 XOOPS.org
 */
class XoopsLocal extends XoopsLocalAbstract
{
    
/**
     * Number Formats
     *
     * @param  unknown_type $number
     * @return unknown
     */
    
function number_format($number)
    {
        return 
number_format($number2'.',',');
    }

    
/**
     * Money Format
     *
     * @param  string $format
     * @param  string $number
     * @return money  format
     */
    
function money_format($format$number)
    {
        
setlocale(LC_MONETARY'en_US');

        return 
money_format($format$number);
    }
}




TopTop
« 1 ... 559 560 561 (562) 563 564 565 ... 29425 »



Login

Who's Online

407 user(s) are online (305 user(s) are browsing Support Forums)


Members: 0


Guests: 407


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits