hi i would like to an able my users add date to they threads
so i write little hack...
if you also wat to join this hack please advanced this 3 step....
first of all i write little script php in hoock
Go to ...
Quote:
Plugins & Products > Plugin Manager > [Add New Plugin] > ....
|
....edit file...
Product:
vBulletin
Hook Location:
newthread_start
Title:
threaddate
Execution Order:
5
Plugin PHP Code:
PHP Code:
ob_start();
echo date ("[j.m.y]");
$threaddate = ob_get_contents();
ob_end_clean();
Plugin is active:
YES
screen shout for fools :
and afterwards
go to:
Styles & Templates > Search in Templates > (write
$subject)
and then edit
newthread template:
place this:
$threaddate
before it:
$subject
NOTE: remember about spaces "value="$threaddate $subject"
screen for you:
That's all folk's
work perfectly
with 3.0.x and 3.6.8
screenshout: