The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AutoPM after addBuddy Details »» | |||||||||||||||||||||||||
What: This will send an automatic PM to a user after you add him/her to your Buddy List. The PM you automatically sent is saved within your outfolder and the Admin can modify the title and message of the PM by changing the phrases.
1 Product (1 plugin and 2 phrases) Versions / Features:
To change the title of the PM, edit $vbphrase[anti_autopm_bud_tit], and to change the message of the PM, edit $vbphrase[anti_autopm_bud_mes]. PLEASE REMEMBER TO BACKUP BEFORE YOU INSTALL! Thanks: Thanks to Andreas for writing the [HowTo] Send PM's Automatically. This was inspired by Cloud Warrior's really cool vbFriends hack, which lacked this functionality and it seemed like many people would want it. about: I'm taking this out of beta, as i think it's working all right by now. Any advice on how to improve this, comments, or bugs - are more than welcome, as I will do my best to address all. If you use this, please click the install thingie . Show Your Support
|
Comments |
#2
|
||||
|
||||
First post reserved
|
#3
|
||||
|
||||
holy crap, I think I will like this and install it for sure, just gimme two secs
Wonders, im so happy |
#4
|
||||
|
||||
ok, first suggestion, it seems to work fine but you need to allow HTML and PHP so that we can make reference to usernames and link back if you know what I mean.
Here is what i tried to make which will be normal for any users to do is to aprove the new fried request so that they both become new friends. Quote:
|
#5
|
||||
|
||||
Quote:
I'm sure there's a way to get the html enabled just for this specific instance of sending a PM, and not across the entire PM system, i just need to find out how. It would be nice if there were another field in the PM datanager such as: $pmdm->set('allowhtml', 1); but no such luck. I'll try to figure it out... great idea! |
#6
|
|||
|
|||
Good work for your first product. I installed it and quickly tested it and it works just like it should. gamebgs and I were anxiously awaiting this.
|
#7
|
||||
|
||||
thanks for the kind words
|
#8
|
||||
|
||||
Quote:
We would also need some statements like if he approves, do not send a PM, can this be done?? |
#9
|
||||
|
||||
i used vbuddies plugin and the sendpm doesn't work aswell as this one however it might be worth taking a look at the plugin for it to help with variables it
has a link to their profile in it |
#10
|
||||
|
||||
Quote:
|
#11
|
||||
|
||||
Hi there,
I've installed it and it works. I have some suggestions for future versions. I could do them all by myself but I don't have the time at the moment
If more gets into my mind, I'll post it. |
#12
|
||||
|
||||
Quote:
1) Find in original code Code:
$pmdm->set('title', $vbphrase[anti_autopm_bud_tit]); $pmdm->set('message', $vbphrase[anti_autopm_bud_mes]); Code:
$anti_autopm_bud_tit = str_replace("$1",$vbulletin->userinfo['username'],$vbphrase[anti_autopm_bud_tit]); $pmdm->set('title', $anti_autopm_bud_tit); $anti_autopm_bud_mes = str_replace("$1",$vbulletin->userinfo['username'],$vbphrase[anti_autopm_bud_mes]); $pmdm->set('message', $anti_autopm_bud_mes); |
#13
|
||||
|
||||
Quote:
Like a link of what i posted before for that user to automatically add him (approve)?? thanks!! |
#14
|
||||
|
||||
excellent hack! using it on my board aswell.. thanks for this!
|
#15
|
||||
|
||||
i didn't see any of your new posts until i just got this requested feature added. i was able to use a custom BBcode in order to avoid having to enable HTML in PMs globally, so now the approval link thingie in the PM message body seems to work. Let me know how it works for you.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|