The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
After upgraded my forum to vb4, my php code seems doesn't work anymore. I tried to rewrite the code, and template, but I.... just got stuck, cant get it to work.
I think i have problem form this line: PHP Code:
Thanks |
|
#2
|
||||
|
||||
|
Why does not respect the vB method in dealing with your own codes ?
|
|
#3
|
|||
|
|||
|
It is best to tell us what exactly is wrong with your mod and if you are getting any errors
by the way, looking at your code, let's say "$ese_schedule['do'] == 'main'", what exactly is your script suppose to do? I can't see following variables declared anywhere in your php file PHP Code:
|
|
#4
|
||||
|
||||
|
I use $mond for the code below to show all classes on monday. and $tue to shows all classes on tuesday... and so on, since the code is too long, i removed tuesday to sunday.
They can get all the classes in schedule just fine. I can also remove and approve classes, but I can't edit them. when I tried to click on edit, they show 2 forms (1 display above header with all $var PHP Code:
PHP Code:
and here is the editing page currently look. |
|
#5
|
||||
|
||||
|
You need to get rid of all those echo statements in your php. You can't output anything using echo within vB, you need to use a template.
|
|
#6
|
||||
|
||||
|
php updated.
Please check my submit form for me. Thanks |
|
#7
|
||||
|
||||
|
You have the forum in the php and in the templates? If so, that is why it is showing up twice.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|