Author |
Topic  |
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 08 November 2000 : 17:46:34
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> I actually added checks to post_info.asp also, so that if the person changes the URL to try to post it gives them the error message that only Admins and Moderators can Post New Messages. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That's my next step.
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 08 November 2000 : 17:57:59
|
Odd,
I can post the instructions to the forum on both my boards, but get a truncation error if I try to post it here.
Anyway, here is a link to the instructions, sorry if they look abit weird, but it's full of forum code.
<font color=blue>'Resistance is futile'</font id=blue>
Edited by - huwr on 08 November 2000 18:34:21 |
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 19 November 2000 : 15:23:53
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Ok...one issue. It seems that when I post a new topic, and get this message...
New Topic Posted! Thank you for your contribution! Back To Forum
...it no longer returns automatically to the message like it used to. What'd I do?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Can finally answer my own question here... Front Page. <grumble> Even though I have it set to not mess with the HTML code at all, it STILL does with regard to META tags. The META tag that refreshes to the topic page got moved all the way up to the top and was encapsulated with <head> and </head> tags. <shaking head> Just thought some of ya might be interested...
Haven't even had a chance to mess with your new version HuwR....but I will!
Al Bsharah Jeepaholics Anonymous
Edited by - jeepaholic on 19 November 2000 15:25:57 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 19 November 2000 : 15:30:00
|
FP <img src=icon_smile_dissapprove.gif border=0 align=middle>
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 19 November 2000 : 19:39:56
|
In my testing FP works ok for publishing a web and setting up a web. The Snitz code doesn't agree with the Frontpage editor tho, so avoid editing any pages with it. Use notepad. This is mentioned in the readme for Snitz but the wording may imply that editing with FP is only bad for the config.asp file.
In addition, don't drag & drop folders or rename folders with FP. That fires off the same html validation that doesn't like some of the code in Snitz.
As long as you're willing to play by it's rules, FP is an excellent tool. The problem you're having is that the W3C spec is for META tags to be in <HEAD> only, and if tags are not their operation is undefined. So MS decided to enforce this in FP by making sure META tags are inside <HEAD> tags, creating the <HEAD> tags if necessary. The documentation clearly states that FP won't evaluate include files in it's editor, so it doesn't know that the <HEAD> tags are in an include file, so it makes the tags and moves the refresh tag. Voila, broken Snitz. FP has some other formatting rules that may unexpectedly alter code also, trial and error will determine where they are.
BTW, prior to FP2000 editing ASP files with Frontpage was a known, advertised no-no.
My recommendation is that Snitz code be altered as necessary to be FP safe, 'cause love it or hate it, FP isn't going away anytime soon.
====== Doug G ====== |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 20 November 2000 : 21:19:39
|
could someone move this to the with code forum pleas.
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Eyad
Starting Member
Saudi Arabia
11 Posts |
Posted - 21 November 2000 : 04:32:56
|
I tried the code and faced some problems: - An error came when editing a Forum to make it Accept replying only from Admins Forum_forum url cannot be zerro -- or something like that
- When I created a new foeum, I got this error after it was created successfully ERROR: Invalid forum type: 12
Can anyone help? Thanx
Live and Learn .. No matter what you earn .. Money or knowledge .. From the market or the college |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 21 November 2000 : 05:06:52
|
the only part that validates the numbers is this bit.
<font color=red>INC_FUNCTIONS.ASP</font id=red> <hr>
<font color=blue>Search for the sub chkUser4(), you will see a large <b>case</b> statement, immediately before the lines </font id=blue> <pre id=code><font face=courier size=2 id=code> <b>case else Response.Write "<BR>ERROR: Invalid forum type: " & rsStatus("F_PRIVATEFORUMS") Response.end end select</b> </font id=code></pre id=code> <font color=red>insert....</font id=red> case 10,11,12
<i>This is required to validate the forum type</i>
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Eyad
Starting Member
Saudi Arabia
11 Posts |
Posted - 21 November 2000 : 06:19:04
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> the only part that validates the numbers is this bit.
<font color=red>INC_FUNCTIONS.ASP</font id=red> <hr>
<font color=blue>Search for the sub chkUser4(), you will see a large <b>case</b> statement, immediately before the lines </font id=blue> <pre id=code><font face=courier size=2 id=code> <b>case else Response.Write "<BR>ERROR: Invalid forum type: " & rsStatus("F_PRIVATEFORUMS") Response.end end select</b> </font id=code></pre id=code> <font color=red>insert....</font id=red> case 10,11,12
<i>This is required to validate the forum type</i>
<font color=blue>'Resistance is futile'</font id=blue> <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanx .. that fixed it .. but still when editing a forum I get the Forum_Forum.url cannot be zerro..
I hade to change it from the Database and it accepted my medification to make the forums reply from Admin only.. Still, nothing hapened. Everybody can reply to that forums.
I saw Sorr, you can't reply if you are not an Admin, then it's gone when I logged out from admin I still can reply with any user..
Sorry for the long message .. but I almost got more than 10 add ons and stuck on this one and also the Polls Posting. Still waiting for the V3.01 of the Polls.
Tx again
Live and Learn .. No matter what you earn .. Money or knowledge .. From the market or the college |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 21 November 2000 : 06:25:41
|
is the forum on the web?
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Eyad
Starting Member
Saudi Arabia
11 Posts |
Posted - 21 November 2000 : 06:40:47
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> is the forum on the web?
<font color=blue>'Resistance is futile'</font id=blue> <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Unfortunately, it's on my PC. But you can see it if it's running like now. http://212.118.101.41/NewForumsV3/post_info.asp I got this error when I changed the type of the forum to Members Only.
Error Type: Microsoft JET Database Engine (0x80040E07) Data type mismatch in criteria expression. /NewForumsV3/post_info.asp, line 956
url]http://212.118.101.41/NewForumsV3/ |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 21 November 2000 : 06:52:08
|
In my code, this line relates to URL's not to forums
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Eyad
Starting Member
Saudi Arabia
11 Posts |
Posted - 21 November 2000 : 06:59:15
|
Thanx for visiting and registering <img src=icon_smile.gif border=0 align=middle> Can you please go back and check your Private message. I sent you what you requested. Thanx
Live and Learn .. No matter what you earn .. Money or knowledge .. From the market or the college
BTW, I found this in the Data Base: 0 = Normal, 1 = Userlist Protection, 2 = Password Protection, 3 = Both, 4 = Members Only in field F_PRIVATEFORUMS of Table Forum_Forum
Do I need to add the new Types?
Edited by - Eyad on 21 November 2000 07:01:50 |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
Posted - 21 November 2000 : 07:07:44
|
see the message i posted on your board
<font color=blue>'Resistance is futile'</font id=blue> |
 |
|
Eyad
Starting Member
Saudi Arabia
11 Posts |
Posted - 21 November 2000 : 07:40:04
|
Thanx, I read it and sent you the files
Live and Learn .. No matter what you earn .. Money or knowledge .. From the market or the college |
 |
|
Topic  |
|