support@site.it +1 400 3113 11

Demo content import

Pure template gives two types of demo content.

First type is a basic demo content. It’s a few posts, events, reports and questions. Each post has thumbnail. This demo content will be created automatically after a first activation of template. In any case, you can easily remove this demo content with one click. Just go to [Pure settings] / [Data import] and click on “Remove basic (minimal) demo data”.

0

[total]

If you will want restore basic demo data, you can click on “Generate basic (minimal) demo data” in same window.

0

[total]

Second type of demo content is a generation of content. Pay your attention – not import content, but a generation of content. In any case, to be easier, we call it import. In this case, you will get not only posts, but also will be generated: members (with avatars), groups, memberships and friendships.

Two ways to do advanced demo

Pure template importer (not importer for sure, but generator) of demo content can be launched in two ways. First way is manual start of script. This way is better and safely and we recommend use it. Second way is online import. In this case, import’s script will be launched remotely.

Prepare

  1. Download file demo.zip.
  2. Create folder [demo] in your [wp-content/uploads]
  3. Extract files and folders from demo.zip into [wp-content/uploads/demo]

Now you are ready to start export demo data.

Safe mode – manually start export

  1. Be sure – all files from [demo.zip] are in folder [wp-content/uploads/demo]
  2. Stop any outside connections on your server (for yor site for sure).
  3. Go to the folder [wp-content/themes/pure/components/demo/Module/bin]
  4. Using write/read rights for folders [../wp-content/uploads] and [PHP temp upload folder] (scripts will add images on your server) run next command [php -q launcher.php]

Pay your attention, you should run script with some rights, which allows to write data into your [../wp-content/uploads] and [PHP temp upload] folders.

0

[total]

As we said before, we recommend use this way. After you run import, you will see logs of process in console. If you have some problems with import, you should open file [launcher.php] and turn on DEBUG mode according comments in script. Copy logs data from console and send us, please. We will help you, you will help other people.

Online mode – remotely start export

Be sure – all files from [demo.zip] are in folder [wp-content/uploads/demo]

At the time of import, set rights to ../wp-content/uploads to 777 for standard user of your server (import script will be run by standard user of your server). In unix OS – use CHMOD; in windows – set permission via properties of folder (section “security”). It is necessary only during import.

At the time of import, set rights to your [PHP upload temp folder] (you can see path to this folder in your php.ini – [upload_tmp_dir]) to 777 for standard user of your server. Use commands like in step (2). It is necessary only during import.

Go to administration panel of your site, section “Pure”, page “Import data”

0

[total]

After you press button “Start import in online mode”, you will see area with logs information

0

[total]

Procedure of import will take much time. About 5-10 minutes.

Do not close browser and do not update page while procedure of import is going.

After finishing of import, restore rights to ../wp-content/uploads and PHP upload temp folder to standard.

If something is going wrong, you will see information about errors in logs.

Pay your attention, you have to change permissions of access to your folders on server (that’s why we call the first way – “safely”).

It isn’t import, it’s generating of content

As you understand, an import is a procedure of copy some content from one place to other place. But we have not basic content (which can be copied). Instead it we have some data to generate content. You can discover folder [demo] with files.

For example, file [authors.xml] defines information about authors, which will be created; file [titles.xml] – titles of future posts. It works very simple.

Step 1. Create members according [authors.xml]

Step 2. Create groups according [groups.xml]

Step 3. Create friends for each member. There is no scheme – just random friendships.

Step 4. Join members to groups. Again, without any defined scheme – just random procedure.

Step 5. Create posts. For each value in [titles.xml] will be created one post. Content of post generated randomly – we take some image from folder [images], take random text form [texts.xml] and random embed content from [embeds.xml]. Author of post defines randomly too.

 

The community

A community is a social unit of any size that shares common values. Although embodied or face-to-face communities are usually small, larger or more extended communities such as a national community, international community and virtual community are also studied.

Best of us

Copyright © 2015 Pure Theme. All Rights Reserved. Powered by WordPress.

Last posts

What is a template?

2015-06-09 22:47 / Jack Clark

Activate and deactivate theme

2015-06-09 22:46 / Jack Clark

What is provider?

2015-06-09 22:45 / Gabriel Thompson

The best way to add new front-page?

2015-06-09 22:44 / Gabriel Thompson

Where I can place my JS file?

2015-06-09 22:43 / Gabriel Thompson

Thumbnail for post

2015-06-09 22:43 / Gabriel Thompson

What is a component?

2015-06-09 22:41 / Jack Clark

About cache system

2015-06-09 22:29 / Jack Clark

WebSocket server

2015-05-30 00:34 / Gabriel Thompson

Test of question

2015-05-29 12:13 / Gabriel Thompson

Members

Groups

Tags

business (1)

cities (1)

Europe (1)

Categories

SandBox (1)

Countries (2)

Photos (2)

Music around (4)

Developer (10)

Cities (24)

The pure

Login or email

Password

The pure

Your login

Your email

The pure

Sorry, but at current time registration is unavailable.