![]() |
How do i add a custom postbit automatically?
Say i have a row in the user table called experience. How do i automatically show the number in their field next to their name on every post? like where their post count is?
|
HTML Code:
$post[fieldx] |
Quote:
|
You COULD add it underneath their post count by editing the postbit or postbit_legacy template and adding it underneath this code
HTML Code:
<div> |
so this is what i have:
Code:
<div> |
Do you have a "profilefield 70"? As in, AdminCP > User Profile Fields > User Profile Field Manager, and you have field70 there?
|
oh, ok now how do i make this number be affected by my experience row in the user table of the database?
or is there a better way to automatically change this number? EDIT: i think i figured it out.... is it under the userfield table and then fieldX? correct me if im wrong |
What is the name of the field you added to your user table? You may be able to call it as $post[yourfield]
|
All times are GMT. The time now is 01:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|