After hunting all over my wiped hard disk and the web I found that Smiletags is a dead project. But I would like to try and update it to work on 4.7. Does anyone have a copy of the module they can send me?

TIA

Comments

carlmcdade’s picture

Well after searching and searching I finally managed to piece together everything. If anyone else needs this they can find it here. It really is a nice little ajax chat module.

http://www.hiveminds.co.uk/node/735

I have tested it on Drupal 4.7.1 PHP5 and it works fine. I have also put together the Joomla,Wordpress and Serendipy versions along with the original. I will post them up tomorrow.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders

joshua_cohen’s picture

First, thank you for taking the effort to get this up and running. I followed the installation instructions as noted in the install.htm, however when I tried to enable the block it failed trying to locate the smiletag-block.php file. It looks to be a simple path error, and I was able to resolve it by changing the smiletag.module from

require_once $smiletag_dir.'smiletag-block.php';

to

require_once $smiletag_dir.'/smiletag/smiletag-block.php';

Thanks again,

Josh

joshua_cohen’s picture

It's working perfect on 4.7.3

Josh

carlmcdade’s picture

We were also having problems with the paths. Our solution was slighty different so I think that setting the path in as a admin setting will be necessary.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders

carlmcdade’s picture

There should be a 2.4 version of SmileTAG coming in the next few days. It will be based my work on from last week in getting smileTAG i18n ready and extending a couple of Admin Panel features. It will ship with English and Swedish. Afterwards I would appreciate copies of translations into other languages.

There is also some javascript UI additions to the Drupal module that I will leave in. There is no need to have a PO file for the Drupal module since the text is very simple and there is very little of it.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders
Try the Drupal 5.0 Demo

eddanx’s picture

I'd love to have SmileTAG integrated with drupal 4.7.4 in an easy way. I've tried the shoutbox.module but didn't like it. I've previously used SmileTAG and it's excellent. Too bad the project is dead.

Kepp up the good work, Mr. Hiveminds!

carlmcdade’s picture

The smiletag for 4.6 works fine in 4.7. We have been using on our test site for weeks. I just never go around to making a seperate download specifically named "4.7". Now I have done that.

http://www.hiveminds.co.uk/node/3173

This is based on smiletag 2.3. The 2.4 version has been delayed because of unicode problems. I just found that it was a server problem and not a code problem. So I will package it up this weekend.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders
Try the Drupal 5.0 Demo

eddanx’s picture

Any updates on the version based on 2.4? Would like to wait for the 2.4 version before installing :)

carlmcdade’s picture

I am not quite ready to release a beta but I will send a copy to anyon that wants what I have on my hard drive. It is working and tested on 4.7.4 but it is not as clean as it could be codewise.

It looks like this http://test.d4d.se

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders
Try the Drupal 5.0 Demo

joshua_cohen’s picture

Have you had a chance to try porting this module to 5.0 yet?

Josh

carlmcdade’s picture

Nope, I am always 6 months or a year behind the latest core release. I am now updating some modules to 4.7 but have not even thought about doing 5.0 changes.

BTW, Smiletag 2.4 (freestanding version) is available publically. I will get around to packaging the Drupal 4.7 module in the next few days.

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders
Questions? Try the CMS Demo Matrix

joshua_cohen’s picture

Ok thanks. Maybe I'll take a look at the module and see if I can get it ported. I've just moved over my development site to 5.0 and there's no turning back now! 5.0 is a world of difference from the 4.x series, in a good way.

Thanks,

Josh

jacauc’s picture

I'm also interested in a D5.0 module. Thus, subscribing to this thread. :P

sus’s picture

Same here - Would love to see a module for 5

sus’s picture

I have Smiletag working on 5.1 - Did the following..

1. Write a module info file (required for all 5.1 modules)

nfs320:modules/smiletag# nano smiletag.info

; $Id$
name = Smiletag
description = Ajax powered shoutbox.

(Hit ctrl + x then enter to save)

2. move files to base module dir (move files from modules/smiletag/smiletag to modules/smiletag)

nfs320:modules/smiletag# cp -r smiletag/* ../smiletag

nfs320:modules/smiletag# rm -rf smiletag

nfs320:modules/smiletag#  ls

admin
backend.php
config
data
documentation
images
info.txt
INSTALL.html
lib
post.php
sample.html
smiletag-block.php
smiletag.info
smiletag.module
smiletag-script.js
smiletag-style.css
template.html
view.php

3. Enable the block

4. When a anonymous user loads the block they will get a php error. Fix this by commenting line 55 in smiletag.module. This will show a blank page when anonymous users try and view the block. If anyone knows how to let anonymous users view smiletag but not post, please let me know!

nfs320:modules/smiletag# nano smiletag.module

(Find line 55 by doing ctrl + w then ctrl + t, type 55 and press enter)

(comment line 55 out with /* and */)
 /*$block["content"] = message_access();*/

(Hit ctrl + x then enter to save)

5. The administration page cant be found. Fix this by changing the path in smiletag.module line 66

nfs320:modules/smiletag# nano smiletag.module

(Find line 66 by doing ctrl + w then ctrl + t, type 66 and press enter)

(change this....)

 function smiletag_menu() {

                $items   = array();
                $items[] = array('path' => 'admin/settings/smiletag/',
                                                 'title' => t('smiletag'),
                                                 'callback' => 'smiletag_view',
                                                 'access' => user_access('access administration pages'));
                return $items;
        }

(to this....)

 function smiletag_menu() {

                $items   = array();
                $items[] = array('path' => 'modules/smiletag/admin/',
                                                 'title' => t('smiletag'),
                                                 'callback' => 'smiletag_view',
                                                 'access' => user_access('access administration pages'));
                return $items;
        }

(Hit ctrl + x then enter to save)

That's how I made it work for V5. Kinda "mend and make do" but it seems to work fine for me.