Plugin Ignore threads
#1
Goal: let users to ignore thread and forums

Working:
on ignore added, subscription to the forum/thread and childs must be removed
on subscriptions added, ignores to the forum/thread and childs must be removed

File list:
  • inc/plugins/abp_ignores.php
  • inc/langages/english/ab_ignores.lang.php
  • inc/langages/english/admin/ab_ignores.lang.php

Hook used:
  • usercp2_start => actions : addignore, ignore, forumignore
  • usercp_start => same actions, with do_
  • usercp_menu_built => create the 2 ignores item in menu (based on subscription)
  • thread deleted, forum deleted
  • subscription added
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)