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!
Using the mcp_fork_topic function
-
- Supporter
- Posts: 32
- Joined: 12 Aug 2009, 16:16
- Real name: David
- Contact:
Using the mcp_fork_topic function
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
Please do NOT contact for support via PM or email.
Re: Using the mcp_fork_topic function
Can you enable debug and debug extra and tell us what the debug output is, if it isn't enabled?
-
- Supporter
- Posts: 32
- Joined: 12 Aug 2009, 16:16
- Real name: David
- Contact:
Re: Using the mcp_fork_topic function
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!
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.
Please do NOT contact for support via PM or email.