vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making one forums post, never "jump" back to the top after a reply? (https://vborg.vbsupport.ru/showthread.php?t=34895)

Gutspiller 02-08-2002 07:28 PM

I don't want them to go up to the top, I just want them to stay in the order that the first thread was posted in, BUT I only want it on one forum. Is this possible? Sorry if this is more of a request, but it doesn't sound too hard... I just wasn't sure.

Admin 02-09-2002 08:03 AM

Sure... already posted this 7 times before I think. ;) :)

In forumdisplay.php, replace:
Code:

  default:
    $sortfield='lastpost';

with:
Code:

  default:
    if ($foruminfo['forumid']==XXX)
      $sortfield='thread.dateline';
    else
      $sortfield='lastpost';

(change XXX to that forum id, of course)

OT: Anyone else here wondering what the heck this code does? :p
PHP Code:

if (!isset($sortorder)) {
  
$sortorder "";
}
if (!isset(
$sortfield)) {
  
$sortfield "";



Admin 02-09-2002 08:07 AM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&postid=219127#post219127" target="_blank">https://vborg.vbsupport.ru/showt...127#post219127</a>

Gutspiller 02-09-2002 07:12 PM

Quote:

Originally posted by FireFly
https://vborg.vbsupport.ru/showthrea...127#post219127
hmm, I take it that hack does the same thing right? Just so much they are talking about in there it's a little hard to understand what it does besides add more sorting features, but I take it, you can also turn off all sorting features as well. :confused:


All times are GMT. The time now is 01:44 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.04890 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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