The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Anyone know what I'm doing wrong?
thx Kam |
#22
|
|||
|
|||
try this:
in postbit change [fieldx] to <img src="$post[fieldx]"> but the thing is that when user don't use avatar links... it shows "x" image not found sign... |
#23
|
||||
|
||||
In version 2.2.0 you will need to add the hack to the following to /admin/functions.php:
Line 182: // hack if ($post[field8]) { $post[field8] = "<img width=50 height=50 src=$post[field8] border=0>"; } Keep in mind, my field is referred to as field8, yours will be different. |
#24
|
||||
|
||||
Is it possible to retain the canned avatars while still allowing remote linked ones?
|
#25
|
|||
|
|||
i have 2.2.5. version.
i tried to edit the template "postbit" -> but in the thread it comes the whole code and the avatar. if i delete the code and let only: <img width=50 height=50 src=$post[field8] border=0>, there is a image not found symbol if there is no avatar. i tried to edit the functions.php file, but it happens nothing after it. please help !!!! i simply want that the users can add the URL to their avatars and i simply link them. |
#26
|
||||
|
||||
Here's what I did:
In function.php, Line 185 after '$userinfo=$post;' // HACK if ($post[fieldX]) { $post[fieldX] = "<img width=\"50\" height=\"50\" src=\"$post[fieldX]\" border=\"0"\>"; } // HACK What this will do is CHECK to see if the user has an image set in fieldX. If so, it will display the avatar, otherwise it skips it. Now that I look at it, I should make it check to ensure it's a gif or jpg and then that the image is there. |
#27
|
|||
|
|||
is this still current for the latest version of vBulletin?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|