vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   "Real Name" does not appear in user fields (https://vborg.vbsupport.ru/showthread.php?t=307943)

BULLDOG 02-27-2014 08:04 AM

Sorry... it's me again.

Now I want the field "Pipe smoker since" AFTER "Real Name" and BEFORE "Posts":

<vb:if condition="$post['field5']"><dt>Real Name</dt> <dd>{vb:raw post.field5}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>

{vb:raw template_hook.postbit_userinfo_right_after_posts}

"Pipe smoker since" has field number 6.

So the code should be:

<vb:if condition="$post['field6']"><dt>Pipe smoker since</dt> <dd>{vb:raw post.field6}</dd></vb:if>

Then I tried inserting it after this code:

{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>

BUT it does not work!

Please WHERE exactly do I insert the code so that it works?

ozzy47 02-27-2014 10:39 AM

Insert the code after this line:
Code:

<vb:if condition="$post['field5']"><dt>Real Name</dt> <dd>{vb:raw post.field5}</dd></vb:if>

BULLDOG 02-27-2014 10:55 AM

I did try that, Chris.

And now it looks like this, but STILL the "Pipe smoker since" does NOT appear in the user fields (checked with refreshing the boards):

<vb:if condition="$post['field5']"><dt>Real Name</dt> <dd>{vb:raw post.field5}</dd></vb:if>
<vb:if condition="$post['field6']"><dt>Pipe smoker since</dt> <dd>{vb:raw post.field6}</dd></vb:if>

ozzy47 02-27-2014 10:58 AM

When you say, "does NOT appear in the user fields" are you referring to the postbit, or in the usercp for the members to enter the info into?

BULLDOG 02-27-2014 11:02 AM

The "Pipesmoker since" appears when clicking on a profile and choosing "About Me".

However, the "Pipesmoker since" does not appear together with "Join Date", "Location", "Real Name" and "Posts" texts under the usernames where the avatars also are.

ozzy47 02-27-2014 11:12 AM

I see this, "Pipe smoker since 1986" in the postbit for the user ARMY MOUNT on your site.

BULLDOG 02-27-2014 11:22 AM

Yes, if you click on my PROFILE, it does...

But what I would like is to have the text "Pipe smoker since" appear in the "user fields", too... that is in threads, like for instance this one:

http://pipesmokerunlimited.com/showt...U-Team-Members

As you can see, for instance under the avatar of the Mod called "MarkW4mms", you see the "Real Name" that I added with success with your help.

I would LOVE to have "Pipesmoker since" added in that field, too, though

ozzy47 02-27-2014 11:26 AM

1 Attachment(s)
If he did not add the info in his usercp, it will not show up.

As I see this post, http://pipesmokerunlimited.com/showt...3733#post73733 it is showing up.

BULLDOG 02-27-2014 11:27 AM

Okay, thanks!

That explains it!

Many, many thanks for your help! Much appreciated! :-)

ozzy47 02-27-2014 11:49 AM

Not a problem, glad to help. :)


All times are GMT. The time now is 09:35 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.01110 seconds
  • Memory Usage 1,734KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete