vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   user profile field for programs with photos (https://vborg.vbsupport.ru/showthread.php?t=220014)

cgway.net 08-02-2009 08:53 AM

user profile field for programs with photos
 
1 Attachment(s)
hello

i need to add profile field with program use

every user have many options to select with 2 options

1- only every user an select only 5 programs
2- the user can select any number of programs

when select any program it's appear with the program photo in postbit

i have attached an photo for illustration

https://vborg.vbsupport.ru/attachmen...1&d=1249210345

i wait the replay with instruction

cgway.net 08-02-2009 10:27 AM

why no any replay

Lynne 08-02-2009 03:26 PM

Can't you just create a User Profile Field and then put an image in the postbit based on what they select in the profile field? User Profile Fields are discussed in the manual linked in my sig.

And please be patient in waiting for an answer. Two hours is not that much time. Please read the rules on bumping threads.

cgway.net 08-02-2009 04:27 PM

give me the direct link for the solution please

Lynne 08-02-2009 05:15 PM

You want a direct link to the stuff in the manual? Custom Profile Fields You can do a search on "profile" in "articles" "titles only" to get articles on how to put them in the postbit.

cgway.net 08-02-2009 07:58 PM

i can't understand what is the suitable code I'm no a programmer

please help me

give me steps to create the fild and give me the code must be input to postbit

Lynne 08-02-2009 09:01 PM

Did you look at the page I linked to? There are pictures showing you how to set up a new profile field. What step are you stuck on?

cgway.net 08-02-2009 09:18 PM

i talk about the code will inserted to postbit and will appear the photos

Lynne 08-02-2009 10:24 PM

This is what I thought you were talking about:
- a selectable field for a user to pick several 'programs'
- based on what 'program' the user selects, an image shows up in the postbit.

So, if the choice was:
program a
program b
program c
program d

If a user picks program a and program c, then an image depicting that program shows up in the postbit. Is that not what you wanted? If so, you would make a Multiple-Selection Checkbox and then based on what they select, spit out an image in the postbit.

If you don't want to do it yourself, you could post in the Modification Requests (Unpaid) forum or the Request for Paid Services forum.

cgway.net 08-02-2009 10:31 PM

i have use this code but this code appear n numbers only

Code:

<!--  programs  -->
<table border="0" cellpadding="0" cellspacing="2" align="center">
<tr><td><if condition="$post[field9]"><img src="images/programs_icons/$post[field9].png" alt=" $post[field9] " align="absbottom"/></if></td></tr>
</table>
<!-- /  programs -->

this code is correct in postbit_legacy ???

--------------- Added [DATE]1249261199[/DATE] at [TIME]1249261199[/TIME] ---------------

the problems when i rename the photo with the program name it's not work must be renamed to 1 or 2 for the option number and the image alt appear with the option number also


All times are GMT. The time now is 11:23 AM.

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.01672 seconds
  • Memory Usage 1,727KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete