Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Photo Album v1.50 for Snitz 3.3.05 / 3.4
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 16

burthold
Junior Member

USA
426 Posts

Posted - 09 September 2002 :  11:22:14  Show Profile  Visit burthold's Homepage
Joatham,
Woops! lol, I'll correct it. I can't belive no one has said anything about it.

serverhacker,
The only reason the window size is there is for images that for some reason can't be identified properly for size by the size script. Very cool.

Rock on all!

Wes
Go to Top of Page

Steven044
Starting Member

USA
2 Posts

Posted - 09 September 2002 :  11:34:12  Show Profile  Visit Steven044's Homepage
Yeah, I did notice the typo when I was setting it up and when I searched for the code we needed to find it was not there, but at the time I was not registered here yet. I guess most people so far haven't had too much trouble figuring out the typo out though since it hasn't come up sooner.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 09 September 2002 :  19:32:06  Show Profile
Burthold,

It's cool now.. Worked out how to do it. Just added a little extra code, and now it lists both the cats and also a seperate list for the edit function of the admin.

I can send you that code if you like!
quote:
Originally posted by burthold

If you look at it in single album mode it is that way It will change in the next version. The users will be listed if you are an admin that will take you to edit user albums and the "normal" page will be below that with the normal user list and all the things users see. I just didn't have the umph to put it in the current version. Once 1.5 is bug free (I really think it is close) I will start working on the feature set for the next version. I will post a list of added features for people to pick apart soon.

As always, thanks for the feedback David,

Wes


Found another little error that I have not seen mentioned yet, but when you select to "Show Thumbnails on Category headings" it can not find the files. I have copied an image into the tn directory and named it with the tn at the front, but it still doesn't show it, it looks for the icon_photo_none.gif (but can not find this as the strImageURL is not in the code).

Do you need the Show Thumbnails on Category headings turned on befor uploading?

Cheers,

David Greening
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 09 September 2002 :  19:53:09  Show Profile  Visit burthold's Homepage
I would be more than happy to look at the admin code you have written! It wouldn't be the first chuck of code in the album not written by me! I personally haven't tested just copying a file into the tn directory. The way it does it is it looks for the file name and a tn_ tacked on. So, if you had an image called car.gif the thumbnail would be tn_car.gif in the tn directory. I'll play with it and look. I was trying to think of a way for people to batch load thumbnails exernally anyway.

Wes
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 10 September 2002 :  00:02:47  Show Profile  Visit burthold's Homepage
David, I tried to reply to your email and it dumped with a no relaying error. I am cleaning up the code you sent me. Thanks again!

Wes
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 10 September 2002 :  01:57:47  Show Profile  Visit burthold's Homepage
New files up!

bug fixes:
There was a bug in the thumbnailer code where thumbnails were not generated but no error was given. DOH!
Typo on the admin page hight changed to height
Typo in the readme.txt for version 3.4 only

Minor changes:
Added where admins see the same thing that users do plus have a seprate table to edit user albums. Idea by David, thanks for the code snippit I just ended up making a minor change to do the same thing.

Wes
Go to Top of Page

Mikael
Starting Member

36 Posts

Posted - 10 September 2002 :  19:03:30  Show Profile
Have a small problem.

I add categories up to the specified limit for example 3.
The problem is that I cannot get the option to delete one of my categories. I get only the following messages

"Current number of Categories in album: 3"
"Current number of Categories allowed: 3"
"Over Category Limit, Delete some Categories before uploading more. "

The option to delete a category is missing so I am stuck there. I have to go to the admin options and allow for 4 subcategories in order to go back and be able to delete one of my categories.
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 10 September 2002 :  20:34:16  Show Profile  Visit burthold's Homepage
Woops! I'll correct it. There is a couple of bugs that David is helping me track down as well.
Go to Top of Page

auditude
Starting Member

USA
37 Posts

