PDA

View Full Version : Just an idea



Host Factory
March 8th, 2008, 20:37
as there are a few user who represent so many different host and they dont have any clear way of telling who they work for in their user name, so you don't know who's working for who.
what about a a new field in the users profile for Affiliated host so they can add who they are working

themoose
March 9th, 2008, 07:19
I wanted to put 'a good idea', but that isn't a poll option.

But yeah, it's a good idea.

Richard
March 9th, 2008, 15:39
Good. But even better - Display it on each of their posts. Just under reputation maybe?

Host Factory
March 9th, 2008, 15:42
Good. But even better - Display it on each of their posts. Just under reputation maybe?

properly a better idea, it saves people have their company in there name, so hopeful less name changes

AMC
March 9th, 2008, 16:33
I actually have a mod installed that could do this, hang on , Ill find the link for you.

http://www.vbulletin.org/forum/showthread.php?t=123254

If you didn't want to have the drop down menu, its very easy to put user info in the postbit, Ill find the code for it and post it here.

EDIT: Okay - here goes.

First Create your Custom Profile field (in the ACP) and remember the field number (needed)

Then: Go to the ACP Styles & Templates > Style Manager > Style > Postbit Template > postbit

find :

<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>

Beneath it place :

<if condition="$post[fieldx]"><div class="smallfont">Affiliation: $post[fieldx]</div></if>

Replace fieldx by your field number e.g field7 or whatever...

Voila

EDIT 2: That would actually place it under Location I think, fws's template file might be slightly differently structured to mine.

themoose
March 9th, 2008, 17:16
Good. But even better - Display it on each of their posts. Just under reputation maybe?

That's what I thought -- similar to the 'Location' field.