vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how do i call a profile field (https://vborg.vbsupport.ru/showthread.php?t=161018)

tipoboy 10-24-2007 03:21 PM

how do i call a profile field
 
look for some help here from someone in ther know.

I made a new profile field [field7](a milti -line text box) and i want to call that field into the showgroups_usergroupbit in a seperate column

here is my showgroups_usergroupsbit template:

Code:

<tr>
        <td class="$bgclass">$user[onlinestatus]</td>
        <td class="$bgclass"><div align="center"><a href="member.php?$session[sessionurl]u=$user[userid]"><img src="image.php?u=$user[userid]" border="0"></a></div></td>
        <td class="$bgclass">
  <a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></td>
 
        <td class="$bgclass"><if condition="$post['field7']">$post[field7]</if></td>
 
 
 <td class="$bgclass" nowrap="nowrap">
  <if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
  <if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
 </td>
</tr>

i have managed to create a new column, in the showgroups.php but cant seem to call the information from the profile field. is there something i am missing, i've tried searching for hours and tried several methods i found, but staill am unable to call th info, can anyone help me with this??

thanks in advanced
dave

tipoboy 10-26-2007 02:28 PM

anyone??

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

edit:

nevermind i have worked it out for myself, for anyone looking at this thread in future i had to use this code to pull the data from the user profile field

Code:

<td class="$bgclass">$user[field7]</td>


All times are GMT. The time now is 11:43 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.01028 seconds
  • Memory Usage 1,710KB
  • 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
  • (2)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