PEAK XOOPS - myAlbum 2.8 in englishin japanese

myAlbum 2.8

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

question myAlbum 2.8

msg# 1
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/29 5:13
rocket98  ¾åÅùʼ   Posts: 22
Hi,

Just uploaded a fresh copy after using 2.7.x

I see the same trouble here from last version.

Category pulldown does not show correct information

- ie., 4 categories created only 3 show in pull down

When categories are created 1st time they are duplicated

When sub categories are included sub category display on index aligns right

Would like to see program auto-resize incoming images from upload forward. If I try to upload a image larger than my preferred settings, say 640x480, it does not allow upload. Maybe better if any upload is automatically resized to admin settings.

So if i upload a 1615x1212px image myalbum should auto resize the image via built in methods like GD. And then inserts correct size 640x480 into database otherwise it shows error. Means any user must size images before even trying to upload especially if I want to limit size of incoming images.

Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/3 19:14
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi rocket98.
I'm sorry the my answer is too late.

hmmm.
It might be a bug of category rendering.
Tell me the URL of your site.

I can't understand well what you mean in the second part.

Do you want to refuse any photos bigger than the value in preferences, even with GD, ImageMagick, or NetPBM?
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/4 7:39
cradeg  ÆóÅùʼ   Posts: 6
i have the complete same problem, i have one main menu and when i try to make a submenu i do not see it anywhere excpet on the homepage and in the category section .. therefore i cant move pictures into it as i dont have the category in the photo managment site
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/4 9:33
boufa  ÆóÅùʼ   Posts: 8
I was also having the same problem, until I upgraded to 2.8, then it worked for a while...now no catagories except on the main level. It is tough to debug a program with so many possible installations.

kevin aka boufa
Votes:0 Average:0.00

normal Re: myAlbum 2.8

msg# 1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/4 22:34
cradeg  ÆóÅùʼ   Posts: 6
after some more testing it seems that the first subkategory is not shown .. everything else works after this one .. i maded now just one called empty , and everything else works , it just looks strange that i have an empty album , maybe this bug can be fixed soon ?http://www.nake-it.com/images/stuff/albumerror.jpg

here you can see what i mean, you have the folder empy in the main window but it is not listed in the drop down menu
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/5 19:07
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi cradeg.

Thank you for a detailed explanation.

Perhaps, this trouble is caused by some "ghost categories".

I've added some codes for ghost categories into 2.81.

try it, please.
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/5 19:53
cradeg  ÆóÅùʼ   Posts: 6
sorry to tell you it did not help, i even tried to delete all my old kategories to make new one but it did not change the problem

it seems it has something todo with the alphabetical order

when i make 3 mainkategories .. i loose the one which would come alphabetical first.

when i make the first subkategorie i loose the one wich would come alphabetical first AND i can see the other Mainkategorie again.


1) i only loose one kategory
2) the kategory i loose is always in its own listing the one wich would come for all other


test 1 with only main kategories

Main : City of Heros <--- is not shown
Main : Everquest
Main : Reallife

test 2 with main and sub

Main : City of Heros
Main : Everquest
SubM : Gates of Discord <-- is not shown
SubM : Kunark
..
.
Main : Reallife



after some more testing

the error wanders through the kategorys and hits in the deepest part like this example will show you


Main
Main
SubM
SubM
Main
Main
SubM
SubM
SubM <-- this is not shown
SubM
Main
SubM
Main

the deepest part in the tree , there the menu wich comes in the alphabet first will not be shown
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/6 4:46
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi cradeg.

Have you tried 2.81 yet?
If no, try it please.

I think the trouble is caused by ghost categories.
Once some ghost was made, you can't delete or edit them with myAlbum-P <= 2.80.

In 2.81, I've added some codes catching ghost categories.
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/6 14:17
cradeg  ÆóÅùʼ   Posts: 6
i did the last test with your new version of course, did not change the problem , sorry
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/6 19:01
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi cradeg.
Quote:
i did the last test with your new version of course, did not change the problem , sorry
hmmm...
My inference had come off...
Have some incompatibilities come?

If you dare, will you investigate the cause together?

line 668 of include functions.php
	$key = 1 ;
	while( list( $title , $cid , $pid , $num ) = $xoopsDB->fetchRow( $rs ) ) {
		$cats[ $key ] = array( 'cid' => intval( $cid ) , 'pid' => intval( $pid ) , 'next_key' => ++ $key , 'depth' => 0 , 'title' => $myts->makeTboxData4Show( $title ) , 'num' => intval( $num ) ) ;
	}
	$sizeofcats = $key ;
	echo "<pre>" ; var_dump( $cats ) ; exit ;
	for( $key = 1 ; $key < $sizeofcats ; $key ++ ) {
		$cat =& $cats[ $key ] ;
		$target =& $cats[ 0 ] ;
		$loop_check = 4096 ;

Please paste the result here.
Of course, remove colored codes, after the investigation.
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/7 15:09
cradeg  ÆóÅùʼ   Posts: 6
thats what i get when i click on myalbum in my main menu :) , i hope it helps you


array(16) {
[0]=>
array(6) {
["cid"]=>
int(0)
["pid"]=>
int(-1)
["next_key"]=>
int(-1)
["depth"]=>
int(0)
["title"]=>
string(0) ""
["num"]=>
int(0)
}
[2]=>
array(6) {
["cid"]=>
int(19)
["pid"]=>
int(0)
["next_key"]=>
int(2)
["depth"]=>
int(0)
["title"]=>
string(8) "Reallife"
["num"]=>
int(0)
}
[3]=>
array(6) {
["cid"]=>
int(8)
["pid"]=>
int(0)
["next_key"]=>
int(3)
["depth"]=>
int(0)
["title"]=>
string(9) "Everquest"
["num"]=>
int(0)
}
[4]=>
array(6) {
["cid"]=>
int(20)
["pid"]=>
int(0)
["next_key"]=>
int(4)
["depth"]=>
int(0)
["title"]=>
string(13) "City of Heros"
["num"]=>
int(5)
}
[5]=>
array(6) {
["cid"]=>
int(23)
["pid"]=>
int(8)
["next_key"]=>
int(5)
["depth"]=>
int(0)
["title"]=>
string(7) "Velious"
["num"]=>
int(6)
}
[6]=>
array(6) {
["cid"]=>
int(25)
["pid"]=>
int(8)
["next_key"]=>
int(6)
["depth"]=>
int(0)
["title"]=>
string(15) "Planes of Power"
["num"]=>
int(43)
}
[7]=>
array(6) {
["cid"]=>
int(21)
["pid"]=>
int(8)
["next_key"]=>
int(7)
["depth"]=>
int(0)
["title"]=>
string(18) "Original Everquest"
["num"]=>
int(20)
}
[8]=>
array(6) {
["cid"]=>
int(24)
["pid"]=>
int(8)
["next_key"]=>
int(8)
["depth"]=>
int(0)
["title"]=>
string(6) "Luclin"
["num"]=>
int(10)
}
[9]=>
array(6) {
["cid"]=>
int(26)
["pid"]=>
int(8)
["next_key"]=>
int(9)
["depth"]=>
int(0)
["title"]=>
string(13) "Lost Dungeons"
["num"]=>
int(1)
}
[10]=>
array(6) {
["cid"]=>
int(28)
["pid"]=>
int(8)
["next_key"]=>
int(10)
["depth"]=>
int(0)
["title"]=>
string(20) "Legacy of the Ykesha"
["num"]=>
int(0)
}
[11]=>
array(6) {
["cid"]=>
int(22)
["pid"]=>
int(8)
["next_key"]=>
int(11)
["depth"]=>
int(0)
["title"]=>
string(6) "Kunark"
["num"]=>
int(15)
}
[12]=>
array(6) {
["cid"]=>
int(27)
["pid"]=>
int(8)
["next_key"]=>
int(12)
["depth"]=>
int(0)
["title"]=>
string(16) "Gates of Discord"
["num"]=>
int(9)
}
[13]=>
array(6) {
["cid"]=>
int(30)
["pid"]=>
int(19)
["next_key"]=>
int(13)
["depth"]=>
int(0)
["title"]=>
string(8) "Our Home"
["num"]=>
int(0)
}
[14]=>
array(6) {
["cid"]=>
int(32)
["pid"]=>
int(30)
["next_key"]=>
int(14)
["depth"]=>
int(0)
["title"]=>
string(6) "Office"
["num"]=>
int(10)
}
[15]=>
array(6) {
["cid"]=>
int(31)
["pid"]=>
int(30)
["next_key"]=>
int(15)
["depth"]=>
int(0)
["title"]=>
string(7) "Kitchen"
["num"]=>
int(12)
}
[16]=>
array(6) {
["cid"]=>
int(33)
["pid"]=>
int(30)
["next_key"]=>
int(16)
["depth"]=>
int(0)
["title"]=>
string(11) "a.submitted"
["num"]=>
int(0)
}
}

Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/7 18:08
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi cradeg

I'll investigate it with your result, tomorrow.

Very Thanks!
Votes:0 Average:0.00

question Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/7/7 19:08
GIJOE  ÀèǤ·³Áâ   Posts: 4110
What an easy bug is!

line 663 of include/functions.php
	$key = 1 ;
	while( list( $title , $cid , $pid , $num ) = $xoopsDB->fetchRow( $rs ) ) {
		$cats[ $key ] = array( 'cid' => intval( $cid ) , 'pid' => intval( $pid ) ,
		'next_key' => ++ $key $key + 1 , 'depth' => 0 , 'title' => $myts->makeTboxData4Show( $title ) ,
		'num' => intval( $num ) ) ;
		$key ++ ;
	}
	$sizeofcats = $key ;

Very very thanks, cradeg!
Votes:0 Average:0.00

happy Re: myAlbum 2.8

msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2004/7/8 16:21
cradeg  ÆóÅùʼ   Posts: 6
thx , fixed it :)

thx for your support, and i want to thank you for your wonderfull work you did with this module ... its great and your support is also excellent.

have a nice day
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!