PEAK XOOPS - Re: 2.0 to 2.2 minor bug fix re: # of posts in englishin japanese

Re: 2.0 to 2.2 minor bug fix re: # of posts

List posts in the topic

question Re: 2.0 to 2.2 minor bug fix re: # of posts

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2006/7/16 5:40
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi Monique.

Thank you for sharing it.
I just know such an incompatibility.

Anyway it should be replaced XoopsUser::incrementPost() for the compatibility.

like this:

$user_handler =& xoops_gethandler('user') ;
$submitter_obj =& $user_handler->get( $submitter ) ;
for( $i = 0 ; $i < $myalbum_addposts ; $i ++ ) {
	$submitter_obj->incrementPost() ;
}
Votes:14 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!