PEAK XOOPS - Pical and Xoops 2.3.x in englishin japanese

Pical and Xoops 2.3.x

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 .4 .5 | Posted on 2008/10/28 18:27 | Last modified
zorro87  ¾åÅùʼ From: France  Posts: 32
Hello,

Pical works in Xoops 2.3.1!
But I've found a little problem:
When you edit an event, the description zone is erased and appears empty.
This doesn't happen in Xoops 2.0.x

Is it easy to fixt?

Thank you for your help!

@+
Z
Votes:25 Average:6.40
Previous post - Next post | Parent - Children.1 | Posted on 2008/10/30 0:21 | Last modified
zorro87  ¾åÅùʼ From: France  Posts: 32
Hello

Bad news:

it seems that there is no more dots in Mini CalendarEx with xoops 2.3.x...

can you confirm that?

what can we do to fix it?

please help me!

@+
Z
Votes:12 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2008/10/30 16:26
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi zorro.

I don't have time to test the core named as "XOOPS 2.3.x" from xoops.org , sorry.

Quote:

it seems that there is no more dots in¡ÈMini CalendarEx¡Éwith xoops 2.3.1...
The block needs to know its instance ID of blocks.

If "XOOPS 2.3.x" offers the way/interface, I'll add it soon
Votes:12 Average:5.83
Previous post - Next post | Parent - Children.1 | Posted on 2008/10/30 18:30 | Last modified
zorro87  ¾åÅùʼ From: France  Posts: 32
Hello!

@ GIJOE: Thank you for your answer.


Quote:
it seems that there is no more dots in¡ÈMini CalendarEx¡Éwith xoops 2.3.1...

Here is how to fix it:

