Quote:
Originally Posted by berben4
I just purchased the pro+, it seems like a great product but I too have the photopost issue with the chat links. Please post the mods to the template so the others and I may make the necessary changes. Thank you.
|
Certainly. In your AdminCP, click over to
Styles & Templates ->
Style Manager. Expand the Default Style (or the master style you're using). and double-click
addonchat_nav_link. Delete all of the code in this template, and replace with:
Code:
<if condition="$addonchat[enabled]">
<if condition="$show['popups']">
<td id="addonchat" class="vbmenu_control"><a href="$addonchat[forum_url]/addonchat.php$session[sessionurl]" accesskey="addonchat">$vbphrase[addonchat_nav_link_title] $addonchat[user_count_bracket]</a> <script type="text/javascript"> vbmenu_register("addonchat"); </script>
<!-- addonchat menu -->
<div class="vbmenu_popup" id="addonchat_menu" style="display:none" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[addonchat_nav_link_title]</td></tr>
<if condition="$addonchat[vb_enable_embed]">
<tr><td class="vbmenu_option"><a href="$addonchat[forum_url]/addonchat.php$session[sessionurl]">$vbphrase[addonchat_enter]</a></td></tr>
</if>
<if condition="$addonchat[vb_enable_popup]">
<tr><td class="vbmenu_option"><a href="#"
onClick="window.open('addonchat.php?$session[sessionurl]do=popup', 'addonchat',
'width=$addonchat[width_float],height=$addonchat[height_float],statusbar=no,scrollbars=no,toolbar=no,menubar=no,resizable=yes');
return false">$vbphrase[addonchat_enter_float]</a></td></tr>
</if>
<if condition="$addonchat[vb_enable_whos_chatting]">
<tr><td class="thead">$addonchat[user_count] $vbphrase[addonchat_nav_users_in_room]</td></tr>
<tr><td class="vbmenu_option"><a href="$addonchat[forum_url]/addonchat_who.php$session[sessionurl]">$vbphrase[addonchat_whos_chatting]</a></td></tr>
</if>
</table>
</div>
<!-- / addonchat menu -->
</td>
<else />
<if condition="$addonchat[vb_enable_embed]">
<td class="vbmenu_control"><a href="$addonchat[forum_url]/addonchat.php$session[sessionurl]">$vbphrase[addonchat_nav_link_title] $addonchat[user_count_bracket]</a></td>
</if>
</if>
</if>
This code requires that the Forum URL setting in the AddonChat account information section of your Admin Control Panel is correct.