Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Professional Names Details »»
Professional Names
Version: 1.00, by TrueDeath TrueDeath is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-09-2006 Last Update: Never Installs: 17
Template Edits
 
No support by the author.

Professional Names


About this hack:
If your forum is aimed to look stylish or professional yet your staff or users insit to use their nicknames instead of their proper names then this hack is for you.

This is a simple hack which shows a users real name under their title in a professional style.

Features:
Show users/staff real names under posts.

Installation information on hack:
Files edited: 0
Templates edited: 2 (both postbit)
Files to upload: 0
Cronjobs to add: 0
Time to install: 2 minutes max

Instructions:
1) In admincp Add a New User Profile field
------------------------------------------
Type: Single-Line Text Box
Title: Real Name
Description: Please enter your real name to be displayed on the forum or leave blank.
Max length: 30
Field Required: No
Field Editable by user: Yes
*If you want it staff only set Editable by user no so it can only be changed in AdminCP*
Private Field: No
Display Page: Edit Profile
------------------------------------------
Now the Profile Field is made you need to remeber the field number, (i.e field5 = 5)

2) In template named: postbit
------------------------------------------
Find:
------------------------------------------
Quote:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
------------------------------------------
Below Add:
------------------------------------------
Quote:
<if condition="$post[fieldX] != ''"><div class="smallfont"><i>$post[fieldX]</i></div></if>
------------------------------------------
Be sure to change the two X to your field number!

Click Save

3) In template named: postbit_legacy
------------------------------------------
Find:
------------------------------------------
Quote:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
------------------------------------------
Below Add:
------------------------------------------
Quote:
<if condition="$post[fieldX] != ''"><div class="smallfont"><i>$post[fieldX]</i></div></if>
------------------------------------------
Be sure to change the two X to your field number!

Click Save

4) Press Install on vBulletin.org

MAKE SURE YOU CLICK INSTALL!

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 02-10-2006, 07:44 PM
TrueDeath's Avatar
TrueDeath TrueDeath is offline
 
Join Date: Sep 2004
Location: London
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: What if i already had my members sign up entering their first and last name in two different fields?
Answer: Add this instead:
Quote:
<if condition="$post[fieldX] != ''"><div class="smallfont"><i>$post[fieldX]$post[fieldY]</i></div></if>
Change the X to the field with the first name, and Y to the field with the second name.
Reply With Quote
  #3  
Old 02-10-2006, 09:47 PM
Nutz's Avatar
Nutz Nutz is offline
 
Join Date: Aug 2004
Location: United Kingdom
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, good work

Thanks,
Mat
Reply With Quote
  #4  
Old 02-10-2006, 10:17 PM
tehste tehste is offline
 
Join Date: Feb 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks strange to have a 'professional' name underneath a screen name like TrueDeath.
Reply With Quote
  #5  
Old 02-10-2006, 11:25 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing your mod, could you place your instructions in a .txt file and attach it please? Makes it easier for members to re-install your mod.
Reply With Quote
  #6  
Old 02-11-2006, 12:09 AM
BCC BCC is offline
 
Join Date: Dec 2005
Location: Australia
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Looks So Much The Same As:
https://vborg.vbsupport.ru/showthread.php?t=93783
Reply With Quote
  #7  
Old 02-11-2006, 02:16 AM
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
Posts: 350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is i already had my members sign up entering their first and last name in two different fields?
Reply With Quote
  #8  
Old 02-11-2006, 03:48 AM
hiiped hiiped is offline
 
Join Date: Jan 2006
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BCC


nonsense

20 users can be "TITLED" DEVELOPER, or HACKER, or CHIEFS

but with this its a million to 1 shot if theres two Harry J Porter ( Professional Names ) is on the same forum
Reply With Quote
  #9  
Old 02-11-2006, 01:41 PM
TrueDeath's Avatar
TrueDeath TrueDeath is offline
 
Join Date: Sep 2004
Location: London
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony G
Thanks for sharing your mod, could you place your instructions in a .txt file and attach it please? Makes it easier for members to re-install your mod.
Are you unable to see the ReadMe.txt? :ermm:
Reply With Quote
  #10  
Old 02-11-2006, 01:45 PM
TrueDeath's Avatar
TrueDeath TrueDeath is offline
 
Join Date: Sep 2004
Location: London
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dirtycrow
what is i already had my members sign up entering their first and last name in two different fields?
Then add this instead:

Quote:
<if condition="$post[fieldX] != ''"><div class="smallfont"><i>$post[fieldX]$post[fieldY]</i></div></if>
Change the X to the field with the first name, and Y to the field with the second name.
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 07:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06728 seconds
  • Memory Usage 2,293KB
  • Queries Executed 24 (?)
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
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete