Version: 1.0.4, by Antivirus
Developer Last Online: Aug 2014
Version: 3.5.4
Rating:
Released: 01-08-2006
Last Update: 07-19-2006
Installs: 164
Uses Plugins
No support by the author.
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:
1.0.0 - released on 1/9/06
1.0.1 - added automatic approval link into body of PM received by user
added a check to prevent looping of the PM if the receiver already has the sender on his/her buddylist
1.0.2 - added an anti-harassment link in the PM to deter users from "annoying" others into becoming their friends.
added link so receiver of PM can easily view sender's profile.
1.0.3 - cleaned up code and added link for recipient of PM to view sender's profile from within PM
1.0.4 - Fixed bug which was wrongly sending PM to someone when user added someone to his/her ignore list
To Install: Just import the xml file as a product from within AdminCP>PluginSystem>ManageProducts>Add/ImportProduct
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
Just looked into your changes I think if you can use a self-made bbcode you also could use the standard url bbcode so there is no need to add a custom bbcode. You could do that by inserting
HTML Code:
[url=$2/profile.php?do=addlist&userlist=buddy&u=$3]click to accept[/url]
into the phrase. For example (a 3rd person message phrase version):
HTML Code:
Hello,
$1 has added you to his buddy-list. If you like to get friends you need to add $1 to your buddy-list, too.
[url=$2/profile.php?do=addlist&userlist=buddy&u=$3]Click here[/url] to add $1 to your buddy-list now.
The Board Admin
Now if you go on with the code I posted above to use the Username in the title and message, we get
Just looked into your changes I think if you can use a self-made bbcode you also could use the standard url bbcode so there is no need to add a custom bbcode. You could do that by inserting
HTML Code:
[url=$2/profile.php?do=addlist&userlist=buddy&u=$3]click to accept[/url]
into the phrase. For example (a 3rd person message phrase version):
HTML Code:
Hello,
$1 has added you to his buddy-list. If you like to get friends you need to add $1 to your buddy-list, too.
[url=$2/profile.php?do=addlist&userlist=buddy&u=$3]Click here[/url] to add $1 to your buddy-list now.
The Board Admin
Now if you go on with the code I posted above to use the Username in the title and message, we get
excellent addition but i have this hack that allows members to choose wether they save a copy of their pms or not and regardless of wether they have it turned on or off it still saves the pm any chance of making it adhere to the savecopy rules ?
excellent addition but i have this hack that allows members to choose wether they save a copy of their pms or not and regardless of wether they have it turned on or off it still saves the pm any chance of making it adhere to the savecopy rules ?
Don't want to Download the zip and look into it, but I looked into some postings. It seems there is a field added to the user table according to this post, so why don't you just try this:
This is lush, I foresee this having a boatload of installs even if not HOTM (I always type HTML when I try to type HOTM )
Might I suggest using {1}, {2}, ... {n}, like so:
Change phrase "anti_autopm_bud_mes" to this:
HTML Code:
Hello,
{1} has added you to his buddy-list. If you like to get friends you need to add {1} to your buddy-list, too.
[url={2}/profile.php?do=addlist&userlist=buddy&u={3}]Click here[/url] to add {1} to your buddy-list now.
The Board Admin
Don't want to Download the zip and look into it, but I looked into some postings. It seems there is a field added to the user table according to this post, so why don't you just try this: