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
  #77  
Old 03-05-2006, 05:28 AM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mello_mike
^^I'm getting the same error..

The only time I stop getting the error is when I disable this plugin.

I'm using PHP 5 and MySQL 5
Try adding a super mod to your list.. I dont get it when I add one of my supermods.. Havent tried the mods or other supermods though...
Reply With Quote
  #78  
Old 03-06-2006, 01:01 AM
mark1491 mark1491 is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MisterPopularity
Ok, let's say John wants to add Mary to his buddy list...

Could this be modified with an admin definable setting to either:

a: require Mary to click an "approve" link BEFORE mary is added to his buddy list?
b: allow John to add mary without her approval (the way it works now).

Could this be done?
bump!!
Reply With Quote
  #79  
Old 03-11-2006, 02:59 AM
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 MorrisMcD
I am getting this error at the top of the redirect page ... Any ideas?
Not sure, i'm not getting that error. I am using php 4.3.1 however, maybe somethign with that? You using vb3.5.3 ?
Reply With Quote
  #80  
Old 03-11-2006, 11:50 PM
zappsan's Avatar
zappsan zappsan is offline
 
Join Date: Sep 2004
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work, thanks.
/me clicks install
Reply With Quote
  #81  
Old 03-13-2006, 01:40 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
Not sure, i'm not getting that error. I am using php 4.3.1 however, maybe somethign with that? You using vb3.5.3 ?
Yep.. I am on 3.5.3...
Reply With Quote
  #82  
Old 03-13-2006, 06:17 PM
yayvb's Avatar
yayvb yayvb is offline
 
Join Date: Feb 2005
Location: CT
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mark1491
Quote:
Originally Posted by MisterPopularity
Ok, let's say John wants to add Mary to his buddy list...

Could this be modified with an admin definable setting to either:

a: require Mary to click an "approve" link BEFORE mary is added to his buddy list?
b: allow John to add mary without her approval (the way it works now).

Could this be done?
bump!!
This question was previously answered. He said it's possible and will consider it in a future release but not a top priority.
Reply With Quote
  #83  
Old 03-25-2006, 07:30 PM
ocmca ocmca is offline
 
Join Date: Jan 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a really nice plugin. Good job!
Reply With Quote
  #84  
Old 03-25-2006, 10:07 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't reproduce that error MorrisMcd. Did you try disabling all other hacks/plugins/and reverting other template edits? Maybe there's a conflict with one of your other plugins/products.
Reply With Quote
  #85  
Old 04-12-2006, 12:21 AM
djtheropy djtheropy is offline
 
Join Date: Jul 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antivirus
I can't reproduce that error MorrisMcd. Did you try disabling all other hacks/plugins/and reverting other template edits? Maybe there's a conflict with one of your other plugins/products.

i get it when i use it with the friends/buddies in profile hack.
Reply With Quote
  #86  
Old 04-12-2006, 09:37 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 djtheropy
i get it when i use it with the friends/buddies in profile hack.
Try to disable the plugin system and see if you still get the error when adding someone to your buddylist. What happens?
Reply With Quote
  #87  
Old 04-15-2006, 11:31 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this mod but I'm not seing any PMs being sent when adding people to my buddy list. The added budy isn't receiving a PM and there's no PM in my sent PM folder.
Reply With Quote
  #88  
Old 04-16-2006, 08:38 PM
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Location: Germany
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work like a charm when you add a buddy through his profile page.
It would be brilliant, if this would work also, if you add a buddy through the buddylist itself. Duplicating the plugin and changing the hook to misc_buddylist_complete seems not to do the trick (forgive me if this sounds stupid, i am not a coder).
Any suggestions?
Thank you!
Reply With Quote
  #89  
Old 04-18-2006, 02:44 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 djtheropy
i get it when i use it with the friends/buddies in profile hack.
I tried disabling this hack.. It still gave the error
Reply With Quote
  #90  
Old 04-18-2006, 02:47 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
Try to disable the plugin system and see if you still get the error when adding someone to your buddylist. What happens?
I tried disabling the entire plugin system.. No error this time...
Reply With Quote
  #91  
Old 04-18-2006, 03:39 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 MorrisMcD
I tried disabling the entire plugin system.. No error this time...
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.
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 03:03 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.10187 seconds
  • Memory Usage 2,360KB
  • Queries Executed 30 (?)
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
  • (11)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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