Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Site review anyone?? 1

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
0
0
US
Hi folks...I was wonering if you all can do a site review for me...
This is the URL: Can you all check in diff. browsers and diff. versions and let me know what browser/version you used as well??
Next to the logo, on the top, the blank space is resevred for the client's companies logo (which he still hasn't give to me, even after I called and emailed a dozen times or so)...
Thanks...[smile] I have not failed; I merely found 100,000 different ways of not succeding...
 
looks good to me. Simple and straight forward.
I would do one thing, make the buttons a different color then the background of the site. submit etc..
possibly just a shade darker of such.

also under the Submit | Reset buttons

*Indicates Field is Required

*Indicates Fields are Required

There are multiple fields indicating the change I suggested. See, I knew that requirement for college English would benefit me someday[lol] I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
I just checked it in Mozilla 1.0 and it looked good. I would move the page to be left justified but that's just me. On the form I registered using all blanks except for the Phone, State, and email. Email was blanks @ Blanks .net and it was accepted. Maybe you could write a function that trims leading and trailing spaces. I'm not sure if you really care about that though. Overall the site looks pretty nice. ====================================
I love people. They taste just like
chicken!
 
Thanks guys...
I think that the main page is kinda empty, and I wanted to add an ASP poll, but the scripts that I found online (at and so forth), are kinda hard to follow and implement, any one have an easier (or a better way of learning how to do it)??
Any one have any other ideas on how to make the site more "filled"?? I have not failed; I merely found 100,000 different ways of not succeding...
 
I checked in NN6.2 and IE5.5 in MacOSX.
Appears to be working jus' fine.

"Any one have any other ideas on how to make the site more "filled"?? "

I think it could use more graphics.
This is going to be a site with pictures of models right?
Put some pictures of them up on the front page etc.. If you don't have any yet because the site isn't launched use some "for placement only" images.

Works great.

Hope this helps,

jaxon

 
Hi OB1Shinobi, hi. The client does not want any contestants' pics on the main page...
What I was thinking was having a wekly poll or something, right underneat the the 'login' screen...and I found a cool ASP poll script, but i'm having some diffuculty making it run...
Any one know of another place where I can get an easier version of ASP poll??
Anyone have any other comments??
Thanks... I have not failed; I merely found 100,000 different ways of not succeding...
 
GUJUm0deL, what kind of problems are you having with the current poll script? Where did it come from?

here's some sites with free polls, you probably have seen them though
I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
Can you guys also try registring and then logging in to set up the portfolio?? And also try "ranking" the models as well...
Thanks. I have not failed; I merely found 100,000 different ways of not succeding...
 
onpnt, I got the script from here: The problem is setting up the database...I created the dB in MSAccess then in the ASP file, for the DBPATH = Server.MapPath("dB_filename.mdb") i'm not sure what to put...i'm not sure what path I have to add...I added the full path and didn't work... I have not failed; I merely found 100,000 different ways of not succeding...
 
how are you testing the poll. on the server or via IIS. The path should go there
so if you had a folder (directory) named databases and the name of the DB was poll you get
DBPATH = Server.MapPath("/databases/poll.mdb")
are you connecting at all. are the directory permissions set to writable?
try something like this to test the connection
<%Response.AddHeader &quot;Content-Language&quot;, &quot;VBscript&quot;%>

<HTML>
<BODY>
<%
Dim ObjConn
Dim rs
Dim strConn
Set ObjConn = Server.CreateObject(&quot;ADODB.Connection&quot;)
strConn=&quot;Driver=Microsoft Access Driver (*.mdb); DBQ=&quot; & server.mappath(&quot;/dbName.mdb&quot;)& &quot;;&quot;
ObjConn.Open strConn
Set rs = Server.CreateObject(&quot;ADODB.Recordset&quot;)

rs.Open &quot;SELECT * FROM tblName&quot;, ObjConn
%>
<%
Response.Write(&quot;<CENTER>&quot;)
Response.Write(&quot;<TABLE>&quot;)
Do while not rs.EOF
Response.Write(&quot;<TR>&quot;)
for x=0 to rs.Fields.count-1
Response.Write(&quot;<TD>&quot;)
Response.Write(rs(x))
Response.Write(&quot;</TD>&quot;)

next
Response.Write(&quot;</TR>&quot;)
rs.MoveNext

Loop
Response.Write(&quot;</TABLE>&quot;)
%>
<%
ObjConn.Close
Set rs=Nothing
Set ObjConn=Nothing
%>
</BODY>
</HTML>
I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
You said no pictures of models on the main page but how about a siloette(sp?) of a model. ====================================
I love people. They taste just like
chicken!
 
registered fine, logged in fine, ranked but it didn't tell me if it did anything. the screen just runs the
models.cfm?next=yes and does move to the next model
might want to let the user know how they ranked the model or give the model a average of some kind per rankings. I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
mithrilhall, I would love to do a silloutte (sp??) of a model, but can't find one good one...I don't wanna use pics of contestants from the site, as they might get an unfair advantage...
I thought about using actress but didn't know if the client can get sued for using their image...
I also thought of using a ghost-like graphic as the background, but can't get it just right... I have not failed; I merely found 100,000 different ways of not succeding...
 
onpnt, the client doesn't want the users to see the results of the rankings...only he and select few can...
FYI, your registered profile will not be shown unless it is approved by us...this was done so that noone can uplaod any questionable pictures/profiles...
I am working on your idea for the ASP poll...I am connecting via IIS...how do I connect the dB for ASP?? Like in coldfusion you use the adminstrator to use the access dB, how does ASP do it?? I have not failed; I merely found 100,000 different ways of not succeding...
 
this is the connection string
Set ObjConn = Server.CreateObject(&quot;ADODB.Connection&quot;)
strConn=&quot;Driver=Microsoft Access Driver (*.mdb); DBQ=&quot; & server.mappath(&quot;/dbName.mdb&quot;)& &quot;;&quot;
ObjConn.Open strConn

on IIS you will need to provide the full path as

server.mappath(&quot;C:/My Documents/dbName.mdb&quot;)& &quot;;&quot;
etc..


I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
seeing as this is a DSN-Less connection there shouldn't be any need for certain settings to be alocated but simply the connection string I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
This is what the poll.ASP file looks like:
Code:
<html>
<head><title>poll.asp</title>
</head>
<body>
<% 

'OPENING THE CONNECTION WITH DATABASE VIA DSN-LESS CONNCTION
'NOTE: THE MAP PATH FUNCTION IS USED TO DETERMINE THE DB LOCAITON ON HD

set OCONN = Server.CreateObject(&quot;ADODB.Connection&quot;)
DBPATH = Server.MapPath(&quot;\mypoll.mdb&quot;)
SETCONNECTION = &quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=&quot; & DBPATH & &quot;;Persist Security Info=False&quot;
OCONN.Open(SETCONNECTION)

'QUERY TO SELECT THE DATA FROM THE TABLE
strSQL = &quot;select * from POLL1&quot;
set ORS = OCONN.Execute(strSQL)


'WE DECLARE AN ARRAY OF LENGTH = 3 i.e. 0,1,2 AND FILL IT
dim OPTIONVALUE(2)
OPTIONVALUE(0) = ORS.Fields(0)
OPTIONVALUE(1) = ORS.Fields(1)
OPTIONVALUE(2) = ORS.Fields(2)


'CHECK TO SEE WHICH OPTION WAS CLICKED BY USER AND THEN INCREMENT THAT OPTION'S
'VALUE BY ONE
CHECKER = Request.Form (&quot;mysite_poll&quot;)
if CHECKER = &quot;OPTION1&quot; then
OPTIONVALUE_INSERT = OPTIONVALUE(0) +1
strINSERT = &quot;UPDATE POLL1 SET OPTION1 = &quot; & OPTIONVALUE_INSERT
OCONN.Execute(strINSERT)
elseif CHECKER = &quot;OPTION2&quot; then
OPTIONVALUE_INSERT = OPTIONVALUE(1) +1
strINSERT = &quot;UPDATE POLL1 SET OPTION2 = &quot; & OPTIONVALUE_INSERT
OCONN.Execute(strINSERT)
elseif CHECKER = &quot;OPTION3&quot; then
OPTIONVALUE_INSERT = OPTIONVALUE(2) +1
strINSERT = &quot;UPDATE POLL1 SET OPTION3 = &quot; & OPTIONVALUE_INSERT
OCONN.Execute(strINSERT)
end if

