vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Missing template edits in UpgradeToLatestVersion.txt (https://vborg.vbsupport.ru/showthread.php?t=93405)

Tom1234 08-01-2005 11:31 PM

Missing template edits in UpgradeToLatestVersion.txt
 
The content of warned post ($thread3) was not in the warn_pm and related templates after upgrading.

There are no instructions in UpgradeToLatestVersion.txt for adding $thread3 to the templates either.

I think I'd rather have an upgrade script with an option to just overwrite AWS templates that have been modified since last version rather than all the manual template edits. It would probably be easier on you to maintain in this way too.

Could you also please start naming AWS related PHP files to start with warn_ so we know which are related to this hack? You have some pretty generic named PHP files in there like showcomment.php, uninstaller.php, resolveip.php, etc.

sv1cec 08-05-2005 06:57 PM

The warn_pm template was not affected during the last upgrade. So how come that $thread3 was there before and is not there now? $thread3 was introduced in 3.4.10 and has not been changed since then.

Tom1234 08-05-2005 07:03 PM

I upgraded directly from 3.4.7 to 3.4.15 and followed each step's instructions. There are no instructions in UpgradeToLatestVersion.txt for adding $thread3 to the templates in any of the steps.

sv1cec 08-06-2005 03:39 AM

Hmmm, you are right. Big screw-up there on my behalf, sorry. What you should do, is to open up the file /install_warn/warn.xml from the distribution zip, in your editor and locate the 4 templates affected by this change. Copy them from there to your templates and you are done.


All times are GMT. The time now is 03:22 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.01235 seconds
  • Memory Usage 1,708KB
  • 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
  • (4)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