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)

Sevo 07-28-2009 06:45 PM

I require my members to use their real name. This would be great mod. Is there anyway I can make it required they fill in their real names so this will work 100% of the time

thank you

dpetersman 07-28-2009 09:01 PM

Quote:

Originally Posted by Sevo (Post 1857357)
I require my members to use their real name. This would be great mod. Is there anyway I can make it required they fill in their real names so this will work 100% of the time

thank you

You can make it required that they enter data into the profile field(s) at registration & profile updating by editing that particular profile filed in the admincp (admincp/user profile fields/user profile field manager), but that no guarantee they're entering their actual information. :)

hotwheels 07-31-2009 12:34 AM

If you use c&d garage on your site, you will have to change the name of your $template_hook.....C&D uses the same hook for your members garage to show in their template......great mod though.

DataHero 08-08-2009 05:02 AM

Hello there,
Seems I have done this after uploading the .xml.
HTML Code:

        <td width="100%">&nbsp;</td>
                        <td valign="top" nowrap="nowrap">

                                <div class="smallfont">
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        if ($post['field8'])
{
                                        $template_hook['postbit_userinfo_right_after_posts'] .= '<div>' . $vbphrase['real_name'] . ': ' . $post['field7'] '$post['field8'] . '</div>';
}                                          <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

                        </td>
                </tr>
                </table>
                <!-- / user info -->
        </td>
</tr>

But if I press okay, I get the following error;
Quote:

vBulletin Message
The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [Mywebsite](3939) : eval()'d code on line 66

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Any help would be greatly appreciated.

Mosh 08-08-2009 06:26 AM

Quote:

Originally Posted by DataHero (Post 1863420)
Hello there,
Seems I have done this after uploading the .xml.
HTML Code:

        <td width="100%">&nbsp;</td>
                        <td valign="top" nowrap="nowrap">

                                <div class="smallfont">
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        if ($post['field8'])
{
                                        $template_hook['postbit_userinfo_right_after_posts'] .= '<div>' . $vbphrase['real_name'] . ': ' . $post['field7'] '$post['field8'] . '</div>';
}                                          <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

                        </td>
                </tr>
                </table>
                <!-- / user info -->
        </td>
</tr>

But if I press okay, I get the following error;

Any help would be greatly appreciated.

As stated in the first post I do not support custom template edits.

What I suggest is that you revert the template, as a quick look at the code pasted above reveals that you are trying to mix plugin code with template code.

rescuehelpers 08-28-2009 12:26 PM

hiya, thanks for this plugin very much needed on my forum, is it possible to duplicate it all? as i would like another field permenently on i tried doing copy and paste of the code but i get the fiel number not the name of the field or it repeats real name with the profile field of the one i want?

apart from that very easy to install thankyou.

saji09 09-30-2009 07:43 AM

Mod is good, but there is a problem, i have installed the mod and its working for the post bits n legacy...

But what i want is to show every where through out site Real name instead of username, which is not happening for me now how can i do it ???

Pleaseeeeeeee help

Mosh 09-30-2009 08:06 AM

Quote:

Originally Posted by saji09 (Post 1892704)
Mod is good, but there is a problem, i have installed the mod and its working for the post bits n legacy...

For starters, please click Mark as Installed.
Quote:

Originally Posted by saji09 (Post 1892704)
But what i want is to show every where through out site Real name instead of username, which is not happening for me now how can i do it ???

Pleaseeeeeeee help

username is referred to extensively throughout the code and MySQL queries and would require a lot of the vBulletin source files to be altered (including queries). It would probably take 100's (if not 1000's) of hours to alter the code and completely test to ensure there are no bugs in the code. You would have to make a paid request from a coder to do, and you would expect to spend a hell of a lot of money to have this done (probably a lot more than you paid for your vBulletin license). It would probably be a lot easier writing a forum yourself from scratch, that has this included right from the ground up.

jimsflies 10-01-2009 12:02 AM

Instead of displaying "Real Name" I would like it to just say "First Name" how would I go about doing this?

Never mind, figured it out.

Spaz21 10-09-2009 01:48 PM

is there a way to make it appear under the user's title on the forum instead of under where their age/post count appears?


All times are GMT. The time now is 09:05 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.01194 seconds
  • Memory Usage 1,768KB
  • 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_html_printable
  • (5)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