Marcher Technologies Posted December 6, 2011 Share Posted December 6, 2011 File Name: Auto-Follow Forum File Submitter: Marcher Technologies File Submitted: 06 Dec 2011 File Category: User and Social Engagement This hook when enabled, upon member submission of a new topic or post, will check if the member is following the Forum the topic/post is made in. If they are Not Following the Forum, It will Auto-follow the forum with the specified admin options. If they are already following the Forum in question, Nothing occurs. Demo Info: user: demosee pass: demosee123 link:http://www.marchertech.com/board/ Simply reply to a topic or start a new one. Then view the index of the forum you have posted in, and note the Follow, that defined in my system settings, sends no notifications, and follows anonymously.Please unfollow when finished testing. here to download this file Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 i love the idea of this hook, but it's not working as it's supposed to: 1. it doesn't auto-follow a new topic that i create, but randomly mails other users to let them know about the new topic, even though they never started the topic or posted in the topic 2. even after disabling the hook, the random emails to users are still going out please help. i need to uninstall the hook urgently to stop the random mailers going out. if disabling the hook didn't help, what will? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 i love the idea of this hook, but it's not working as it's supposed to: 1. it doesn't auto-follow a new topic that i create, but randomly mails other users to let them know about the new topic, even though they never started the topic or posted in the topic 2. even after disabling the hook, the random emails to users are still going out please help. i need to uninstall the hook urgently to stop the random mailers going out. if disabling the hook didn't help, what will? 0-o its supposed to follow the forum the TOPIC was posted IN, or the post was posted IN.... not the topic... and you can disable the notifications being triggered in the hook itself....... did you read the hook description?This hook when enabled, upon member submission of a new topic or post, will check if the member is following the Forum the topic/post is made in. If they are Not Following the Forum, It will Auto-follow the forum with the specified admin options. If they are already following the Forum in question, Nothing occurs. basically when they post a topic or reply, it auto-follows the forum it was posted in, allowing notifications of new topics in that forum.... is that not what you bought it for? :logik: The rest IPB does natively in notification options... confused. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 i completely misunderstood the purpose of this hook, so thanks for clarifying. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 sigh...... you need a method of clearing some then? I can spit a query to stop all notifications for followed forums, or if you prefer, give one with excludes... say the word. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 i love the idea of this hook, but it's not working as it's supposed to: 1. it doesn't auto-follow a new topic that i create, but randomly mails other users to let them know about the new topic, even though they never started the topic or posted in the topic 2. even after disabling the hook, the random emails to users are still going out please help. i need to uninstall the hook urgently to stop the random mailers going out. if disabling the hook didn't help, what will? UPDATE [prefix_]core_like SET like_notify_do='0' WHERE like_app='forums' AND like_area='forums' replace [prefix_] with your database prefix, if any, i do recommend backing up your sql core_like table before running the above.... they will still be "following" but without notifications. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 thanks for the extra info. i haven't done any of that (yet) but i've renabled the hook and marked 'do not send notifications' in the settings. will this do the trick in stopping the mailers from being sent out? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 thanks for the extra info. i haven't done any of that (yet) but i've renabled the hook and marked 'do not send notifications' in the settings. will this do the trick in stopping the mailers from being sent out? what that will do is affect future posts/topics... the "old" followed forums will still send out notifications, they are already triggered. running the above query will clean that up to what you have defined in settings(not send out notifications) for the follows already triggered. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 brilliant. thanks for the help. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 brilliant. thanks for the help. question... doesn't the hook setting for notifications default to no(could swear i did that on purpose)? if not, i need to change that. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 yes it does default to no, but thinking this was for topics (not forums) i set it to on after i installed the hook. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 10, 2011 Author Share Posted December 10, 2011 yes it does default to no, but thinking this was for topics (not forums) i set it to on after i installed the hook. ah. coding an Auto-follow topic hook is not a concern for me, for reasons i am not at liberty to divulge i'm afraid. Simply put, would be a waste of my time. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 10, 2011 Share Posted December 10, 2011 Yeah I found a setting in Settings that would set the default to On for Topic following. But thought this is anti-intuitive because the user may have left the 'follow this topic' box intentionally unchecked when creating the topic. Link to comment Share on other sites More sharing options...
jaseysmurf Posted December 11, 2011 Share Posted December 11, 2011 the email notifications are still being sent to the affected group of users, even after running the sql command above :( Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 11, 2011 Author Share Posted December 11, 2011 the email notifications are still being sent to the affected group of users, even after running the sql command above :sad: can i take a closer look at this? like_notify_do on the forums core_like being 0 should stop any notifications being sent. ALSO, they may have chosen to receive emails for topics posted in forums they follow.... in that case, their preference may be over-riding anything i do here.... we may make use of synch me to remove this... pm me access to see what it is doing? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted December 11, 2011 Author Share Posted December 11, 2011 the email notifications are still being sent to the affected group of users, even after running the sql command above :sad: ah, found the suss. as above, with notify chosen in acp, it adds the frequency, with it off, does not, that is WAI, but... UPDATE [prefix_]core_like SET like_notify_freq='' WHERE like_app='forums' AND like_area='forums' Again, i highly recommend backing up that table before you run it... only difference left between the two types. Link to comment Share on other sites More sharing options...
JahLion Posted January 30, 2012 Share Posted January 30, 2012 I've just bought your mod.. :smile: Link to comment Share on other sites More sharing options...
Juan Manuel at EGA Futura Posted February 27, 2012 Share Posted February 27, 2012 Can I select in wich forums the autofollow feature will work? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted February 27, 2012 Author Share Posted February 27, 2012 Can I select in wich forums the autofollow feature will work? At this very moment, no, it is global. Solid feature request and handily doable.... next version. Link to comment Share on other sites More sharing options...
Juan Manuel at EGA Futura Posted February 28, 2012 Share Posted February 28, 2012 At this very moment, no, it is global. Solid feature request and handily doable.... next version. I will wait for the next version! Thank you very much for your fast response and great support! Link to comment Share on other sites More sharing options...
pavero Posted May 14, 2012 Share Posted May 14, 2012 The module does not work on version 3.3.2 in immediate! Link to comment Share on other sites More sharing options...
Marcher Technologies Posted May 14, 2012 Author Share Posted May 14, 2012 The module does not work on version 3.3.2 in immediate! I find that highly implausible. the like API has changed not at all, and this hook uses that API directly to add the follow for the user based on the system settings.... i just tested this and is WAI in 3.3.2. Link to comment Share on other sites More sharing options...
pavero Posted June 29, 2012 Share Posted June 29, 2012 Is the module to work on version 3.3.3? Link to comment Share on other sites More sharing options...
pavero Posted July 2, 2012 Share Posted July 2, 2012 http://community.invisionpower.com/tracker/issue-38080-topic-multi-moderation/Warning: Data missing in classes_like_composite::add in /home/culture2/public_html/alphas/admin/sources/classes/like/composite.php on line 477 Warning: Relationship ID missing in classes_like_registry::getKey in /home/culture2/public_html/alphas/admin/sources/classes/like/composite.php on line 143 Link to comment Share on other sites More sharing options...
Marcher Technologies Posted July 2, 2012 Author Share Posted July 2, 2012 working on it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.