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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Forum Posting restrictions and hiding
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

blackinwhite
Average Member

Turkey
657 Posts

Posted - 27 March 2001 :  17:06:49  Show Profile
and I also got that error when I try to reach to the lasty post message from the main forum page.



-----
Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/forum/topic.asp, line 97


Go to Top of Page

Luca
Starting Member

Italy
3 Posts

Posted - 27 March 2001 :  17:11:39  Show Profile  Visit Luca's Homepage
I installed this mod in my forum: it's ok.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 March 2001 :  17:31:59  Show Profile  Visit HuwR's Homepage
quote:

but I got the error in a different place.





Edited by - blackinwhite on 27 March 2001 16:54:33



I have emailed your post.asp back to you.

Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 27 March 2001 :  17:52:57  Show Profile
quote:

quote:

but I got the error in a different place.





Edited by - blackinwhite on 27 March 2001 16:54:33



I have emailed your post.asp back to you.






I think you emailed ttnetworks' file, I didn't get any file.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 March 2001 :  09:38:41  Show Profile  Visit HuwR's Homepage
I just checked, I definately sent it to the email address in your profile, try emailing me, I will sent it as a reply.

Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 28 March 2001 :  09:58:37  Show Profile
email has been sent.

Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 29 March 2001 :  22:57:55  Show Profile  Visit Rob Poretti's Homepage
Hi HuwR,

I've noticed that the sub PostNewTopic() has been re-written to some degree. I've installed the poll mod which inserts this code:

<% ' #################### Poll Mod #####################
if (strUserPolls = "1") or (mlev = 4 or mlev = 3) then %>
 <a href="post.asp?poll=1&method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>"><img src="pin.gif" alt="Add Poll" height=15 width=15 border=0></a> <a href="post.asp?poll=1&method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>">Add Poll</a>
<% end if
' ################################################### %>


...just after this code, in your version:

if rsFStatus("F_STATUS") <> 0 then
response.write "<a href=""post.asp?method=Topic&FORUM_ID=" & Request.QueryString("FORUM_ID") & "&CAT_ID=" & Request.QueryString("CAT_ID") & "&Forum_Title=" & ChkString(Request.QueryString("FORUM_Title"),"urlpath") & """>"
response.write "<img src=""" & strImageURL & "icon_folder_new_topic.gif"" alt=""New Topic"" height=15 width=15 border=0></a> <a href=""post.asp?method=Topic&FORUM_ID=" & Request.QueryString("FORUM_ID") & "&CAT_ID=" & Request.QueryString("CAT_ID") & "&Forum_Title=" & ChkString(Request.QueryString("FORUM_Title"),"urlpath") & """>New Topic</a>"



Do you think this might cause any problems? Are you familiar with the Poll Mod? Anyone out ther install this mod with the poll mod?

Thanks for your help...


Oh... and one other thing... I'm using a sr2 version... would this mod be compatable with the sr2 base code in the post.asp and post_info.asp? For example, I noticed that the allowed user list box code uses the javascript mechanism to display the selected users. This started in sr3 or sr4, did it not? My post.asp doesn't have the javascript functions like "InsertSelection" or "MoveList". This was mainly done with asp.

I really need this mod, but both post.asp and post_info.asp files are a piece of work! -- I'm not sure about upgrading those files, but otherwise staying ins sr2. (Plus, both those files are moded with a couple of mods -- like the POLL mod.)

If this couldn't work in sr2, how isolated is the sr4 versions of post.asp and post_info.asp from the rest of the code? COuld I update those two files, deal with the cookie thing and have it all work with sr2 code?

As you can see, I really need to make this mod work...

Sorry for the trouble...

Rob


Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960

Edited by - Rob Poretti on 29 March 2001 22:58:39

Edited by - Rob Poretti on 29 March 2001 23:19:02
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 31 March 2001 :  00:09:24  Show Profile  Visit Rob Poretti's Homepage
Has anyone tried implementing this mod in sr2?

Thanks,

Rob

Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960
Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 01 April 2001 :  00:23:46  Show Profile  Visit Rob Poretti's Homepage
Hi Huwr,

I decided to take the plunge (after making some back-ups)

I'm not getting any errors but, when I change a forums properties to only allow mederators to post (All Users reply) -- it's not working... (Althought it is reporting that the post was successfull.)

When I go back to check the properties, they are back to "All Users".

The forum topic also shows: All users can post NEW topics in this forum. All users can reply to topics in this forum.

I think I can track this down... the DB gets updated in post_info.asp... correct?

Could you tell me where in this file it gets updated?



Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 April 2001 :  05:17:27  Show Profile  Visit HuwR's Homepage
Rob, if you mail me your post_info.sp, i'll give it a quick look

Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 01 April 2001 :  10:19:41  Show Profile  Visit Rob Poretti's Homepage
Hi HuwR,

Thanks for the offer! I tried emailing you via your profile email address and the message was returned (too many hops! - 21!) I sent it again in hopes that the routers got smarter the second time around!

In case they didn't get clever the second time around, you can download it here: post_info.zip

There are a LOT of mods in this file but they should all be documented. Good luck...



Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960

Edited by - Rob Poretti on 01 April 2001 10:21:04

BTW, I use Visual InterDev as an editor ... when I step through the code (after changing a forums properties so that only moderators can post to it - IE: Request.Form("Method_Type") = "EditForum" ) it does the following:

It gets to: if Request.Form("Method_Type") = "Forum" and instead of skipping over to the next Method_Type evaluation (if Request.Form("Method_Type") = "URL", it starts running:


'######## Update allowed user list##################################
set rsCount = my_Conn.execute("SELECT MAX(FORUM_ID) AS maxForumID FROM " & strTablePrefix & "FORUM ")
newForumMembers rsCount("maxForumId")
'##################################################################


(This is within the if Request.Form("Method_Type") = "Forum" section!)

I'm currently checking to see if there are some "end if" problems that is preventing the procedure from exiting that section of code...




Edited by - Rob Poretti on 01 April 2001 10:51:07
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 April 2001 :  10:29:07  Show Profile  Visit HuwR's Homepage
I received it OK
I have replied with the changes for you

Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 01 April 2001 :  10:53:05  Show Profile  Visit Rob Poretti's Homepage
Ok... Sorry,...must have been writing my other comments while your were working on it... I'm checking it now...

Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 April 2001 :  10:59:20  Show Profile  Visit HuwR's Homepage
you should not have any code dealing with the update userlist, this is sr4 code for the memberlist

Go to Top of Page

Rob Poretti
Junior Member

Canada
435 Posts

Posted - 01 April 2001 :  11:19:51  Show Profile  Visit Rob Poretti's Homepage
Right! (I wondered about that...and was going to ask you about it.)

It is now writing the correct information in the table... (checked in Enterprise Manager.)

I will keep testing for other possible issues but it looks like you nailed it...

I thank-you very much. It is really appreciated. This mod is really important to me and very grateful for your personal help...

Cheers!







Rob Poretti
Sascom Marketing Group ~ Toronto
vox.905.825.5373 fax.905.825.5960

Edited by - Rob Poretti on 01 April 2001 12:31:37
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07