vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Auto-Subscribe New User to Forum (https://vborg.vbsupport.ru/showthread.php?t=269137)

Dakoom 01-23-2012 03:01 PM

does it works also for childforum?

kh99 01-23-2012 03:31 PM

Quote:

Originally Posted by Dakoom (Post 2291425)
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.

chazwick 04-10-2012 07:51 PM

Quote:

Originally Posted by kh99 (Post 2291436)
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.

kh99 04-15-2012 10:48 AM

Quote:

Originally Posted by chazwick (Post 2318804)
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.

doubleclick 04-24-2012 08:05 AM

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.

Chimpie 04-24-2012 05:57 PM

Quote:

Originally Posted by kh99 (Post 2241489)
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!

kh99 04-24-2012 06:13 PM

Quote:

Originally Posted by Chimpie (Post 2323148)
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.

Chimpie 04-26-2012 02:30 AM

Quote:

Originally Posted by kh99 (Post 2323151)
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.

Richard Changes 07-06-2012 02:53 PM

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.

kh99 07-06-2012 03:46 PM

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 (Post 2345531)
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.


All times are GMT. The time now is 04:39 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.01192 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete