Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AutoPM after addBuddy Details »»
AutoPM after addBuddy
Version: 1.0.4, by Antivirus Antivirus is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

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.

Comments
  #92  
Old 04-20-2006, 01:21 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antivirus
Your error is on line 35 of profile.php, correct? That's the pre-caching of USERCP_SHELL template...

PHP Code:
// pre-cache templates used by all actions
$globaltemplates = array(
 
'USERCP_SHELL',
 
'usercp_nav_folderbit'
); 
not sure why you're getting that error cuz this plugin is hooking into the code all the way down at hook "profile_doaddlist_complete" on line 725. As far as i can tell, this plugin is not causing your error. It must be one of your other plugins/hacks causing that error.

Hrm... Nothin is perfect... I will just live with it It doesnt seem to affect anything
Reply With Quote
  #93  
Old 04-21-2006, 01:29 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this and when I receive the pm it reads

Hello, I just added you to my Buddy List. If you would like to be friends, please add me to yours. Thanks!

If you agree, please click [addbud]7 [/addbud] this request.

but the bbcodes to add that user to my buddy list isnt showing up? I have tried to uninstall and reinstall the hack and same thing?
Reply With Quote
  #94  
Old 04-21-2006, 01:58 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
I just installed this and when I receive the pm it reads

Hello, I just added you to my Buddy List. If you would like to be friends, please add me to yours. Thanks!

If you agree, please click [addbud]7 [/addbud] this request.


but the bbcodes to add that user to my buddy list isnt showing up? I have tried to uninstall and reinstall the hack and same thing?
You didnt do it correctly. The text you posted above is not even in the plugin. Look for yourself! You will find quite a different phrase than the one you posted.
Reply With Quote
  #95  
Old 04-21-2006, 03:25 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stangsta
You didnt do it correctly. The text you posted above is not even in the plugin. Look for yourself! You will find quite a different phrase than the one you posted.
You are the one who installed this for me ??? I have removed and reinstalled it and it s the same phrase
Reply With Quote
  #96  
Old 04-21-2006, 03:54 AM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
You are the one who installed this for me ??? I have removed and reinstalled it and it s the same phrase
right but this:


Quote:
Originally Posted by bada_bing
I just installed this and when I receive the pm it reads

Hello, I just added you to my Buddy List. If you would like to be friends, please add me to yours. Thanks!

If you agree, please click [addbud]7 [/addbud] this request.


does not equal this:

Hello,
I have just added you to my buddylist. If you would like to be buddys you need to add me to your buddy list as well. If you would like to do so, please click here.

If you would like to view my profile before doing so, you may view it here.

Thanks,
{1}

p.s. - If I am harassing you, you can add me to your ignore list. This will prevent me from sending you any more private messages and you will no longer see any posts or threads by me at {4}.

.

You must be using another hack OTHER than this one (which I did not install)
Reply With Quote
  #97  
Old 04-29-2006, 02:27 AM
dainbramage's Avatar
dainbramage dainbramage is offline
 
Join Date: Oct 2005
Location: USA
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When a member adds another member to their ignore list, that member gets the buddy PM. Bug, or messed up install?
Reply With Quote
  #98  
Old 05-24-2006, 09:49 AM
sybarites sybarites is offline
 
Join Date: Jan 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DO people have to accept before they can be buddy's?
Reply With Quote
  #99  
Old 05-25-2006, 01:16 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dainbramage
When a member adds another member to their ignore list, that member gets the buddy PM. Bug, or messed up install?
I think that's a messed up install or more likely, a conflict with one of your other plugins, this plugin should only send the PM to the member who is added to the buddy list.

Quote:
Originally Posted by sybarites
DO people have to accept before they can be buddy's?
Yes, they have to accept by either manually adding the sender to their buddy list, or by clicking on the link in the PM which effectively does the same thing.

Quote:
Originally Posted by bada_bing
You are the one who installed this for me ??? I have removed and reinstalled it and it s the same phrase
Bada_bing that pm text in which there is a bbcode in the PM is from version 1.0.0 of this hack. In version 1.0.1 the bbcode was depreciated and replaced with the phrase text which Stangsta cited above. Please redownload the latest version of the plugin (version 1.0.2) above and things should work just fine.
Reply With Quote
  #100  
Old 05-28-2006, 05:45 AM
ramone_johnny ramone_johnny is offline
 
Join Date: May 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I too am receiving this error...

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in \profile.php(725) : eval()'d code on line 35

Any chance this could be fixed? Doesnt look very professional.

RJ
Reply With Quote
  #101  
Old 05-30-2006, 01:31 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ramone_johnny
I too am receiving this error...
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in \profile.php(725) : eval()'d code on line 35
Any chance this could be fixed? Doesnt look very professional.
RJ
What version of vb are you running? Do you get the error after turning off all other plugins and uninstalling all other hacks?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07463 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete