The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
No, 'px' is not the issue.
$post['avwidth'] is NOT a number, It is the exact same value as $this->post['avwidth']. It is a "string" and therefore it is always greater than the string value 180 you are testing against. There are several ways to extract just the number from that string, one way is with the "substr" function: http://php.net/manual/en/function.substr.php Look at the last example in example 2: PHP Code:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|