Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2006, 09:14 PM
DustyWhistler DustyWhistler is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 09-11-2006, 11:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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.
Reply With Quote
  #3  
Old 09-12-2006, 03:39 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 09-12-2006, 09:10 PM
DustyWhistler DustyWhistler is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-19-2007, 11:10 AM
diades diades is offline
 
Join Date: Jul 2002
Location: Glasgow
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
<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
Reply With Quote
  #6  
Old 03-21-2007, 07:30 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before 3.6 the help topics aren't included when you export a product, you have to insert them with your install code.
Reply With Quote
  #7  
Old 03-21-2007, 08:33 AM
diades diades is offline
 
Join Date: Jul 2002
Location: Glasgow
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.* ?
Reply With Quote
  #8  
Old 03-21-2007, 08:45 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Insert help topics under the helptopics section.
Reply With Quote
  #9  
Old 03-21-2007, 08:55 AM
diades diades is offline
 
Join Date: Jul 2002
Location: Glasgow
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
Quote:
Originally Posted by diades View Post
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.
Reply With Quote
  #10  
Old 03-21-2007, 09:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07031 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete