vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Postbit images (https://vborg.vbsupport.ru/showthread.php?t=222540)

Smoky26 09-05-2009 06:16 PM

Postbit images
 
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 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:

PHP 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:


All times are GMT. The time now is 05:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01043 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete