vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Professional Names (https://vborg.vbsupport.ru/showthread.php?t=107662)

TrueDeath 02-09-2006 10:00 PM

Professional Names
 
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!

TrueDeath 02-10-2006 07:44 PM

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.

Nutz 02-10-2006 09:47 PM

Great hack, good work :)

Thanks,
Mat

tehste 02-10-2006 10:17 PM

It looks strange to have a 'professional' name underneath a screen name like TrueDeath.

Tony G 02-10-2006 11:25 PM

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.

BCC 02-11-2006 12:09 AM

This Looks So Much The Same As:
https://vborg.vbsupport.ru/showthread.php?t=93783

dirtycrow 02-11-2006 02:16 AM

what is i already had my members sign up entering their first and last name in two different fields?

hiiped 02-11-2006 03:48 AM

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

TrueDeath 02-11-2006 01:41 PM

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:

TrueDeath 02-11-2006 01:45 PM

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.

Ohiosweetheart 02-11-2006 02:12 PM

I LIKE this!

TrueDeath 02-11-2006 03:02 PM

FAQ updated

Quote:

Originally Posted by Ohiosweetheart
I LIKE this!

Glad you like, dont forget to press install if you install it :)

Tony G 02-12-2006 12:23 AM

Quote:

Originally Posted by TrueDeath
Are you unable to see the ReadMe.txt? :ermm:

Maybe I missed it before. Sorry.

apfparadise 02-12-2006 02:31 AM

Great hack, now how do we do 2 things:

1. Put it into Registration form, mandatory
2. Make existing users have to fill it out on next sign on

TrueDeath 02-12-2006 03:16 PM

Quote:

Originally Posted by apfparadise
Great hack, now how do we do 2 things:

1. Put it into Registration form, mandatory

Make the profile Field Required = Yes

quanvo81 02-12-2006 10:32 PM

It's a good one, but I think running too many queries in a large thread is good.
Anyway, it's a great idea and nice hack.

hiiped 02-12-2006 10:49 PM

Quote:

Originally Posted by quanvo81
It's a good one, but I think running too many queries in a large thread is good.
Anyway, it's a great idea and nice hack.

???????????

TrueDeath 02-12-2006 10:59 PM

Quote:

Originally Posted by quanvo81
It's a good one, but I think running too many queries in a large thread is good.
Anyway, it's a great idea and nice hack.

Its just the same as postcount or any other postbit hack you install :P.

Renada 03-03-2006 10:02 PM

Hi,

Can this be used to replace the user name with the real name? If so, how could I do that?

Thanks,
Renada

Xplorer4x4 03-03-2006 11:27 PM

Quote:

Originally Posted by hiiped
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

How is it nonsense? You enter a custom staff title on that hack and turn it on and off by user. You can also add HTML mark up to it.

I apreciate the work but I will stick with Liveweires hack.

dcarr 03-04-2006 01:04 AM

Why, on every page of this thread, do I receive a password popup box asking me to connect to www.truedeath.co.uk? It's a regular user/pass box...and its only on the pages of this thread.

CAMS 03-04-2006 01:30 PM

Quote:

Originally Posted by dcarr
Why, on every page of this thread, do I receive a password popup box asking me to connect to www.truedeath.co.uk? It's a regular user/pass box...and its only on the pages of this thread.


you mean this... yep its a weird one lol

Princeton 03-04-2006 01:45 PM

it appears that TrueDeath has "disabled" access to an image on his sig -- his sig needs to be edited

TrueDeath 03-04-2006 02:48 PM

Sorry guys sorted it lol (forgot about my site restriction i had temp placed)

Cagonni 05-22-2006 12:51 PM

installed.

Mobo 06-07-2009 09:44 PM

Does this work on vB 3.5.4? I've done the hacks and see no changes on my forums. I'd love to have this work.

HMBeaty 06-07-2009 10:12 PM

Quote:

Originally Posted by Mobo (Post 1825274)
Does this work on vB 3.5.4? I've done the hacks and see no changes on my forums. I'd love to have this work.

I don't see why it wouldn't work. All it is is a couple of basic template conditionals

Mobo 06-08-2009 12:00 AM

That's what I thought too, but it's not working on my site

HMBeaty 06-08-2009 12:20 AM

Works perfectly fine on mine. Make sure you are using the correct postbit, style, and profile field

Mobo 06-08-2009 12:49 PM

Yep, it was only working in one style... the one I was not using. Thanks!!


All times are GMT. The time now is 05:22 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.01257 seconds
  • Memory Usage 1,782KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete