PDA

View Full Version : Quick Reply post reverse order


jellis09
01-25-2012, 09:18 PM
I have a groups page where the user can add a quick reply. I have moved comment box to the top of the page above the comments, and have reversed the order of the comments so that the newest ones are on top.

How do I modify the ajax so that it will post the new comment at the top of the list instead of the bottom?

Thanks

kh99
01-25-2012, 10:58 PM
Edit the template socialgroups_discussionview and find this:

<script type="text/javascript">
<!--
var quick_comment = new vB_QuickComment("message_form", {vb:raw vboptions.postminchars}, 'DESC');
//-->
</script>


abd change the 'DESC' to 'ASC'.

jellis09
01-26-2012, 01:24 PM
Thanks!