PEAK XOOPS - Where to change editphoto.php in englishin japanese

Where to change editphoto.php

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/6/14 18:07
Gordon  二等兵   Posts: 3
Hi,

first I want to thank you for the best Xoops Modul I known.

Since years I work with your great, and very easy to customize modul my-album-p

Take a look, to the custimze versions of the modul on one of my sites

toyline:
http://www.world-of-cartoons.de/masknew/modules/toyline/photo.php?lid=1

episodeguide
http://www.world-of-cartoons.de/masknew/modules/myalbum2/viewcat.php?cid=1

klick on the deathstone and you will see the picturedescription.

Know my problem. I will added all the fields that I added to the submit.php and the rest, you can see there are a lot more new fields, to the editphoto.php, that other user can edit the pictures.

I´ve found the entrys in the editphoto.php, but the entrys are going into wrong fields in the database.

So, what I need to do, to take all the fields I need to edit, into the editphoto.php

thanks a lot and best reguards
Gordon

Votes:6 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2006/6/17 5:44
GIJOE  先任軍曹   Posts: 4110
I can't help your customized version at all.
Sorry.
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/6/17 15:29
Gordon  二等兵   Posts: 3
Hello GIJOE,

thanks for replay. I need to know, where I need to write the sting for the database.

For example Line 164

myalbum_update_photo( $lid , $cid , $title , $desc_text , $valid , $ext , $dim[0] , $dim[1] ) ;

If I write the new string, for example $short_desc into this string, it is filling a wrong field in the database.

So what I need to do???

Thanks
Votes:10 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/6/20 6:00
GIJOE  先任軍曹   Posts: 4110
just add a parameter of short_desc into myalbum_update_photo().

Of course you have to edit both of caller, and definition.
eg)
line 164 of editphoto.php
line 577 of include/functions.php
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/6/20 7:57
Gordon  二等兵   Posts: 3
Ok, thanks for replay

But it don´t works.

When I want to change the picture without a new upload, I need to change the editphoto on line 184, I think.

myalbum_update_photo( $lid , $cid , $title , $codename , $desc_text , $valid ) ;

But on witch position I need to change the code?

If I change it behint the $valid the ext will have the text I wrote into the field.

Please write me the position where I need to edit the code.

Tahts the only think I dont understand in this great modul.

It is very important. Because there are now 10 peple who wants to work on my site. But they only can work on the site, if I have the chance to edit this scripts.

The rest is easy, but this is hard.

Thanks for you time
Votes:6 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2006/6/21 5:15
GIJOE  先任軍曹   Posts: 4110
This is just an issue of parameter of php's function.
$ext , $x , $y are default parameters.

read php manual.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!