Thread: vBindex v2.1
View Single Post
  #314  
Old 08-25-2002, 03:25 AM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's one of those "things that makes you go hmmmm"

Okay......the installer for vbindex adds the templates to every template set (if you have more than one) which is good if you have multiple sets for your members to select. I however, have other sets used for things like files pages and the like that are non-selectable (just using the forumdisplay template) so I didn't want these new templates added to those other sets.

The reason I am looking at this is because I installed this on my test forum to get it all ready for implementing on my active forum. I decided that I wanted to update the installer to include some custom templates I made so it would just install them too initally which isn't necessary but I wanted to make it a quick install because my forum is very busy and this would be more painless.

anyway.....while attempting to pull the code from the sql dump to add to the install script (since I don't quite understand the formatting of the data being inserted) I was having trouble with finding the same templates 4 times (multiple styles) and getting the ones I edited.

so...I decide to make copies of the templates I edited then uninstall vbindex. I edited the vbi_template_install.php to make it a remover and it removed all the vbindex templates fine.......then I proceeded to download copies of the other styles (now without the vbindex templates added) then I re-installed the vbindex (after droping the canviewvbindex table)

Okay....everything is installed correctly and now once again, all my template sets contain the vbindex templates too..........I now upload the downloaded style files and overwrite the ones that are present.

Here's the wierd part (sorry this is so long) but whuh?!...the vbindex templates are back in the template sets that weren't in the style files I downloaded

I even went so far as to search the .style files for the vbindex templates and they aren't in there but even though I overwrite the current styles....the vbindex templates are still there

I even went so far as to delete one style and then upload the downloaded style file as a new style and those darn templates are in there when I am done

any idea why it is adding in the vbindex templates to the new styles and why they remain if I overwrite a style with a style that does not contain those templates?

color me stupid but this one has got me scratching the ole noodle pretty hard
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03327 seconds
  • Memory Usage 1,762KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (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_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete