vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Rebuild Forum Information adjustment (https://vborg.vbsupport.ru/showthread.php?t=252168)

Black Tiger 10-16-2010 05:08 PM

Rebuild Forum Information adjustment
 
I got a couple of prefixes on my forums.
For example "for sale" and "sold".
Now these work good and if changed, on showthread, forumdisplay and forumhome they also get changed.

Now I installed the "mark threads as solved" modification for 3.8.x.
I put the forums on "require threads to have a prefix" to yes and added an "open" prefix next to the "solved" prefix in the prefix manager.

This should be OK.

Now if a threads get's solved, the thread is put to the prefix "solved" and thread is closed.
This all works wel on showthread and forumdisplay but NOT on forumhome.

On forumhome it stays at "open" until I run the Rebuild Forum Information counter or wait a night.

Since it is updated immediately with the "for sale" and "sold" prefixes, and also is working for forumdisplay and showthread for the "mark solved" mod, I presume the problem must be the mod does not automatically update forum information too.

How can I add which code to where to get this fixed please?

sheppardzwc 10-19-2010 01:25 AM

Left you a bugfix here that should work.

Black Tiger 10-19-2010 12:03 PM

Oh that's great! Thank you very much for your help!!!


All times are GMT. The time now is 08:47 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.01038 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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