Author |
Topic |
HarshReality
Junior Member
USA
128 Posts |
Posted - 07 September 2002 : 10:33:50
|
Correct me if I am wrong guys, but the whole PM saved thing causes nothing but trouble.
1. takes up db space with sent messages and serves no other function than to let you know your mail has actually been read.
2. If a member sends a PM to another member who is then deleted the sending members outbox then results in an error when trying to view it. I found this out when I had the PM new members on and removed a few bogus registrations, my admin outbox went nuts and I had to delete by hand. |
Anti Social Personality |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 14:12:14
|
Can someone please tell me which table in the Access DB Forum Maintanence settings are kept. I just upgraded my PM to the maintenence version (reran the dbs files and all...) and one of the settings (eg turning PM on and off) have any effect. I uploaded all the new PM files, and modified the new config.asp code.
So which access table should I be seeking for this data??
Thanks |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 14:38:10
|
OKay so the following have been created in my DB file:
[CREATE] PM M_ID M_SUBJECT#varchar (100)#NULL# M_FROM#int#NULL# M_TO#int#NULL# M_SENT#varchar (50)#NULL# M_MESSAGE#memo#NULL# M_PMCOUNT#varchar (50)#NULL# M_READ#int#NULL#0 M_MAIL#varchar (50)#NULL# M_OUTBOX#smallint#NULL#1 [END] [ALTER] MEMBERS ADD#M_PMEMAIL#int#NULL#0 [END] [ALTER] MEMBERS ADD#M_PMRECEIVE#int#NULL#1 [END] [INSERT] CONFIG_NEW (C_VARIABLE,C_VALUE)#('STRPMLIMIT','50') (C_VARIABLE,C_VALUE)#('STRPMSTATUS','1') [END]
And when I change the values through the maintenence screen, it DOES change the values in the DB, so no probs there - but I dont see why max posts and 'PM on/off dosent work...' |
Edited by - Lydecker on 07 September 2002 14:38:54 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 15:22:49
|
I have fixed a few things regarding the PM Limit and I also added PMs to topic.asp
The Zip file has been updated.
@tomic |
SportsBettingAcumen.com |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 15:37:01
|
The 2 PM forum variables would be in FORUM_CONFIG_NEW. Check your config file carfeully because after running that dbs file and uploading admin_pmmaint.asp there are only a few lines to alter in config.asp and that should be enough to see the variables and change their values.
Wow, 999 posts!
@tomic |
SportsBettingAcumen.com |
|
|
omerkilic
Starting Member
1 Posts |
Posted - 07 September 2002 : 15:57:57
|
as being a complete newbie i couldn't figure out how to install this mod.so is it possible for you to send me this mod integrated into snitz 3.4.02 original version.
i will be grateful if you help me...
regards
my email: omerkilic@ilginchsite.org thnx. |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 16:09:12
|
I give up
The maintainace features don't work - and my config.asp is spot on! |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 16:22:18
|
quote: The maintainace features don't work - and my config.asp is spot on!
Have you looked in your database to see if those values are in the FORUM_CONFIG_NEW table?
You also might need to refresh your forum variables.
@tomic |
SportsBettingAcumen.com |
Edited by - @tomic on 07 September 2002 16:23:46 |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 16:42:33
|
All the tables and extra columns are in the db - i checked. When I modify settings on the maintanence page, it DOES store the changes in the db. BUT the settings have no effect on the rest of the site !!!! :( |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 07 September 2002 : 16:50:05
|
@tomic, I just installed the latest version of PM, and sofar it looks good. I noticed a couple of things when I installed it.
There is no mention in the readme that you need to add the admin_pmmaint.asp link in admin_home.asp.
The other thing that I noticed was that when you submit the PM Limit, the pmmain-form displays after the success/error msg. I inserted a writefooter and response.end (marked red below) on line 88 in admin_pmmaint.asp.
" <table align=""center"" border=""0"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """><ul>" & Err_Msg & "</ul></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Go Back To Enter Data</a></font></p>" & vbNewLine
end if
WriteFooter
Response.End
end if
Besides these two, it was easy to install. Good job.
Master AO |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 16:53:43
|
quote: All the tables and extra columns are in the db - i checked. When I modify settings on the maintanence page, it DOES store the changes in the db. BUT the settings have no effect on the rest of the site !!!! :(
Did you subsitute the rest of the pages as well and take a look at changes to inc_header.asp etc? In order for these variables to do anything I had to add code to other pages so that they could do something with them such as if PMSatus = "1" then. So check out the readme. Almost all of the pages had some minor alteration to incorporate these variables.
@tomic |
SportsBettingAcumen.com |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 17:01:25
|
inc header hey? I'll look into that - I updated all files in the zip bar inc header as I tought it was an 'optional' modification... |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 17:01:25
|
quote: There is no mention in the readme that you need to add the admin_pmmaint.asp link in admin_home.asp.
The other thing that I noticed was that when you submit the PM Limit, the pmmain-form displays after the success/error msg. I inserted a writefooter and response.end (marked red below) on line 88 in admin_pmmaint.asp.
" <table align=""center"" border=""0"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """><ul>" & Err_Msg & "</ul></font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " </table>" & vbNewLine & _ " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Go Back To Enter Data</a></font></p>" & vbNewLine end if WriteFooter Response.End end if
Besides these two, it was easy to install. Good job.
Oh wow thanks! That's a couple of major oversights. I have updated the zip with these changes.
@tomic |
SportsBettingAcumen.com |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 September 2002 : 17:03:53
|
quote: I updated all files in the zip bar inc header as I tought it was an 'optional' modification
Yes it is optional but wherever you show privatemess.asp or have a link to Private Messages you will want to do it as it now is in the readme so that the variables do anything. Is the PM Limit working? If you replaced all of the files that one should definately work.
@tomic |
SportsBettingAcumen.com |
|
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 07 September 2002 : 17:08:06
|
PMLimit does not work. The only only thing that works is PMStatus making the inbox dissapear on default.asp. You canhowever send messages when PMStatus = 1 though! |
|
|
Topic |
|