Moderation Tools
this extension should give the ability to adminstrators to quickly accomplish some basic moderation task, like:
split selected comments from a discussion and start a new discussion with them.
merge selected comments from a discussion and move them to another discussion.
when you ran a forum with lot of members this is a must have....
0
This discussion has been closed.
Comments
$s = $this->Context->ObjectFactory->NewContextObject($this->Context, 'sqlBuilder');
$s->SetMainTable('Discussion','d');
$s->AddSelect('DiscussionID', 'd');
$s->AddOrderBy('DiscussionID', 'd', 'desc');
$s->AddLimit(0, 1);
whit this you get the last id created....or at least I think....
What about the case if a user creates a new discussion in exactly the same moment and then you will get a wrong DicussionID
Isn't the Id auto_increment, and mysql does all the work?
Tiggr