Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
No bump Details »»
No bump
Version: , by shorty shorty is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-20-2003 Last Update: Never Installs: 0
 
No support by the author.

Im not sure how easy to this to do in VB 2.3 and my extensive search in here can't find my answer.

I have one forum that I would like to always display the forums in the order in which they were created in. Regardless of any posts that would 'bump' threads back to the top.

I _think_ it's a matter of telling VBulletin to not update the last post field but Im not really PHP savy enough to do it.

Does anyone have any ideas?

Thanks guys as always.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-20-2003, 05:50 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try using one of the "Prevent Double Posting" hacks and make it apply to just that forum which would prevent the bump posts, or if you mean that you want to show the threads by thread date, regardless of real replys then a small hack to sort by threadid or dateline could be done.
Reply With Quote
  #3  
Old 08-20-2003, 05:57 PM
shorty's Avatar
shorty shorty is offline
 
Join Date: Mar 2003
Location: Cambridge, UK
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:50 PM NTLDR said this in Post #2
or if you mean that you want to show the threads by thread date, regardless of real replys then a small hack to sort by threadid or dateline could be done.
That would be the one. So they stay in the order in which they were created, regardless of any replies

I have had a good search and did try to write something but I got totally lost :cry: Im just getting started.
Reply With Quote
  #4  
Old 08-24-2003, 03:17 PM
Issvar Issvar is offline
 
Join Date: Mar 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open forumdisplay.php, and find
Code:
$sort = array();
And add before this line:
Code:
if ($forumid == 5) {
  $sortfield = 'dateline';
  $sqlsortorder = 'DESC';
}
And replace the 5 with the id number of the forum you wish to have sorted by start time. Now your threads will always be sorted with newest first. If you would prefer oldest first change DESC to ASC.

You can find the id number of your forum by simply opening that forum and looking in the address bar at what it says after &forumid=.
Reply With Quote
  #5  
Old 08-24-2003, 03:28 PM
shorty's Avatar
shorty shorty is offline
 
Join Date: Mar 2003
Location: Cambridge, UK
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's awesome and did the job perfectly

Thanks very much!

Im starting to learn alot from these hacks and such. Looking forward to the day I can have a hack in here :classic:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04420 seconds
  • Memory Usage 2,236KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete