vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vB Product XML - What is the <options> tag used for? (https://vborg.vbsupport.ru/showthread.php?t=126373)

DustyWhistler 09-11-2006 09:14 PM

vB Product XML - What is the <options> tag used for?
 
Would someone be kind enough to tell me what the <options> tag is used for in a vB product xml file. An example would be great!

Also, <helptopics>, <cronentries>, <faqentries> are more self explanatory but I can't find any documentation on their syntax unless I've missed a section in the vB manual.

Thanks
Dusty

Paul M 09-11-2006 11:00 PM

<options> is for new vbulletin options (obvious really ;))

The best way to find the syntax if you really want is to create a dummy product with a new option, new faq entry, new cron and new helptopic and export it.

BTW, there really is no need to manually create product xml files when vb does it all for you.

ericgtr 09-12-2006 03:39 PM

Quote:

Originally Posted by Paul M
<options> is for new vbulletin options (obvious really ;))

The best way to find the syntax if you really want is to create a dummy product with a new option, new faq entry, new cron and new helptopic and export it.

BTW, there really is no need to manually create product xml files when vb does it all for you.

Unless it has to do with templates that is, I have yet to find a way to plug in a line into a template which is why I end up having to write most of my mod instructions manually, at least partially. I see some of you guys using nice tricks but by default I can't see where this is applicable utilizing the products throught the admin panel.

DustyWhistler 09-12-2006 09:10 PM

Quote:

Originally Posted by Paul M
<options> is for new vbulletin options (obvious really ;))

The best way to find the syntax if you really want is to create a dummy product with a new option, new faq entry, new cron and new helptopic and export it.

BTW, there really is no need to manually create product xml files when vb does it all for you.

Thanks Paul

Dusty

diades 03-19-2007 11:10 AM

Quote:

Originally Posted by Paul M (Post 1073003)
<options> is for new vbulletin options (obvious really ;))

The best way to find the syntax if you really want is to create a dummy product with a new option, new faq entry, new cron and new helptopic and export it.

BTW, there really is no need to manually create product xml files when vb does it all for you.

Hi Paul

Sorry to revisit an old topic but, I have just created a new (admin) product and decided to place a help topic for it also. I went to the help manager, created the topic and all went well, I then downloaded the product to see it and found that the help topic was placed as phrases (the <helptopics> section not being used at all) and that the topic did no show when called for?

Any help you can give would be useful:)

Cap'n Steve 03-21-2007 07:30 AM

Before 3.6 the help topics aren't included when you export a product, you have to insert them with your install code.

diades 03-21-2007 08:33 AM

Hi

Thanks for the reply.
Quote:

Before 3.6 the help topics aren't included when you export a product
So, if I am running 3.6.* ?

Dismounted 03-21-2007 08:45 AM

Insert help topics under the helptopics section.

diades 03-21-2007 08:55 AM

Hi
Quote:

Originally Posted by diades (Post 1207226)
Sorry to revisit an old topic but, I have just created a new (admin) product and decided to place a help topic for it also. I went to the help manager, created the topic and all went well,

I am afraid that that is not the problem.

Dismounted 03-21-2007 09:05 AM

I've never played around with help topics so I wouldn't know much I'm afraid. I think it might be better to ask this at vBulletin.com.

diades 03-21-2007 09:12 AM

Hi

Yes, I have just come to that conclusuion myself. It seems more that it is a section that is not operational perhaps. Thanks for the reply though :)

Cap'n Steve 03-22-2007 02:22 AM

I bet I know. The vBulletin Default option must be set to yes or it won't get exported. No, it doesn't make any sense.

diades 03-22-2007 09:03 AM

Hi Steve

Could you elucidate a little please? The vb default option for what?

Dismounted 03-22-2007 10:14 AM

Enable Debug Mode :).

diades 03-22-2007 02:16 PM

Hi

Quote:

Originally Posted by Dismounted
Enable Debug Mode

Debug mode is permanently on in my test forums :)
Quote:

Originally Posted by diades
The vb default option for what?

I have what you mean now and yes,
Quote:

Originally Posted by Vice-Admiral Steve
No, it doesn't make any sense.

I agree :D but, it seemed to do the trick!
It is, however, still confusing!
Aparently:
Create product
Go to help manager select add, select your product
add data as required. Save
Now, if you export that help file then it will be given a name that is the same as vb's master help file (confusion) as against the product management system that name the file after the product (less confusion) The upshot is that you have to rename the file of course.
That can then be used to upload the help section as is or, go the other route and export the product. That is then loaded with the help section but, the helptopic section is only loaded with the helptopic header(s), the 'meat' of the topics are set as phrases. Again, if uploaded, the topics are placed correctly.
Sorry if that rambles a bit, I am feeling my way on this :o


All times are GMT. The time now is 08:41 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.02029 seconds
  • Memory Usage 1,747KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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