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/O Code)
 Private Message to someone from their profile
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

semifamous
Starting Member

USA
44 Posts

Posted - 25 May 2001 :  17:13:16  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
How hard is that to implement? Something that could show up right under the email address and Instant Messenger info, perhaps? Just a link to "Send a private message" that automatically puts the recipient's name in the To: field of a new message?

Just a thought...
(I seem to be having a lot of those "thoughts" lately for some reason...)

Mike

stuF
Average Member

United Kingdom
561 Posts

Posted - 25 May 2001 :  17:44:50  Show Profile  Visit stuF's Homepage
why not use the user defined fields to add a pm one to the member profile, where upon clicking the name it would open a window, same as the meail one with all the info pre filled in...

Go to Top of Page

semifamous
Starting Member

USA
44 Posts

Posted - 25 May 2001 :  21:04:47  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
OK then.

But how hard is it to make a pop_pm.asp that lets you put something like ?to=whoever? That'd be what I want. Make it look just like the email pop up. To: whoever I just clicked on, from whoever is logged in, ready for subject and message.

The same link could be added to each member's post on the line that lets you edit a post, or quote them or whatever...

Cna anybody actually write it? I don't know enough about it to even want to try... If it were simply changing stuff on what I already have, I might dare, but a lot of it is new stuff I have no idea where to begin with...
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 25 May 2001 :  23:57:24  Show Profile
If you check the Mod W/Code forum there is a mod that allows for the sending of a PM to a member from the post.asp ( the listing of a topic and all its replies ).

This will show you the code that you need to ( more or less copy and paste ) to have the to/from work the way you want to.



http://www.ugfl.net/forums
Go to Top of Page

semifamous
Starting Member

USA
44 Posts

Posted - 26 May 2001 :  16:54:03  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
After a hard search, I finally found it. Thank you for the information. =)

Now, another thought...
All of the code that I put in requires that ("M_PMRECEIVE") = "1"

How do I set it up so that when new users register, they are set to ("M_PMRECEIVE") = "1" by default? Is there an easy one-line-of-code thing I can add?

(This is an easy question, right?)

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 26 May 2001 :  18:48:17  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
I re-released an addon that does this here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=10211&FORUM_ID=25&CAT_ID=17&Topic_Title=PM+ADD%2DON%3A+Send+PMs+from+Member%27s+Profiles&Forum_Title=MOD+Add%2DOn+Forum+%28W%2FCode%29

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

semifamous
Starting Member

USA
44 Posts

Posted - 26 May 2001 :  20:45:00  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
Well, here's my version. (I haven't looked at yours yet...)
After this:

if strAIM = "1" then
if Trim(rs("M_AIM")) <> "" then %>
<tr>
<td bgColor=<% =strPopUpTableColor %> align=right nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">AIM: </font></b></td>
<td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="<% =strIMURL1 %>pop_messengers.asp?mode=AIM&AIM=<% =ChkString(rs("M_AIM"), "urlpath") %>&M_NAME=<% =ChkString(rs("M_NAME"), "urlpath") %><% =strIMURL2 %>"><% =ChkString(rs("M_AIM"), "urlpath") %></a> </font></td>
</tr>

<% end if
end if


I added this:

if rs("M_PMRECEIVE") = "1" then %>
<tr colspan=2>
<td bgColor=<% =strPopUpTableColor %> align=right nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Private Message: </font></b></td>
<td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="privatesend.asp?method=Topic&mname=<% =rs("M_NAME")%>"><img src="pm.gif" width="11" height="17" alt="Send Message" border="0"> Send a Private Message</a> </font></td>
</tr>
<% end if


That does what I want it to do. =)
But, what about setting PMRECEIVE = 1 by default for new users? Is that something that I add to the register.asp? What do I add?

Thanks to those who have helped out. =)
Mike
Go to Top of Page

semifamous
Starting Member

USA
44 Posts

Posted - 29 May 2001 :  11:37:10  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
Just a harmless BUMP here...

quote:

But, what about setting PMRECEIVE = 1 by default for new users? Is that something that I add to the register.asp? What do I add?

Go to Top of Page

giorgius
Starting Member

Italy
17 Posts

Posted - 31 May 2001 :  10:39:02  Show Profile  Visit giorgius's Homepage
HI,
with PM mod i have this error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e37'

[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'FORUM_PM'. Make sure it exists and that its name is spelled correctly.

/forumnew/pm_pop_pager.asp, line 137

Who can help me about??
I think i need run a setup, but what?


Giorgius!
Go to Top of Page

semifamous
Starting Member

USA
44 Posts

Posted - 31 May 2001 :  15:56:31  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
You want this first:

http://forum.snitz.com/forum/link.asp?TOPIC_ID=4092

This is an add-on to that.
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07