vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Questions about building a product to share. (https://vborg.vbsupport.ru/showthread.php?t=240890)

Mutt 04-20-2010 06:10 PM

Questions about building a product to share.
 
I've made several mods that I'd share here but when I export the product, it's always missing stuff.

one is the control panel settings. they've been set as part of this product when I made them & all of the phases for the control panel settings make it into the xml file but the options section is always blank. See the attachments. the setting group & each setting is set as part of my product. in the xml file, the setting phases are there but the option section is blank so when you import it, there are no cp settings. is there a way to get these to export or do I need to manually add them to the XML file?

also, how to i tag my templates as part of the product so they get exported as well?

i know it's not a good sign that I don't know how to make a product file but I'm gonna share code but I have to learn at some point. last time a shared a mod it was find line xx & add this after, etc, etc.

as I upgrade from 3.8 to v4 & upgrade my mods, making the product only makes sense. might as well share them.

thanks in advance

Vaupell 04-21-2010 03:52 PM

develop on a closed envirement suchs as on your computer with a
local installation of vbulletin and run it in Debug mode.

That enables product selection when creating
phrases, templates, etc etc..
But also allows you to change product on each item
incase you select wrong product on creation..

Exporting from debug mode, works flawlessly for me,
but if i export from a online site, i get all sort of problems and missing pieces.

Mutt 04-21-2010 06:05 PM

Quote:

Originally Posted by Vaupell (Post 2024978)
develop on a closed envirement suchs as on your computer with a
local installation of vbulletin and run it in Debug mode.

That enables product selection when creating
phrases, templates, etc etc..
But also allows you to change product on each item
incase you select wrong product on creation..

Exporting from debug mode, works flawlessly for me,
but if i export from a online site, i get all sort of problems and missing pieces.

good to know. I try flipping debug on. thanks

Mutt 04-28-2010 11:20 PM

i discovered the problem w/ my templates not saving to he product. I was adding templates to my custom style & when I set them to my product, it would get ignored. when I instead added the template to the master style, it worked fine.


All times are GMT. The time now is 06:56 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.00961 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (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