The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
What version did you upgrade from?
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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
|
|
#5
|
||||
|
||||
|
You cant edit phrase with {1}
You need to edit file functions_login.php at this line: PHP Code:
|
|
#6
|
|||
|
|||
|
Quote:
It's fixed now Thank you very much sir. I changed toCode:
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) |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|