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)
 MOD: Photo Album for snitz 3.4.x version 1.82
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 13

jfitz
Junior Member

USA
345 Posts

Posted - 12 April 2003 :  11:26:07  Show Profile  Reply with Quote
We do change user names occasionally. Our (relatively unsophisticated) users tend to use their email address as user name when they register, and I request that they pick another name. Plus we have had some get married (98% women in our forums) and want to change their name (e.g., TiffanyW becomes TiffanyB).

I might have been testing the security on a slightly earlier version of your mod...I need to download it again and check against any recent fixes you've implementd.

What kind of DB layout did you mean?<

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

Edited by - jfitz on 12 April 2003 11:27:55
Go to Top of Page

stylishvn
Junior Member

Vietnam
185 Posts

Posted - 13 April 2003 :  03:46:33  Show Profile  Visit stylishvn's Homepage  Send stylishvn an ICQ Message  Send stylishvn a Yahoo! Message  Reply with Quote
quote:
burthold Posted - 08 April 2003 : 15:58:05

Added!

Wes


wat do u means
hope thiz MOD 'll avail soon with some features addon like: members can post ur comment under (or beside) the pics, display counter when view pics....
thanks MOD's founder <

..:: Welcome #Snitz in Dalnet ::..

Edited by - stylishvn on 13 April 2003 03:52:48
Go to Top of Page

ftropea
Starting Member

16 Posts

Posted - 13 April 2003 :  22:17:09  Show Profile  Visit ftropea's Homepage  Reply with Quote
First off.. Thanks Burthold - GREAT MOD :) I love it as it really adds a lot to my site.

Here is something some of you may find useful. I hope Burthold doesn't mind me posting this here.

I use the following code to create a link called "My Photos" which appears right under the total # of posts. If an album exists for that member, then the link appears and takes you directly to that member's album. If there isn't an album - then no link. Hopefully someone will find this useful.

DEMO: Check out this thread.. under God1138's name for example.. http://www.segwaychat.com/forum/topic.asp?TOPIC_ID=2580

MOD: http://www.segwaychat.com/files/my-photos-mod.txt

SNAPSHOT:



- THE MOD -


IN TOPIC.ASP

Around Line 587:

quote:
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font></p></td>" & vbNewLine & _
" <td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"

Replace With:

quote:
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font></p>" & vbNewLine

'#### Check if there is a photo album

if Reply_MemberName <> "" then
strSql = "SELECT MEMBER_ID"
strSql = strSql & " FROM " & strMemberTablePrefix & "ALBUM_USERS "
strSql = strSql & " WHERE M_Name = '" &Reply_MemberName& "'"

set M_ID = my_Conn.Execute(strSql)

if M_ID.BOF or M_ID.EOF then
dont_display = 1
end if

if dont_display = 0 then

photo_id = M_ID("MEMBER_ID")

ref = "<a href=photo_album_cat.asp?sqldtl="
ref = ref & Server.URLEncode(photo_id)
ref = ref &">"
ref = ref & "My Photos</a>"
response.write ref
end if
end if
dont_display = 0

'### END CHECK IF THERE IS PHOTO ALBUM
Response.Write " </td><td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"



Around Line 792, find this code:

