Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Automatic PM on New Thread Details »»
Automatic PM on New Thread
Version: 1.1, by Michael Biddle Michael Biddle is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 07-01-2008 Last Update: 07-01-2008 Installs: 22
Supported DB Changes Uses Plugins Template Edits Auto-Templates
 

Automatic PM on New Thread
by: whitemike


What this hack does?


This hack will allow the admin to setup a certain usergroup to receive an instant PM notification informing that usergroup that a new thread in the specified forum has been created.

How to install?
  1. Import the Product
  2. Template Edit: newthread
    • Find the following:
      HTML Code:
      <tr>
                  <if condition="$prefix_options">
    • Replace with:
      HTML Code:
      $sendpm
              
              <tr>
                  <if condition="$prefix_options">
You will need to go into your vBulletin Admin Control Center and do the following.
  1. On the left frame find: User Profile Fields
  2. Then click on: Add New User Profile Field. Set with these properties
    • Single Selection Menu
    • Title and description you can set to how you want it
    • Options: Yes and No (Make sure you separate by a line break)
    • Set Default: Yes, But No First Blank Option
    • Field Required: No, but display at registration
    • Field Editable by User: Yes
    • Display Page: Other:Options
    • Note: You can change the other settings that I did not list to how you want it
    • Important: After it saves you will be taken back to the User Profile Field Manager, here you will see what field# you have, such as field5, remember that number for later use.
Settings?
  1. vBulletin Options:
    • Userid - Enter the userid that the PM will be sent from
    • Username - Enter the username that the PM will be sent from
    • Usergroupid's - Enter the usergroupid's (separated by a coma) to send the PM to.
    • Custom Profile Field - Enter the custom profile field number that you set up above.
  2. Forum Manager
    • Enable/Disable
Customize it for yourself?

You can go ahead and edit the six phrases to suite your needs with it. The variables are prefixed with autopm_.

Please click install if you use!

Suggestions are always welcomed!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-04-2010, 05:55 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to limit this to certain forums?
Reply With Quote
  #23  
Old 12-09-2010, 11:25 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to get this to work on VB 3.6.4? I did not create the new profile field.

I go this error when I posted a new thread on my forum now:

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:

                        SELECT username
                        FROM vb_user
                        LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid)
                        WHERE usergroupid IN (2,6,13) AND field5 = 'Yes'
                        ORDER BY username ASC;

MySQL Error  : Unknown table 'user' in on clause
Error Number : 1109
Reply With Quote
  #24  
Old 03-01-2011, 10:20 PM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just wondering if this mod could be adjusted so that it would also work when a new event is posted in the calender?

thanks
Reply With Quote
  #25  
Old 03-26-2012, 09:27 PM
ericholtman ericholtman is offline
 
Join Date: Nov 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any chance this mod will be made available for vB 4.x.x?
Reply With Quote
Reply

Thread Tools

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 06:16 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.03925 seconds
  • Memory Usage 2,242KB
  • Queries Executed 20 (?)
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_code
  • (2)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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