Author |
Topic  |
redbrad0
Advanced Member
    
USA
3725 Posts |
Posted - 18 January 2001 : 16:36:33
|
what does line 50 say?
Brad |
 |
|
StockholmStudent
Junior Member
 
Sweden
329 Posts |
Posted - 18 January 2001 : 17:33:57
|
quote:
what does line 50 say?
Depending on how you meassure, cause it's different numbers if you look at it in BBEdit or in text-editor, but something on these lines:
quote:
## %> <% ' Get Private Message count for display on Default.asp if strDBType = "access" then strSqL = "SELECT count(M_TO) as [pmcount] " else strSqL = "SELECT count(M_TO) as pmcount " end if strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM " strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & Request.Cookies(strCookieURL & "User")("Name") & "'" strSql = strSql & " AND " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO " strSql = strSql & " AND " & strTablePrefix & "PM.M_READ = 0 " Set rsPM = my_Conn.Execute(strSql) pmcount = rsPM("pmcount") %>
On the other hand, this file hasn't changed a **** since it worked fine, so it must be something other.. maybe it's some of the "include file"-files that is wrong?!
I dont know...
|
 |
|
efourie
New Member

USA
80 Posts |
Posted - 19 January 2001 : 15:08:42
|
I have loaded the pm mod as instructed, and the Inbox section shows, the db upgraded perfectly, but when I click in the Inbox link, nothing happens, it just re-loads the current page. What's wrong?
Thanks for a great mod.
Preach Christ - use words if you must [url]http://klewan.thebuffyzone.net/gfxdb/att2/dance1.gif[url] |
 |
|
wyssguy
Starting Member
USA
17 Posts |
Posted - 19 January 2001 : 20:10:13
|
I was sent to this thread to install the "private messages" portion.
I've now spent 1.5 hours working toward making the necessary mods and have completely goofed up my topic.asp file and others. Glad I know to back them up before I attempt to make changes.
Does anyone have a working set of .asp pages that I could use that incorporate all of the fixes listed in this thread?
I've downloaded the private_messages_mod.zip file, but it doesn't appear as if the topic.asp file has been included.
Thanks in advance for your help,
Edited by - wyssguy on 19 January 2001 20:14:08 |
 |
|
Darkstar
Starting Member
Netherlands
1 Posts |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 19 January 2001 : 22:28:43
|
For y'all that are having problems with being redirected back to the default.asp page when you click on the inbox link, download the following .zip file and use the files to overwrite your current files.
http://www11.ewebcity.com/dssdbs/files/pm4sr4.zip
There was a change in the cookie from when this mod was released.
This info is available in posts that are in this thread. |
 |
|
jlaw
Junior Member
 
USA
120 Posts |
Posted - 20 January 2001 : 01:30:33
|
I just had a thought about the Private messaging. Would it be possible to change the font color of the "number of new messages in your inbox" when you get it a new PM so it will be more noticeable?
When you look at the Private Messages link, and you see the number of messages in your inbox, it's the same color as the font. I think it would be more noticeable if the "number" would change font colors once a new PM arrives so you could see it better. and then when there are 0 new messages, let it stay the original font color. 
|
 |
|
jlaw
Junior Member
 
USA
120 Posts |
Posted - 20 January 2001 : 01:46:30
|
Well, I just read what I wrote and it sounds confusing so I guess I can write it out better. 
This is what I mean: Change the color of the number of new messages when there is one..like this:
username- You have 0 new private messages.--->stays regular font when there are no new messages.
username - You have 1 new private messages. ---->changes the font color when there is a new messages waiting.
|
 |
|
DewyattStanfield
Starting Member
49 Posts |
Posted - 20 January 2001 : 03:20:19
|
I know this was mentioned in this topic already but......
Is anyone thinking about or creating a hack to this MOD that will allow you (admin/Moderators) to send a PM to selected usres or all users?
Jus think it might be a REALLY nice addition.
Dewyatt
|
 |
|
jlaw
Junior Member
 
USA
120 Posts |
Posted - 20 January 2001 : 15:07:43
|
hmm, I must have missed it somewhere...hehe
Has anyone tried to see if they can make it work? |
 |
|
StockholmStudent
Junior Member
 
Sweden
329 Posts |
Posted - 20 January 2001 : 17:55:06
|
Ok, I''ve gotten this to work before, but this time, it keeps saying that I have to Login to check my messages!?
Why!?
Very strange! Reg a user and see it for yourself at http://www.digitalrice.com/cheetah/forum/default.asp
it's so frustrating!  |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 20 January 2001 : 19:36:57
|
it's the problem with the cookies.
look for a post I made a few posts up for the link to the file: pm4sr4.zip |
 |
|
Therion93
Junior Member
 
USA
263 Posts |
Posted - 20 January 2001 : 21:16:32
|
Hi Richard,
I downloaded what is apparently the most recent version of this mod, then downloaded the updates you refer to above, I followed the instructions in PM_readme.txt to the letter and yet when I go to the forums, I see absolutely nothing different except that now I cannot LOG OUT of the forums. I click LOG OUT and it takes me right back to the main forum page as being logged in.
This strikes me as wierd as the only modification to the default.asp was the include line.
Any ideas?
Thanks!
Therion93 "Stare Deep Into The Heart Of Darkness...There Is No Good, No Evil - Only Me" Because Legends Never Die! - Kiss-Forever Community Forum
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 20 January 2001 : 22:01:26
|
did you make sure to put the %> before the include line and the <% after it? |
 |
|
Therion93
Junior Member
 
USA
263 Posts |
Posted - 20 January 2001 : 22:30:36
|
Doh! That fixed the part about it not showing up. Still can't LOG OUT of the forums though. This is very strange. I could log out just fine until I added this mod.
One question: I sent a couple test messages (even one to myself) but none of them show up in the outbox. Is it supposed to be that way? (I selected to have both the inbox and outbox displayed on the same page)
Thanks!
p.s. this is a different subject all together, but could you send me your events.asp for the calendar MOD? I use a dark background and the default colors look terrible on my site. (I'd change them myself but I have no idea what to change as I know squat about CSS).
Thanks again!
Therion93 "Stare Deep Into The Heart Of Darkness...There Is No Good, No Evil - Only Me" Because Legends Never Die! - Kiss-Forever Community Forum
Edited by - Therion93 on 20 January 2001 22:36:57 |
 |
|
Topic  |
|