PDA

View Full Version : Custom fields


SwalyAaron
01-21-2013, 06:08 PM
How would I go about showing custom user fields? in postbit_legacy,

Lynne
01-21-2013, 09:28 PM
search gets you... https://vborg.vbsupport.ru/showthread.php?t=166290

SwalyAaron
01-21-2013, 11:02 PM
Should of noted that that one didn't work for me especially lol =[

Simon Lloyd
01-22-2013, 12:09 AM
Instead of $post[filedx] (replacing the x with your field number) you could try $vbulletin->post[fieldx] or $bbuserinfo[fieldx] but to be honest it should have worked for you if you'd done everything right :)

Are you sure the fileds you are choosing aren't private and are visible?

SwalyAaron
01-22-2013, 12:32 AM
Instead of $post[filedx] (replacing the x with your field number) you could try $vbulletin->post[fieldx] or $bbuserinfo[fieldx] but to be honest it should have worked for you if you'd done everything right :)

Are you sure the fileds you are choosing aren't private and are visible?

Thanks for the help but I figured I'd find a mod and indeed I did, worked perfect.

Another question I had in mind is this:
I want to disable my mods from seeing IP's, I had no choice but to give them super mods but I'd like them not to see IP's, anyway I can fix this?

Also I added this code texthere
how can I make it when ever I make a post (special user) it uses those codes automatically so when I make a post it automatically uses [blitz]/blitz]

[blitz] makes the font blue and has a graphical background

Simon Lloyd
01-22-2013, 03:20 AM
You'd have to create a plugin with something likeif(is_member_of($vbulletin->userinfo,5,6,7))
{
$message= "''.$message.''";
}This isn't tested, just put together here :), you could use newthread_start as the hook maybe?