The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Display the date of creation of threads Details »» | |||||||||||||||||||||||||||
Display the date of creation of threads
Developer Last Online: Nov 2023
This mod displays the date of creation of threads. This appears near the original poster on showthread.php and on search.php in "Show Theads" search method.
Only 3 plugins, 1 for each location and 1 for edit the template cache for apply the content found on previous plugins. Enjoy PS: this is the version 1.0.1, the 1.0.0 version applied only on showthread.php Show Your Support
|
Comments |
#22
|
|||
|
|||
I installed it.
I Changed this line in the xml code.. <dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.99" /> and from 3.6.99 I did it 3.7.99 and it was installed |
#23
|
||||
|
||||
thanks!
|
#24
|
||||
|
||||
Has anyone installed this on 3.8.2?
Does anyone know any reason why it wouldn't work on 3.8.2? |
#25
|
||||
|
||||
I just installed it on 3.8.2 and it works fine, just change the dependancy settings in the xml file to look like this -
Quote:
|
#26
|
||||
|
||||
Thanks so much, Outbackmark.
I really appreciate it! |
#27
|
|||
|
|||
This is what my xml says:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <product productid="igusto_threaddate" active="1"> <title>Thread Date Insert</title> <description>Insert thread dates into threadbit templates</description> <version>1.0</version> <url /> <versioncheckurl /> <dependencies> </dependencies> <codes> </codes> <templates> </templates> <plugins> <plugin active="1" executionorder="5"> <title>insert thread date into template</title> <hookname>global_start</hookname> <phpcode><![CDATA[if (THIS_SCRIPT == ('search' || 'forumdisplay')) { $vbulletin->templatecache['threadbit'] = str_replace( '$thread[postusername]</span>', '$thread[postusername]</span> <span class=\"time\">($thread[threaddate])</span>', $vbulletin->templatecache['threadbit'] ); }]]></phpcode> </plugin> <plugin active="1" executionorder="5"> <title>fix thread dates</title> <hookname>threadbit_process</hookname> <phpcode><![CDATA[if ($thread['dateline']) { $thread['threaddate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline'], 1); }]]></phpcode> </plugin> </plugins> <phrases> </phrases> <options> </options> <helptopics> </helptopics> <cronentries> </cronentries> <faqentries> </faqentries> </product> 1. Threadbit_Process - Code:
if ($thread['dateline']) { $thread['threaddate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline'], 1); } Code:
if (THIS_SCRIPT == ('search' || 'forumdisplay')) { $vbulletin->templatecache['threadbit'] = str_replace( '$thread[postusername]</span>', '$thread[postusername]</span> <span class=\"time\">($thread[threaddate])</span>', $vbulletin->templatecache['threadbit'] ); } Product : Thread Date Insert fix thread dates - threadbit_process insert thread date into template - global_start Maybe this will help others if the other way mentioned doesn't help? I am sure this mod has been modified to be able to be used by the latest version of VB 3.8.2 by my upgrade that does this for me but not 100% sure. |
#28
|
||||
|
||||
Noob question. Do I enter the entire code below in the box that asks for the PHP code for the plugin, or just the PHP portion of it?
I'm at the "Add New Plugin" in my ACP. I looked through this code and it looks like the Hook Location is: parse_templates But in the Plugin PHP Code it seems like it's asking strictly for PHP code and not xml, which is what what was provided in the download. So do I just pick out the PHP code from this and enter it there, or should I just enter the whole thing? Quote:
|
#29
|
||||
|
||||
My apologies again for the noob question, but do I need to enter just the PHP code here or do I enter the entire xml? (See post above.)
|
#30
|
||||
|
||||
Anybody here able to explain how to do this plugin?
|
#31
|
||||
|
||||
Wow, nobody willing to help?
I see a lot of activity in this forum but my simple request for help keeps getting ignored. I got an email notice this morning about not forgetting to check off the install button. Just because I downloaded doesn't mean I've installed. And if I can't get help here in installing this simple plugin I can't mark this as installed. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|