Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Real Name In Profile And Postbit Details »»
Real Name In Profile And Postbit
Version: 3.8.001, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.8.x Rating:
Released: 01-07-2009 Last Update: Never Installs: 148
Uses Plugins
Re-useable Code Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]hr[/hr]
This is an update to my 3.7.x version of this hack.

A very simple hack to display your real name in your profile and postbit (or postbit legacy), just like here at vBulletin.org.

If no real name is entered, then it will not display in the postbit (or postbit legacy).


This hack was created because of a request by Hannan here.


Limitation with this hack[hr]hr[/hr]
People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.x version of this hack - check here.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install Instructions[hr]hr[/hr]
The Real Name In Profile And Postbit Installation Instructions 3.8.xxx.pdf instructions file is included in attached .zip (includes visual instructions).
NOTE: If upgrading then just do Step 2 and Step 3 again.


Uninstall Instructions[hr]hr[/hr]
  1. In the AdminCP, go to User Profile Fields -> User Profile Field Manager.
    • Delete the Real Name profile field.
  2. Uninstall the product using the AdminCP Product Manager.


Version History[hr]hr[/hr]
v3.8.001 - Thursday 8th January 2009
-- Initial Release


Thanks[hr]hr[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]hr[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip ms_real_name_38.zip (234.6 KB, 921 views)

Screenshots

File Type: png screenshot1.png (43.3 KB, 0 views)
File Type: png screenshot2.png (9.3 KB, 0 views)
File Type: png screenshot3.png (22.1 KB, 0 views)
File Type: png screenshot4.png (51.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-28-2009, 06:45 PM
Sevo Sevo is offline
 
Join Date: Nov 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 07-28-2009, 09:01 PM
dpetersman dpetersman is offline
 
Join Date: Feb 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sevo View Post
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.
Reply With Quote
  #34  
Old 07-31-2009, 12:34 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 08-08-2009, 05:02 AM
DataHero DataHero is offline
 
Join Date: Jun 2009
Location: NL
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 08-08-2009, 06:26 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DataHero View Post
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.
Reply With Quote
  #37  
Old 08-28-2009, 12:26 PM
rescuehelpers rescuehelpers is offline
 
Join Date: Aug 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 09-30-2009, 07:43 AM
saji09 saji09 is offline
 
Join Date: Aug 2009
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 09-30-2009, 08:06 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by saji09 View Post
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 View Post
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.
Reply With Quote
  #40  
Old 10-01-2009, 12:02 AM
jimsflies jimsflies is offline
 
Join Date: Aug 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 10-09-2009, 01:48 PM
Spaz21 Spaz21 is offline
 
Join Date: May 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

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 09:27 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.05393 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete