Author |
Topic |
Ez4arab
Junior Member
479 Posts |
Posted - 22 October 2002 : 22:43:16
|
Now the idea how to check turn on/off PM from member using profile since we definded
how about this is it OK or not
if strPMStatus = "1" then if M_ALLOWPM = 1 %> <!--#INCLUDE FILE="privatemess.asp"--> <% end if end if
|
Ez4arab web site Ez4arab | |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 22 October 2002 : 23:23:17
|
if strPMStatus = "1" and strALLOWPM = "1" then would be better.
I called it strALLOWPM just to be consistent with the naming convention.
@tomic |
SportsBettingAcumen.com |
Edited by - @tomic on 22 October 2002 23:24:19 |
|
|
Ez4arab
Junior Member
479 Posts |
Posted - 22 October 2002 : 23:30:01
|
do i need to add this in the config.asp
Dim strALLOWPM
strPMLimit = cint(Application(strCookieURL & "strALLOWPM")) |
Ez4arab web site Ez4arab | |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 22 October 2002 : 23:34:14
|
Close!
Dim strALLOWPM
strALLOWPM = cint(Application(strCookieURL & "strALLOWPM"))
@tomic
|
SportsBettingAcumen.com |
|
|
pieman
Starting Member
1 Posts |
Posted - 23 October 2002 : 06:33:23
|
I have a small problem I have installed everything as far as I know however I recieve the following error
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/newforum/topic.asp, line 114
I have checked this file and cannot see anything wrong with it. However if I put the original file back on the forum then the pm will work. I am also gettting two Private message boxes on the main forum screen.
I am also now getting the following error when looking at a users profile
ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal.
/newforum/pop_profile.asp, line 322
Any help would be great |
Edited by - pieman on 23 October 2002 06:38:39 |
|
|
devaskar
Starting Member
31 Posts |
Posted - 23 October 2002 : 14:09:10
|
After I make all the necessary changes and upload the files to my server, I'm completely unable to access my forum. Here's the error I get:
Technical Information (for support personnel)
Error Type: Microsoft VBScript compilation (0x800A03EA) Syntax error /messageboard/inc_header.asp, line 260
I saved the HTML code for that entire page to a text file so you can access it and point me to my error: http://www.nationalpastimes.net/text.txt
Thanks! |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 23 October 2002 : 15:27:52
|
pieman:quote: ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal.
This leads me to think you should recheck the modifications you made to your SQL statements and the numbering for the array.
devaskar:quote: Error Type: Microsoft VBScript compilation (0x800A03EA) Syntax error /messageboard/inc_header.asp, line 260
The HTML output is not going to be helpful here because what's going on is happening before it gets back to the browser. I am guessing the error occurs near where this is:
rsPM.close set rsPM = nothing
Could you save your unc_header.asp as a text file and post the link?
@tomic |
SportsBettingAcumen.com |
|
|
devaskar
Starting Member
31 Posts |
Posted - 23 October 2002 : 23:45:48
|
I got it working @tomic. Thanks nonetheless! |
|
|
Lupo
Starting Member
USA
8 Posts |
Posted - 30 October 2002 : 18:27:21
|
I'm a complete newbie, but I keep messing up! I think it's cuz I didn't put the code in right or something... I don't know.... |
Thank you for being yet another victim of Lupo the Wolf. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 03 November 2002 : 23:35:17
|
@tomic, didn't you publish some code to include the "Private Messages (1 unread)" in the top-right menu (Home|Profile|Register) somewhere ? ... I've tried searching for a few different things, but I can't find anything at all.
|
|
|
adandnat
Starting Member
29 Posts |
Posted - 04 November 2002 : 07:54:16
|
Thanks for those awesome instructions! The topic.asp was a bit tricky - so I gave it a miss, but the rest was so simple I had it up and going in less than ten minutes! Usually I am stuffing around with Mods for hours!
Thanks mate! |
|
|
James
Average Member
USA
539 Posts |
Posted - 04 November 2002 : 20:37:27
|
Laser, the code for that is in the readme file of the latest version. I believe it's below the part for Active Users fixes. |
*Interested in Radio Control* *The RC Web Board - http://www.rcwebboard.com/* |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 04 November 2002 : 20:49:20
|
Yes, it should be in there. Please take another look.
@tomic |
SportsBettingAcumen.com |
|
|
be4you
New Member
61 Posts |
Posted - 04 November 2002 : 20:54:49
|
Thanks for the mod!
|
Edited by - be4you on 05 November 2002 18:02:14 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 04 November 2002 : 20:58:18
|
If you are not using Active Users then why would you want to hide yourself from a feature you have not installed?
@tomic |
SportsBettingAcumen.com |
|
|
Topic |
|