- 
	
	enlightenmental1 started the topic codex help needed: documentation for dummies in the forum How-to & Troubleshooting 16 years, 5 months ago <?php echo $user->avatar ?> where does one find more of these? specifically where/how to add elements to the users blog I have the blog admin information dispalying on their sidebar, but cannot get the other codex samples to work how do i define a dynamic user_id ? 
 
 if ( bp_has_blogs() ) :<div class="pag-count" id="blog-count">…[Read more] 
- 
	
	enlightenmental1 replied to the topic [Resolved] Xprofile question…. in the forum How-to & Troubleshooting 16 years, 7 months ago ok… never mind… this DOES work thanks for your help guys <?php echo 'Welcome' . xprofile_get_field_data('First Name', $bp->loggedin_user->id) .', access your account below.'; ?>
- 
	
	enlightenmental1 replied to the topic [Resolved] Xprofile question…. in the forum How-to & Troubleshooting 16 years, 7 months ago sorry to bother you further…. that corrects the fatal error… however the field_1 value is not called back……(thought field_1 was full name…) echo 'Welcome' . xprofile_get_field_data(field_1, $curauth->the_user). ', access your account below.' ;
 I named it wrong? or there’s more function to add? I think I will move onto the latest trunk…[Read more]
- 
	
	enlightenmental1 replied to the topic [Resolved] Xprofile question…. in the forum How-to & Troubleshooting 16 years, 7 months ago Fatal error: Call to undefined function xprofile_get_field_data() in… eh? my code: if( xprofile_get_field_data(field_1, $curauth->the_user) ):echo 'Welcome' . xprofile_get_field_data(field_1, $curauth->the_user). ', enter here' ; endif; Thanks Andy, your skills humble me 
 ‘
- 
	
	enlightenmental1 started the topic [Resolved] Xprofile question…. in the forum How-to & Troubleshooting 16 years, 7 months ago echo 'Welcome' . ??????????????(field_7, $curauth->the_user). ' , How Are You' ;notice the ????????????? aboveā¦. what do i put there to get Xprofile fields? 
 here is what I use on regular wordpress profile field…if( get_user_option(first_name, $curauth->the_user) ):echo 'Welcome'. get_user_option(first_name, $curauth->the_user) .' ' ;…[Read more] 
- 
	
	enlightenmental1 replied to the topic Adding links to admin bar in the forum Miscellaneous 16 years, 7 months ago echo "<ul class="main-nav">";echo "<li >Main Link</li >"; echo "<ul >"; echo "<li >sub link</li >"; echo "<li >sub link</li >"; echo "<li >sub link</li >"; echo "<li >sub link</li >"; echo "<ul >"; echo "</ul >"; 
 why doesnt the above create a dropdown in the admin… 
- 
	
	enlightenmental1 replied to the topic Adding links to admin bar in the forum Miscellaneous 16 years, 7 months ago question I’ve hand coded the bp-core-admin-bar.php to add additional links and add a If(user_is_logged_in) so I can switch links when the user logs in.. but my li / ul aren’t creating droppdowns example 
 
 <li> main link </li>
 <ul>
 <li>sub link</li>
 <li>sub link</li>
 </ul>instead of getting the sub-links to show as a dropdown, they show up as…[Read more] 
	@enlightenmental1
	Not recently active