The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Visitor message images
Does anyone know in which file the visitor messages images are created? I want to resize them, but I can't find a template that deals with the images for the visitor messages, so I figure it's gotta be in a file somewhere...
|
#2
|
|||
|
|||
Hmm...maybe I'm missing something, but aren't they just URLs (as opposed to images stored on your server)? But even so, I guess you could resize them by putting the right style attributes on the img tag after the bbcode is processed.
|
#3
|
|||
|
|||
That was my initial thought as well, however I can't find the template it's done in. It's not in the visitor messages templates. It doesn't use the postbit attachment templates. But maybe I'm overlooking it?
|
#4
|
|||
|
|||
Well maybe I don't understand exactly what you're looking for. There's a template called memberinfo_vistormessage, and in the middle somewhere there's a line:
Code:
<div class="visitor_message_body" id="vmessage_text_$message[vmid]">$message[message]</div> which I believe is what puts the actual message content in there. If it contains an image then it will be an HTML img tag at that point. I guess if you want to find a hook to put a plugin to change it before it gets to that point you'd have to go to the code. It looks like class_profileblock.php and class_visitormessage.php (both in "includes") are involved. If this doesn't help maybe you can clarify and I'll let someone else take a shot at answering. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|