Author |
Topic  |
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 13 October 2005 : 01:52:45
|
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
|
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< |
 |
 |
|
imweazel
Starting Member
49 Posts |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 13 October 2005 : 09:02:36
|
thanks
maybe i can figure something out from the code of this add-on, then again maybe not < |
Dave |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 23 October 2005 : 15:02:32
|
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 |
 |
|
Helterskelter
Junior Member
 
United Kingdom
331 Posts |
Posted - 23 October 2005 : 17:26:55
|
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 |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 25 October 2005 : 05:00:03
|
but i don't want to make a link to the page, i want the page to appear here ??????< |
Dave |
 |
|
Helterskelter
Junior Member
 
United Kingdom
331 Posts |
Posted - 25 October 2005 : 11:36:57
|
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 & _
< |
 |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 28 October 2005 : 02:32:58
|
still not got it working, will keep trying :-)< |
Dave |
 |
|
Helterskelter
Junior Member
 
United Kingdom
331 Posts |
Posted - 28 October 2005 : 17:00:19
|
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< |
 |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 30 October 2005 : 01:56:28
|
can we go to email helter???< |
Dave |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 04 November 2005 : 09:41:29
|
had any luck helter???< |
Dave |
 |
|
Helterskelter
Junior Member
 
United Kingdom
331 Posts |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 15 November 2005 : 05:16:13
|
thanks for all your help mate, it's up and running < |
Dave |
 |
|
Davecl
Junior Member
 
United Kingdom
105 Posts |
Posted - 18 November 2005 : 10:09:27
|
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 |
 |
|
Riccardo
New Member

86 Posts |
Posted - 18 November 2005 : 10:31:10
|
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)
|
 |
|
Topic  |
|