Author |
Topic |
|
semifamous
Starting Member
USA
44 Posts |
Posted - 25 May 2001 : 17:13:16
|
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
|
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...
|
|
|
semifamous
Starting Member
USA
44 Posts |
Posted - 25 May 2001 : 21:04:47
|
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... |
|
|
big9erfan
Average Member
540 Posts |
Posted - 25 May 2001 : 23:57:24
|
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 |
|
|
semifamous
Starting Member
USA
44 Posts |
Posted - 26 May 2001 : 16:54:03
|
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?)
|
|
|
Aznknight
Senior Member
USA
1373 Posts |
|
semifamous
Starting Member
USA
44 Posts |
Posted - 26 May 2001 : 20:45:00
|
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 |
|
|
semifamous
Starting Member
USA
44 Posts |
Posted - 29 May 2001 : 11:37:10
|
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?
|
|
|
giorgius
Starting Member
Italy
17 Posts |
Posted - 31 May 2001 : 10:39:02
|
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! |
|
|
semifamous
Starting Member
USA
44 Posts |
|
|
Topic |
|