vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Real Name In Profile And Postbit (https://vborg.vbsupport.ru/showthread.php?t=201022)

dpetersman 02-22-2009 11:48 PM

This is great!
one question tho. Is there any way for it to display the contents of multiple fields instead of just one?
I have 2 seperate profile fields for my users real names. First name & last name.

something like:

Code:

if ($post['field7,8'])
thanks again :)

Mosh 02-23-2009 05:16 AM

Quote:

Originally Posted by dpetersman (Post 1751879)
This is great!
one question tho. Is there any way for it to display the contents of multiple fields instead of just one?
I have 2 seperate profile fields for my users real names. First name & last name.

something like:

Code:

if ($post['field7,8'])
thanks again :)

Not the way you have done it.

You will need something like this, to show if just the first name entered or the first and last names entered:

PHP Code:

if ($post['field7'])
{
    
$template_hook['postbit_userinfo_right_after_posts'] .= '<div>' $vbphrase['real_name'] . ': ' $post['field7'] . ' ' $post['field8'] . '</div>';


That is just an unofficial pointer in the right direction. It should work, but if it does not, then you will have to experiment with the code until it does, as I do not support custom code changes to my hacks.

dpetersman 03-03-2009 12:50 AM

That worked like a charm :)

Thank You very much for the "pointer"!! :up:

obmob 03-16-2009 07:25 PM

Will take a look, thanks

Julie 03-23-2009 04:17 PM

Simple, yet very useful! Thanks :)

ranz 04-26-2009 10:51 AM

:up:

great mod - essential in building a __real__ community :D

<<marks installed>>

mrtroybaker 04-27-2009 09:04 PM

Can someone atleast tll me where to look for
Quote:

You do not have the postbit_userinfo_right_after_posts template hook, because of a custom template/style
I have a custom skin and membres asking for this mod. It shows up under the USERCP but not in
Join Date: Feb 2009
Posts: 104
Design: Purple Rain,Fixed

Mosh 04-28-2009 12:16 AM

Quote:

Originally Posted by mrtroybaker (Post 1800184)
Can someone atleast tll me where to look for


I have a custom skin and membres asking for this mod. It shows up under the USERCP but not in
Join Date: Feb 2009
Posts: 104
Design: Purple Rain,Fixed

The postbit and postbit_legacy templates, needs to be added right before:
HTML Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

HappyFeet 04-29-2009 11:25 PM

Installed, Thanks!:)

speedracer68 05-12-2009 03:30 AM

Installed.

It looks like it works in the about me but does not show up when someone creates a thread. Any idea where I should look first? VB 3.8.2


All times are GMT. The time now is 05:02 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.01172 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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