vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Sort subforum by last post? (https://vborg.vbsupport.ru/showthread.php?t=188020)

sportfreund 08-13-2008 12:00 PM

Sort subforum by last post?
 
Hi everyone!

We are searching for a solution for the following problem:

The subforums should be sorted by the date of the last post:

sub 2 - day 1
sub 4 - day 2
sub 3 - day 3
sub 1 - day 4

For example a few days later:

sub 3 - day 1
sub 2 - day 2
sub 1 - day 3
sub 4 - day 4

etc.

Is there any possible solution for vbulletin? Add-on, template editing...?

Mosh 08-15-2008 03:50 AM

Quote:

Originally Posted by sportfreund (Post 1597699)
Hi everyone!

We are searching for a solution for the following problem:

The subforums should be sorted by the date of the last post:

sub 2 - day 1
sub 4 - day 2
sub 3 - day 3
sub 1 - day 4

For example a few days later:

sub 3 - day 1
sub 2 - day 2
sub 1 - day 3
sub 4 - day 4

etc.

Is there any possible solution for vbulletin? Add-on, template editing...?

I can see where you are coming from, but there is no easy solution to this.

It would definitely require a hack, and I am pretty sure one has not been written to do this.

sportfreund 08-15-2008 09:16 AM

That's why i am asking here! :D

Its for the official club forum of Werder Bremen, we need something to sort the subforums (one for each player). Since the admin of the club can't do it... :(

sportfreund 08-16-2008 03:16 PM

I think it can't be that hard to solve this problem.

Is there any way to take the "sort by last post" function for threads to the subforum-template?

Spank 08-16-2008 04:38 PM

Sounds like it would require some complex coding to achieve this. Out of curiosity, why do you need this sort of setup?

BTW Werder Bremen=My fave German team since I used to live in Bremen =)

sportfreund 08-16-2008 07:51 PM

Since we are having many users and a fast growing forum, we need to create a subforum for every player.

That would make about 25 subforums in the main forum "team".

Since it wouldn't make any sence to sord the subs alphabetically we need a function to sort them by last post.

sportfreund 08-21-2008 08:24 PM

No one? :(

Lynne 08-21-2008 08:47 PM

I don't think this is as easy as you may think it is. You'd need to find someone who understands the datamanagers (or whatever they are called). From what I can see by taking a glance at this issue, the forums are not spit out based on a query when people ask for the page. Try doing a search on the term 'displayorder' in your files and you'll find the places where the forums are 'ordered'. Not a fun task, imo.


All times are GMT. The time now is 02:11 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.01049 seconds
  • Memory Usage 1,724KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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