[Beta] Send PM on Friend

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

[Beta] Send PM on Friend

Post by blazes816 »

MOD title: Send PM on Friend
MOD description: Sends somebody a PM when someone befriends them
MOD version: 0.4.1
phpBB version: 3.0.6

Current Version Notes: I've tested the 0.4.0 installation modx file with AutoMOD. I've added a 0.3.0->0.4.0 upgrade modx file. I've tested it once, however, not with AutoMOD.

Development stage: Beta

MOD Format: MODX

MOD download:[url]http://github.com/blazes816/MODs/raw/master/pm_on_friend/0.4.1/0.4.1.zip[/url]

Credits: Kevin Martin (DualFusion) for the send_friend_pm function which I slightly (very slightly) modified.

Features: When somebody befriends you, you receive a PM with a link to their profile and a link to befriend them.

Todo:
Send PM on friend deletion

Change Log:
  • Fix error where PM has link to add friend, even if the other user is already a friend

Taking feature suggestions.
Last edited by blazes816 on 09 Oct 2009, 21:14, edited 3 times in total.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
timmo
New member
New member
Posts: 7
Joined: 03 Jun 2008, 14:47

Re: [Alpha] Send PM on Friend

Post by timmo »

woow that all wat i want

i think it will be cool if the PM contains a link to make him a friend so both of them become friends to each other

can i know what is your plan for its release ?

Edite: i think there is a problem in the modx
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: [Alpha] Send PM on Friend

Post by igorw »

Please be more specific when reporting a problem :). The mistake in the MODX file is that the XML links to MODX 1.2.0, but the XSL file is 1.0 or 1.0.1.
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

Maybe if MODX didn't suck.....


i think it will be cool if the PM contains a link to make him a friend so both of them become friends to each other


That's a good idea. I'll put it in the next version. Hopefully it'll be out later on today.

The MODX file is fixed.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
timmo
New member
New member
Posts: 7
Joined: 03 Jun 2008, 14:47

Re: [Alpha] Send PM on Friend

Post by timmo »

@ evil <3
sorry i don't know will in modx :D , next time i will try to be more clear
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: [Alpha] Send PM on Friend

Post by igorw »

[img]http://phpbbmodders.net/board/images/avatars/gallery/phpbb/mod.gif[/img]
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

Don't worry about it. Evil<3 has been a bit wrathful lately. Too much work, not enough beer.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

Now the persons name is a link to their profile, and there is the option to add that person as a friend.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
timmo
New member
New member
Posts: 7
Joined: 03 Jun 2008, 14:47

Re: [Alpha] Send PM on Friend

Post by timmo »

wooooow

what about putting the avatar of the befriender in the PM

the modx still has a problem

Code: Select all

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

End tag 'find' does not match the start tag 'action'. Error processing resource 'file:///D:/Documents and Settings/arm/Desk...

        }]]></find>
--------------^
 
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

I'll fix that issue, shortly.

I'll look into adding that in the next version. Check later tonight or tomorrow. :)
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

MODX should be fixed. :D
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
timmo
New member
New member
Posts: 7
Joined: 03 Jun 2008, 14:47

Re: [Alpha] Send PM on Friend

Post by timmo »

i had an idea but if it will need a big integration don't do it now :D

as i need this mod stable as fast a possible

the idea is to make the title of the PM that will be sent italic and red or sothing like that so that to be different from the other PMs

also the template of the PM to be different somehow
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Alpha] Send PM on Friend

Post by blazes816 »

That seems to be a little more intrusive than what I personally think it should be. However, later I can make you an add-on to do that stuff.

As far as it being stable, I'm going to move this to beta. In a few days, if nobody has problems with it I'll move it to RC for a bit, then submit it do the MOD-DB.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
timmo
New member
New member
Posts: 7
Joined: 03 Jun 2008, 14:47

Re: [Beta] Send PM on Friend

Post by timmo »

thats fine me to needs it stable as fast as possible
blazes816
Supporter
Supporter
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Re: [Beta] Send PM on Friend

Post by blazes816 »

The PM now shows the new friend's avatar. :)
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs: http://github.com/blazes816/MODs
Post Reply