Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 User Fields Mod - pop_profile help
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Astralis
Senior Member

USA
1218 Posts

Posted - 27 July 2001 :  13:30:10  Show Profile  Send Astralis a Yahoo! Message
After installing the pop_profile code necessarry for the User Fields Mod, my pop_profile page is not formatted very clear. Huwr had the pop_profile already formatted but also gave the readme file to cut and paste the code. What I noticed is that the cut and paste code is different than the code in his pre-formatted pop_profile file. Could this be causing the problems with my formatting?

This is what is in Huwr's pop_profile:

'Rem User Field Code #######################################
if (intUserFields > 0) then %>
<tr>
<td align=center bgcolor="<% =strCategoryCellColor %>" colspan="2"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">More About Me</font></b></td>
</tr>
<tr><td></td></tr>
<%
set rs2 = My_Conn.Execute("SELECT * FROM " & strMemberTablePrefix & "USERFIELDS ORDER BY USR_FIELD_ID")
do until rs2.EOF
Response.Write ("<tr><td valign=""top"" width=150 align=""right"" bgColor=" &strPopUpTableColor & "> <b><font face=""" & strDefaultFontFace & """ size=" & strDefaultFontSize & ">" & rs2("USR_LABEL") & ":</font></b></td>")
if rs2("USR_FIELDTYPE") = "C" then
%>
<td valign="top" bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% if getUserFieldValue(rs2("USR_FIELD_ID"),RS("MEMBER_ID")) = "1" then %>Yes<% Else %>No<% End If %></font></td>
<% Else %>
<td valign="top" bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><%= getUserFieldValue(rs2("USR_FIELD_ID"),RS("MEMBER_ID")) %></font></td>
<% End If %>
</tr>
<% rs2.MoveNext
loop
rs2.Close
end if
'Rem User Field Code #######################################

And this is what is in his readme file and the one that is installed in my pop_profile:

'Rem User Field Code #######################################
if (intUserFields = 1 ) then
Response.write "<tr>" &_
"<td align=center bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" &_
"<b><font face='" & strDefaultFontFace & "' size='" & strDefaultFontSize & "' color='" & strHeadFontColor & "'>" &_
"More About Me</font></b></td>"
Response.write "</tr>" &_
"<tr><td></td></tr>"
set rs2 = My_Conn.Execute("SELECT * FROM " & strMemberTablePrefix & "USERFIELDS ORDER BY USR_FIELD_ID")
do until rs2.EOF
Response.Write ("<tr><td valign=""top"" width=150 align=""right"" bgColor=" &strPopUpTableColor & "> <b><font face=""" & strDefaultFontFace & """ size=" & strDefaultFontSize & ">" & rs2("USR_LABEL") & ":</font></b></td>")
if rs2("USR_FIELDTYPE") = "C" then
Response.write "<td valign=""top"" bgColor=""" & strPopUpTableColor & """>" &_
"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ >"
if getUserFieldValue(rs2("USR_FIELD_ID"),RS("MEMBER_ID")) = "1" then
response.write "Yes"
Else
response.write "No"
End If
response.write "</font></td>"
Else
response.write "<td valign=""top"" bgColor=""" & strPopUpTableColor & """>" &_
"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ >" & getUserFieldValue(rs2("USR_FIELD_ID"),RS("MEMBER_ID")) & "</font></td>"
End If
Response.write "</tr>"
rs2.MoveNext
loop
rs2.Close
end if
'Rem User Field Code #######################################

Any advice or help?

Clint





Edited by - astralis on 27 July 2001 13:39:57

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 27 July 2001 :  19:21:58  Show Profile  Visit HuwR's Homepage
I think you will find the code is basically the same. what is the problem with the formatting.

Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 27 July 2001 :  19:41:27  Show Profile  Send Astralis a Yahoo! Message
It's minor compared to other problems I'm having, all the text is there but tables are not formatted properly. You can see what I mean if you go to http://www.bellwetherforum.org. You have to sign in to access the main page of the forum. If you go to 'members' and view a profile, you'll see.

I have two more problems which I'll start another topic that is related to User Fields Mod.

Thanks!
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 01 August 2001 :  02:05:58  Show Profile  Send Astralis a Yahoo! Message
Anyone?

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 01 August 2001 :  03:41:10  Show Profile
What formatting problem you have????

Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07