Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2008, 11:42 AM
Guest210212002
Guest
 
Posts: n/a
Default 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?
Reply With Quote
  #2  
Old 04-27-2008, 12:10 AM
Guest210212002
Guest
 
Posts: n/a
Default

Insert generic bump message here.
Reply With Quote
  #3  
Old 04-27-2008, 01:38 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe it still uses the $customfields variable within the Profile Fields (about me) template... Try looking for that and removing it.
Reply With Quote
  #4  
Old 04-27-2008, 05:30 PM
Guest210212002
Guest
 
Posts: n/a
Default

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:



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

Reply With Quote
  #5  
Old 04-27-2008, 06:59 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

isn't there a memberinfo_block_fields template to edit? Mayb you could add a conditional of sorts?
Reply With Quote
  #6  
Old 04-27-2008, 07:27 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chris-777 View Post
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:



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

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:22 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.03954 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (3)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete