![]() |
Show start date of threads!
Hello everybody..
This small add will show start dates of threads on your FORUMDISPLAY..! -- works with vb 3.5 & vb 3.6 ..! 1 plugin 1 template change 1- Import the (plugin) from admincp http://yourforum/admincp/plugin.php?do=files 2- Open threadbit template find: Code:
$thread[postusername] replace with: Code:
<i>Start Date:</i> $started_date[threadid] - <i>By:</i> $thread[postusername] done! |
This has already been done twice. :)
|
no problem friend :)
I just want to share what I did cause I needed smething like that but I couldn't find |
Quote:
|
Installed nice 1
|
Quote:
|
Quote:
|
This is interesting, does it add a query to forumdisplay.php?
|
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Stop being a trouble maker and move on
|
Honestly, is this a forum, not a schoolyard.
There is no rule against people releasing another modification that does the same thing as previous mods, as long as code is not copied - there are many examples of this on vb.org. There is no need to comment about it. No more please. |
i installed it
but that increase the server load & the page doesn`t open until i uninstall it any idea? |
Quote:
This can be done easily without queries. the threadbit_display hook already has access to $thread['dateline']. Just run it through vbdate and assign it to a template variable. |
Quote:
Can you please do it in a new thread? |
Works well for me many thanks!!
|
Quote:
|
How can we extend this functionality on other pages like newposts, search.php? Currently this only extends to thread_display plugin.
|
Hi. It works perfect in IE but not in FireFox...
In FF it shows "By" but it´s not showing "Start Date": Start Date: - By: Fulano Any idea? |
Quote:
threadbit threadbit_announcement threadbit_deleted threadbit_lastvisit threadbit_pagelink where is the threadbit_display? Can you show me this. i use 3.6.8 version. |
Quote:
1) Create a plugin against the threadbit_display hook containing the following code: $thread['fdate'] = date('M nS, Y', $thread['dateline']); 2) Add the text to the threadbit template in the appropriate place. Something like: Started by $thread[postusername] on $thread[fdate] |
Tnx m8 for the mod but to be honest this is way to much serverload for us so this isn't an option.
So I added some lines in 1 file and added the $ in threadbit and done ;) But tnx again :D Best, Todecay! |
it slow the load of the threads page
i uninstall it as it slow my vb |
All times are GMT. The time now is 05:04 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:
|