View Full Version : Another Profile question...
BigBoi
03-14-2003, 03:03 PM
Does anybody know how I could get this little box to work for my site that I found on teamxbox.com? Meaning what's the code for it? And do I need a certain hack that I've missed? I've looked all over and can't seem to find one. The Box I'm talking about is on the bottom of this pic that I'm attaching;)
Dean C
03-14-2003, 03:57 PM
Well i don't know if its a hack but it can be done by adding a userprofile field. If you want that i can give you the code :)?
- miSt
BigBoi
03-14-2003, 10:34 PM
Today at 11:57 AM Mist said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=366114#post366114)
Well i don't know if its a hack but it can be done by adding a userprofile field. If you want that i can give you the code :)?
- miSt
Hhhhmm, will it look the same as that box does?
Xanthine
03-14-2003, 11:20 PM
The box is just simple html in the postbit template.
filburt1
03-14-2003, 11:25 PM
$post[fieldn] in the profile. Beware of HTML injection issues.
BigBoi
03-15-2003, 01:28 AM
Beware of HTML injection issues.
Like what for example?
filburt1
03-15-2003, 01:45 AM
Not sure if it's only from the admin CP, but I think that HTML is not htmlspecialchars()ized before being displayed so hackers can have fun.
Phrost
06-16-2004, 10:58 AM
I've got a related question, and after searching for a few hours this thread is the closest I've found to what I'm looking for.
I'm trying to add an icon next to certain members' usernames. I've added a hidden profile field, which can only be changed by an admin, and I've included the $post[fieldx] in the postbit where I want it to go, all working great.
But when it comes to using HTML in the field in the admin options on a user's profile, it doesn't read the HTML <img> tag.
How do I get VB to recognize the HTML?
Phrost
06-16-2004, 03:57 PM
Bump?
Phrost
06-17-2004, 07:38 PM
*Tap* is this thing on?
Reeve of shinra
06-18-2004, 02:56 AM
I'm trying to add an icon next to certain members' usernames. I've added a hidden profile field, which can only be changed by an admin, and I've included the $post[fieldx] in the postbit where I want it to go, all working great.
I did something similiar but added it in the template... using an if statement to not display the img code if that field is blank.
<div><if condition="$post[field15]"><img src="$post[field15]"></if></div>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.