Print Page | Close Window

pop_up_profile.asp help please

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8993
Printed Date: 16 April 2026 at 6:33am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: pop_up_profile.asp help please
Posted By: wingking
Subject: pop_up_profile.asp help please
Date Posted: 17 January 2004 at 12:10am

I have tried and retried and tried again to fix this bug so now I plead for help. At first I thought this was a corruption in the download so I have redone it countless times. In the code this is stated a little over half way down the page.   <tr>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text"><% = strTxtGroup %>:</td>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" class="text"><% = strGroupName %>
         <img src="<% If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif")   Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">") %>%3C/td%3E%20%20%20%20%20%20%20%20%3C/tr%3E%20%20%20%20% 20%20%20%20%20%3Ctr%3E%20%20%20%20%20%20%20%20%20%3Ctd%20bac kground="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text"><% = strTxtAccountStatus %>:</td>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" class="text"><% If blnActive = True Then Response.Write(strTxtActive) Else Response.Write(strTxtNotActive)%></td>
        </tr>
        </tr>

 

it is not good code but can not figure out where it goes wrong. PLease help does anyone else have this problem?




Replies:
Posted By: MadDog
Date Posted: 17 January 2004 at 12:30am
whats the error?

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: wingking
Date Posted: 17 January 2004 at 12:33am

Sorry about that...

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/pop_up_profile.asp, line 322

If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") 		Response.Write(""" alt=""" & strGroupName & """  align=""absmiddle"">")
--------------------------------- ------------------------------------------------------------ -----------------------------------------------^ 
 
And this is in sql 7.7. the whole is whacked though it has two end table rows, all them 20 and such are going to be a problem. The download needs to be fixed me thinks.


Posted By: MadDog
Date Posted: 17 January 2004 at 1:24am
Reupload the file with a fresh copy of the forum.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: wingking
Date Posted: 17 January 2004 at 1:28am
did that like 5 times already. deleted all files from ie redid it at least 5 times every time the code is the same. maybe the file is corrupt on the server.


Posted By: WebWiz-Bruce
Date Posted: 17 January 2004 at 4:28am
What you have posted is certainly corrupted.

Try a different unzip prgram like winRar


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: wingking
Date Posted: 17 January 2004 at 1:12pm
Thanks boRg, I just went ahead and fixed it manually quicker and easier. I just wanted to give you guys a heads up to check out the files on the server. I did try a different unzip still got the same thing. I was taking the one of the us mirror. Any way thanks fo an excellent board package I hope we are making it worth your time and effort.


Posted By: Erdnase
Date Posted: 13 October 2005 at 11:50am
I'm using the latest version of the forums and am seeing the same problem wingking did.
 
In the file pop_up_profile.asp, Line 279 reads as follows:
 
<img src="<%           If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif")   Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">") %>%3C/td%3E%20%20%20%20%20%20%20%20%3C/tr%3E%20%20%20%20%20%20%20%20%20%3Ctr%3E%20%20%20%20%20%20 %20%20%20%3Ctd%20background=" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text" <% = strTableProfileBgImage %>"><% = strTxtAccountStatus %>:</td>
 
This results in the following:
 

The profile appears this way for all users, regardless of who's viewing it.
 
I've download fresh copies of the forums and re-installed, and I've used both WinZip and WinRar to do so. It appears the corruption (if that's what it is) exists in the original file.
 
Can someone tell me how Line 279 should read? I can paste it over what I have if I have a correct version...
 
Thanks


Posted By: Erdnase
Date Posted: 16 October 2005 at 4:12pm
Okay, fixed it. There were several syntax errors.
The line should read:
 
         <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><tr><td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text" ><% = strTxtAccountStatus %>:</td>



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net