vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   add a custom field to show on every post (https://vborg.vbsupport.ru/showthread.php?t=35637)

dimava 03-03-2002 12:02 AM

add a custom field to show on every post
 
i want to add a field called "Video Card" which can be set in the profile and i want it to show under Post Count in every post that is made

thanks,

Dimava

Neo 03-03-2002 12:28 AM

just add some code into the admin/functions.php
and edit your postbit template

black 03-03-2002 12:46 AM

Go to your admin cp

Make a new profile field called Video Card

Go to where u modify them and right click on it and copy the shortcut paste it somewhere look at the end of it ull see a number like 5

Go edit the template postbit
and place

$post[fieldX]

where u want to place it

X= the number u see at the end of the url

Bad Bunny 09-11-2002 05:49 AM

Sweeet. I had actually wondered about this for awhile...but never got around to asking, as I wanted to see if anyone asked it first.

I mean, I figured someone else HAD to have thought of this before. :)

Darkwaltz4 11-08-2002 01:07 AM

wow, thanks black, i was just recently wondering what variable my profile field was stored to, so i may display it in the postbit..


All times are GMT. The time now is 07:52 AM.

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.01751 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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