vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Default View Age - Set All Forums To "Since Beginning"? (https://vborg.vbsupport.ru/showthread.php?t=75169)

trevelyn1015 01-26-2005 04:32 PM

Default View Age - Set All Forums To "Since Beginning"?
 
how can i go in and make every forum show topics since the beginning, instead of having to go in one by one and do the individually...

Andreas 01-26-2005 04:47 PM

Execute the following query
[sql]UPDATE forum SET daysprune=-1[/sql]


Then gto to ACP / Import & Maintenance / Update Counters and select Rebuild Forum Information

trevelyn1015 01-26-2005 08:11 PM

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'forum2.forum' doesn't exist

Andreas 01-26-2005 08:13 PM

Then you are using a table prefix and must change the query accordingly.

trevelyn1015 01-26-2005 08:16 PM

how do i do that? sorry, i don't know about this..

Andreas 01-26-2005 08:27 PM

And I don't know what your table prefix is :)
Just put it in front of forum, so if your table prefix is vb3_ it would be

[sql]UPDATE vb3_forum SET daysprune = -1[/sql]

trevelyn1015 01-28-2005 01:19 PM

i just ran that, and it didn't do it... great...

what did that query do, then...


b/c it worked, i put my table prefix in there, but the actul changing of the forum views didn't change... did i mess something up running that query?

Code:

UPDATE forum2_forum SET daysprune = -1
it said it affected 43 rows, but nothing changed...

Marco van Herwaarden 01-28-2005 01:38 PM

The user you used for testing if anything had changed, dies he have a default set in his profile?

AN-net 01-28-2005 01:43 PM

i thought if you set cut off date to 1,000 days the forum will automatically select "since the beginning"

trevelyn1015 01-28-2005 03:08 PM

Quote:

Originally Posted by MarcoH64
The user you used for testing if anything had changed, dies he have a default set in his profile?

no... set to default...

some forums are one month.. some are beginning, some are one day...

i dunno why...

ok, for some reason, now it is all set at beginning... maybe it just took time? i dunno

thanks alot, it is all set, now... :)


All times are GMT. The time now is 09: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.00984 seconds
  • Memory Usage 1,728KB
  • 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_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