vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Profile fields not showing up (https://vborg.vbsupport.ru/showthread.php?t=281526)

Mark_Zuckerberg 04-13-2012 08:17 PM

Profile fields not showing up
 
Hello al,

I am facing a problem that profile fields are not showing up in my forum as i have maded some custom profile fields but due to malware attack i have restored my old back up and then now its not showing me profile fields i have checked the profile fields there were only 2 the rest default 2 was not there i have created them again and there field id is 31 and 32 respectively. and when i saved that its still not showing up any help how to resolve that?

Lynne 04-13-2012 09:17 PM

Showing up where? Do you have the correct field ids showing in the template where you added them?

Mark_Zuckerberg 04-13-2012 09:23 PM

Hello mate its showing me some thing like this now

http://i2.lulzimg.com/b01fcba102.png

Lynne 04-13-2012 09:37 PM

If you are comfortable playing with the database, you may want to put those back to what the default fieldid is supposed to be. Otherwise, you will need to manually add them wherever you want them.

Mark_Zuckerberg 04-13-2012 09:41 PM

if you put some steps how to do and what do in that i can definitely do that will be thankful to u mate

blind-eddie 04-13-2012 09:55 PM

You mean the custom profile fields you made are not there now, only the default ones?
You said you installed a backup of your site... seems new profile fields were made after the backup date. You will need to make them again.

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

You will also need to edit whatever template you are showing new fields in.

Mark_Zuckerberg 04-13-2012 10:02 PM

but which file should i have to edit
can you plese tell that and when i puth the backup back itmoved the dfault ones also just two remained and rest two i maid again but there field id is 31 and 32

blind-eddie 04-13-2012 10:06 PM

Where were the new custom profile fields showing on your board before your malware attack?

Mark_Zuckerberg 04-13-2012 10:11 PM

in about me page

blind-eddie 04-13-2012 10:14 PM

Then you have no templates to edit. If you made the new fields, check to make sure you selected for them to show in the About me section.

Mark_Zuckerberg 04-13-2012 10:30 PM

yes its showing me in the edit your details page i have pasted my info there but when i go to my profile it shows me like this.

http://i2.lulzimg.com/a99eab8c8f.png

blind-eddie 04-13-2012 10:39 PM

I am not sure what custom fields you made or what they should look like.
Pm me your site URL please, I will register and have a look see.

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

Your board is shut off.. I can't see anything..... I will check back later

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

Ok...

In your memberinfo_block_aboutmetemplate you have the following code.
In your image above you show "Any Other People & Location".
You will see that in the bottom of the code below.
You will need to make each of the custom profile fields listed below & edit the memberinfo_block_aboutmetemplate to reflect custom profile field id's to get them to show again.


Code:

<!-- $ block_data [fields] -->
<table width="100%" border="0" cellspacing="4" cellpadding="4">
  <tr>
    <td>
        <if condition="$userinfo[field7]!=''">
        <!-- field 1 block -->
        <fieldset class="fieldset"><legend><strong>Field 1: $userinfo[field7] ($userinfo[field7])</strong></legend>
        <b>Field 2:</b> $userinfo[field8]<br />
        <b>Field 3:</b> $userinfo[field9]<br />
        <b>field 4:</b> $userinfo[field10]<br />
        <b>Field 5:</b> $userinfo[field11]<br />
                <b>Field 6:</b> $userinfo[field12]<br />
              </if>
        </td>
        <td>
        <if condition="$userinfo[field24]!=''">
        <!-- field 2 block -->
        <fieldset class="fieldset"><legend><strong>Field Name 2: $userinfo[field24] ($userinfo[field28])</strong></legend>
        <b>Name ere:</b> $userinfo[field24]<br />
        <b>Name Here:</b> $userinfo[field25]<br />
        <b>Name Here:</b> $userinfo[field26]<br />
        <b>Name Here</b> $userinfo[field27]<br />
        <b>Name Here</b> $userinfo[field36]<br />
        <b>Name Here</b> $userinfo[field37]<br />
        <b>Name Here</b> $userinfo[field38]<br />
        <b>Name Here</b> $userinfo[field39]<br />
        <b>Name Here</b> $userinfo[field40]<br />
        <b>Name Here</b> $userinfo[field46]<br />
        <b>Name Here</b> $userinfo[field47]<br />
        <b>Name Here:</b> $userinfo[field48]<br />
        <b>Name Here:</b> $userinfo[field50]<br />
        <b>Name Here $userinfo[field52]<br />
        <b>Name Here</b> $userinfo[field54]<br />
        <b>Name Here:</b> $userinfo[field56]
        </fieldset>
        <!-- /field 2 block -->
        </if>
        </tr>
      </td>
</table>
<dt class="shade">Any other people:</dt>
$userinfo[field57]<br />

<dl class="list_no_decoration profilefield_list">
<dt class="shade">Location:</dt>
<dd>$userinfo[field5]</dd>
</dl>
</li>



All times are GMT. The time now is 07:35 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.01174 seconds
  • Memory Usage 1,741KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (12)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