The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Oki'll explain everyting i have done:
opened AdminMyPhp then my db, selected vb_user and added ctoptip to it with the settings you gave, i then created a plugin as follows with newthread_post_complete as the hook PHP Code:
PHP Code:
PHP Code:
PHP Code:
Quote:
--------------- Added [DATE]1233523473[/DATE] at [TIME]1233523473[/TIME] --------------- could it be because userid 1 is an uneditable user?, it still doesn't explain no increments for the posts by form to the top tips forum (id 52). |
#12
|
||||
|
||||
Ah, I don't use table prefixes, thus my query did not contain the table prefix. You need to change user to vb_user for your site.
Do you have the hook newthread_post_complete in your form? If not, you either need to add it (find it in the vb code and paste it when something similar is happening in your form code) or you need to add the code you put in the plugin directly into your form code. |
#13
|
||||
|
||||
Quote:
Quote:
|
#14
|
||||
|
||||
The one with the update query that uses the newthread_post_complete hook location. That is the one that isn't getting run because you don't have the hook location in your form.
|
#15
|
||||
|
||||
As for user i don't have user so cannot change is it for vb_user.....think i'm in over my head with this!
|
#16
|
||||
|
||||
I'm talking about in the query:
PHP Code:
PHP Code:
|
#17
|
||||
|
||||
Quote:
Thanks for all your help! --------------- Added [DATE]1233573825[/DATE] at [TIME]1233573825[/TIME] --------------- BTW, changing the prefix worked for direct posts, it counts them and displays in the postbit, but the form delivery does not until i can get some help with where and how to deliver the hook location in the form code. |
#18
|
||||
|
||||
You just need to add the hook location into your form. I've got it in my form (I didn't use a modification from here - I wrote my own). Just look at where it is in the current vb code and see if you have some similar code in your form and just add it in the same place.
|
#19
|
||||
|
||||
Quote:
|
#20
|
||||
|
||||
I run the queries I posted to get the initial count every night as a cron job (scheduled task) since I haven't written a plugin for deleted threads either.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|