Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:22 pm EST

Geeklog Forums

Chatterblock 3.0 Released


Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
This is a major new release and a complete re-write. Chatterblock is now a true GL Plugin with user defined settings. It supports three modes, smilies, Chatterlog and online configuration. Includes Auto-Refresh mode to have the block refresh itself and alert you via a popup if there is a new public or private message.

The three operating modes are:

  1. Static: the original look with a fixed number of posts
  2. Smooth Scroller: View messages with a scroller to easily display more messages. Number of messages determined by the number of hours of history set.
  3. iframe - auto refresh mode: This mode allows the block to operate independent and refresh automatically without requiring a main page refresh.

Users can set the refresh interval and amount of history to show. Users will see a highlighted message at top of the Message window to indicate number of private messages. Using the iframe mode with popup alerts enabled and private messages enables a basic instant messaging on your site.

All of the these features can be configured online and disabled if the site admin so desires. If enabled, users can set their own preferences including operating mode, pop-ups and amount of history to view.

Another major new feature is the Chatterlog that allows you to page thru all the chatter history and even edit your last message. Site admins will use Chatterlog to manage the messages including bulk select of messages to archive or delete them.

Many new features and changes are detailed in the install document.

The archive may be downloaded from my site www.langfamily.ca or www.squatty.com or from the My Downloads section on this site.

Enjoy,
Blaine

 Quote

Status: offline

isol8

Forum User
Regular Poster
Registered: 05/14/02
Posts: 73
Nice work as usual Blaine.
 Quote

Status: offline

T1Pimp

Forum User
Junior
Registered: 08/20/02
Posts: 27
Looks awesome. I tried posting this on your site but it kept timing out, so I'll try here. I found 2 things. 1) When I click on the chatterlog link I get the following error "Fatal error: Cannot redeclare cb_usesmiliecode() (previously declared in G:\WebSites\Huggybeer3\public_html\chatterblock\include\cb_functions.php:25) in G:\WebSites\Huggybeer3\public_html\chatterblock\include\cb_functions.php on line 25" 2) If you browse to the site and it doesn't have the index.php (ie, it defaults and you don't see the http://www.mysite.com/index.php but http://www.mysite.com/ instead, it won't post. The site comes back with http://www.mysite.com/? and it just shoots craps. Wonderful job so far tho! It looks gorgeous!---Paul 'T1Pimp' http://www.Huggybeer.com - Embrace your inner geek
Paul 'T1Pimp'
http://www.Huggybeer.com - Geek news with attitude
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
Thanks Paul,

Looks like you found the same two issues that were also reported on squatty's site. Good news both were quick fixes. There was a lot of testing done by myself and other but a few conditions slipped by all of us

  1. When the Block was on the Left and you accessed the chatterlog. The chatterlog and the block were now both visible and common code was being called twice.

    • Fix is line 172 in plugins/chatterblock/functions.inc should be:
      include_once($_CONF['path_html'] . "/chatterblock/include/cb_functions.php");

  2. Posting a message when outside of common GL Code - such as a Staticpage up or inside your integrated gallery code.
    • The fix is a change to line 85 in public_html/chatterblock/cb_main.php
      $loc = $_CONF['site_url'] . "/index.php?";

      Or setting $loc="#"; also works but I am not sure of the issues in use the # symbol and cross browser support.
Both fixes are described and fixes on Squatty's site or download the updated version from my site again.

Blaine

 Quote

Anonymous

Anonymous
What should the files be chmoded to? Right now I have them chmoded to 777, but I keep getting an error message that pops up. Also, is there a way for the IP address to only be displayed to the Admin?
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
The Plugin files only need read access and should be owned by the webserver process which is no different then other Geeklog files. The only directory and file that needs write access is the cache/cb_config.php file described in the install_doc Section 3 Step 1.3

It will help to include the actuall error message

Presently there is now way to just have IP addresses on for but it's easy to modify cb_chatLog.php to allow this. Look for the check for the track_ip option to be enabled = true

  • if ($cb_siteconfig['track_ip'])

    And add the additional check to see if they may be admin
  • if (($cb_siteconfig['track_ip']) || (SEC_inGroup("Root"))

    Should work fine. There are three lines to change.

    Blaine

  •  Quote

    Anonymous

    Anonymous
    Very nice, thank you!
     Quote

    Status: offline

    thedude

    Forum User
    Regular Poster
    Registered: 12/28/02
    Posts: 90
    Blaine. Pardon my ignorance with coding but I'm not sure where exactly to add the line you suggested. Where exactly should I add? " if (($cb_siteconfig['track_ip']) || (SEC_inGroup("Root"Wink) " Please advise. Thanks. // Header table for log display $display .= '<td class="cb_logtitle" align="center" width="10%"><a href="' .$PHP_SELF. '?mode=' .$mode. '&sortorder=date&oldestfirst=' .$oldestfirst. '">' .$cb_lang['logtitle2']. '</a></td>'; $display .= '<td class="cb_logtitle" align="left" width="8%">' .$cb_lang['logtitle3']. '</td>'; $display .= '<td class="cb_logtitle" align="left" width="8%"><a href="' .$PHP_SELF. '?mode=' .$mode. '&sortorder=user&oldestfirst=' .$oldestfirst. '">' .$cb_lang['logtitle4']. '</a></td>'; if ($cb_siteconfig['track_ip']) { $display .= '<td class="cb_logtitle" align="left" width="8%">' .$cb_lang['logtitle5']. '</td>'; } $display .= '<td class="cb_logtitle" align="left" width="30%">' .$cb_lang['logtitle6']. '</td>'; $logdisplay .= '</tr></table>';
     Quote

    Status: offline

    thedude

    Forum User
    Regular Poster
    Registered: 12/28/02
    Posts: 90
    For some reason, I'm also having difficulty changing the settings so that anonymous won't be able to post. I changed the settings via the admin and it gave me this error Warning: fopen("c:/inetpub/wwwroot/chatterblock/cache/cb_config.php", "w"Wink - Permission denied in c:/inetpub/wwwroot/admin/plugins/chatterblock/index.php" on line 78 Warning: fwrite(): supplied argument is not a valid File-Handle resource in c:/inetpub/wwwroot/admin/plugins/chatterblock/index.php on line 95 Warning: fclose(): supplied argument is not a valid File-Handle resource in c:/inetpub/wwwroot/admin/plugins/chatterblock/index.php on line 96 I have checked the right to those directories and file and it's not a problem. So I tried to change the index.php manually and it's not taking it. Not sure where else to go. Any suggestions? Thanks ...
     Quote

    Status: offline

    bcbrock

    Forum User
    Chatty
    Registered: 02/04/03
    Posts: 64
    I love everything about Chatterblock! Thanks, Blaine for the excellent work! I would like to ask about 1 possible enhancement for any future releases - - - Would it be possible to automate the posted messages into the archive, with an administrative option for every so many hours? Thanks Again!
    ~Brian
     Quote

    All times are EST. The time is now 10:22 pm.

    • Normal Topic
    • Sticky Topic
    • Locked Topic
    • New Post
    • Sticky Topic W/ New Post
    • Locked Topic W/ New Post
    •  View Anonymous Posts
    •  Able to post
    •  Filtered HTML Allowed
    •  Censored Content