Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 26 July 2012 : 03:07:15
|
If I place the <!--#INCLUDE FILE="member_spotlight.asp" --> in my default.asp so that it will display within the same area as the Streaming Media Mod, this is the error I receive:

I am placing it in the same area as the other include files so it does have the <% %> in the appropriate area. :)
If I place the <!--#INCLUDE FILE="member_spotlight.asp" --> in my default.asp so that it will display just above the Streaming Media Mod area, this is the error I receive:

I don't know if I am doing something wrong or if there is a conflict with another mod so here is my member_spotlight.asp in txt format.
member_spotlight.asp in txt format
Any/all help will be greatly appreciated!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 26 July 2012 03:10:43 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 26 July 2012 : 05:42:37
|
The odd appearance of the member spotlight means that it didn't find someone with a photo URL or that the URL no longer points to a photograph.
See below .... |
Edited by - Carefree on 20 August 2012 19:18:46 |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 27 July 2012 : 18:20:27
|
I used that and now I am getting this error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/tfp/member_spotlight.asp, line 10
Here are lines 5 - 16:
If not rsMemInSpot.EOF Then Dim intRnd Randomize Timer intRnd = (Int(RND * rsMemInSpot.RecordCount)) rsMemInSpot.Move intRnd strMemInSpot = rsMemInSpot("M_PHOTO_URL") If rsMemInSpot("M_LEVEL") > "2" Then strCColor=strAUAdminColor ElseIf rsMemInSpot("M_LEVEL") = "2" Then strCColor=strAUModColor Else strCColor=strAUMemColor
But I must have an error somewhere else, too. I didn't have the photo feature enabled in the member's profile because it wasn't displaying their photo, only the red x. I enabled it to this and that's the reason I am getting that error, I assume.
So, I will include a link to my pop_profile.asp in txt format. Hopefully, that's the correct file.
profile.asp in txt format
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 20 August 2012 : 19:22:29
|
Here's a version that works with Access & MySQL:
|
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 21 August 2012 : 08:39:57
|
That worked! YEA! :)
You are Sooooo good with your help, Carefree!!
Thank you Soooo MUCH!!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
|
Topic  |
|
|
|