The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Confused about datamanagers
I have been looking at datamanagers and trying to write a custom one based upon Alan@CIT's article .
I have been looking at the simplest datamanager in vbulletin which seems to be class_dm_announcement.php and have the following question which i hope to have answered by someone as the following issue makes no sense to me... In looking at the class file, the $validfields array is as follows: PHP Code:
PHP Code:
And the fields in the table `announcement` are as follows: Code:
announcementid title userid startdate enddate pagetext forumid views announcementoptions Since the class needs considers 'allowhtml', 'allowbbcode', and 'allowsmilies' valid fields, but since the fields do not exist within the announcement table, how does the class use these fields to get the data into the post table? Also, how does the class know to utilize any other table than announcement? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|