Posted - 10 September 2002 :  21:43:58  Show Profile
Hmm not sure if anyone else has this problem, but it seems as though the code in photo_album.asp is crashing my asp server.

I'm running ChiliASP 3.6.2 on Redhat with MySQL. This is the error in my ChiliASP log...

Tue Sep 10 21:26:27 2002 ENGINE: engine exception, port: 3001, code: 11.
Tue Sep 10 21:26:27 2002 CASPD: child engine died: 0, pid: 19553

Has anyone else experienced this? This is a new one for me...
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 10 September 2002 :  22:14:06  Show Profile  Visit burthold's Homepage
New files up
bug fixes:
Thumbnailer error, thumbnails were not being created in all instances mainly dealing with the dreaded spaces in user names or file names.
Category thumbnails not displayed even when the option was checked.
Categories could not be deleted if user was over limit

I have not tested the thumbnailer at all with chiliASP I have never personally worked with chiliASP and don't know what calls it doesn't support. If I ever get time I'll test with it and see if I can make it chilisoft compliant. I have a linux box but I don't do any web development on it just tools that import and export data from diffrent sources and MySQL/Postrege SQL.

Wes
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 11 September 2002 :  13:19:40  Show Profile  Visit burthold's Homepage
Minor bug fixed.
paging was not working properly in single album mode. Please find this code block and make changes noted or download the new files.

if aData(0,0) = 0 then
response.write "<div align = center>There are currently No Photos in this album!</div>"
else
if intPage > 1 then ' We're not on the 1st page, show a previous link
ref = "<a href=photo_album_view.asp?"
'***old line ** ref = ref &"&cid="&cid
'***new line ** ref = ref &"cid="&cid
ref = ref &"&page="&intPage - 1
ref = ref &">Previous Page</a> "
response.write ref
end if
intRecordsPerPage = 6 '10 Records per page
intFirstRecord = (intPage - 1) * intRecordsPerPage 'The first record to display
if intFirstRecord + (intRecordsPerPage - 1) >= ubound(aData,2) then 'We're on the last page
intLastRecord = ubound(aData, 2)
else 'There's more pages - show a next link
intLastRecord = intFirstRecord + (intRecordsPerPage - 1)
ref = "<a href=photo_album_view.asp?"
'***old line ** ref = ref &"&cid="&cid
'***new line ** ref = ref &"cid="&cid
ref = ref &"&page="&intPage + 1
ref = ref &">Next Page</a>"
response.write ref
end if

Edited by - burthold on 11 September 2002 13:20:25
Go to Top of Page

XavierSlater
Junior Member

United Kingdom
137 Posts

Posted - 11 September 2002 :  20:23:15  Show Profile  Visit XavierSlater's Homepage
I am getting script timeouts when trying to add Categories....

Any thoughts?
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 11 September 2002 :  20:27:37  Show Profile  Visit burthold's Homepage
can you tell me what mode you have the album in? Are you doing it as administrator or a regular user?
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 11 September 2002 :  22:57:15  Show Profile
ok I am stumped. I have keep getting "File did not upload to system please contact the system administrator"

I have my Root file Dir set to /uploads and I phoned to make sure I have write on it. I have been trying to get this going for a couple of days now and I am running out of idea.

I did read the previous post but I am still stumped

Could you give me a hand?

Thanks

I am using 3.4.02 and Access 2000
Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 11 September 2002 :  23:33:18  Show Profile  Visit burthold's Homepage
Well... I didn't find the file with the path specified. That is usually caused by three things, One, FSO support is old. Two, Permissions are incorrect. Three you didn't inter the path correctly. So, if you set your directory to /uploads it should point to http://www.yoursite.com/uploads the file should be http://www.yoursite.com/uploads/mypicture.jpg if that isn't the case then it can't get to the file. It uses server.mappath to find out what the real path is. Check your email I will do what I can but remember, this is all free.

Wes
Go to Top of Page
Page: of 16 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07