The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with plugin
I create 2 fields in a table ABC, the first field is the X and Y is the second, both store data in a form checkbox, 0 if not checked, and 1 case marked.
Now my question is, I want to create a plugin, which store data from the field X and Y of the field on 2 variables for later I make a comparison in postbit and show a message if X = 1, and another case X = 0, the same applies to Y, show some message if Y = 1 and another message if Y = 0; For this reason I created a plugin with the following code: Hook Location: Postbit_display_complete Plugin PHP Code: PHP Code:
PHP Code:
|
#2
|
||||
|
||||
You aren't writing in PHP - I suggest you read some material on PHP.
|
#3
|
|||
|
|||
It could indicate a tutorial, where I can help me, to correct this plugin?
Thank |
#4
|
|||
|
|||
You need to learn the PHP basics, use google and search for "PHP Basics" or "PHP Introduction".
Else try the php.net site. http://www.php.net/manual/en/getting-started.php (You can also view it in different languages) |
#5
|
||||
|
||||
Also, you might want to look up how databases work, or explain your situation more clearly, as I understand it now, all you have is a single row in your table.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|