vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Sort threads by the date of the first post (https://vborg.vbsupport.ru/showthread.php?t=97958)

garrynewman 10-08-2005 10:00 PM

Sort threads by the date of the first post
 
A really simple plugin.

There's no controls, you need to add your forumid to the script itself.

It simply orders the threads by the date of the original post instead of the date of the last post made in that thread.

This could be useful for a forum in which you post news etc where you want the latest news to stay on top.

Colin F 10-09-2005 12:01 PM

Very simple indeed :)

To use this for multiple forums, replace this:
Code:

if ($foruminfo[forumid] == 51 )
with this:
Code:

if (in_array($foruminfo[forumid], array(51,52,53)))

JohnBee 10-09-2005 01:18 PM

Wow! simple and yet so effective I will be using this in a few forums for sure.
thanks for this

Andreas 10-11-2005 06:05 PM

For those who want more control over sorting:
https://vborg.vbsupport.ru/showthread.php?t=93074

Dot50Cal 10-11-2005 06:57 PM

Yeah I seen that Kirby as I was searching for a system. This one does us just great and we dont need all that extra stuff :) Thanks though!

SALvation 10-11-2005 07:21 PM

OK, for the noob...

How do you install this?

Andreas 10-11-2005 07:35 PM

1. Start your computer
2. Login with a valid account for your computer
3. Make a connection to the internet (if you are not running vBulletin locally)
4. Open your Browser (if you are using Windows and the Internet Explorer, there should be a small e-icon next to the Start-Button in the lower left corner of your screen - click it)
5. Point your browser to your AdminCP-Driectory
In a standard installation, this is http://www.yoursite.com/forum/admincp
6. Login with your Admin account
7. In the left frame click the arrow next Plugin System to expand this group
8. Click Download/Upload Plugins
9. In the from, click browse to select the XML on your harddisk you previously saved there (in step 0)

Or in other words: Just import the plugin XML

Boofo 10-11-2005 11:08 PM

Quote:

Originally Posted by Colin F
Very simple indeed :)

To use this for multiple forums, replace this:
Code:

if ($foruminfo[forumid] == 51 )
with this:
Code:

if (in_array($foruminfo[forumid], array(51,52,53)))

How would you do a setting for multiple forums?

Razasharp 05-06-2006 12:11 AM

Fantastic plug-in!

Any chance of modifying it slightly so that users can further sort by the normal options too? (last post/thread starter/ratings etc)? Or is that too involved?

thanks!

ryancooper 05-06-2006 12:16 PM

How can you order it opposite? I want the last post to be at the bottom and the first post to be at teh top?


All times are GMT. The time now is 03:13 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.01000 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete