If you want to put your chat box in main page on Vba You should follow these:
1) Go to [B]ACP/MGC Chatbox Evo/Display And Position[/B]
Find
these options
[B]Position of the chatbox on the forum home
(forumhome)
Position of the chatbox in the forums (forumdisplay)
Position
of the chatbox in the threads[/B]
Make them: [B]Do Not Display
[/B]
Find
[B]Display the chatbox on defined pages in a
variable[/B]
and select [B]Yes[/B]
[B]List of the pages to
exclude[/B]
And put this in text area : [B]adv_index[/B] ( in CMPS
Version 4.0.1 put this : adv_portal )
Then find [B][vB4.X.X] List of the
templates where the global var is used[/B] and put this into text area :
[B]adv_portal_shout[/B]
[B]Save this setting[/B]
2) Go to
[B]ACP/vBa CMPS/Add Module[/B]
Select [B][Template Module][/B]
Fill title
field what ever you want
in [B]Template to include[/B] type shout ( [I]you
will see this then : adv_portal_[B]shout(you fill this)[/B][/I]
[B]Select
your desired template[/B]
And Paste this [B]{vb:raw mgc_cb_evo_var}[/B] to
the [B]Template Content[/B]
Set [B]Use Module Wrapper Template to
“No”[/B]
Set your desired Permissions and Save it. Then add this module
to your desired page, which i have added to home page.
I found that after doing all this the chatbox alignment is lower than the other 2 side modules, so to fix this issue you need to edit the chatbox css template.
Go in your vbulletin css templates and find: mgc_cb_evo.css and then find:
[PHP].mgc_cb_evo_block {
margin-top:1em;[/PHP]
and replace
[PHP]margin-top:1em;[/PHP]
with :
[PHP]margin-top:0px;[/PHP]