![]() |
In Postbit legacy need toshow extra field
Hi,
I need to add extra field in post bit.Let me describe, i have a customized field name 'user_status' in vb_socialgroupmember. i need to show that field value in post bit . so i need userid whose post is showing, as a sql parameter and may be this code need to write in loop from where other userinfo is retrieving for post bit. i didn't find code, where i have to write sql for retrieving that field data.Please help. Thanks in advance |
Look in showthread.php - you can hook into the query that fetches user info, and add a join.
|
Thanks, walking through your problem helped me find the solution to mine. I was using,
HTML Code:
<if condition="$post[userid] == 'Administrator'"> HTML Code:
<if condition="$post[userid] == 1"> Thanks again |
Quote:
|
Did you look at the showthread.php page? There is a nice big query around line 1000 (or so, my file is edited) where the posts and all the information about the posts (including the user info) is gathered. There is a hook right above there.
|
Thankx . hope it will work
|
All times are GMT. The time now is 11:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|