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

Reply
 
Thread Tools
Auto-Subscribe New User to Forum Details »»
Auto-Subscribe New User to Forum
Version: 1.1, by kh99 kh99 is offline
Developer Last Online: Sep 2020 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 08-24-2011 Last Update: 08-25-2011 Installs: 48
Uses Plugins
Re-useable Code Translations  
No support by the author.

What is it?
----------------------------
This mod automatically subscribes new users to one or more forums. The forums and type of notification can be set under "User Registration Options" in the adminCP. (Works on vb4 or vb3 versions).

(This was created in response to this request: https://vborg.vbsupport.ru/showthread.php?t=260225).


Installation:
----------------------------
1) In the Product Manager in AdminCP, import the product XML file (product-kh99_autosubscribeforum.xml).

2) Go to vBulletin Option -> User Registration Options to set the comma-separated list of forum ids, and type of notification.


Uninstalling:
----------------------------
1) Uninstall the product from the Product Manager in the AdminCP. (Doing so will not remove any existing subscriptions).


Notes:
----------------------------
1) Tested on vb4.1.5 and vb3.8.3.


History:
----------------------------
1.1 (Aug 26, 2011) - Added support for multiple forums
1.0 (Aug 25, 2011) - Initial Release

Download Now

File Type: zip kh99_autosubscribeforum_v1.1.zip (27.5 KB, 263 views)

Screenshots

File Type: jpg sc1.jpg (22.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Adem GEN?, markoroots, nacaruncr

Comments
  #22  
Old 01-23-2012, 03:01 PM
Dakoom Dakoom is offline
 
Join Date: May 2009
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it works also for childforum?
Reply With Quote
  #23  
Old 01-23-2012, 03:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dakoom View Post
does it works also for childforum?
No, it subscribes to exactly the forums you list. It might be possible to allow child forums as an option somehow, but then if you were to add a child forum later it wouldn't automatically be subscribed, so I thought that might be more confusing.
Reply With Quote
  #24  
Old 04-10-2012, 07:51 PM
chazwick chazwick is offline
 
Join Date: Oct 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
No, it subscribes to exactly the forums you list. It might be possible to allow child forums as an option somehow, but then if you were to add a child forum later it wouldn't automatically be subscribed, so I thought that might be more confusing.
Adding the child forum would be helpful. I would be happy using this function even if I had to re-run it somehow to capture new(er) child forums not present when it was initially set up.
Reply With Quote
  #25  
Old 04-15-2012, 10:48 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chazwick View Post
Adding the child forum would be helpful. I would be happy using this function even if I had to re-run it somehow to capture new(er) child forums not present when it was initially set up.
I'll consider it for a future release.
Reply With Quote
  #26  
Old 04-24-2012, 08:05 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi kh99 -

While you're thinking about future releases, would you consider linking this with secondary usergroups, so when a user joins a usergroup, either by him/herself, or by an admin, they are then automatically subscribed to forums that the admin has associated with that usergroup?

For example, in a car forum, if a user adds himself to the group "Buicks", then he would automatically be subscribed to the GM forum, since the admin had made that group/forum connection using your mod.
Reply With Quote
  #27  
Old 04-24-2012, 05:57 PM
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Location: Sarasota, Florida
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I don't want to add it to this mod, but I'm attaching a script you can use to add forum subscriptions for all users. You need to edit the script to set the forums and type of notification, upload it to your forum directory, run it, then remove it.

As someone mentioned above, I have no idea if subscribing someone to a mailing list is legal everywhere or not. But I do know that it's annoying, and doing it too often (or doing it after someone has chosen to unsubscribe) may well be illegal, so use with caution.
First, thank you for this mod and php script. It worked well for my community.

Is there a script that can be used to unsubscribe everyone from a single forum or multiple forums?

Thanks!
Reply With Quote
  #28  
Old 04-24-2012, 06:13 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chimpie View Post
First, thank you for this mod and php script. It worked well for my community.

Is there a script that can be used to unsubscribe everyone from a single forum or multiple forums?

Thanks!

You can do a one-time unsubscribing from one or more forums by executing an sql query like:

Code:
DELETE FROM subscribeforum WHERE forumid IN (1, 2, 3)

You'd change (1, 2, 3) to the list you want to unsubscribe users from. Also, if you have a table prefix you'd have to add it before subscribeforum.

As always, be very careful when you modify the database. It would be wise to make sure you have a recent backup before you do anything.
Reply With Quote
  #29  
Old 04-26-2012, 02:30 AM
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Location: Sarasota, Florida
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
You can do a one-time unsubscribing from one or more forums by executing an sql query like:

Code:
DELETE FROM subscribeforum WHERE forumid IN (1, 2, 3)

You'd change (1, 2, 3) to the list you want to unsubscribe users from. Also, if you have a table prefix you'd have to add it before subscribeforum.

As always, be very careful when you modify the database. It would be wise to make sure you have a recent backup before you do anything.
Thanks. Worked perfectly.
Reply With Quote
  #30  
Old 07-06-2012, 02:53 PM
Richard Changes Richard Changes is offline
 
Join Date: Sep 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi - I have tried implementing this mod - everything seems to have gone OK - I selected the form ID, Selected daily digest and then added a new user - I logged in as them and checked the forum - but it wasn't subscribed - Have people found that this works with VBulliten 4.2 - or can anyone think of anything I have missed.

Any suggestions gratefully recieved.
Reply With Quote
  #31  
Old 07-06-2012, 03:46 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to admit I've been lax in testing this when new versions of vb were released, [S]and in fact it seems like it doesn't work with vb4.2.0. I'll look in to it and release an update as soon as I figure it out.[/S]

I spoke too soon - it does seem to work with vb4.2.0.

Quote:
Originally Posted by Richard Changes View Post
Hi - I have tried implementing this mod - everything seems to have gone OK - I selected the form ID, Selected daily digest and then added a new user - I logged in as them and checked the forum - but it wasn't subscribed - Have people found that this works with VBulliten 4.2 - or can anyone think of anything I have missed.

Any suggestions gratefully recieved.
When you say you added a user, did you go through registration or the adminCP? This mod will only work if you go through the registration page, and if you have "Verify Email address in Registration" set to yes, then the user won't be subscribed until they click on the verification link.
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:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04597 seconds
  • Memory Usage 2,338KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete