vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to make this in user Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=164191)

cgway.net 12-03-2007 11:31 AM

how to make this in user Profile Fields
 
hello all

it's the first thread i have post it in vbulletin.org i hope i get good help from all

my question how i make an user Profile Field appearer in the registration for as this photo

http://www.cgway.net/award/files/2.jpg


and when select any option or many option corresponding it appearer in postbit profile an photo as this photo

http://www.cgway.net/award/files/1.jpg

i wait your help

lolzers 12-03-2007 11:53 AM

I'm not sure what the code would be if you used that sort of box where users can select one, but if you create a text box where users can enter the program they use, do the following:

Create a profile field.

Now, add the following code to your posbit/postbit_legacy, probably under your reputation.

Quote:

Program:<if condition="$post[fieldXX]"><img src="XXX" border="0px" alt="Photoshop, or whatever program"></a></if>
Replace the XX in beside field to the profile field number, and the XXX in img src to the image location.

I'm sorry I couldn't help you get exactly what you wanted, maybe someone else can.

cgway.net 12-03-2007 12:57 PM

this images taken from .
http://www.subdivisionmodeling.com/forums/

can any brother explain this profile code

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

any body have any help

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

any body have any help

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

any help

cgway.net 12-04-2007 09:59 PM

help from any body

Hex_legend 12-04-2007 10:17 PM

Create a user profile field:

Go to Admin CP,
User Profile Fields
Add New User Profile Field
Multiple Selection Menu

Fill in title, description and options..

When you get to "Field Required?" state = "Yes, at registration and profile editing"

Make a note of the field number (FieldXX)

Then go to postbit or postbit legacy:

Search for

PHP Code:

<if condition="$show['reputationlink']">
                <
span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span

Add under

PHP Code:

Program:<if condition="$post[field[COLOR="Red"][B]XX[/B][/COLOR]]"><img src="XXX" border="0px" alt="Photoshop, or whatever program"></a></if> 


Be sure to replace the XX with the field number from the custom field that you created.


All times are GMT. The time now is 11:42 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.01113 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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