![]() |
[SOLVED] Add New Column On ForumDisplay Template
1 Attachment(s)
How i can add a new column On ForumDisplay Template , i have already add new filed on thread table [database] and i will show data of filed on this new column ...
I tried edit FORUMDISPLAY,threadbit .. but did not succeed in altering them :erm: Any Help ??! :rolleyes: https://vborg.vbsupport.ru/attachmen...1&d=1478366075 |
1 Attachment(s)
Threadbit Template
Find Code:
<!-- threadstats --> Edit Code:
<ul class="threadstats td alt"> Forumdisplay Template Find Code:
<vb:if condition="$show['search_engine']"> Edit Code:
<vb:if condition="$show['search_engine']"> Additional.css Code:
.threadlisthead span.threadinfo { Results See attachment . |
1 Attachment(s)
Seven Skins
thanks a lot brother , it is very good now but i have a very small problem , i want change background color .. i want it like lastpost column https://vborg.vbsupport.ru/attachmen...1&d=1478453816 |
okay i edit it
Code:
<ul class="threadstats td alt"> Code:
<ul class="threadstats td"> |
Those templates will only create the space for the info to go into.
If you're wanting to fetch a custom column you'll need a plugin or to manually edit forumdisplay.php to include your column in the threads query (~ line 947) and then register it for use in threadbit (~ line 1120). |
Quote:
|
Quote:
Code:
{vb:raw thread.city} Code:
{vb:raw threadinfo.city} |
All times are GMT. The time now is 01:10 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:
|