The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
KrU$ty classes/functions and user... 12-15-2008, 09:46 AM
Dismounted What are you trying to do... 12-15-2008, 10:05 AM
KrU$ty I'm trying to make it so that... 12-15-2008, 10:16 AM
KrU$ty can anyone help me with this... 12-17-2008, 09:12 AM
Dismounted $bbuserinfo does not exist... 12-17-2008, 10:01 AM
|
#1
|
||||
|
||||
classes/functions and user fields
I was wondering what the correct usage is for a class when i want to use a field for a variable. Here is part of the class im trying to get working:
Code:
class Code { private $key = $bbuserinfo[fieldx]; private $usercode = $bbuserinfo[fieldx]; private $charcode = $bbuserinfo[fieldx]; private $cachedir = './xmlcache'; private $cachetime = 60; private $timeformat = "Y-n-d H:i:s"; public $debug = false; private $msg = array(); private $usecache = false; What is the correct usage of the field attribute within a class? Also, how might i use this same method with scripts outside of the vbulletin structure? Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|