The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can i get avatar's width and height?
I'm making a mod integration with avatar. I need set condition if avatar width is > 100. But i cannot get its width. $post[avwidth] return width="xx". I need the width number only. How can i do it?
Thank you |
#2
|
|||
|
|||
Still looking for the help.
|
#3
|
||||
|
||||
It looks like you want to play with the code in the class_postbit.php file right around lines 610 or so. That is where the width and height part of the image tag are defined and where you have access to the variables. (This shows up in several other files also, but you seemed to be interested in the postbit. You can do a global search through your files for "avwidth" and find all the places it is used.)
|
#4
|
|||
|
|||
Thank you, i can edit this now
Quote:
|
#5
|
||||
|
||||
Why don't you just say:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|