The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hey, i was hopin you would be able to help me with this *half-request*/*half-cry for help*
I have created a table in mysql with 3 fields, (userid, spam, real) When the user creates a thread in say forumid==2 the post is counted as a Real post.. when the user creats a thread in say forumid==14 the post is counted as a spam post (its in the spam forum ![]() I want to make it so that when the user makes 2 threads in spam forum, that the value of spam increments to two,three, etc...and when they delete a thread, then it decrements..and the same for the "real" value. I would also like to know how will i distinguish wheter or not the userid is already in the table? For example i can easily use this statement PHP Code:
I can run a SQL statement like PHP Code:
|
#2
|
|||
|
|||
![]()
I'm not exactly sure what you want to do, but would it be possible to do this instead?
PHP Code:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|