Using the mcp_fork_topic function

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
Post Reply
imkingdavid
Supporter
Supporter
Posts: 32
Joined: 12 Aug 2009, 16:16
Real name: David
Contact:

Using the mcp_fork_topic function

Post by imkingdavid »

Ok, so in my MOD ([url=http://phpbbmodders.net/board/viewtopic.php?f=37&t=3639]here[/url]), I have need to call the mcp_fork_topic function in order to copy a topic. However, I'm not doing this through the MCP, but rather through my own file. How would i go about using the function outside of the MCP? Every time I attempt to use it, the page becomes blank. Other actions that are called with my MOD do go through, but the topic is not copied.
Thanks!
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: Using the mcp_fork_topic function

Post by Obsidian »

Can you enable debug and debug extra and tell us what the debug output is, if it isn't enabled?
imkingdavid
Supporter
Supporter
Posts: 32
Joined: 12 Aug 2009, 16:16
Real name: David
Contact:

Re: Using the mcp_fork_topic function

Post by imkingdavid »

Actually, I got help on phpBB.com and got it working. The issue is that some of the functions called inside mcp_fork_function had not been defined. So I was able to create my own copy function and get it working.
But thanks for the help! :)
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
Post Reply