edit pical/blocks/pical_minical_ex.php
line 30
replace:
	} else if( substr( XOOPS_VERSION , 6 , 3 ) > 2.0 ) {
by:
	} else if( substr( XOOPS_VERSION , 6 , 3 ) > 2.0 && substr( XOOPS_VERSION , 6 , 3 ) < 2.3) {

@+
Z
Votes:14 Average:7.14

none Re: Pical and Xoops 2.3.1

msg# 1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2008/10/31 5:46
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi Zorro.

Quote:

Hello!

edit pical/blocks/pical_minical_ex.php
line 30
replace:
	} else if( substr( XOOPS_VERSION , 6 , 3 ) > 2.0 ) {
by:
	} else if( substr( XOOPS_VERSION , 6 , 3 ) > 2.0 && substr( XOOPS_VERSION , 6 , 3 ) < 2.3) {
Is it enough?
If so, I'll modified the code for the next minor version.

# 2.3 does not look like innovated 2.2 but another 2.0.x
Votes:11 Average:7.27

none Re: Pical and Xoops 2.3.1

msg# 1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2008/11/6 20:05
zorro87  ¾åÅùʼ From: France  Posts: 32
Hello GIJOE!

Quote:
Is it enough?
Infact no...

we have to do the modification to:

admin/pluginsmanger.php (line 47)
blocks/pical_after_shcedule.php (line 13 & 53)
blocks/pical_minical_ex.php (lines 12 & 30)
blocks/pical_thedays_schedule.php (line 13 & 51)

Quote:
# 2.3 does not look like innovated 2.2 but another 2.0.x

In fact the two branches 2.0 and 2.2 are now together in 2.3 and that is good for Xoops.
Xoops team have made a great job
What else¡Ä

You should have to try it!

Do you have any idea why when you edit a event: description zone is empty?
Do you think it could be easy to allow using Tiny editor in Pical module?

@+
Z
Votes:12 Average:6.67

none Re: Pical and Xoops 2.3.1

msg# 1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2008/11/12 4:38
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi zorro.

Quote:

admin/pluginsmanger.php (line 47)
blocks/pical_after_shcedule.php (line 13 & 53)
blocks/pical_minical_ex.php (lines 12 & 30)
blocks/pical_thedays_schedule.php (line 13 & 51)
Thanks!
I've just fixed them.

Quote:
Quote:
# 2.3 does not look like innovated 2.2 but another 2.0.x
In fact the two branches 2.0 and 2.2 are now together in 2.3 and that is good for Xoops.
Xoops team have made a great job
It looks the 2.2 structures are just dead ended...
Though I held a good opinion of 2.2 structures like "block instance"...

Quote:
You should have to try it!

Do you have any idea why when you edit a event: description zone is empty?
Do you think it could be easy to allow using Tiny editor in Pical module?
Before answering them, I have to install XOOPS 2.3.x.
I cannot promise it, because I'm very busy.
Votes:10 Average:7.00

none Re: Re: Pical and Xoops 2.3.1

msg# 1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2009/1/22 6:24
pablo103  ÆóÅùʼ   Posts: 6
I have the same problem with editing events. Anyone found out how to fix it?
Votes:4 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/24 2:03
tommyz  ÆóÅùʼ   Posts: 5
Hello, I have same problem with description being empty when editing event. Need ideas for fix asap, thanks!
Votes:4 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/2/8 19:54
PinMaster  ¾åÅùʼ From: Marseille (France)  Posts: 40
Hi,

this is my patch for the plugin in the active block minicalendar_ex.

Edit file : pical_minical_ex.php
In line : 18-41
Replace by :
	global $xoopsConfig , $xoopsDB , $xoopsUser ;
  $mydirname = empty( $options[0] ) ? basename( dirname( dirname( __FILE__ ) ) ) : $options[0] ;
	// speed check
	//global $GIJ_common_time ;
	//list($usec, $sec) = explode(" ",microtime());
	//echo ((float)$sec + (float)$usec) - $GIJ_common_time ;
  //$bid = XoopsBlock::getByModule($moduleid, false); 

	// get bid
	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
		// XoopsCube 2.1
		$bid = $options[ sizeof( $options ) - 1 ] ;
	} else if( (substr( XOOPS_VERSION , 6 , 3 ) > 2.0) && (substr( XOOPS_VERSION , 6 , 3 ) < 2.3 )) {
		// XOOPS 2.1/2.2
		// instanceid as bid from block_instance
		$bid = @$GLOBALS['pical_blockinstance_id'] ;
	} else if (substr( XOOPS_VERSION , 6 , 3 ) >= 2.3 ) {
  		$mcx_sql = $xoopsDB->query( "SELECT bid FROM ".$xoopsDB->prefix("modules")." AS module, ".$xoopsDB->prefix("newblocks")." AS block WHERE (block.mid=module.mid and module.dirname='".$mydirname."' AND block.show_func='pical_minical_ex_show')");
		  list($bid)= $xoopsDB->fetchRow( $mcx_sql );
  } else {
		// XOOPS 2.0.x
		if( is_object( $GLOBALS['block_arr'][$GLOBALS['i']] ) ) {
			// bid from newblocks
			$bid = $GLOBALS['block_arr'][$GLOBALS['i']]->getVar('bid') ;
		} else {
			return array() ;
		}
	}
Votes:10 Average:7.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/2/17 22:28
zorro87  ¾åÅùʼ From: France  Posts: 32
Hi!


Many of us are very interested in how to fix editing problem with Xoops 2.3.x

Description area is empty when we edit an event.

It is only an Up...

Thank you for your help!

@+
Z

A PM was send to me about this bug... (I lost the PM, sorry)
I don't have the answer yet!
Votes:4 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/3/18 17:41 | Last modified
zorro87  ¾åÅùʼ From: France  Posts: 32
Hi!

Good news,

"the description being empty upon edit"

This problem is solved in xoops 2.3.3!

Thank you to Mamba! (his post in Xoops.org)

@+
Z
Votes:4 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/3/19 18:46
nitinshah12  ¸àĹ   Posts: 48
Quote:
This problem is solved in xoops 3.2.3!

Thank you to Mamba! (his post in Xoops.org)

Its xoops 2.3.3 and not xoops 3.2.3
Votes:4 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/3/20 6:31
zorro87  ¾åÅùʼ From: France  Posts: 32
This bug was without answer for 2 month,
your post was verry helpfull!!!

Thank you nitinshah12!
(correction done)



Say hello! next time


@+
Z
Votes:4 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/3/26 0:40
nitinshah12  ¸àĹ   Posts: 48
Hello zooro87,
the info about the bug being solved was posted by you I only made the correction for a typo, so its thanks to you for posting it here.
Votes:5 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!