Idea for a MOD to PM's, need help in starting - Posted (1190 Views)
Starting Member
lovduv
Posts: 40
40
Here is what I would like to do:

On a page outside my forum I would like a hyperlink that would send a member a static message. Basically the link takes you to a form in the forum, you fill in the form and it sends the message. Then when a member logs in they have a link alerting them to a message.
Example: I want members to be able to challenge each other like so.
Page outside forum with link: Challenge
>>User clicks the link and is sent to form in forum (so I need the M_Member name to carry over so the message already is labeled "From" correctly) fill in date, time, challenge, hit send.
>>Message goes to the member challenged, the message is titled challenge, and from member who issued it, with a hyperlink accept challenge or reject challenge these links would in turn send a static message back to the original member letting them know if the challenge was accepted or rejected.
I kind of have an idea on how to do this, but since I already have PM's installed, I figure that most of the work is done I just need to modify it a bit to include challenges along with PM's.
I figure there is lot's of ways that this simple add on could be added to different sites i.e a dating site could have a quick way to accept or reject in invite. So, I am hoping someone will be interested in helping me with this, or at the very least one of the snitz guru's will help point me in the right direction!
I am using
Private-messages-3.5.05
Author: slemieux, Richard Kinser, Updated by @tomic, Korayem's Block List MOD, Havvoc's Admin Pages, Serverhacker's Inbox Images, Updated (for Version 3.5) by GarethMoore1979<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
I think it's similar to the winks Shaggy uses on woo.ie....I think.<
Posted
Senior Member
tribaliztic
Posts: 1532
1532
This is something I'm been thinking of also, sound great that Shaggy might have done it already =)
<
/Tribaliztic
- www.gotlandrace.se -
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Not quite and, to be honest, I have nowhere near the time to write something like this, though. The basics would work something like this, though:

01. You'll need a link to privatesend.asp just like any other except you'll need to add a new variable to the querystring to indicate that the PM is a challenge.
02. In privatesend.asp, create a check for the new vriable in your querystring and, if it's there, change the type of the subject input to hidden and give it a value of "Challenge", or whatever you want. Also, add a new hidden input to hold the value of your new querystring variable.
03. In privatesend_info.asp, add a check for the new field to see if the message being sent is a challenge. If it is, add the accept and reject links to the end of the message's body.
04. The accept & reject links will need to link to a custom script and pass the original message ID through the querystring as well as a boolean to indicate whether it has been accepted or rejected. This script would then shoot off an automated message to the challenger indicating the response of the recipient.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Senior Member
tribaliztic
Posts: 1532
1532
Seems like your'e halfway done there Shaggy =)
<
/Tribaliztic
- www.gotlandrace.se -
Posted
Starting Member
lovduv
Posts: 40
40
whooo boy.... alright, I am up for the challenge and maybe Marcel will give me hand too. I am going to get some sleep and start tearing my hair out in the morning, I have no doubt I will be back here soon! smile<
 
You Must enter a message