231
trabis
Re: Xopps 2.5.2
  • 2011/10/12 18:27

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

have changed event.php based on trabis post but still received the wrong date format error

using 2.5.4 beta/extcal 2.22


Quote:

Don't forget to remove every check for "invalid format date". They wont be necessary. '/' and '-' are valid separators.

Sorry if I was not explicit enough.

Search for _MD_EXTCAL_WRONG_DATE_FORMAT in the source code, you should find it in post.php and in admin/event.php:
// If the date format is wrong     
     
if (     
         !
preg_match('`[0-9]{4}-[01][0-9]-[0123][0-9]`'$_POST['event_start']['date'])     
             || !
preg_match('`[0-9]{4}-[01][0-9]-[0123][0-9]`'$_POST['event_end']['date'])     
     ) {     
         
redirect_header(     
             
'index.php'3_MD_EXTCAL_WRONG_DATE_FORMAT "<br />"     
             
implode('<br />'$GLOBALS['xoopsSecurity']->getErrors())     
         );     
         exit;     
     }


Remove this code in both files.

You can use this version(2.30) with this and other bugs corrected:
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/extcal/branches/mamba/extcal/?sortby=date



232
trabis
Re: XOOPS 2.5 en-GB files
  • 2011/10/11 13:10

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

DCrussader wrote:
Then why the captcha.php language contains only strings for the build in ?


Because reCaptcha translation is done by the service, no need/possibility to have custom translation.

Quote:

There is no option to set the Public / Private keys, to choose between normal and SSL mode, or even theme for reCaptcha ?

You can set configs in class/captcha/config.recaptcha.php
return $config = array(
    
'private_key' => 'YourPrivateApiKey',
    
'public_key'  => 'YourPublicApiKey',
    
'theme'       => 'white'// 'red' | 'white' | 'blackglass' | 'clean' | 'custom'
    
'lang'        => _LANGCODE
    
);

We plan to move configs to admin area on 2.6.x

Quote:

All reported bugs are related with xoops.org

The required and description can be configured but "ERROR: Email address already registered." is 'bugging' me.



233
trabis
Re: XOOPS 2.5 en-GB files
  • 2011/10/11 12:56

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

DCrussader wrote:

BUG: During all those changes to the core, currently is unable old user registered from 2.0.x to change any field in the profile.

ERROR: Email address already registered.

When I tried to fill the location (why is required, this non-sense field)
To fill Google Talk, Skype.

Facebook missing description, while the visitor eg. me, point the mouse pointer over Facebook, to come popup description, what exactly should I enter there.


Is this bug related with xoops.org or with 2.5.3?



234
trabis
Re: XOOPS 2.5 en-GB files
  • 2011/10/11 12:50

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

DCrussader wrote:
Hmm, so many years and nothing about reCaptcha. Build in captcha doesn't work so good as reCaptcha and the prove was here 1-2 months ago, where comments was spammed by bots.


We have reCaptcha on XOOPS > 2.5.2. There is also Assira catpcha available on Frameworks(SVN only).



235
trabis
Re: 2.5.3 rank images and smiley not solved
  • 2011/10/11 12:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

jcweb wrote:
Hey trabis
Thanks for reply. See this thread please below the link. The curious is, in the past it exist a bugtracker entry, i cannot find them again.


The bug was closed because it was fixed in 2.5.2.
I'm not sure if you are saying that this bug exists or if you are asking if it exists or not.

If it does exist, please reply:
Quote:
´
Can you explain to me the exact steps to reproduce the bug?
I suppose you are upgrading from 2.4.5. After upgrade, in what page are smilies/ranks links broken? In profile, in admin edit, admin view?



236
trabis
Re: Module Install page is white
  • 2011/10/10 23:27

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Make sure you copy the contents of xoops_lib/modules/fmcontent (from fmcontent package) into your lib_dataxoops/xoops_1lib/modules/fmcontent folder.



237
trabis
Re: Xopps 2.5.2
  • 2011/10/10 19:09

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@Quote:

jjdai wrote:
@Trabis

Ok but for the many other module which use also this xoopsform., man must make also this hack ?

JJDai


I've tested profile, news and publisher module and both work without changes.

I think extCal developer(you or other) have tried to fix the bug with module logic. Now that Xoops core is fixed, those fixes have become bugs.

If you know about any other module that does not work with the fix, let me know and I'll provide a patch.

Thanks.



238
trabis
Re: Xopps 2.5.2
  • 2011/10/9 20:15

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@jjdai,

The calendar js file does not support php date formats. It uses dd-mm-yy and other formats that can not be translated with php strtotime().

This was fixed on XOOPS 2.5.4, calendar js was changed to accept Y,y,m,n,j,d date elements instead.

In extcal/class/event.php you will have to use this:
function _checkDate(&$data)
    {
        
$data['event_start'] = strtotime($data['event_start']['date']) + $data['event_start']['time'];
        
$data['event_end'] = strtotime($data['event_end']['date']) + $data['event_end']['time'];

        if (
$data['have_end'] == || $data['event_start'] > $data['event_end']
        ) {
            
$data['event_end'] = $data['event_start'];
        }

    }


And in getRecurRules() under case Yearly
case 'yearly':

                if (
$parm['rrule_yearly_byday'] == "") {
                    
$time strtotime($parm['event_start']['date']);
                    
$parm['rrule_yearly_byday'] = date("j"mktime(000date("m"$time), date("d"$time), date("Y"$time)));
                }

                
$recurRules 'yearly|';
                
$recurRules .= $parm['rrule_yearly_interval'];
                
$recurRules .= '|' $parm['rrule_yearly_byday'];
                foreach (
                    
$parm['rrule_yearly_bymonths'] as $month
                
) {
                    
$recurRules .= '|' $month;
                }

                break;

        }


The value that comes from post can be used directly on strtotime() without problems.

Don't forget to remove every check for "invalid format date". They wont be necessary. '/' and '-' are valid separators.



239
trabis
Re: 2.5.3 rank images and smiley not solved
  • 2011/10/9 13:38

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Can you explain to me the exact steps to reproduce the bug?
I suppose you are upgrading from 2.4.5. After upgrade, in what page are smilies/ranks links broken? In profile, in admin edit, admin view?

Thank you.




240
trabis
Re: xoops2.4.5-to-2.5.3 upgrade
  • 2011/10/8 22:24

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

k9keeper wrote:
I used xoops2.4.5-to-2.5.3.zip downloaded today, Oct 8. Using 7zip,

xoops2.4.5-to-2.5.3.zip\xoops2.4.5-to-2.5.3\htdocs\modules\system\templates\blocks\

contains

system_block_comments.html
system_block_login.html
system_block_newusers.html
system_block_notification.html
system_block_search.html
system_block_siteinfo.html
system_block_themes.html
system_block_topusers.html

no main menu

If it is not on the upgrade package is because it was not changed on 2.5.x

The only explanation is that mainmenu block was not present on your 2.4.5 installation.
Maybe you had it on a template set or on a theme or just in the complied form(with check templates for modification off), and did not noticed it was missing on system directory.




TopTop
« 1 ... 21 22 23 (24) 25 26 27 ... 190 »



Login

Who's Online

128 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 128


more...

Donat-O-Meter

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

Latest GitHub Commits