View Full Version : Postbit images
Smoky26
09-05-2009, 06:16 PM
Hello,
I would like that users can at registration check boxes compared to what they do. (example with video games)
The user could select the games they play (during registration). It could then modify this information by editing their profile.
After, I wish the games he has checked appear as images (small icons) in Postbit below the avatar.
Is it possible?
(sorry for my english)
Lynne
09-05-2009, 06:56 PM
Check out this in the manual - Custom Profile Fields (http://www.vbulletin.com/docs/html/profile) Then search on "profile*" or "postbit" in "articles" "titles only" and you should find an article on how to add these custom profile fields to your postbit.
Smoky26
09-05-2009, 07:06 PM
Thanks, but how add the fields in the registration, and how to add images instead of text? it's not explained in the documentation.
Lynne
09-05-2009, 07:12 PM
Did you look at the things I pointed you to? If you go to make a profile field, did you look at any of the options? There is one that says "display at registration" in the drop down. And did you find the article I told you about? Kerry-Anne explains how to make it an image right in there.
Smoky26
09-05-2009, 10:22 PM
Thanks!
Excuse me I did'nt understand where to look ...
It works perfectly! :D
But, someone knows how to display images next to each other?
Because with this code:
<if condition="$post[field10]"><img src="$stylevar[imgdir_misc]/$post[field10].gif" border="0" alt="$post[field10]" /></if>
<if condition="$post[field11]"><img src="$stylevar[imgdir_misc]/$post[field11].gif" border="0" alt="$post[field11]" /></if>
The images are displayed one below the other.
Should we replace the loop "if" or something else?
Lynne
09-05-2009, 10:27 PM
It's not a loop. They probably are going under each other because there is a set width to the box they are in (perhaps?). It's hard to say without seeing the actual post.
Smoky26
09-05-2009, 10:44 PM
In fact I found the answer to my problem, I have put the pictures in a table... ;)
Thanks for your help Lynne! :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.