S

Extending thread creation

  • Thread starter Thread starter Sysnative
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
S

Sysnative

Guest

Hi,

I'm running into an issue extending the Forum class - what I'm trying to achieve is to automatically add a reply after a thread is created. I'm trying to extend the "finalizeThreadCreate" method in the Forum class.

I have some code which is currently doing nothing as far as I can tell. Two questions on this:

1. Should I be approaching this differently?
2. How can I best debug class extensions to determine where the issue is?

PHP:
Code:
class Forum extends XFCP_Forum
{
    protected function...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom