vBulletin Modifications

how to display post dates on forumhome?

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 10-15-2006, 06:09 PM   #1
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default how to display post dates on forumhome?

I have a hack which shows threads from a certain forum on the forumhome template, but what i would like to do is add another column with the date the post was made.... is there a way i could do this?

There is already a template, so i just need to figure out how to get the date for the post that was made.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10-15-2006, 06:15 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

well you need to make sure the query pulls the date out of the db and then run it through the
Quote:
vbdate($vbulletin->options['timeformat'], $post['dateline']);
&
Quote:
vbdate($vbulletin->options['dateformat'], $post['dateline'], true);




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-15-2006, 09:12 PM   #3
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

ok so that code displays the actual date.

how do i go about pulling it from the database for the proper post.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2006, 05:38 AM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

well it probably pulls all the info out but without knowing what the mod is I can't help you with the variables.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2006, 02:45 PM   #5
Coder
Join Date: Jun 2004
Location: Attic
xfile is on a distinguished road

Default

http://www.vbulletin.org/forum/showthread.php?t=111949

This hack modifies that second line so it indicates when the thread was started, in addition to the name of the member who started it.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2006, 02:58 PM   #6
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

He said forumhome not forumdisplay, that's a totally different hack mate.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-18-2006, 03:56 AM   #7
Coder
BigJohnny's Avatar
Join Date: Jul 2006
BigJohnny is on a distinguished road

Default

actually that might work better than using just the post date.
ill look into that thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Last Post column on FORUMHOME wordup General vBulletin Support 15 08-31-2006 03:12 PM
Post inside a post - using IFRAME (BBCode) Dan2k3k4 vBulletin Modification Requests 12 06-23-2006 06:26 PM
THIS post count display? stu-j General vBulletin Support 3 05-08-2006 04:55 PM
ForumHome (Forum display) Shawn vBulletin Modification Requests 1 03-31-2006 02:44 AM
When presing NEW POSTS, make some new post in some forums dont be display el zurdo vBulletin Modification Requests 6 02-19-2006 07:41 PM


All times are GMT -3. The time now is 07:08 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)