The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
postpit date
hi
i need to change the postpit mounths names right now its like that: "Registered: Aug 2002" lets say that i want to show it in arabic.. how can i change the mounths name? cuase i couldnt find any mounths name in any php file or template thanks |
#2
|
||||
|
||||
It should be in admin/fuctions.php in a function called vbdate(); if I'm correct. It definatly should be that file though.
|
#3
|
|||
|
|||
ok but i still dont know where can i change the values!! i dont wanna show Aug in english.. how can i change it??
notice: i know some php commands |
#4
|
|||
|
|||
<a href="http://www.vbulletin.com/forum/showthread.php?s=&threadid=46314" target="_blank">http://www.vbulletin.com/forum/showt...threadid=46314</a>
its actually set in the php locale settings read that thread for more info |
#5
|
|||
|
|||
ok ppn
ive type the following in the 3 global.php file: <?php setlocale (LC_ALL, 'ar_AR'); error_reporting(7); .... it should change Aug to arabic.. but its not. why not???? |
#6
|
|||
|
|||
helloooooo im waiting..
|
#7
|
|||
|
|||
Don't be so impatient.
I just know thats the function, I'm not too sure on the value though. |
#8
|
|||
|
|||
hey look ive tried:
setlocale (LC_ALL, 'ar_AR'); and setlocale (LC_ALL, 'ar_KW'); non of them works!!! do anybody know why? |
#9
|
|||
|
|||
yes the date() function is regular php coding... if you'd like some faster answers why don't you go read the php.net/manual/en/ go check out the date function there regards...
g-force2k2 |
#10
|
|||
|
|||
In the thread i posted it shows a function which is used to set the locale of the script. The thing is the server has to have the locale settings available.
Ask your host which ones are installed. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|