Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 PM mod "privatesend" and "admin_pmmaint" probs...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mankler
Starting Member

Sweden
6 Posts

Posted - 15 March 2004 :  11:11:00  Show Profile  Visit mankler's Homepage
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  Show Profile  Visit masterao's Homepage
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
Go to Top of Page

mankler
Starting Member

Sweden
6 Posts

Posted - 16 March 2004 :  14:53:18  Show Profile  Visit mankler's Homepage
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.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 16 March 2004 :  18:03:27  Show Profile  Visit masterao's Homepage
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
Go to Top of Page

mankler
Starting Member

Sweden
6 Posts

Posted - 17 March 2004 :  16:00:15  Show Profile  Visit mankler's Homepage
For no. 1. That code was already there. I've made a .txt of my privatesend.asp and inc_code.js now, and if you want to give them a glance, they are located here: http://freehost02.websamba.com/bjurs/privatesend.txt and http://freehost02.websamba.com/bjurs/inc_code.txt

2. Aha! Thanks, I didn't understand that before.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 17 March 2004 :  16:08:41  Show Profile  Visit masterao's Homepage
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
Go to Top of Page

mankler
Starting Member

Sweden
6 Posts

Posted - 18 March 2004 :  14:23:25  Show Profile  Visit mankler's Homepage
Great! Many thanks, it was very nice of you to help me!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 18 March 2004 :  15:23:41  Show Profile  Visit masterao's Homepage
You are most welcome.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07