quote:
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts</small></font></p></td>" & vbNewLine & _
" <td bgcolor=""" & strForumFirstCellColor & """ width=""" & strTopicWidthRight & """"


Replace with:

quote:
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts</small></font></p>" & vbNewLine

'#### Check if there is a photo album

if Member_Name <> "" then
strSql = "SELECT MEMBER_ID"
strSql = strSql & " FROM " & strMemberTablePrefix & "ALBUM_USERS "
strSql = strSql & " WHERE M_Name = '" &Member_Name& "'"

set M_ID = my_Conn.Execute(strSql)

if M_ID.BOF or M_ID.EOF then
dont_display = 1
end if

if dont_display = 0 then

photo_id = M_ID("MEMBER_ID")

ref = "<a href=photo_album_cat.asp?sqldtl="
ref = ref & Server.URLEncode(photo_id)
ref = ref &">"
ref = ref & "My Photos</a>"
response.write ref
end if
end if
dont_display = 0

'### END CHECK IF THERE IS PHOTO ALBUM
Response.Write " </td><td bgcolor=""" & strForumFirstCellColor & """ width=""" & strTopicWidthRight & """"



Let me know if you have any questions. You can also email me at: segwaychat@segwaychat.com


BTW, Burthold - If I could ask for some wishlist items..

1 - The Mac compatibility issue.. please :) I have a lot of creative users who want to post photos from their Macs.

2 - The ability to control the maximum # of photos allowed in an album by user... not just a broad brush setting. For example, I may want everyone to start off with a max of 5 photos in their album but I want the flexibility to increase an individual user's max to whatever I wish.

3 - Alphabetize the member list. When you get close to a 1,000 members it's tuff finding them on that list.

4 - Also, I think there is a bug that needs to be fixed. If a member name has a space in it (like "John Doe"), I think they're unable to upload photos.<


Regards,

Frank A. Tropea
www.SegwayChat.com

Edited by - ftropea on 14 April 2003 07:29:17
Go to Top of Page

al_iguana
Junior Member

138 Posts

Posted - 14 April 2003 :  18:08:38  Show Profile  Visit al_iguana's Homepage  Reply with Quote
i was told that the Mac compatibility thing is due to the Macs uploading in macbinary format, especially from Internet Explorer. could be a red-herring, but worth checking.

i would also like, as well as an Alphabetical list, a list ordered by number of photos. and a list ordered by last upload date. sorry for adding to your workload. just suggestions <

----

Don't Dream It ~ Be It
http://www.peppermintiguana.co.uk/cymrugothic/

Edited by - al_iguana on 14 April 2003 18:11:33
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 14 April 2003 :  21:56:45  Show Profile  Reply with Quote
As far as the list goes, alphabetical or not, we have over 2000 members, and would just as soon not even bother with the list. I really like the link that Frank Tropea suggested; that's the way we're planning to implement the photo album on our forums.<

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page

kentrubin
Starting Member

USA
5 Posts

Posted - 30 April 2003 :  00:40:38  Show Profile  Visit kentrubin's Homepage  Send kentrubin an AOL message  Reply with Quote
Having problems uploading. When I do the test on the admin page, I get "Write to file failed.No Errors detected, If you are still haveing problems please send me an email to Wesley Brown."

Is there an upload app I need to install?

Before I upload, I get the message under troubleshooting in the Execute NConvert area:
Error: Could not create process
If error reads "Error: Could not create process" then you do not have permission to execute NConvert.exe.

I should I gave it scripts and executables in IIS. Am I close?<
Go to Top of Page

korayem
New Member

Egypt
72 Posts

Posted - 01 May 2003 :  09:19:58  Show Profile  Reply with Quote
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=43934

new file sharing mod, combines file lister, mikes file attachment and photo album mod into one single mod...8-D

plus other new enhanced feauters

still in beta...<


By the time you read this, you've already read it!!
http://HASdot.COM/

Edited by - korayem on 01 May 2003 09:23:30
Go to Top of Page

MongooseKY
Starting Member

9 Posts

Posted - 14 May 2003 :  22:24:36  Show Profile  Visit MongooseKY's Homepage  Reply with Quote
Great mod Burthold! I'm very anxiously awaiting the next release, especially the change to sort the user list and to allow the viewing of only albums that have viewable photos.

Kudos to you for making a mod that has such little impact on the base Snitz code and database.

<
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 15 May 2003 :  01:41:46  Show Profile  Reply with Quote
You mod works wonderfully, Burthold!

I retract my previous concern about the size of the master photo album list. My concerns were misplaced. In addition, we've decided to offer the photo album feature as an incentive to those forum members who reach two stars, so that cuts the number of albums down a bit.

I'm going to modify our photo albums so that the number of allowed files increases with the member's star rank. Might I suggest you consider that feature as a possibility for a future version?

I also modified topic.asp to include a camera icon with a conditional link to the poster's album, in the event that the poster has an album and it is not empty.

I did the same with the user profile, but using a text link instead.

Our users love the photo album. Thanks again for a mod well done.<

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

Edited by - jfitz on 15 May 2003 11:00:36
Go to Top of Page

AWD_ENVY
Junior Member

103 Posts

Posted - 16 May 2003 :  10:41:32  Show Profile  Reply with Quote
I currently have my photoalbum modified from the orignial to the following:

1. Only Shows memebers that have uploaded photos into their album
2. Give count of each members Photos in the members albums listing screen
3. Display's their most recently uploaded updated picture as their album image(keeps the album section looking diffrient).
4. If a user doesn't select a title image for a folder, then it automaticly uses the most recent picture in that folder.
5. Better tweeked to use thumbnails/images properly
6. Display's a "photoicon" in the forums if the user has a album with images.

If anyone wants info on any of the above, let me know.... I like the photoalbum MUCH better now.<

Edited by - AWD_ENVY on 16 May 2003 10:42:22
Go to Top of Page

stylishvn
Junior Member

Vietnam
185 Posts

Posted - 16 May 2003 :  13:39:09  Show Profile  Visit stylishvn's Homepage  Send stylishvn an ICQ Message  Send stylishvn a Yahoo! Message  Reply with Quote
AWD_ENVY,
I need it, post a link or other way let me see, thanks <

..:: Welcome #Snitz in Dalnet ::..
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 16 May 2003 :  13:55:11  Show Profile  Reply with Quote
Yes please - show us the link.<
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 17 May 2003 :  23:21:42  Show Profile  Reply with Quote
me three<

www.thomasforum.com
Go to Top of Page

MongooseKY
Starting Member

9 Posts

Posted - 19 May 2003 :  11:52:08  Show Profile  Visit MongooseKY's Homepage  Reply with Quote
AWD_ENVY - looks like several of us are interested in your updates to the photo album mod - pass us a link please!!<
Go to Top of Page

AWD_ENVY
Junior Member

103 Posts

Posted - 19 May 2003 :  14:57:59  Show Profile  Reply with Quote
Here's the link to the photoalbum

http://www.indycarz.com/forum/photo_album.asp

We where having a big problem with people stealing images, so I made a Anti-Hot linking filter. This means the Image works if viewed from the site, but shows as stolen image anywhere else.

Example: http://www.indycarz.com/imgsrv.asp?img=v10killer/nice_conversion.jpg

Note that this image will work, if it has be viewd from our site. This has helped with bandwidth ALOT.

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