Author |
Topic  |
|
mankler
Starting Member
Sweden
6 Posts |
Posted - 15 March 2004 : 11:11:00
|
I installed the PM mod a few weeks ago. After some fixing and trixing I got it to work, almost perfectly but with two small problems.
- First, when you write a new PM there is a lot of text (the whole "inc_code.js" file actually) showing at the top of the page. I gave a shot at a hide command but it didn't work (probably cause I'm n00b and just tested).
- When I'm in the Private Message Maintenance-file (admin_pmmaint.asp) and try to change any of the values, it dosen't save.
I have made the changes to config.asp, and I have ran then mod setup.
My forum is located at http://freehost02.websamba.com/bjurs/forum
Any help welcomed... |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 15 March 2004 : 17:20:54
|
For no 1, have you tried to re-upload privatesend.asp again? None of the PM-files requires any editing to make them work, so I guess that the file might not have uploaded correctly. If you could provide a test account, it would be easier to help you with this one. 
For no. 2, re-check that you made both changes to config.asp. Have you run Check Installation (setup.asp) from the Admin Section? That will fix any problems with population those application variables. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
 |
|
mankler
Starting Member
Sweden
6 Posts |
Posted - 16 March 2004 : 14:53:18
|
1. Well, now I've tried uploading it again, but it still dosen't work... Actually, I've been editing privatesend.asp. After reading on this forum, I changed <!--#INCLUDE FILE="inc_code.asp" --> to <!--#INCLUDE FILE="inc_code.js" -->. What do you mean by providing a test account? If you want, feel free to register. I can remove your account later if you want.
2. Yup, I've done all that now. But it still dosen't work. Or at least the last box of options can't be modified (Private Messages Maintenance). Private Message Settings works perfectly. |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 16 March 2004 : 18:03:27
|
I've located the error in privatesend.asp. Locate the following lines at the top:
<%
//#################################################################################
//## Snitz Forums 2000 v3.4.04
//#################################################################################
//## Copyright (C) 2000-04 Michael Anderson, Pierre Gorissen,
//## Huw Reddick and Richard Kinser
Add the red code and that should fix problem no 1. As for no. 2, that is not a problem. the PM Maintainance box is only used to delete PMs from the database (those seen in Current Private Message Counts box). If you don't have any PMs in the database, nothing will happen when you delete PMs. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
 |
|
mankler
Starting Member
Sweden
6 Posts |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 17 March 2004 : 16:08:41
|
Ok. I have now really spotted the problem .
You must remove the following line from privatesend.asp: <!--#INCLUDE FILE="inc_code.js" -->
Includes doesn't work with js-files, only with .asp-, .html-, and shtml-files. inc_code.js is added later with a script-tag (<script></script>), so you don't have to add it at all. After removing it, it will work as it should.  |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
 |
|
mankler
Starting Member
Sweden
6 Posts |
Posted - 18 March 2004 : 14:23:25
|
Great! Many thanks, it was very nice of you to help me!  |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
|
|
Topic  |
|