Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - pop_up_profile.asp problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

pop_up_profile.asp problem

 Post Reply Post Reply Page  <12
Author
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 11:57am

didnt see ya last post when i posted

that's becose your missing the "end if" where the arrow points it should look like this

If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") end if   

Response.Write(""" alt=""" & strGroupName & """  align=""absmiddle"">")

also the next "response.write" should be on the next line, like i did above

this will fix the problem,...... i hope

Back to Top
JoeP View Drop Down
Newbie
Newbie
Avatar

Joined: 10 October 2003
Location: United States
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote JoeP Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 12:52pm

Thank you Scotty_32.  Now I can take a break and have some turkey!

Well it certainly played a part of the problem!  The original file code layout does not agree with FP and when you mod with FP and save it causes all the little char to appear representing spaces etc.  The lenth of the line causes some problems to.

Following your tip I cut the line into pieces and broke out the If statement to include an End If.

I also Did a response.write on the <SRC part.  It finally took the changes.  In case anyone else has the line 268 problem using FP here is the solution that worked for me:

<tr>
<td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text">
<% = strTxtGroup %>:
</td>
<td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" class="text">
<% = strGroupName %>

<%
Response.write("<img src=""")
If strRankCustomStars <> "" Then
 Response.Write(strRankCustomStars)
Else

Response.Write(strImagePath & intRankStars & "_star_rating.gif")
End If

Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">")
%>
</td>
</tr>

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.