vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove CPF's from the About Me tab? (https://vborg.vbsupport.ru/showthread.php?t=175121)

Guest210212002 04-04-2008 11:42 AM

Remove CPF's from the About Me tab?
 
I have a handful of custom profile fields, and I have a new user profile tab for them all. The problem is, they show under my happy new tab, and under the About Me tab as well. Is there a way to have the About Me tab NOT show CPFs?

Guest210212002 04-27-2008 12:10 AM

Insert generic bump message here. ;)

King Kovifor 04-27-2008 01:38 AM

I believe it still uses the $customfields variable within the Profile Fields (about me) template... Try looking for that and removing it.

Guest210212002 04-27-2008 05:30 PM

I've been tinkering with it, but with no luck. Here's the template itself, unmodded:

Code:

<div class="alt1 block_row">
<if condition="$show['simple_link']">
        <div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme&amp;simple=1">$vbphrase[view_your_about_me]</a></div>
</if>
<if condition="$show['edit_link']">
        <div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>
<ul class="list_no_decoration">
$block_data[fields]

        <if condition="$prepared['signature']">
                <li class="profilefield_category">
                        $vbphrase[signature]
                        <dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
                </li>
        </if>
</ul>
</div>

The CPF's are part of $block_data[fields], but if I remove that, it removes all of them, including location, biography, etc. I have an entire category for one tab, and I want to remove just that category from the about me tab, since it's redundant.

I think what I need to figure out how to mod is the actual results of $block_data[fields].

Thanks though. :)

Edit: Screenshots for clarity. Here's my custom tab, with the "Gear Details" category within:

https://vborg.vbsupport.ru/

And here's my about me, with the same fields duplicated at the bottom:

https://vborg.vbsupport.ru/

Opserty 04-27-2008 06:59 PM

isn't there a memberinfo_block_fields template to edit? Mayb you could add a conditional of sorts?

King Kovifor 04-27-2008 07:27 PM

Quote:

Originally Posted by Chris-777 (Post 1500832)
I've been tinkering with it, but with no luck. Here's the template itself, unmodded:

Code:

<div class="alt1 block_row">
<if condition="$show['simple_link']">
    <div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme&amp;simple=1">$vbphrase[view_your_about_me]</a></div>
</if>
<if condition="$show['edit_link']">
    <div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>
<ul class="list_no_decoration">
$block_data[fields]
 
    <if condition="$prepared['signature']">
        <li class="profilefield_category">
            $vbphrase[signature]
            <dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
        </li>
    </if>
</ul>
</div>

The CPF's are part of $block_data[fields], but if I remove that, it removes all of them, including location, biography, etc. I have an entire category for one tab, and I want to remove just that category from the about me tab, since it's redundant.

I think what I need to figure out how to mod is the actual results of $block_data[fields].

Thanks though. :)

Edit: Screenshots for clarity. Here's my custom tab, with the "Gear Details" category within:

http://www.sevenstring.org/chris/vbq_gear1.jpg

And here's my about me, with the same fields duplicated at the bottom:

http://www.sevenstring.org/chris/vbq_gear2.jpg

This are mostly likely populated within code, so code modifications may be required.


All times are GMT. The time now is 01:07 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,732KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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