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)
 Picture Insert MOD for users of Photo Album v182
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

rodham
New Member

65 Posts

Posted - 23 March 2005 :  21:15:31  Show Profile  Visit rodham's Homepage
I have written a simple mod that allows a Photo Album user to select an image from their album while posting within the forums. It uses the available thumbnail and creates a link to the full size image as part of the insert.

I'm not sure if anyone would want this mod??? it has a single file to install into the forum directory and a single include line in the post.asp file.

To try it out and login as user=test pwd=test

This mod works only with Photo Album v182

03/24 - Ok, there's some interest - Edited this post to include a link to the mod:

insert_image_mod.zip v1.d

02/28 - version, 1.d:
- fixed up small bugs
- added reset Image dropdown box after image selected

03/26 - New version, 1.c:
- fixed up for Single Album Mode
- Added switch to show all images or only images belonging to member in Single Album Mode

Note: Review and test before asuming everything is Ok! I don't have many users online yet or incredibly large albums, so I don't know what will happen when the code tries to parse hundreds of images into dropdown boxes.

Edited by - rodham on 28 March 2005 08:25:17

andretti
New Member

70 Posts

Posted - 23 March 2005 :  21:40:31  Show Profile  Visit andretti's Homepage  Send andretti an AOL message  Send andretti a Yahoo! Message
That looks great. I sent you an email

Thanks
David
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 23 March 2005 :  23:17:26  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Will it work with the Classifieds mod as well? I'd definitely like a copy of it!

h

I reject your reality and substitute my own.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 24 March 2005 :  02:29:07  Show Profile
So when are you going to release this? It looks quite nice...

Cheers,

David Greening
Go to Top of Page

rodham
New Member

65 Posts

Posted - 24 March 2005 :  07:13:17  Show Profile  Visit rodham's Homepage
Some interest...
Added a link to the mod in the first post.

h
I dunno about the Classifieds Mod, you'll have to try it!

Edited by - rodham on 24 March 2005 07:16:28
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 24 March 2005 :  08:07:29  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
OK, I'll give it a shot! Thanks for posting the link!

h

I reject your reality and substitute my own.
Go to Top of Page

andretti
New Member

70 Posts

Posted - 24 March 2005 :  08:41:18  Show Profile  Visit andretti's Homepage  Send andretti an AOL message  Send andretti a Yahoo! Message
Thank Rodham for putting something like that together. A nice addition.
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 26 March 2005 :  10:43:17  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Rodham,

Having some troubles...When I put the inc_insert_image.asp into my post.asp, the post box looks funky and it doesn't write my footer. See attached screenshot...

h


I reject your reality and substitute my own.
Go to Top of Page

rodham
New Member

65 Posts

Posted - 26 March 2005 :  11:02:48  Show Profile  Visit rodham's Homepage
It could be the single album mode...

Please try this for me:
At line 109 of inc_insert_image.asp
Replace:
sSQL = "Select * From " & strMemberTablePrefix & "ALBUM_CAT Where Member_id=" & iUserID

With:

if single_album = 0 then
   sSQL = "Select * From " & strMemberTablePrefix & "ALBUM_CAT Where Member_id=" & iUserID
else
   sSQL = "Select * From " & strMemberTablePrefix & "ALBUM_CAT"
end if


Thanks for trying it, much appreciated having a single album mode to try it on.

Edited by - rodham on 26 March 2005 11:18:04
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 26 March 2005 :  11:50:05  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
rodham,

That helped, but it's not pulling the albums or images properly...

Here's my main photo album view:


There shouldn't be any albums listed as "main album"


It's not showing any of my images, I have 4 in my personal album.


I can see you're online at my forum right now, I have it set to give you photo album rights automatically, so feel free to post an image or two and play with it. I've gotta go to work, so I won't be back until after 6pm (PST) tonight.

h

I reject your reality and substitute my own.
Go to Top of Page

rodham
New Member

65 Posts

Posted - 26 March 2005 :  11:57:31  Show Profile  Visit rodham's Homepage
Ya think, I know what's hapening and I'm on it. Don't work to hard today.
Go to Top of Page

rodham
New Member

65 Posts

Posted - 26 March 2005 :  16:10:42  Show Profile  Visit rodham's Homepage
Fixed up for Single Album Mode,

See first post for link to version 1.c
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 26 March 2005 :  22:43:04  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Thanks Rod,

I installed your update, it's set to show all images, but it still shows none of the images. The categories are listing properly, but no images.

What's next?

h

I reject your reality and substitute my own.
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 26 March 2005 :  22:49:27  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
OK, did some more testing...I changed the inc_insert_image.asp to show my images only, and the categories changed properly to only show those categories where I have images, however, it still is not showing any of my images...

h

I reject your reality and substitute my own.
Go to Top of Page

rodham
New Member

65 Posts

Posted - 26 March 2005 :  23:51:56  Show Profile  Visit rodham's Homepage
How was work today?

It worked for me on your site, except for images in the Volcano Cat. It seams to me that you may have a few orphan records in PHOTO_ALBUM_CAT.

You should also upload some new images using the member id that currently not showing any images.
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 27 March 2005 :  00:53:23  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Work was OK...kind of slow, then slamming busy, then slow again, then slamming busy again...

I saw what you uploaded, but when I upload a new picture using my profile, I still don't see any pictures.

h

I reject your reality and substitute my own.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07