Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Feb 2014, 20:07
YannZeRookie YannZeRookie is offline
 
Join Date: Feb 2014
Question [Resolved] Missing elements when exporting the XML file of my Mod

Hello,

I am finishing coding my first Product to extend VB 5.0.5 (a TeamSpeak 3 plug-in that allows our users to connect to TS3 in one click, including creating new accounts on-the-fly and synchronizing VB and TS groups).

I am exporting the XLM file in preparation of packing my Product to move it to production.

Unfortunately, there are 2 things that are missing in the XML file:
  • The <options> section is empty, although I have several settings for my Product
  • The <cronentries> section is empty too, although I have a cron job for that Product.

I triple-checked, and my Settings are properly tied to my Product in the admincp. Same thing for my cron job. And I do have <phrase> entries that come from my settings and from my cron job, so it must have found them:

<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrasetype name="Scheduled Tasks" fieldname="cron">

What did I do wrong?

Thanks in advance for any hints,

Yann

Last edited by YannZeRookie; 26 Feb 2014 at 09:06. Reason: Problem is resolved
Reply With Quote
  #2  
Old 25 Feb 2014, 22:16
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Did you develop your addon in debug mode? Are those items actually assigned to your product?
__________________
Looking for ImpEx?
Reply With Quote
  #3  
Old 25 Feb 2014, 22:23
YannZeRookie YannZeRookie is offline
 
Join Date: Feb 2014
Thanks for the quick answer.

Originally Posted by Zachery View Post
Did you develop your addon in debug mode?
Yes.

Are those items actually assigned to your product?
Yes.

--------------- Added 26 Feb 2014 at 09:06 ---------------

I found the cause of the problem: the "vBulletin Default" flag has to be set to YES for each setting. Same thing for the Scheduled Task parameters.

This corresponds to the "volatile" column in the database, which is tested against 1 in adminfunctions_product.php:get_product_export_xml()

On second thought, I'm not exactly sure about the role of this parameter, but I'll leave it to YES going forward.

Last edited by YannZeRookie; 26 Feb 2014 at 09:11.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 22:55.

Layout Options | Width: Wide Color: