Login     Sign up
[Free Module]Shoutbox
Mohammad Emran (@monemran)
Join date: Sep 15th 2010
Community posts: 28
View Profile
Send Message

I have written a module name shoutbox.Let me know how it works.

You can download the module from [url]http://www.howtonix.com/wp-content/uploads/2010/09/shoutbox.zip[/url]

How to Setup:

  1. Download the Modules shoutbox.

  2. Copy and paste the modules to the directory modules/shoutbox

  3. Go to Admin CP and Install shoubox module

  4. Then edit dashboard script from modules/dashboard.php and put the following code in the index() function

    [code]
    //after this code
    block(
    friends_birthday()
    );

    //Add this Code

    include_once ‘modules/shoutbox/shoutbox.php’;

    $sb=new shoutbox();
    block(
    $sb->shout_box()
    );
    [/code]

The complete tutorial you can find [url]http://www.howtonix.com/shoutbox-module-jcow/[/url]

185 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

Nice 1 mate thanks

185 months ago
adil (@adil)
Join date: May 9th 2010
Community posts: 202
View Profile
Send Message

it is nice ... but how can I make it at every page under the left menu ... I tried to paste the code there but failed

185 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

Hi... Nice modules.

I install modules and past in the code, but i get wite dashboard. It's fail...

Have someone this fail to??

Sorry for my bad english i'm swedish.

185 months ago
adil (@adil)
Join date: May 9th 2010
Community posts: 202
View Profile
Send Message

I've changed the include root to be like this

[code]
include_once (‘public_html/modules/shoutbox/shoutbox.php’);

$sb=new shoutbox();
block(
$sb->shout_box()
);
[/code]

and it works

Adil

185 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

It's fail, but i can try to rebuild this in weekend. Thanks :) for help..

185 months ago
adil (@adil)
Join date: May 9th 2010
Community posts: 202
View Profile
Send Message

try full path like

/home2/www/yoursite/public_html/....

got it!!!

185 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

[quote=zapto]Hi... Nice modules.

I install modules and past in the code, but i get wite dashboard. It's fail...

Have someone this fail to??

Sorry for my bad english i'm swedish. [/quote]

Don't copy and paste write it in that fixed for me..

185 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

[quote=switch48]

Don't copy and paste write it in that fixed for me.. [/quote]

Thanks but it's fail....

185 months ago
emjhie Bahrink (@emjhie)
Join date: Sep 27th 2010
Community posts: 91
View Profile
Send Message

i have an error if go to Dashboard

Parse error: syntax error, unexpected '&' in /home/bulkumc1/public_html/modules/dashboard/dashboard.php on line 59

185 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

This line??

$lblocks[] = array('title' => t('Quick share'),'content'=>stream_form($client['id']).'<div style="height:7px"></div>');

or you can have deleted ; in end of

friends_birthday()
        ); 
185 months ago
Zapto (@zapto)
Join date: Sep 15th 2010
Community posts: 103
View Profile
Send Message

Thanks the box work now.

I rewrite the code to this :

include_once ('modules/shoutbox/shoutbox.php');

$sb=new shoutbox();
block(
$sb->shout_box()
);

185 months ago