The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
help with PHP
Hi
I'm trying to modify neo's 'admin avatar size' hack. I'm changing it so that mods have different sizes to admins. Could someone please tell me what is wrong this code (I'm gussing it's the wasy I structured it: PHP Code:
|
#2
|
||||
|
||||
you cannot make a second else clause after one.
you must make it more specific like this: PHP Code:
|
#3
|
||||
|
||||
Thanx xenon, that works
Now i've applied the same format to a piece of code to get this : PHP Code:
Thanx again |
#4
|
||||
|
||||
this code is correct, but you have forgotten an } at the end.
i cant see any other error |
#5
|
||||
|
||||
Thanx that works too but one more error lol
towards the end at about line 1549 [PHP] } ?> [/PHP There is another error. Thankyou very much for your help |
#6
|
||||
|
||||
what is the errormessage exactly?
errors in the last lines ar often } too much or too less perhaps you haven't forgotten this } of my last post in your code, but have forgotten it in your post here |
#7
|
||||
|
||||
it's not working still
The message i get is: Parse error: parse error in /home/charmed/public_html/forums/member.php on line 1550 |
#8
|
||||
|
||||
Actually i got it working now
Vielen danken fur deine Hilfe Xenon! Bye! |
#9
|
||||
|
||||
fine
i'm glad i could help you |
#10
|
|||
|
|||
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|