The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
well, i been trying to code a plugin for vb 3.5 that makes a second postcount for a single forum, i have already inserted a query into my database, "post2" in "user" table, and i have codded this so far by looking into plugins that works on the hooks i think are the correct:
Hook : Forumdata_start PHP Code:
hook: Newpost_process: PHP Code:
![]() |
#2
|
||||
|
||||
![]()
Better suited for mod discussion forum.
|
#3
|
|||
|
|||
![]()
I dont understand what your question is.
|
#4
|
||||
|
||||
![]()
0k, frist im sorry for posting on the wrong forum x_x
now i hope to make myself clear with this explanation i want to have a special postcount for post done on a ceirtan forum. to have a "special post" count i have installed a new field on the table user named "post2" and i have developed the code so far: the forumdata_start remains the same, and its working, i have the $vbulletin->userinfo['post2'] aside with the normal userinfo that shows the current $vblletin->userinfo['posts'] what i have changed now and seems that works better is the plugin on newpost_process: PHP Code:
line 41 seems to be the frist line on the code, so my own conlusion is that 'post2' into the fetch_array doesnt exist for the array and doesnt recognise it as an objet, so, anybody can help me please with this problem? ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|