The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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 . "')"); |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|