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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Private Messages 3.4.03
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 21

@tomic
Senior Member

USA
1790 Posts

Posted - 03 September 2002 :  03:19:02  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I added support for sending PM's from a member's profile and updated the zip file.

@tomic

SportsBettingAcumen.com
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  04:23:21  Show Profile
@tomic, Can we add a Icon for sending private message from in topic ? "like Icq/Msn/Yahoo Icon"

Edited by - CodeName on 03 September 2002 04:24:25
Go to Top of Page

Lydecker
Junior Member

United Kingdom
297 Posts

Posted - 03 September 2002 :  12:34:00  Show Profile  Visit Lydecker's Homepage
Does this look right to you?



I swear the inbox is further to the right in my 3.4.02 forum then it was in my 3.4.01 foorum?
Go to Top of Page

tangoc9999
Junior Member

USA
158 Posts

Posted - 03 September 2002 :  12:43:26  Show Profile  Visit tangoc9999's Homepage  Send tangoc9999 an AOL message  Send tangoc9999 an ICQ Message  Send tangoc9999 a Yahoo! Message
put the include for pm's above the stats sub and it will straighten out. like this....

end if 

%>
<!--#include file="privatemess.asp"-->
<%
if strShowStatistics = "1" then
	WriteStatistics
end if 
Response.Write	"            </table>" & vbNewline & _

TANGO

Computers run on smoke, when the smoke comes out, they quit running!


Edited by - tangoc9999 on 03 September 2002 12:49:34
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 03 September 2002 :  12:47:53  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
What does the code look like where you placed the PM include file and have you added other MODs to default.asp? It looks fine on my page.

@tomic

SportsBettingAcumen.com
Go to Top of Page

Lydecker
Junior Member

United Kingdom
297 Posts

Posted - 03 September 2002 :  12:57:37  Show Profile  Visit Lydecker's Homepage
My bad - the code was 1 line out of place - thanks
Go to Top of Page

Fish
Starting Member

16 Posts

Posted - 03 September 2002 :  17:37:05  Show Profile
quote:
Originally posted by @tomic

I will, sorry I'm so slow. I amjust trying to make sure each bit is working before I add another one. The code to add this to topic.asp or pop_profile is almost exactly the same. It's just a matter of where to stick it.

@tomic



Atomic, I think you're doing just find and I appreciate your approach and the mods you've been doing. I was going to take a shot at the profile one myself and just wanted to make sure no one else had done it first :)

Fish
http://www.outsidethegarden.com
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 03 September 2002 :  18:01:36  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Hey thanks. I do plan on doing as much as possible with this MOD as I can. I have quite a bit more coming but just not all at once so if there is a favorite feature you think is missing please let me know.

I saw something about a Saved PM feature and I vaguely remember that but couldn't find the code anywhere. Can anyone help me out with a sample from 3.1R4 or 3.3?

@tomic

SportsBettingAcumen.com
Go to Top of Page

ErEf
New Member

Netherlands
74 Posts

Posted - 04 September 2002 :  04:04:05  Show Profile  Visit ErEf's Homepage
quote:
Originally posted by tangoc9999

put the include for pm's above the stats sub and it will straighten out. like this....

end if 

%>
<!--#include file="privatemess.asp"-->
<%
if strShowStatistics = "1" then
	WriteStatistics
end if 
Response.Write	"            </table>" & vbNewline & _



thanks it was just what I was looking for.
it looks like this now:

If you think you can or you think you cannot, you are right. - Henry Ford
Go to Top of Page

ErEf
New Member

Netherlands
74 Posts

Posted - 04 September 2002 :  05:39:53  Show Profile  Visit ErEf's Homepage
I have stripped privatemess.asp a little bit and made it that only the envelop would show up if you have a private message.
you can inc it where you like
<%
'#################################################################################
'## Copyright (C) 2000-02 Michael Anderson, Pierre Gorissen,
'## Huw Reddick and Richard Kinser
'##
etc etc.
'##
'## Snitz Communications
'## C/O: Michael Anderson
'## PO Box 200
'## Harpswell, ME 04079
'#################################################################################
if strDBNTUserName <> "" then
' 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 = '" & strDBNTUserName & "'"
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")

rsPM.close
set rsPM = nothing

if strDBNTUserName = "" then
Response.Write " "
else
if pmcount = 0 then
Response.Write " "
end if
if pmcount >= 1 then
Response.Write "<a href=""pm_view.asp"">"
Response.Write getCurrentIcon(strIconpmnewsm,"","align=""absmiddle""")
Response.Write "</a>"
end if
end if

end if
%>

I saved this file with an other name privatemess2.asp and included it in the inc_header.asp like this

Response.Write " |" & vbNewline & _
" <a href=""members.asp""" & dWStatus("Current members of these forums...") & " tabindex=""-1""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""pm_view.asp""" & dWStatus("Check Your Private Messages...") & " tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private messages</acronym></a>" & vbNewline
'############## BEGIN INCLUDE ENVELOP IF THERE IS A NEW MESSAGE ##########################
%> <!-- #include file="privatemess2.asp" --><%
'############## END INCLUDE ENVELOP IF THERE IS A NEW MESSAGE ############################
Response.Write " |" & vbNewline & _
" <a href=""search.asp"
You have to delete & _ before the insert and add response.write after it.

If you think you can or you think you cannot, you are right. - Henry Ford

Edited by - ErEf on 04 September 2002 05:58:15
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 04 September 2002 :  08:20:25  Show Profile
quote:
Originally posted by @tomic



I saw something about a Saved PM feature and I vaguely remember that but couldn't find the code anywhere. Can anyone help me out with a sample from 3.1R4 or 3.3?

@tomic



@tomic, does the current PM have ignore and save PM feature? Thanks.
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 04 September 2002 :  11:02:53  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
quote:
@tomic, does the current PM have ignore and save PM feature? Thanks.


No not yet. I can't even find anything on the PM Save.

@tomic

SportsBettingAcumen.com
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 04 September 2002 :  11:19:16  Show Profile
didn't HuwR said he had the code?

quote:

@tomic,

do you want the pm files from my forum ?
they have the save pm's and ignore users code in them

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 04 September 2002 :  11:21:50  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes, but I don't have either of those features yet. I searched and couldn't find anything on PM Save.

@tomic

SportsBettingAcumen.com
Go to Top of Page

philgsy
Starting Member

United Kingdom
18 Posts

Posted - 04 September 2002 :  11:38:12  Show Profile  Visit philgsy's Homepage  Send philgsy a Yahoo! Message
Hi guys.
Great mod, and its a great service to add to my forum.
I have 2 questions at the moment, which hopefully someone can help me out.
1) Is there / or will there be, a way of automatically sending a message from the Admin ID when someone joins the forum (similar to a welcome email if you will...)
2) How can I add the option to send a PM to a user from the Active_Users page on my forum.
Once again, great mod, and keep up the good work...
Go to Top of Page
Page: of 21 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07