PDA

View Full Version : [PLUGIN_PROBLEM]newpost_process issue due to quick reply


CMX_CMGSCCC
02-03-2006, 02:42 PM
I have created the eBux / eStore Extension hack for vB 3.5.3

I have added a plugin to add points to the users points total upon newpost_process

If the user clicks Reply at the top and uses the full page reply system, it works find and adds the points to the user like its designed to

However, if the user replies via the Quick Reply ajax quick reply it does not call the hook postbit_display_complete, is there a different hook that can be used for the ajax quick reply?

-CMX

Marco van Herwaarden
02-03-2006, 07:22 PM
There are seperate hooks for ajax functions.

CMX_CMGSCCC
02-03-2006, 09:42 PM
Do you know which one handles a similar location to 'newpost_process' ?

-CMX

CMX_CMGSCCC
02-05-2006, 05:32 PM
Nevermind, it seems newpost_process was run, but it needed $vbulletin to be global to work properly.

global $vbulletin;

At the top of my newpost_process fixed it.

-CMX