vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   <param name="Nickname" Help (https://vborg.vbsupport.ru/showthread.php?t=93781)

tzrtim 08-07-2005 09:14 AM

<param name="Nickname" Help
 
<param name="Nickname" value="$bbuserinfo[username]" />

We have our own chatcontrol and we using that to work from the vb username, How can I make it work from custom profile, eg so they enter

Chatnickname : here

and it uses that and not there normal nickname.

This is what i have in the User Profile Field Manager
Chat Nickname
Single-Line Text Box Editable, Searchable, Members List field6

Sorry! I think i just posted this in the wrong forum.

new to this site :nervous:

bigcurt 08-07-2005 11:34 AM

Umm, are you trying to show there chatname in there postbit? Or are you just trying to make it a choice in there profile?

~Curt

If you want it to show up in postbit do


Code:

<if condition="$post['fieldX']">
        $post[fieldX]
</if>


Make sure you replace the bold places with what field your profile field is, and put that code anywhere you want it to show up in postbit and postbit_legacy


~Curt

tzrtim 08-07-2005 12:17 PM

Really just wanted to know how to work out how profile fields work so i can get info from them ( like sdk on ipb)

<param name="Nickname" value="$bbuserinfo[field5]" />
works but can u add a "if" so if it cant find the 1st it goes to

<param name="Nickname" value="$bbuserinfo[username]" />

Marco van Herwaarden 08-07-2005 06:21 PM

Code:

<if condition="$bbuserinfo[field5]">
<param name="Nickname" value="$bbuserinfo[field5]" />
<else />
<param name="Nickname" value="$bbuserinfo[username]" />
</if>


tzrtim 08-07-2005 09:33 PM

Thank you so much :)


All times are GMT. The time now is 07:10 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.01389 seconds
  • Memory Usage 1,713KB
  • 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_code_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