Quote:
Originally Posted by VBDev
Lol I forgot a step
Create a template called mgc_cb_evo_page, and in the content copy the content of the GENERIC_SHELL template and remove the things you don't need like navbar and so on.
|
That's great!
I am trying to set this up with a button on my homepage. Whilst it does actually launch, it doesn't open that cool little window, it opens a full page tab. Please could you tell me if this code is all I need to paste? BTW - the window launches perfectly from the actual chat box.
Code:
<if condition="is_member_of($vbulletin->userinfo, 6,7,5,73)">
<div align="center">
<if condition="$vbulletin->options[mgc_cb_evo_fullmode_active] && THIS_SCRIPT != 'mgc_cb_evo'">
<if condition="$vbulletin->options[mgc_cb_evo_fullmode_link_topopup]">
<a href="mgc_cb_evo.php?$session[sessionurl]do=view_chatbox" target="_blank"><img src="images/buttons/staff-chat.gif" width="160" height="33" border="0" onclick="return open_chatbox_window();"/></a>
<else />
<a href="mgc_cb_evo.php?$session[sessionurl]do=view_chatbox" target="_top"><img src="images/buttons/staff-chat.gif" width="160" height="33" border="0" onclick="return open_chatbox_window();"/></a>
</if><br />
</if></if>
...because I have tried it and just get the full tabbed window every time
Thank you.