Author |
Topic |
|
brujo
Average Member
USA
602 Posts |
Posted - 03 March 2002 : 20:19:01
|
Newsletter MOD is working fine........like it lots....
However, is there anyway to prevent people who are not members of the forum signing up ?????
I only want the newsletter to go to members and now I have a few people on it that are not members ???
I can sort the problem out temporarily, but I only want members in future subscribing to it ??????
Please - any advice on this one greatly appreciated .....
Best Regards
**Moved from help/current version
Edited by - Nathan on 03 March 2002 20:33:18 |
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 04 March 2002 : 07:16:21
|
You could try something like this, in default.asp around line #134 where you added this %> <!-- #INCLUDE FILE="nlform.asp" --> <% change it so it looks like this if mlev > 1 then %> <!-- #INCLUDE FILE="nlform.asp" --> <% end if that should hide the Subscription Form
Intrepidone |
|
|
brujo
Average Member
USA
602 Posts |
Posted - 04 March 2002 : 11:15:18
|
Cheers Randy
works a treat
Thanks
|
|
|
DJ5A
Junior Member
163 Posts |
Posted - 08 April 2002 : 12:51:15
|
Hello:
I just Installed the Newsletter with HTML & I tried the Above Code to Hide the Newsletter from Non Members, by using this: %> <!-- #INCLUDE FILE="nlform.asp" --> <% change it so it looks like this if mlev > 1 then %> <!-- #INCLUDE FILE="nlform.asp" --> <% end if
When I did I received this Error:
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/forum/default.asp, line 888
Can Anybody Help me with this Error?
Thank You For Your Time!!!!! DJ5A
|
|
|
SubKamran
Junior Member
101 Posts |
Posted - 08 April 2002 : 22:53:09
|
yah, for one line If then statements no need for END IF! lol, good luck
Kamran A 14/m/mn Minneapolis, MN Web Dev/Flash Dev |
|
|
DJ5A
Junior Member
163 Posts |
Posted - 09 April 2002 : 01:36:54
|
Hello:
That's not Working Either. I still get this Error: Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/forum/default.asp, line 886
Can Someone Help me with this?
Thank You for Your Time!!!!! DJ5A
|
|
|
DJ5A
Junior Member
163 Posts |
Posted - 09 April 2002 : 02:04:42
|
Hello:
I just got it to Working, I changed code to: Response.Write " </td>" & vbNewline & _ " <td align=right><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>There are " & Posts & " Posts in " & Topics & " Topics and " & Users & " Users </font></td>" & vbNewline & _ " </tr>" & vbNewline & _ " </table>" & vbNewline else Response.Write " " & vbNewline end if if mlev > 1 then %> <!-- #INCLUDE FILE="nlform.asp" --> <% end if Response.Write " </td>" & vbNewline & _
Thank You for your Time!!!!! DJ5A
|
|
|
SubKamran
Junior Member
101 Posts |
Posted - 09 April 2002 : 11:20:41
|
ah ic.
see, that error pretty much means get rid of that End If/Sub on that line. cuz it's saying:
Hay! You have a End If but no statement! WHAT DO I DO!? OR Hay! You DONT have a End If statement! Put one there!
I wish it said that, but it doesn't...
Kamran A 14/m/mn Minneapolis, MN Web Dev/Flash Dev |
|
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 09 April 2002 : 19:39:42
|
quote:
yah, for one line If then statements no need for END IF! lol, good luck
Kamran A 14/m/mn Minneapolis, MN Web Dev/Flash Dev
It worked fine for me, and if you don't close it with End If, then when is it suppose to know where the statement ends?
Edited by - Intrepidone on 09 April 2002 20:49:22 |
|
|
|
Topic |
|