![]() |
How to get the $languageid in the blog_fpdata_postsave hook ?
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 . "')"); |
All times are GMT. The time now is 11:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|