grim FusionBB Newbie Total Posts: 15
 Average Post Ranks%:
|
01-06-10 04:53 PM - Post#83685
OK I'm looking for the way to fix the personal Gallery on my site. I'm using fusionbb 3.0 final and can not for the life of me get the photos uploaded. Someone said it is a "bug" in fusion 3.0 final, but I guess it works in "3.1 Beta" ....If so, is there a fix for 3.0 Final?
|
Couchtomatoe Code Monkey Total Posts: 3049
 Birthday: 02-03 Location: Richmond, Virginia Average Post Ranks%:
|
01-06-10 05:06 PM - Post#83686
In response to grim
I need to know what it is doing/not doing
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-06-10 05:28 PM - Post#83687
In response to grim
You can't upload the photos to the gallery? Did you check the following:
Gallery path in the control panel
Permissions on the gallery path
Permissions on uploads
|
grim FusionBB Newbie Total Posts: 15
 Average Post Ranks%:
|
01-06-10 08:30 PM - Post#83692
In response to Chris Peterson
I checked the path for the gallery in CP/Edit/configsetting/urlpath....Checked the permissions on the Gallery,It's Ok I believe....The Permissions on uploads I know nothing about.....point me and I shall go there.
|
dman FusionBB Fanatic Total Posts: 1348
 Average Post Ranks%:
|
01-06-10 10:37 PM - Post#83693
In response to Chris Peterson
Gallery path in the control panel
This might be the problem.
It doesn't work on my 3.0 version either.
I tried to upload an image to my site and it is blank also. The address on the properties is http://www.doording.com/home/doording/pu... but nothing shows up.
Do we have to have the individual users gallery folders set up instead of all of the images going in to one folder for this to work?
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-06-10 11:25 PM - Post#83694
In response to dman
I honestly haven't tested this feature out completely myself. I'll try to sit down tomorrow and play with it to see what is going on and check back.
|
grim FusionBB Newbie Total Posts: 15
 Average Post Ranks%:
|
|
Couchtomatoe Code Monkey Total Posts: 3049
 Birthday: 02-03 Location: Richmond, Virginia Average Post Ranks%:
|
01-07-10 12:24 PM - Post#83697
In response to grim
No you dont have to have the personal gallery path setup. Do this for me.. when you try to upload an image does it show ANYTHING on the screen that is clickable? if so click it and see where it says the picture should be.. then go to that dirctory on your server and see if the imge is there..
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-07-10 01:55 PM - Post#83698
In response to Couchtomatoe
Ok I think I see what they are seeing. On my test site I tried to upload photos to my personal gallery via my userpage. It goes through the motions but never actually uploads the photo.
Aside from the Can Post User Gallery global permission, what other permissions are associated with this process?
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-07-10 02:01 PM - Post#83699
In response to Chris Peterson
Ok, my path to my gallery directory had a typo. So.... Check the path to the gallery or I assume, uploads path, if you don't have a gallery path specified.
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-07-10 02:04 PM - Post#83700
In response to Chris Peterson
I tried turning off the gallery URL and it does use the uploads path, but the image is linked to the physical path rather than the URL.
CT, is this a bug?
|
Couchtomatoe Code Monkey Total Posts: 3049
 Birthday: 02-03 Location: Richmond, Virginia Average Post Ranks%:
|
|
grim FusionBB Newbie Total Posts: 15
 Average Post Ranks%:
|
01-12-10 02:08 PM - Post#83766
In response to Couchtomatoe
Hey couch did you ever find out how to fix the personal gallery section on "3.0 Final"?
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-12-10 11:40 PM - Post#83771
In response to grim
Do the following:
in includes/common.php find
Code:
if(is_file("{$conf['file_dir']}/$file_name")){
$photo = '';
$photo = "<tr><td class='".$template->alternateColor()."' align='center'><!--DELETE_PIC--> <a href='<!--FILE_NAME-->' title='' rel='lightbox[group]'><img src='<!--THUMB_FILE_NAME-->' /></a></td></tr>";
$photo = str_replace("<!--THUMB_FILE_NAME-->","{$conf['file_dir']}/thumb_$file_name",$photo);
$photo = str_replace("<!--FILE_NAME-->","{$conf['file_dir']}/$file_name",$photo);
if($uid == $session->uid){
$photo = str_replace("<!--DELETE_PIC-->",$html->createCheckBox("pic[]",$file_id),$photo);
}
$gallery_display .= $photo;
}
change to
Code:
if(is_file("{$conf['file_dir']}/$file_name")){
$photo = '';
$photo = "<tr><td class='".$template->alternateColor()."' align='center'><!--DELETE_PIC--> <a href='<!--FILE_NAME-->' title='' rel='lightbox[group]'><img src='<!--THUMB_FILE_NAME-->' /></a></td></tr>";
$photo = str_replace("<!--THUMB_FILE_NAME-->","{$conf['file_url']}/thumb_$file_name",$photo);
$photo = str_replace("<!--FILE_NAME-->","{$conf['file_url']}/$file_name",$photo);
if($uid == $session->uid){
$photo = str_replace("<!--DELETE_PIC-->",$html->createCheckBox("pic[]",$file_id),$photo);
}
$gallery_display .= $photo;
}
|
dman FusionBB Fanatic Total Posts: 1348
 Average Post Ranks%:
|
|
Chris Peterson FusionBB Fanatic Total Posts: 3758
 Location: West Fargo, ND Average Post Ranks%:
|
01-13-10 12:40 PM - Post#83776
In response to dman
FYI this has been fixed in 3.1.
|