DobePhat wrote:
Wow thanks for that! Do you place in a custom block then modify a template or creat a new template file for it with the theme?
No, it's made as a real block. Put the php file in a folder called "blocks" and name it inchat.php. Put the template file in the template/blocks/ folder (If I remeber you have to create the blocks folder inside templates) and name it "inchat.html".
Then add the follwing to the xoops_version file:
Quote:
// blocks
$modversion['blocks'][1]['file'] = "inchat.php";
$modversion['blocks'][1]['name'] = "Who's in chat";
$modversion['blocks'][1]['description'] = "Shows Article menu";
$modversion['blocks'][1]['show_func'] = "b_inchat_show";
$modversion['blocks'][1]['template'] = 'inchat.html';
Reload the module and you should be fine.
As for the install, I just did it the way the instructions say to. I haven't made it so the SQL is installed by the xoops_version yet. Didn't see a point since I can't distribute the chat to anyone. Sorry.