vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   quick reply ajax inserts messages (https://vborg.vbsupport.ru/showthread.php?t=193667)

mooreaa 10-15-2008 06:29 AM

quick reply ajax inserts messages
 
Hello,

I am trying to reverse the sort order of my postbits so that the newest post is at top.

I am doing this by changing $postorder = "DESC"; with a plugin.

The problem I am having is that when I do a quick reply, it inserts the post at the bottom!... when I refresh it puts it back in the right place... but I am wondering how I can get the ajax to insert the reply at the top.

Any ideas would be appreciated.

Marco van Herwaarden 10-15-2008 06:57 AM

Do you want to do this for the entire board? And why do you want to force the users to this sorting order instead of letting them choose what they prefer?

mooreaa 10-15-2008 08:28 PM

I want to limit this to only some of my forums, but I should be able to do that via the plugin fairly easily. The reason for reverse sorting is that I use some of my forums to post Articles. On those forums, I want the latest comments at the top as opposed to the end.

--------------- Added [DATE]1224112609[/DATE] at [TIME]1224112609[/TIME] ---------------

Alternatively, maybe there is a way for me to disable the ajax quick reply for specific forums? This way, a page refresh would be forced?


All times are GMT. The time now is 07:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01983 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete