The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi @all..
I hope this is the right section if not please move.. But i have an question.. I try to inlude the last edited by in my own vbpage Its working but for 90% its shows up like this Last edited by Digital : at . Reason: Updated test file the day and time does not show i use this in my template Code:
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase> PHP Code:
Cheerz.. |
#2
|
||||
|
||||
![]()
Only just started poking in the vB code - but to me im just confused over where edit_date and edit_time come from ? your just linking edit_dateline.
I know dates are stored in unix format in the db so when you pull something out you'll need to parse it with the vbdate function these two lines in class_postbit.php leaped out on a grep. Code:
$this->post['postdate'] = vbdate($this->registry->options['dateformat'], $this->post['dateline'], true); $this->post['posttime'] = vbdate($this->registry->options['timeformat'], $this->post['dateline']); |
#3
|
|||
|
|||
![]()
I got this from the Postbit Template
Code:
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase> The hack takes the Last edited by Digital from the threads that someone edit.. so realy dont understand why it now work for 100% Im also just a n00b in this stuff |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|