Show albums with new pictures? - Postet den (1196 Views)
Junior Member
Davecl
Innlegg: 105
105
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
   
 Sidestørrelse 
Postet den
Junior Member
Helterskelter
Innlegg: 331
331
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<
Postet den
Starting Member
imweazel
Innlegg: 49
49
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<
Postet den
Junior Member
Davecl
Innlegg: 105
105
thanks

maybe i can figure something out from the code of this add-on, then again maybe not smile<
Dave
Postet den
Junior Member
Davecl
Innlegg: 105
105
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
Postet den
Junior Member
Helterskelter
Innlegg: 331
331
I'll be intrested in the code your using.
Have you tried it in a table?
Code:

<%
'#################################################################################
'# 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.<
Postet den
Junior Member
Davecl
Innlegg: 105
105
but i don't want to make a link to the page, i want the page to appear here ??????<
Dave
Postet den
Junior Member
Helterskelter
Innlegg: 331
331
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
Code:
					"		<TD>link code here</TD>"  & vbNewline & _
" </TR></TABLE>& vbNewline & _

With
Code:

					"		<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 & _
<
Postet den
Junior Member
Davecl
Innlegg: 105
105
still not got it working, will keep trying :-)<
Dave
Postet den
Junior Member
Helterskelter
Innlegg: 331
331
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<
Postet den
Junior Member
Davecl
Innlegg: 105
105
can we go to email helter???<
Dave
Du må legge inn en melding