Author |
Topic |
phynias
New Member
USA
64 Posts |
|
Darker
Starting Member
USA
7 Posts |
|
KoopaOne
Starting Member
Austria
11 Posts |
Posted - 24 September 2000 : 05:07:03
|
You didn't include the modifications made in the database, do i have to guess <img src=icon_smile_question.gif border=0 align=middle><img src=icon_smile_wink.gif border=0 align=middle>
|
|
|
phynias
New Member
USA
64 Posts |
Posted - 24 September 2000 : 12:53:10
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> You didn't include the modifications made in the database, do i have to guess <img src=icon_smile_question.gif border=0 align=middle><img src=icon_smile_wink.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Yeah you can't guess the changes. Man dont you read minds..Hehe.
Create a Table in the snitz db called POLL_IPLIST fields= TOPIC_ID (number), IP (text) create a table called FORUM_POLL_RESULTS: fields= POLL_IS (number), IP (text), Vote (number) create a table FORUM_POLL: fields= TOPIC_ID (autonumber, key), totans (text), question (memo), answer1 (text), tot1 (number), answer2 (text), tot2 (number), answer3 (text), tot3 (number), answer4 (text), tot4 (number),answer5 (text), tot5 (number), AUTHOR (number) in FORUM_TOPIC: add field= ispoll (yes/no)
see wasnt that simple..
|
|
|
phynias
New Member
USA
64 Posts |
Posted - 24 September 2000 : 12:55:27
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> I found a few Connection & Recordset objects this was left out on. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Where and what so I can fix it....
|
|
|
James
Average Member
USA
539 Posts |
Posted - 24 September 2000 : 14:26:11
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Create a Table in the snitz db called <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Is MS Access required to be able to open and modify the database?
Edited by - James on 24 September 2000 14:29:24 |
|
|
phynias
New Member
USA
64 Posts |
Posted - 24 September 2000 : 16:09:59
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Create a Table in the snitz db called <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Is MS Access required to be able to open and modify the database?
Edited by - James on 24 September 2000 14:29:24 <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
huh?
|
|
|
James
Average Member
USA
539 Posts |
Posted - 24 September 2000 : 22:36:23
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> huh? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
What I'm asking is what should I use to edit the database? I'm assuming that we are referring to the snitz_forums_2000.mdb (or whatever it's renamed too) file. If so, you can not edit this file with a text editor without corrupting something, right?
Interested in Radio Control - http://www.rcwebboard.com/ |
|
|
phynias
New Member
USA
64 Posts |
Posted - 25 September 2000 : 00:09:21
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> huh? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
What I'm asking is what should I use to edit the database? I'm assuming that we are referring to the snitz_forums_2000.mdb (or whatever it's renamed too) file. If so, you can not edit this file with a text editor without corrupting something, right?
Interested in Radio Control - http://www.rcwebboard.com/ <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> It's an access db. Just open it up with access, make your changes and save...
|
|
|
James
Average Member
USA
539 Posts |
Posted - 26 September 2000 : 21:49:51
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> It's an access db. Just open it up with access, make your changes and save... <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That's what I figured. Is there anyway to edit this file with Star Office? Or some other way than Access (don't have it)?
- <font color=red>*</font id=red><font color=blue>Interested in <b>Radio Control</b> </font id=blue><font color=red>-</font id=red> http://www.rcwebboard.com/<font color=red>*</font id=red> |
|
|
phynias
New Member
USA
64 Posts |
Posted - 26 September 2000 : 22:11:16
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> That's what I figured. Is there anyway to edit this file with Star Office? Or some other way than Access (don't have it)?
- <font color=red>*</font id=red><font color=blue>Interested in <b>Radio Control</b> </font id=blue><font color=red>-</font id=red> http://www.rcwebboard.com/<font color=red>*</font id=red> <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Ive seen some web based db mangers. check http://www.aspin.com look around there, pretty sure there are a couple there.
|
|
|
pier
Starting Member
Italy
22 Posts |
Posted - 27 September 2000 : 13:30:15
|
I've some problems on the istructions file...
<pre id=code><font face=courier size=2 id=code> 'around line 391 find if strIPLogging <> "0" then strSql = strSql & ", '" & Request.ServerVariables("REMOTE_ADDR") & "'" end if
'after this add if request("ispoll")="on" then strSql=strSql& ", Yes" end if
'a couple line after the one you just found (391) add this after my_Conn.Execute (strSql) 'SideShow BEGIN you may have to change the location of your forum below strtemp="select top 1 TOPIC_ID from FORUM_TOPICS order by TOPIC_ID DESC" set rstemp=my_Conn.execute(strtemp) tdata=rstemp.getrows rstemp.close set rstemp=nothing topic_id=tdata(0,0) dstring="<a target=_blank href=""/forum/member_profile.asp?mode=display&id="&rs("MEMBER_ID") &"""><font color=red>"&Request.Form("UserName") &"</font></a>: <a href=""/forum/topic.asp?TOPIC_ID="&tdata(0,0)&"&FORUM_ID="&Request.Form("Forum_ID")&"&CAT_ID="& Request.Form("CAT_ID")&"&Topic_Title="&trim((Server.HTMLEncode(txtSubject))) &"&FORUM_TITLE="&server.urlencode(request("FORUM_Title"))&"&M=0#bottom""><font color=black><u>"&trim((Server.HTMLEncode(Request.Form("Subject"))))&"...</font></u></a>" application("forumlast")=dstring application("forumlast_time")=now update_last(dstring) 'SideShow END </font id=code></pre id=code>
Is this SIDESHOW part of the poll system ? I cannot get the update_last function to work...
<pre id=code><font face=courier size=2 id=code> 'around line 1269 find select case Request.Form("Method_Type")
'BEFORE this add if request("ispoll")="on" then response.redirect "post.asp?method=Poll&FORUM_ID="&FORUM_ID&"&CAT_ID="&CAT_ID&"&TOPIC_ID="&topic_id&"&tauthor="&tauthor&"&Refer="&server.urlencode(request("Refer")) end if </font id=code></pre id=code>
I've 2 select cases statement very near... if I put the mod on the 1st one there's an error about html headers ... if I put on the second nothings happens...
HELP!
Pier
|
|
|
phynias
New Member
USA
64 Posts |
Posted - 27 September 2000 : 13:37:21
|
woooooooops do not add the sideshow part.. just the lines before it.. i fixed the readme. thanks as for the second question its also updated in the readme.. sorry about that.
Edited by - phynias on 27 September 2000 13:38:30 |
|
|
pier
Starting Member
Italy
22 Posts |
Posted - 28 September 2000 : 03:02:53
|
Thanks for the update, my actual code looked like the one you said but... I still have this error when I try to post a poll:
<pre id=code><font face=courier size=2 id=code>
Response object error 'ASP 0156 : 80004005'
Header Error
/post_info.asp, line 1276
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. </font id=code></pre id=code>
If I remove the "response.redirect" object everything runs fine but (of course) I'm unable to create the pool and I see only a topic with the "poll logo"
any help!?
pier
|
|
|
phynias
New Member
USA
64 Posts |
Posted - 28 September 2000 : 03:45:56
|
at the top of the page put
<pre id=code><font face=courier size=2 id=code> <%response.buffer=true%> </font id=code></pre id=code> <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Thanks for the update, my actual code looked like the one you said but... I still have this error when I try to post a poll:
<pre id=code><font face=courier size=2 id=code>
Response object error 'ASP 0156 : 80004005'
Header Error
/post_info.asp, line 1276
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. </font id=code></pre id=code>
If I remove the "response.redirect" object everything runs fine but (of course) I'm unable to create the pool and I see only a topic with the "poll logo"
any help!?
pier
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
=P http://www.greeneggsnspam.com/newstrax/ |
|
|
KenDude
New Member
USA
87 Posts |
Posted - 03 October 2000 : 10:47:06
|
Phynias, Do you have a cleaned up version of the Poll modification that works with Beta 5 and hence the coming release of 3.1? Thanks,
KenDude was Here! |
|
|
Topic |
|