Status
Not open for further replies.

mrklein

Customer
Our admins have already been creating quizzes in the Lite version of vBQuiz. Can we just upload the Pro files in the Uploads folder and re-"Import" the product to upgrade, or will we have to uninstall/reinstalled?

In either case, will the quizzes we have already created be saved, or do we need to back them up somehow first?
 
Our admins have already been creating quizzes in the Lite version of vBQuiz. Can we just upload the Pro files in the Uploads folder and re-"Import" the product to upgrade, or will we have to uninstall/reinstalled?

In either case, will the quizzes we have already created be saved, or do we need to back them up somehow first?

Your quizzes will still be there after the upgrade. I don't overwrite/remove the quizzes/results during the upgrade from lite to pro
If it makes you feel better though you can export them from the ACP into an xml and hold onto that. :)
 
Thanks for the help.

Here is a related follow-on question (if you want me to start a new thread with it, just let me know):

We are developing a set of quizzes on a dev server. Then, we want to move them to a staging server--a mirror of our live site that gets synced every couple of months--to test with a more-or-less current environment. Finally, we want to push the polished quizzes to our production server.

I didn't see anything in the docs (DragonByte Tech Documentation) about what the Export function in the AdminCP gets. Am I right in thinking we should be able to do a clean install of the product on the other servers, Export out of dev, and Import all our setup onto the new server?
 
Thanks for the help.

Here is a related follow-on question (if you want me to start a new thread with it, just let me know):

We are developing a set of quizzes on a dev server. Then, we want to move them to a staging server--a mirror of our live site that gets synced every couple of months--to test with a more-or-less current environment. Finally, we want to push the polished quizzes to our production server.

I didn't see anything in the docs (DragonByte Tech Documentation) about what the Export function in the AdminCP gets. Am I right in thinking we should be able to do a clean install of the product on the other servers, Export out of dev, and Import all our setup onto the new server?

Correct, as long as the userid matches you will have the same quizzes/questions/answers/results from the old server on the new server associated with the same username who created them on dev.
 
Thanks, Dylan. This thread can be marked "Answered"

---------- Post added 20th March 2012 at 16:46 ---------- Previous post was 29th February 2012 at 16:54 ----------

Dylan,

I just realized that the forum users are not in sync from our development, staging, and production servers.

We will not be allowing regular users to create quizzes. Just admins will create quizzes, and they will be linked from a series of blog entries outside vBulletin. We can hard-code the links, and it would be fine to make all the quizzes "created by" one Admin user.

Is there an easy way to do that in the product interface, or would we need to edit the database tables?
 
If you already have the quizzes created in dev I would change the userid field in the dbtech_vbquiz_quiz table to be the id of the user you want to have as the creator in your production system then export them. You might want to create a user with the same id in your dev so any future tests or modifications can be done in dev and moved up the chain to production.
 
Dylan,

We installed vbquiz in a staging area of our server, exported out of our dev server's install of vbQuiz, and imported to the staging area, but it only picked up the categories and quizzes.

No overall permissions or template changes were transferred. (We have made changes to almost every style template.) Is there a way to transfer those automatically without copying and pasting between each control panel?
 
You can export the product file from your dev and import that into production to bring over the template changes. I don't know of a way to bring over permission changes.
 
You can export the product file from your dev and import that into production to bring over the template changes. I don't know of a way to bring over permission changes.

I exported from dev, and when I imported to staging, it said the templates were merged successfully. However, when I look at them in admincp, none of them are changed.
 
Did you change the templates in the master style, or a different style?

I changed the templates in our custom style set, but when I ran the import on staging, it listed both our style set and the default (master) vBulletin style when it was processing.

I just looked at the XML export file, and there didn't seem to be any indication in the data about what template set the templates belong to.
 
If you are exporting product xml to import it to a different site, it will only copy the templates in the Master Style.

So if you make changes in style 1 and style 2 it will not load on to the new site.

In order to change the templates in the Master Style you need to set your forum to debug mode, by adding the following just below the <?php in the config.php file.

Code:
$config['Misc']['debug'] = true;

Once that is added on the dev site, copy the template edits you did in the other style to the Master style. Then export the product xml, and load it to your other site.
 
If you are exporting product xml to import it to a different site, it will only copy the templates in the Master Style.

So if you make changes in style 1 and style 2 it will not load on to the new site.

In order to change the templates in the Master Style you need to set your forum to debug mode, by adding the following just below the <?php in the config.php file.

Code:
$config['Misc']['debug'] = true;

Once that is added on the dev site, copy the template edits you did in the other style to the Master style. Then export the product xml, and load it to your other site.

I've tweaked almost every vbQuiz template. Once I am in debug mode, do I have to copy every style by hand, cut-and-paste, and then export?

Is there a way to modify /actions/admin/impex.php to hard-code which template set gets exported/imported ?

I'm trying to avoid the hand copy-and-paste.
 
Did you try going to style manager and exporting the changes on that style then importing it and merging the style?

ACP->Styles & Templates->Style Manager
On your style select Download
Change Product to vBQuiz
Select radio button by "Get customizations made in this style and all parent styles"

Then import that style and select merge into style.

That might get you want you need.
 
Did you try going to style manager and exporting the changes on that style then importing it and merging the style?

ACP->Styles & Templates->Style Manager
On your style select Download
Change Product to vBQuiz
Select radio button by "Get customizations made in this style and all parent styles"

Then import that style and select merge into style.

That might get you want you need.
Dylan, Ozzy47:

Thanks for all your help on this. I tried Dylan's suggestion first, being a little less daunting, and it did precisely what I needed. I used the similar "Download/Import" feature in the Phrase Manager to transfer all of the phrases we had customized, too.
 
Status
Not open for further replies.

Similar threads

Legacy vBQuiz

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
435
Customer rating
0.00 star(s) 0 ratings
Back
Top