vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Custom fields (https://vborg.vbsupport.ru/showthread.php?t=294197)

SwalyAaron 01-21-2013 06:08 PM

Custom fields
 
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

Quote:

Originally Posted by Simon Lloyd (Post 2398520)
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 [blitz]texthere[/blitz]
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 like
PHP Code:

if(is_member_of($vbulletin->userinfo,5,6,7))
{
$message"'[blitz]'.$message.'[/blitz]'";


This isn't tested, just put together here :), you could use newthread_start as the hook maybe?


All times are GMT. The time now is 02:42 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.01056 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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