The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
I want use date() in Plugin
hi
I Want Replases function date() With jdate() but i insert new plugin and i give error Code:
Fatal error: Cannot redeclare date() in D:\xampp\htdocs\vbulletin\global.php(29) : eval()'d code on line 6 hook = global_start Code:
function date($format, $timestamp = TIMENOW, $doyestoday = false, $locale = true, $adjust = true, $gmdate = false, $userinfo = '') { require_once(DIR . '/includes/jalali.php'); global $vbulletin, $calendarinfo, $vbphrase, $serveroffset, $blog, $start, $forum, $thread; return jdate($format ,$timestamp=' ',$none='' ,$time_zone='' ,$tr_num='fa'); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|