Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Nov 2016, 17:12
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Real name: omar
Cool Add New Column On ForumDisplay Template

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
Any Help ??!

Attached Images
File Type: jpg Untittytled.jpg (57.3 KB, 52 views)
__________________
7-secret

Last edited by omardealo; 05 Nov 2016 at 21:44.
Reply With Quote
  #2  
Old 06 Nov 2016, 14:11
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Threadbit Template

Find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Edit

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




Forumdisplay Template

Find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Edit

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Additional.css

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Results See attachment



.
Attached Images
File Type: jpg 001375.jpg (64.7 KB, 20 views)
Reply With Quote
  #3  
Old 06 Nov 2016, 16:37
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Real name: omar
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

Attached Images
File Type: jpg Untxcxczxitled.jpg (55.4 KB, 45 views)
__________________
7-secret
Reply With Quote
  #4  
Old 06 Nov 2016, 16:54
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Real name: omar
okay i edit it

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

TO
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

thanks again bro
__________________
7-secret
Reply With Quote
  #5  
Old 07 Nov 2016, 02:53
grey_goose grey_goose is offline
 
Join Date: Jun 2009
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).
Reply With Quote
  #6  
Old 07 Nov 2016, 03:17
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by grey_goose View Post
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).
I've merged the two duplicate threads, so that all posts pertaining to this issue are in the same thread.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 07 Nov 2016, 11:56
omardealo's Avatar
omardealo omardealo is offline
 
Join Date: Nov 2008
Real name: omar
Originally Posted by grey_goose View Post
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).
how i can register it by a plugin , i try to fetch the filed data but it not worked

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but in another plugin it is works good

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
7-secret
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:20.

Layout Options | Width: Wide Color: