Honestly i can see a big lack in xoops without a like system.
a like system is very needed for a community website.
It will work similar to FB Like.
Xoops users will have (like/unlike)|(dislike/undislike) options in any xoops links: e.g: a news item, a single post in a forum topic, a download, a single comment, even a user account
It would be very interesting rating system for any website.
because you will have most liked items, ...
Recently i start to work on such a system for xoops 2.5.5 as a module (then xoops 2.6)
I just need to know what do you think about it.
This module will work similar to Tag module.
The coding part is far from my abilities and i will be happy to see some experts help on writing codes.
Today i start by writing this structure for table in database:
# like module database structure
# version 1
# irmtfan irmtfan@yahoo.com
# --------------------------------------------------------
CREATE TABLE mod_like_like (
like_id mediumint(8) unsigned NOT NULL auto_increment,
time_create int(11) unsigned NOT NULL default 0,
time_update int(11) unsigned NOT NULL default 0,
like_uid mediumint(8) unsigned NOT NULL default 0,
item_module varchar(10) NOT NULL default '',
item_name varchar(10) NOT NULL default '',
item_id int(11) unsigned NOT NULL default 0,
item_uid mediumint(8) unsigned NOT NULL default 0,
status smallint(2) unsigned NOT NULL default 0,
PRIMARY KEY (like_id),
KEY item (item_module, item_name, item_id)
) ENGINE=MyISAM;
CREATE TABLE mod_like_status (
status_id mediumint(8) unsigned NOT NULL auto_increment,
status_name varchar(100) NOT NULL default '',
status smallint(2) unsigned NOT NULL default 0,
PRIMARY KEY (status_id)
) ENGINE=MyISAM;
the status will represent like/unlike features.
Then i want to create a smarty function to work like this by inserting to any module template:
<{like op="like" item_name="post_id" item_id=$post_id}>
I think we need to have a like system in XOOPS at the soonest possible time by gathering all resources (all developers) otherwise it would be a big missing feature for today world.