![]() |
Vbulletin 4.2.2 phrase help
Varname: $vbphrase[login]
Default Text: Thank you for logging in, {1}. Custom Text: Thank you for logging in, $bbuserinfo[username]. ($bbuserinfo[usergroupid]) My custom text does not work anymore after upgrading to vbulletin 4.2.2. Can anyone please help me with this. Cheers, Finalfantasy |
What version did you upgrade from?
|
From vbulletin 4.1.4 to the latest vbulletin version 4.2.2
I know the $bbuserinfo[username] in phrase = {1} but i can't get the $bbuserinfo[usergroupid] working. Cheers, Finalfantasy |
Well i tried almost everything but i can't get the usergroup id to show up when you login.
Example: Thank you for logging in finalfantasy, (6) Number 6 = admin usergroup id. It seems vb4.2.2 phrase doesn't support $bbuserinfo[usergroupid] anymore :( |
You cant edit phrase with {1}
You need to edit file functions_login.php at this line: PHP Code:
|
Quote:
It's fixed now :) Thank you very much sir. I changed to Code:
print_standard_redirect(array('redirect_login', $vbulletin->userinfo['username'], $vbulletin->userinfo['usergroupid']), true, true, $vbulletin->userinfo['languageid']); Code:
Thank you for logging in, {1}. ({2}) Code:
Thank you for loggin in, finalfantasy. (6) |
All times are GMT. The time now is 09:12 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:
|