The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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:
. Now I have a function which allows collapsible tables within AdminCP however since the AdminCP stype uses a different style than the forums, pulling $stylevar[imgdir_button] don't work for the collapse image, so i figured to try $vboptions[cpstylefolder]however it returns the homepage url (same as $vboptions[homeurl]) instead!? I could easily type in the path to /images/buttons/ but would be nice if $vboptions[cpstylefolder] worked here...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:
|