The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hello,
How to get the $languageid in the blog_fpdata_postsave hook ? i try $languageid or $vbulletin->userinfo['languageid'] without any succes ![]() this is the hook i try to do : If ($vbulletin->userinfo['languageid'] == 2) { $currentlanguage="fra"; } else If ($vbulletin->userinfo['languageid'] == 3) { $currentlanguage="rus"; } else { $currentlanguage="usa"; } $this->dbobject->query_write("INSERT INTO VB_BLOG_LANGUAGE(blogid,language) values (". $blogid .",'". $currentlanguage . "')"); |
![]() |
|
|