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/O Code)
 Show albums with new pictures?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 13 October 2005 :  01:52:45  Show Profile  Visit Davecl's Homepage  Reply with Quote
Is there a way to show say the last 5 albums with new pictures on the default forum page??
using the photo album mod.<

Dave

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 13 October 2005 :  03:29:15  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
Nope.... this has been talked about but nobody has had the time to do.

I'm using a random picture, but it only loads from the account u set it to.

Helter<

Go to Top of Page

imweazel
Starting Member

49 Posts

Posted - 13 October 2005 :  08:16:07  Show Profile  Reply with Quote
There is a Photo Gallery add on for Burthold's Photo Album that shows the last 12 shots in the gallerys main page.

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=218<

Edited by - imweazel on 13 October 2005 08:16:25
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 13 October 2005 :  09:02:36  Show Profile  Visit Davecl's Homepage  Reply with Quote
thanks

maybe i can figure something out from the code of this add-on, then again maybe not <

Dave
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 23 October 2005 :  15:02:32  Show Profile  Visit Davecl's Homepage  Reply with Quote
okay, i've now developed my own page to show the last 20 albums that have pics added (not using the code above though, that was beyond me), it's very rough and ready but it works.
now i need to get it to show on default.asp in the space marked by the red cross



i think i need to do this with an include in inc_photo_album.asp, text file http://www.parrotlinks.com/incphotoalbum.txt but I can't seem to get the placement of the include right, it either appears in 2 different places and on a black background or throws up erroneous errors.
if i go straight to the page in my browser it's fine, it's just the placement of the include that's eluding me.
any help greatly appreciated<

Dave
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 23 October 2005 :  17:26:55  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
I'll be intrested in the code your using.

Have you tried it in a table?


<%
'#################################################################################
'# Copyright (C) 2000-02 Wesley D. Brown
'# Photo Album v.05 for Snitz 3.3.05
'# This is include for default.asp it builds the small table needed for navigation
'#################################################################################

	Response.Write	"      <tr>" & vbNewline & _
			"        <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(7,6) &_
			"""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """ size=""+1""><b>Photo Album</b></font></td>" & vbNewline & _
					"      </tr>" & vbNewline & _
					"      <tr>" & vbNewline & _
					"        <td rowspan=""" & vbNewline & _
					"							1"& vbNewline & _
					""" bgcolor=""" & strForumCellColor & """> </td>"& vbNewline & _
					"        <td bgcolor=""" & strForumCellColor & """ colspan=""6"">" & vbNewline & _
					"		<TABLE border=0 width=""100%""><TR>" & vbNewline & _
					"		<TD width=""50%""><font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">"&strForumTitle&" Photo Album</a></font>" & vbNewline & _</TD>" & vbNewline & _
					"		<TD>link code here</TD>"  & vbNewline & _
					"	</TR></TABLE>& vbNewline & _			
					"   
					"        </td>" & vbNewline & _
					"	  </tr>" & vbNewline
%>



Hope that helps.<


Edited by - Helterskelter on 23 October 2005 17:28:02
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 25 October 2005 :  05:00:03  Show Profile  Visit Davecl's Homepage  Reply with Quote
but i don't want to make a link to the page, i want the page to appear here ??????<

Dave
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 25 October 2005 :  11:36:57  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
Then place the code calling the data there

If you looking at formatting the images into their own table then that will have to be done in your codeing.
But you may want to place the images under the text not next to it.
To do that try.

replacing
					"		<TD>link code here</TD>"  & vbNewline & _
					"	</TR></TABLE>& vbNewline & _		


With

					"		<TABLE border=0 width=""100%""><TR>" & vbNewline & _
					"		<TD><font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">"&strForumTitle&" Photo Album</a></font>" & vbNewline & _</TD>" & vbNewline & _
					"	</TR> & vbNewline & _
					"       <TR> & vbNewline & _
					"       Code Here & vbNewline & _
					"       </TR> & vbNewline & _
					"       </TABLE> & vbNewline & _		
<

Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 28 October 2005 :  02:32:58  Show Profile  Visit Davecl's Homepage  Reply with Quote
still not got it working, will keep trying :-)<

Dave
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 28 October 2005 :  17:00:19  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
I cant think of what else to do then, i guess u could call a iframe but an include sould do the work as there's no external data.

Let me know how it goes, as it would be good to get working, I'll have a look at the other code when i get time but I get very little of that ATM.

Helter<

Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 30 October 2005 :  01:56:28  Show Profile  Visit Davecl's Homepage  Reply with Quote
can we go to email helter???<

Dave
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 04 November 2005 :  09:41:29  Show Profile  Visit Davecl's Homepage  Reply with Quote
had any luck helter???<

Dave
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 13 November 2005 :  15:53:32  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message  Reply with Quote
http://www.livingfish.co.uk/test/<

Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 15 November 2005 :  05:16:13  Show Profile  Visit Davecl's Homepage  Reply with Quote
thanks for all your help mate, it's up and running <

Dave
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 18 November 2005 :  10:09:27  Show Profile  Visit Davecl's Homepage  Reply with Quote
woo woo

now got it showing thumbnails of the last 20 pics, unfortunately one doesn't display but this is because the phto album mod doesn't make a thumbnail of animated gifs and this pic is an animated gif
Also because of the sql i had to use the pics are not in order of latest added but are in alphabetical order of the members name but it works.
I would also like to explain that if one member adds 20 pics then this does not display just that members pics, it only displays one and then goes to the next latest pic by a different member, so users can see the last 20 members who uploaded a pic not just the last 20 pics if you see what i mean.

check it out http://www.parrotlinks.com/forum2/default.asp


<

Dave
Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 18 November 2005 :  10:31:10  Show Profile  Reply with Quote
Hi!
I've installed the Add on. Can i have the code for seeing the picture in the "homepage" of the forum like yours?
the .txt file you gave is unavailable.
another question: where i'll put the code you'll give me?
thanks<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07