The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do i go about putting the real name field in postbit?
Also is there a way to search for posts, just with images in them? Thanks for any help you can provide.. Joe |
#2
|
|||
|
|||
![]()
Wrong forum mate...
I'm pretty sure there's a hack you can download for this anyway, I'll have a look. |
#3
|
|||
|
|||
![]() Quote:
|
#4
|
|||
|
|||
![]()
This forum uses it.
Looks like there's a field in the profile where a user can specify their real name. It can also be prompted on registration. I guess if you look at the postbit template, and try and work out from there how people's locations get shown then you could turn it into a Real Name hack yourself. If I spent 3 hours on it a novice like myself might be able to work it out ![]() |
#5
|
|||
|
|||
![]()
Ok thanks,, appreciate it
![]() Joe |
#6
|
|||
|
|||
![]()
Actually, that's so easy it's unbelievable. I just did it
![]() I don't know if it can be done with hooks or plugins or whatever (I don't know how to make them) but it can be done with a template edit. 1) Go to AdminCP > User Profile Manager > Add New User Profile Field > Single Line Text Box and Set the options as follows: Title: Real Name Description: Enter your Real Name here (might as well leave all the other options default) 2) Click on Save and when you get taken to the User Profile Manager, make a note of what name it's been given (field5, field6, field7 etc.) 3) Go to Languages & Phrases > Phrase Manager > Add New Phrase > Set this up as follows: Phrase Type: Global Product: vBulletin Varname: real_name Test: Real Name Click on Save 4) Go to Styles & Templates > Style Manager > Select Edit Templates from the All Style Options drop-down box > Find the postbit template > Look for: PHP Code:
PHP Code:
Then all you need to do is save! Job's a good-un. EDIT: You might also want to do the same for postbit_legacy template as well. |
#7
|
|||
|
|||
![]()
Looks good,, thanks
![]() I will do it later tonight.. |
#8
|
|||
|
|||
![]()
Did you get this working Joe?
|
#9
|
||||
|
||||
![]()
It works. It's the same thing I used on 3.0, too.
![]() |
#10
|
||||
|
||||
![]()
Yep. Vbulletin.org has been using it here since I suggested it ages ago
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|