Chatbox archives auto-on
2 posters
Page 1 of 1
Chatbox archives auto-on
Is there a way to set the chatbox archives to be on by default?
tdilts- New Member
- Posts : 2
Reputation : 1
Language : English
Re: Chatbox archives auto-on
Depends, how do you use your chatbox? As in where is it, homepage? What forum version? It would be possible just by re-declaring the function Forumotion use which inserts the chatbox.
Something like this:
Something like this:
- Code:
window.insertChatBoxNew = function(chatbox_id, chatbox_url) {
document.getElementById(chatbox_id).innerHTML = "<object data=\"" + chatbox_url + "archives=1\" id=\"frame_chatbox\" scrolling=\"yes\" width=\"100%\" height=\"100%\" type=\"text/html\"></object>";
}
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Chatbox archives auto-on
Thanks for your quick reply! Your help is much appreciated. I am using phpBB3, and it shows up on my portal page and the forum page. I am more interested in getting it to work on the portal page which is where this code is from.
- Code:
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" id="chatbox_container">
<tr>
<td class="row1" valign="top" align="center">
<div id="chatbox_portal" style="height:300px;"></div>
<script type="text/javascript">
insertChatBox('chatbox_portal', '{U_FRAME_CHATBOX}');
</script>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td width="100%"> </td>
<td align="right" width="20">
<img src="http://2img.net/i/fa/resize.gif" onmousedown="javascript:resizeElement(event, 'chatbox_portal');" alt="" style="cursor:se-resize;" />
</td>
</tr>
</table>
tdilts- New Member
- Posts : 2
Reputation : 1
Language : English
Similar topics
» Chatbox archives
» Chatbox auto archives
» Auto Archives
» auto prune different sections into archives.
» Chatbox Archives
» Chatbox auto archives
» Auto Archives
» auto prune different sections into archives.
» Chatbox Archives
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum