View Full Version : Forum Display Enhancements - Show start date of threads!
aLReeMi
04-14-2007, 10:00 PM
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:
$thread[postusername]
replace with:
<i>Start Date:</i> $started_date[threadid] - <i>By:</i> $thread[postusername]
-- you will do that two times!
done!
Smoothie
04-15-2007, 03:35 PM
This has already been done twice. :)
aLReeMi
04-15-2007, 03:48 PM
no problem friend :)
I just want to share what I did cause I needed smething like that but I couldn't find
Smoothie
04-15-2007, 04:56 PM
no problem friend :)
I just want to share what I did cause I needed smething like that but I couldn't findOK. just wanted you to know there are 2 such mods I know of right here.
Andyucs
04-15-2007, 05:01 PM
Installed nice 1
sensimilla
04-15-2007, 06:18 PM
This has already been done twice. :)
One of them doesnt require file editing from what I know.
Gryphon
04-15-2007, 10:38 PM
This has already been done twice. :)
Why people make such comments :rolleyes:
Dream
04-15-2007, 10:53 PM
This is interesting, does it add a query to forumdisplay.php?
Smoothie
04-15-2007, 11:31 PM
Why people make such comments :rolleyes:What's it to you?
aLReeMi
04-16-2007, 08:02 AM
One of them doesnt require file editing from what I know.
but the problem is some people may change the place of thread starter and if I made it without edting it may cause a problem!
This is interesting, does it add a query to forumdisplay.php?
it adds a query to threadbit_display
Gryphon
04-16-2007, 03:16 PM
What's it to you?
It's as much to me as your comment is to the mod. Different authors, different code, anyone has the right to make the 100th similar addon if they wish.
Smoothie
04-17-2007, 02:31 AM
It's as much to me as your comment is to the mod. Different authors, different code, anyone has the right to make the 100th similar addon if they wish.And I have the right to say it's been done before. Don't like it, don't read it.
rjmjr69
04-17-2007, 04:01 AM
Stop being a trouble maker and move on
Paul M
04-17-2007, 06:47 AM
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.
bela-meaad
04-18-2007, 02:09 PM
i installed it
but that increase the server load
& the page doesn`t open until i uninstall it
any idea?
fastforward
04-18-2007, 03:31 PM
i installed it
but that increase the server load
& the page doesn`t open until i uninstall it
any idea?
Because this plugin adds an extra query for every thread bit. If you have 100 threads showing on forumdisplay, that's 100 extra queries!
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.
sharjah
05-17-2007, 05:55 PM
Because this plugin adds an extra query for every thread bit. If you have 100 threads showing on forumdisplay, that's 100 extra queries!
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.
Hi Fastforward,
Can you please do it in a new thread?
Outbackmark
06-21-2007, 01:25 PM
Works well for me many thanks!!
Silvio
06-30-2007, 11:51 PM
Because this plugin adds an extra query for every thread bit. If you have 100 threads showing on forumdisplay, that's 100 extra queries!
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.
humm now I do understand why my pages slowed so down. :erm: is there another way to do this without that uge ammount of queries? my forumdisplay has 25 threads and it stops >7/8 seconds b4 giving results. I wont imagine a 100 threads forumdisplay lol
Neutral Singh
07-08-2007, 01:45 PM
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?
jimraynor
10-13-2007, 01:52 PM
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.
i cant find my templates to threadbit_display. My threadbit is:
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.
fastforward
10-15-2007, 10:54 PM
i cant find my templates to threadbit_display. My threadbit is:
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.
threadbit_display is the plugin hook. The template is threadbit
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]
Todecay
12-03-2007, 08:50 PM
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!
josef1
12-15-2007, 04:09 PM
it slow the load of the threads page
i uninstall it as it slow my vb
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.