Author |
Topic |
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 April 2001 : 12:51:38
|
no prob, keep me posted if you need any more help
|
|
|
Luca
Starting Member
Italy
3 Posts |
Posted - 01 April 2001 : 18:24:59
|
Help!!! i can't create new forum. I get this error in post.asp page:
Microsoft VBScript runtime (0x800A000D) Type mismatch: 'rs' /forum/post.asp, line 899
FIXED!!! Thank You
Edited by - Luca on 02 April 2001 08:28:40
Edited by - Luca on 02 April 2001 08:55:21 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 April 2001 : 18:55:17
|
Luca, if you mail me your post.asp, i will fix it for you, just mention your Snitz username in the email please.
|
|
|
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 01 April 2001 : 21:18:15
|
Well, as it turns out I am having more problems... now, when I just click on a topic, (before the post.asp file gets loaded), I get this error message: Error Type: Microsoft VBScript compilation (0x800A0400) Expected statement /Cube-TecForumsDevelopment/topicbody.asp, line 773 <% if (strIPLogging = "1") then
The code right before this is one of the posting restrictions mod... <%'############### Posting Restrictions ########################### REPLACED SECTION!! if (rsCStatus("CAT_STATUS") <> 0 and rsFStatus("F_STATUS") <> 0 and rsTStatus("T_STATUS") <> 0) or (AdminAllowed = 1) then if mLev >= intTopicAuth then %> <a href="post.asp?method=TopicQuote&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID") %>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>&Topic_Title=<% =ChkString(Request.QueryString("Topic_Title"),"urlpath") %>"> <img src="icon_reply_topic.gif" height="15" width="15" alt="Reply with Quote" border="0" align="absmiddle" hspace="6"></a> <% end if end if '############### Posting Restrictions ###########################
<% if (strIPLogging = "1") then %> <% if (AdminAllowed = 1) or (strNoCookies = "1") then %> <a href="JavaScript:openWindow('topic.asp?mode=getIP&TOPIC_ID=<% =rs("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>')"> <img src="icon_ip.gif" height="15" width="15" alt="View user's IP address" border="0" align="absmiddle" hspace="6"></a> <% end if %> <% end if %> <hr noshade size="1">
I've been going through the code to check if there are some dangling "end ifs", or something silly like that... no luck thus far. (I've formatted my indents nicely though!)
Anyway, if something is obvious to you, let me know -- I'm bushed so I'm gonna crash...
Cheers,
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960
Edited by - Rob Poretti on 01 April 2001 21:19:16
Edited by - Rob Poretti on 01 April 2001 21:20:07
Edited by - Rob Poretti on 01 April 2001 21:22:11
I can't seem to find the problem ... and VI won't let me "step" through the code. It finds the error before the page loads.
Edited by - Rob Poretti on 02 April 2001 14:10:12 |
|
|
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 02 April 2001 : 19:35:39
|
Ok... I fixed that problem, and another one that came up! However, now I've discovered that my signature is being posted twice in the when displaying a topic - the original post, (something in the GetFirst sub.) I'm sure I'll figure it out and it's probably not related to the restriction mod. Everything else works great... Thanks for a great mod!
Cheers!
Rob
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960 |
|
|
swatijain
Starting Member
48 Posts |
Posted - 26 April 2001 : 17:06:16
|
Has anyone tried this on SQL Server 7? Was it successful?
|
|
|
gbdg
New Member
73 Posts |
Posted - 10 May 2001 : 01:56:20
|
Hi gang, I have a client who needs something like this, maybe you can tell me if it is possible. They want to allow anyone to initiate topics, but only moderators can reply to posts. If a site visitor wants to ask a new (or related) question, they must create a new thread.
Will Huwr's mod do this?
Thanks, Greg
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 16 May 2001 : 06:11:39
|
quote:
Hi gang, I have a client who needs something like this, maybe you can tell me if it is possible. They want to allow anyone to initiate topics, but only moderators can reply to posts. If a site visitor wants to ask a new (or related) question, they must create a new thread.
Will Huwr's mod do this?
Thanks, Greg
Yes, this was the reason the MOD was written
|
|
|
Mr_Anderson
Starting Member
United Kingdom
20 Posts |
Posted - 01 June 2001 : 19:02:11
|
Sorry for my ignorance, but I wish to create a forum that only specified users (not administrators or moderators) but a user level that I can specify and name so that that user can post on.
A forum that is private only to that level of user, but that level of user can post on any other "ordinary" forum also.
It is for my forum at http://www.multiplayercentral.co.uk/forums/ which will include forums for private clan memebers and so forth, my question is how easily will I be able to edit the code to do this and what files/lines will I need to edit?
Thanks for any help, and sorry for my ignorance again .
Man I feel so stupid, I found out that what I needed was already in the forum admin options! thanks for.....erm......not replying, lol ______________________
www.multiplayercentral.co.uk
Edited by - Mr_anderson on 01 June 2001 19:04:46
Edited by - Mr_anderson on 02 June 2001 09:33:21 |
|
|
gbdg
New Member
73 Posts |
Posted - 18 June 2001 : 19:15:15
|
quote:
quote:
Hi gang, I have a client who needs something like this, maybe you can tell me if it is possible. They want to allow anyone to initiate topics, but only moderators can reply to posts. If a site visitor wants to ask a new (or related) question, they must create a new thread.
Will Huwr's mod do this?
Thanks, Greg
Yes, this was the reason the MOD was written
Probably a problem with the operator (me) - but after installing the mod, which went smooth - I created a couple profiles. With the first I created a message, and with the second I promptly replied.
I have the following settings: Auth Type: - all visitors Topic Posting: - All Users Reply Posting: - Moderators
Help please! Thanks, Greg
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 June 2001 : 21:13:26
|
quote:
Probably a problem with the operator (me) - but after installing the mod, which went smooth - I created a couple profiles. With the first I created a message, and with the second I promptly replied.
I have the following settings: Auth Type: - all visitors Topic Posting: - All Users Reply Posting: - Moderators
Help please! Thanks, Greg
Do you have a URL I can look at ?
|
|
|
gbdg
New Member
73 Posts |
Posted - 19 June 2001 : 18:14:18
|
quote:
quote:
Probably a problem with the operator (me) - but after installing the mod, which went smooth - I created a couple profiles. With the first I created a message, and with the second I promptly replied.
I have the following settings: Auth Type: - all visitors Topic Posting: - All Users Reply Posting: - Moderators
Help please! Thanks, Greg
Do you have a URL I can look at ?
http://www.pestworld.org/forums/homeowner/
I turned off the posting restrictions on the Admin, as the comments in the headings stated that the public could not reply to messages, and it seemed silly to let someone point out that "yes they could". Please email me directly if you need me to set something for you to look at.
Thanks, Greg greg@greybearddesign.com
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 June 2001 : 18:56:31
|
I registered on your forum, could you make me an admin so I can poke around
|
|
|
gbdg
New Member
73 Posts |
Posted - 20 June 2001 : 10:50:53
|
All set... Thank you.
Greg
quote:
I registered on your forum, could you make me an admin so I can poke around
|
|
|
Topic |
|