'REQUERY THE RECORDS AND FILL THEM IN SAME ARRAY TO REPLACE OLD VALUES
'SO THAT WE HAVE LATEST VALUES TO SHOW
ORS.Requery
OPTIONVALUE(0) = ORS.Fields(0)
OPTIONVALUE(1) = ORS.Fields(1)
OPTIONVALUE(2) = ORS.Fields(2)

'SIMPLE MATH HERE, TAKING THE SUM OF VOTES, DIVIDE AN OPTION WITH SUM
'TO GET A PERCENTAGE AND THE MULTIPLY WITH 100 TO GET PERCENT %
TOTAL_OF_OPTIONS = OPTIONVALUE(0)+OPTIONVALUE(1)+OPTIONVALUE(2)
dim PERCENT_OPTION_VALUE(2)
PERCENT_OPTION_VALUE(0) = (OPTIONVALUE(0)/TOTAL_OF_OPTIONS) * 100
PERCENT_OPTION_VALUE(1) = (OPTIONVALUE(1)/TOTAL_OF_OPTIONS) * 100
PERCENT_OPTION_VALUE(2) = (OPTIONVALUE(2)/TOTAL_OF_OPTIONS) * 100

'USEING THE RESPONCE METHOD TO WRITE THE RESULTS TO THE USER IN A
'TABULAR FORMAT
'NOTE TO VB CODERS: THE FormatNumber FUNTION IS DIFFERENT FROM FORAMT FUNTION IN VB
Response.write &quot;<table border=0 cellpadding='0' cellspacing='0'>&quot;
Response.write &quot;<tr>&quot;
Response.write &quot;<td width=150>You'll Live:</td>&quot;
Response.write &quot;<td width=310><IMG SRC='blue.gif' width=&quot; & PERCENT_OPTION_VALUE(0)*3 & &quot; height=15 ALT='blue' BORDER=0></td>&quot;
Response.write &quot;<td>&quot; & FormatNumber(PERCENT_OPTION_VALUE(0),0) & &quot;%</td>&quot;
Response.write &quot;</tr>&quot;
Response.write &quot;<tr>&quot;
Response.write &quot;<td width=150>You'r Okay:</td>&quot;
Response.write &quot;<td width=310><IMG SRC='blue.gif' width=&quot; & PERCENT_OPTION_VALUE(1)*3 & &quot; height=15 ALT='blue' BORDER=0></td>&quot;
Response.write &quot;<td>&quot; & FormatNumber(PERCENT_OPTION_VALUE(1),0) & &quot;%</td>&quot;
Response.write &quot;</tr>&quot;
Response.write &quot;<tr>&quot;
Response.write &quot;<td width=150>You'r Happy With It:</td>&quot;
Response.write &quot;<td width=310><IMG SRC='blue.gif' width=&quot; & PERCENT_OPTION_VALUE(2)*3 & &quot; height=15 ALT='blue' BORDER=0></td>&quot;
Response.write &quot;<td>&quot; & FormatNumber(PERCENT_OPTION_VALUE(2),0) & &quot;%</td>&quot;
Response.write &quot;</tr>&quot;
Response.write &quot;</table>&quot;
Response.write &quot;<i>Your Selection : </i>&quot; & Request.Form (&quot;mysite_poll&quot;)

'BE NICE AND CLOSE THE RECORDSET AND THEN KILL THE VARIABLE
ORS.Close
Set ORS = Nothing
'BE NICE AND CLOSE THE CONNCECTION AND THEN KILL THE VARIABLE
OCONN.Close
Set OCONN = Nothing
%>
</body>
</html>
How do I set up the full path in IIS?? I've never done that before...
Sorry if I sound like an idgit...[smile] I have not failed; I merely found 100,000 different ways of not succeding...
 
onpnt, you registred at the site?? I just logged in to see if any new people had registred and none had...what name did u register with?? I have not failed; I merely found 100,000 different ways of not succeding...
 
I registered under onpnt I help at your own risk, if I brake it sorry! But if I fixed it, let me know with a
star.gif
[thumbsup2]
admin@onpntwebdesigns.com
 
onpnt, when you registered did you log in from the main page and access your profile page?? Did you then try to add more info, like age/height/upload a pic??
Becuase I just logged in with the admin. name and it showed that no new person had registered. I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top