vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Articles in tag archive sort by DESC order? (https://vborg.vbsupport.ru/showthread.php?t=293477)

webmajstorinet 01-01-2013 06:52 PM

Articles in tag archive sort by DESC order?
 
I'd like to have them in a Descending order, not Ascending. How do i accomplish this?

Example of my problem: http://www.webmajstori.net/forum/tags/tutorial

Thank you

Lynne 01-01-2013 08:04 PM

Try changing the query to ORDER BY dateline ASC in /vb/search/searchcontroller/tag.php

Bluemax712 04-24-2013 04:53 AM

Thanks Lynne - I was looking for this change to the archive/index.php
ORDER BY dateline " . iif($pda, 'DESC', 'DESC')

Is there also a way to change it - say make a copy as archive/index2.php

where rather than showing each forum separately by default
it will show all posts in a long list DESC @ 30 per page - no matter which forum?

Lynne 04-24-2013 04:20 PM

If you make a copy and called it index2.php, then you would need to go through all the files that link to that page and change those links also.

Bluemax712 04-24-2013 04:46 PM

Quote:

Originally Posted by Lynne (Post 2418283)
If you make a copy and called it index2.php, then you would need to go through all the files that link to that page and change those links also.

Well I meant to say make a backup copy first :)
because I would assume it will take a lot more changes to make it do what I was looking for
(ie: change it so it shows one long list of all posts by default)

or is there a mod that does this already that you know of?
ie: a mod that creates a page which shows one long list of all posts from all forums
similar to how the archive page looks - after clicking into a forum

Thanks

Lynne 04-24-2013 07:08 PM

I do not know of a mod like that and would imagine many sites wouldn't use such a mod because of server load issues and that is why no one has bothered to share such a mod.

Bluemax712 04-24-2013 09:33 PM

Quote:

Originally Posted by Lynne (Post 2418327)
I do not know of a mod like that and would imagine many sites wouldn't use such a mod because of server load issues and that is why no one has bothered to share such a mod.

Found this post which is sort of related:

Need Last 3 days posts/Todays Posts code
https://vborg.vbsupport.ru/showthread.php?t=265840

and your response was:
New Posts in the Last 3 days:
search.php?do=getdaily&days=3&contenttype=vBForum_ Post

This is really what I was looking for - apologize for wording it so bad originally
I only a need few days worth as opposed to "all posts from the start"

but would like to change it so the output is in a list form - like the archive
as shown here: https://vborg.vbsupport.ru/archive/index.php/f-251.html

Lynne 04-24-2013 11:58 PM

If you want the search results to look like those in the archive forum, then you would need to edit the template for the results to remove all the information except the linked title.

Bluemax712 04-25-2013 01:17 AM

Thanks,

Could you expand on "edit the template for the results"?

Lynne 04-25-2013 03:08 AM

The template will spit out the box that it currently does - topic on left, last post on the right and the author/firstpost date under the top. You would need to remove all the stuff you don't want - everything except "top on left".


All times are GMT. The time now is 03:55 PM.

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.01088 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
  • (2)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