The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
vB did not load Language properly
I build an own solutuion for a User sharing between vB and an own Portal-System with its own User-Database.
No we changed the File class_core.php, so that the class vB_Session looks for special Cookies and checks the Data against the vB Database. If a user is found the System sets via Datamanager the new Data oder a new User is created. Then I set the Sessions, but everytime the first load of the Site it seems that no language is found if a user is logged in. During Logout the first time the User-Data is present. Everytime after the second load everything is OK. Here my Code after the Userdata loading from the API. If I did nout a User or the Datamanager cant't create e New one, the ID is -1 and a new Guest-Session must be started. PHP Code:
--------------- Added [DATE]1254213501[/DATE] at [TIME]1254213501[/TIME] --------------- Whow, I solved the Problem. The Issue was, that the function verify_id sets a Variable in $vbphrase (I have no Idea, why!, and so fetch_userinfo() did not load the Language-Settings. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|