vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Upgrade to 2.2.2 From 2.2.1 (https://vborg.vbsupport.ru/showthread.php?t=34632)

squawell 01-30-2002 11:33 PM

thankz PPN~:D:D

it's very useful~~

Lionel 01-31-2002 12:22 AM

you are God sent. Thank you

SirSteve 01-31-2002 02:18 AM

I noticed if you have the contract/expand hack installed and the community bulletin hack, some of this code makes it unusable.

FWC 01-31-2002 03:31 AM

Quote:

Originally posted by SirSteve
I noticed if you have the contract/expand hack installed and the community bulletin hack, some of this code makes it unusable.
I upgraded my test board and noticed some interesting things. Hacks that were inserted into the default templates were mostly moved to custom templates. This happened to vBStats and everything was fine. Some of the Contract Posts templates were blown away. I made new custom templates for modifyoptions_hideposts_ie and showthread_hideposts and everything was back to normal. I'm glad I'm testing everything on the test board first. :)

Freddie Bingham 01-31-2002 04:10 AM

You can only lose templates IF you put them into your database with a templateset id of -1. You should never use templateset -1 as those are the base templates and they are removed and replaced with every upgrade.

FWC 01-31-2002 04:17 AM

Quote:

Originally posted by freddie
You can only lose templates IF you put them into your database with a templateset id of -1. You should never use templateset -1 as those are the base templates and they are removed and replaced with every upgrade.
Some of the hacks intsall that way. I was just testing to see what would happen. The interesting thing is most of them didn't get deleted but moved to custom templates. I thought that was pretty slick. I only had to add two back. :)

FWC 01-31-2002 06:23 AM

OK, here's a trick. If you have hack templates installed into the default templates, you will lose them in the upgrade. Unless they are modified. If they've been modified they will move to custom templates. I went through my vBStats, Contract Posts and vBLinks templates and modified the ones I hadn't touched. I added some junk and then took it out. I did NOT revert them. Then when I upgraded my real board, they all got moved to custom templates. If you combine this with hacking the PHP files according to PPN's instructions (be very careful if you have a hack in any of the modified code), you will have no problems. :)

Scott MacVicar 01-31-2002 07:49 AM

Those hacks shouldn't replace the default template in my opinion.

Remi 01-31-2002 08:40 AM

I think ther is a mistake in the instructions

=====================
/admin/functions.php

look for
eval("standarderror(\"".gettemplate("error_banip") ."\");");

below it add
exit;
=============

I think it should be remove "exit;"

please correct me if I am wrong

Jawelin 01-31-2002 09:31 AM

Quote:

Originally posted by FWC
OK, here's a trick. If you have hack templates installed into the default templates, you will lose them in the upgrade. Unless they are modified. If they've been modified they will move to custom templates. I went through my vBStats, Contract Posts and vBLinks templates and modified the ones I hadn't touched. I added some junk and then took it out. I did NOT revert them. Then when I upgraded my real board, they all got moved to custom templates. If you combine this with hacking the PHP files according to PPN's instructions (be very careful if you have a hack in any of the modified code), you will have no problems. :)
Let me check if understood.
You say if I edit each my 'default template' which was added by any hack (installer or not), to see near it the three links [edit] [revert to original] [view original] instead of the standard two, I'll be sure they'll be moved to 'custom template' section after the upgrade; or at least they will not reverted by the upgrade ....

Is it true ?
Thanks


All times are GMT. The time now is 11:38 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.04415 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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