The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a hook for the query that updates a users post count on a new reply and a new thread?
Maybe I should word it like this, when a user makes a new thread, the 'credits' column in the user table gets credits+3, when a user makes a new post, the credits column gets credits+1, I thought there would be a good spot where the users post count gets updated. ok Here is the plugin I am trying at newpost_complete (functions_newpost.php): PHP Code:
--------------- Added [DATE]1250046998[/DATE] at [TIME]1250046998[/TIME] --------------- changed $bbuserinfo to $vbulletin-userinfo and i get this error: Fatal error: Call to a member function query_write() on a non-object in /home/borispok/public_html/includes/functions_newpost.php(609) : eval()'d code on line 27 Actually I get that error with bbuserinfo too. I think im doing this in the worng spot, it is cause the post thank you screen to come up (rather than going to the thread or just ajaz quick reply. All I want to do is add 3 credits per thread and 1 pre reply I didnt think it would be so difficult |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|