Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2009, 09:53 AM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default user profile field for programs with photos

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



i wait the replay with instruction
Attached Images
File Type: jpg 1.jpg (18.8 KB, 0 views)
Reply With Quote
  #2  
Old 08-02-2009, 11:27 AM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why no any replay
Reply With Quote
  #3  
Old 08-02-2009, 04:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-02-2009, 05:27 PM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

give me the direct link for the solution please
Reply With Quote
  #5  
Old 08-02-2009, 06:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 08-02-2009, 08:58 PM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 08-02-2009, 10:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 08-02-2009, 10:18 PM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i talk about the code will inserted to postbit and will appear the photos
Reply With Quote
  #9  
Old 08-02-2009, 11:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 08-02-2009, 11:31 PM
cgway.net cgway.net is offline
 
Join Date: Aug 2007
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08290 seconds
  • Memory Usage 2,265KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete