Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 10:34 am EST
Geeklog Forums
Can we improve the comment section?
Sunny
Anonymous
Geeklog is an amazing CMS
however some features still need a much needed uplift
like the Comments section. I have noticed that the comments section in WP is much more easy and collects more data from new users...
at the end of each post there is a quick comment box, and users can just enter their website , email and the text and post the comment (captcha is also there)
can we have something like this on geeklog?
collecting the email and allowing them to link their website is the what i am looking for! quick comment feature is also good.
Also if a comment recived a reply, probably we can have it listed on the same page below the original comment like in other sites ....
please advise?
however some features still need a much needed uplift
like the Comments section. I have noticed that the comments section in WP is much more easy and collects more data from new users...
at the end of each post there is a quick comment box, and users can just enter their website , email and the text and post the comment (captcha is also there)
can we have something like this on geeklog?
collecting the email and allowing them to link their website is the what i am looking for! quick comment feature is also good.
Also if a comment recived a reply, probably we can have it listed on the same page below the original comment like in other sites ....
please advise?
5
5
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
How come you didn't just update the original ideas instead of duplicating everything for SOC 2008?
As for Sunny:
But it's already like that. You just have to enable Nesting instead of Flat mode. The next thing you're going to say is that we can't expect most users to actually bother changing defaults. Well, if you install your own Geeklog site, you can choose to make Nesting the default mode.
As for collecting e-mail addresses, to me (as a user) it would be a major turn-off. There are endless sites out there, so why would you want to piss off your users? And URL fields are like a party cake for spammers. Just think about it. Is it worth the work involved?
As for Sunny:
Also if a comment recived a reply, probably we can have it listed on the same page below the original comment like in other sites ....
But it's already like that. You just have to enable Nesting instead of Flat mode. The next thing you're going to say is that we can't expect most users to actually bother changing defaults. Well, if you install your own Geeklog site, you can choose to make Nesting the default mode.
As for collecting e-mail addresses, to me (as a user) it would be a major turn-off. There are endless sites out there, so why would you want to piss off your users? And URL fields are like a party cake for spammers. Just think about it. Is it worth the work involved?
4
5
Quote
Sunny
Anonymous
Hi
Do i need to enable nesting from config file?
Will search when i have the ftp access...
also atleast the users must have the option to put their name ... only registered members have their name displayed..
@ dirk:
so can we expect an improvement int he next geeklog update?
Do i need to enable nesting from config file?
Will search when i have the ftp access...
also atleast the users must have the option to put their name ... only registered members have their name displayed..
@ dirk:
so can we expect an improvement int he next geeklog update?
6
3
Quote
Sunny
Anonymous
Less anonymous comments... k
The proposed improvements are good...
The proposed improvements are good...
1
4
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: Sunny
There are no improvements to comments in the next release which is going through its final paces before getting announced. The projects in the GSOC won't get into Geeklog until (I guess) next winter at the earliest. so can we expect an improvement int he next geeklog update?
5
5
Quote
Status: offline
Chase
Forum User
Regular Poster
Registered: 03/14/08
Posts: 110
Location:Karachi, Pakistan
here is what i have done with the comments so that they can be emailed to story owner. Tried my had at PHP after a long time. But it works for me.
add following in libcomment.php
function CMT_sid_sendNotification ($title, $comment, $uid, $ipaddress, $type, $cid, $story_owner_uid)
{
global $_CONF, $_TABLES, $LANG03, $LANG08, $LANG09;
if($uid != $story_owner_uid) {
// we have to undo the addslashes() call from savecomment()
$title = stripslashes ($title);
$comment = stripslashes ($comment);
// strip HTML if posted in HTML mode
if (preg_match ('/<.*>/', $comment) != 0) {
$comment = strip_tags ($comment);
}
$author = COM_getDisplayName ($uid);
$story_author = COM_getDisplayName ($story_owner_uid);
$mailbody = "Dear $story_author,\n\n"
. "$author has just replied to a thread you have subscribed to titled - $title.\n\n";
if (($type != 'article') && ($type != 'poll')) {
$mailbody .= "$LANG09[5]: $type\n";
}
if ($_CONF['emailstorieslength'] > 0) {
if ($_CONF['emailstorieslength'] > 1) {
$comment = MBYTE_substr ($comment, 0, $_CONF['emailstorieslength'])
. '...';
}
$mailbody .= $comment . "\n\n";
}
$mailbody .= $LANG08[33] . ' ' . $_CONF['site_url']
. '/comment.php?mode=view&cid=' . $cid . "\n\n";
$mailbody .= "\n------------------------------\n";
$mailbody .= "\n$LANG08[34]\n";
$mailbody .= "\n------------------------------\n";
$mailsubject = $_CONF['site_name'] . ' ' . $LANG03[9];
$story_owner_email = DB_getItem($_TABLES['users'],'email', "uid = '$story_owner_uid'");
COM_mail ($story_owner_email, $mailsubject, $mailbody);
}
}
then add
CMT_sid_sendNotification ($title, $comment, $uid, $_SERVER['REMOTE_ADDR'],
$type, $cid,$story_owner_uid);
this will be immediately after
$type, $cid);
--
http://TazaKino.com - Pakistani News
Where YOU report the news
add following in libcomment.php
Text Formatted Code
function CMT_sid_sendNotification ($title, $comment, $uid, $ipaddress, $type, $cid, $story_owner_uid)
{
global $_CONF, $_TABLES, $LANG03, $LANG08, $LANG09;
if($uid != $story_owner_uid) {
// we have to undo the addslashes() call from savecomment()
$title = stripslashes ($title);
$comment = stripslashes ($comment);
// strip HTML if posted in HTML mode
if (preg_match ('/<.*>/', $comment) != 0) {
$comment = strip_tags ($comment);
}
$author = COM_getDisplayName ($uid);
$story_author = COM_getDisplayName ($story_owner_uid);
$mailbody = "Dear $story_author,\n\n"
. "$author has just replied to a thread you have subscribed to titled - $title.\n\n";
if (($type != 'article') && ($type != 'poll')) {
$mailbody .= "$LANG09[5]: $type\n";
}
if ($_CONF['emailstorieslength'] > 0) {
if ($_CONF['emailstorieslength'] > 1) {
$comment = MBYTE_substr ($comment, 0, $_CONF['emailstorieslength'])
. '...';
}
$mailbody .= $comment . "\n\n";
}
$mailbody .= $LANG08[33] . ' ' . $_CONF['site_url']
. '/comment.php?mode=view&cid=' . $cid . "\n\n";
$mailbody .= "\n------------------------------\n";
$mailbody .= "\n$LANG08[34]\n";
$mailbody .= "\n------------------------------\n";
$mailsubject = $_CONF['site_name'] . ' ' . $LANG03[9];
$story_owner_email = DB_getItem($_TABLES['users'],'email', "uid = '$story_owner_uid'");
COM_mail ($story_owner_email, $mailsubject, $mailbody);
}
}
then add
Text Formatted Code
CMT_sid_sendNotification ($title, $comment, $uid, $_SERVER['REMOTE_ADDR'],
$type, $cid,$story_owner_uid);
this will be immediately after
Text Formatted Code
CMT_sendNotification ($title, $comment, $uid, $_SERVER['REMOTE_ADDR'],$type, $cid);
--
http://TazaKino.com - Pakistani News
Where YOU report the news
3
7
Quote
All times are EST. The time is now 10:34 am.
- 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