[PHP] core.move_topics and core.delete_topics

Request hook events and what data needs to be sent for the new hook system.
Post Reply
alf007
Registered User
Posts: 5
Joined: Sat Aug 25, 2007 5:36 pm
Location: FR

[PHP] core.move_topics and core.delete_topics

Post by alf007 » Sun Nov 09, 2014 11:50 pm

Identifer: core.move_topics
Location: includes/functions_admin.php
function move_topics
Parameters: topic_ids
forum_id
Explanation: to be able to update an extension's data which reference topics being moved to a new forum

Identifer: core.delete_topics
Location: includes/functions_admin.php
function delete_topics
Parameters: $topic_ids
Explanation: to be able to update an extension's data which reference topics being deleted (all posts deleted)

Put a PR https://github.com/phpbb/phpbb/pull/3124
(include also my previous ER on forum delete content)

alf007
Registered User
Posts: 5
Joined: Sat Aug 25, 2007 5:36 pm
Location: FR

Re: [PHP] core.move_topics and core.delete_topics

Post by alf007 » Fri May 15, 2015 6:11 pm

Update on delete topics at viewtopic.php?f=111&t=46255

alf007
Registered User
Posts: 5
Joined: Sat Aug 25, 2007 5:36 pm
Location: FR

Re: [PHP] core.move_topics and core.delete_topics

Post by alf007 » Fri May 15, 2015 6:36 pm

Identifer: core.move_topics_before_query
Location: In functions_admin.php method move_topics.
Parameters: array of tables
Explanation: Moving topic(s) requires extensions to update data that is related to the topic(s).
Ticket: https://tracker.phpbb.com/browse/PHPBB3-13841
PR: https://github.com/phpbb/phpbb/pull/3611

User avatar
Elsensee
Development Team
Development Team
Posts: 36
Joined: Sun Mar 16, 2014 1:08 pm
Location: Hamburg, Germany
Contact:

Re: [PHP] core.move_topics and core.delete_topics

Post by Elsensee » Sat May 16, 2015 12:32 pm

You don't have to create a topic or post in this forum anymore. :)
Just create a ticket and you'll be fine. :)

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: [PHP] core.move_topics and core.delete_topics

Post by Pony99CA » Sat May 30, 2015 1:29 am

I'd prefer keeping posting here. Those of us who may want a similar event or want to comment on a proposed event probably don't want to look in two places -- the forum for general items and the tracker for new event proposals.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

Post Reply