The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
can anyone see the problem with this code?
Hmm... getting the following error:
Quote:
PHP Code:
|
#2
|
|||
|
|||
Looks fine to me - what's the line before that one?
Thanks, Alan. |
#3
|
||||
|
||||
What I am trying to do is create 3 new functions (based upon the existing ones in adminfunctions.php) to allow for collapsible tables within the AdminCP...
Naturally i'll also have to modify functions "print_submit_row", and "print_table_footer" to contain the necessary other bluff for the collapsible thingies, but for the "print_table_header" function, so far i have: PHP Code:
Any ideas where i am going wrong? |
#4
|
|||
|
|||
The problem is with
PHP Code:
Try changing it to PHP Code:
PHP Code:
Thanks, Alan. |
#5
|
|||
|
|||
I just checked the code with Zend Studio 5.2 and it said there was no errors?
Thats weird lol Am i using the wrong program? |
#6
|
||||
|
||||
I can't try this from where I am, but enclosing the $collapseid in {} may also work ;
i.e. $vbcollapse[collapseimg_{$collapseid}] |
#7
|
||||
|
||||
Probably {$vbcollapse['collapseimg' . $collapseid]} rather than that way. Not 100% sure though.
P.S. Templates are your friend. |
#8
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
:banana: happy happy joy joy :banana: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|