“Varient - News & Magazine Script” Documentation by “Codingest” v1.3.2


“Varient - News & Magazine Script”

Created: 17.11.2017
By: Codingest
Email: codingest@gmail.com

Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Table of Contents

  1. Introduction
  2. Files
  3. Install
  4. Image Upload Settings
  5. Quick Start
  6. Admin Panel
  7. Navigation
  8. Pages
  9. Posts
  10. Scheduled Posts
  11. Drafts
  12. RSS Feeds
  13. Categories
  14. Widgets
  15. Polls
  16. Gallery
  17. Contact Messages
  18. Comments
  19. Newsletter
  20. Ad Spaces
  21. Users
  22. Update Profile
  23. Font Options
  24. Seo Tools
  25. Social Login Configuration
  26. Preferences
  27. Forgot Password
  28. Visual Settings
  29. Settings
  30. Author Panel

1) Introduction - top

Varient is a multi-purpose news & magazine script. It has clean, responsive and user-friendly desing. You can manage almost everything in your site with its powerful Admin panel. It is multi-author system and all authors have their own panel to manage their posts, videos and audios. It is secured, seo optimized, fast and easy to use.

Technologies used: Key Features:
Security:
Varient is a secure system. There are various mechanisms to secure application. These mechanisms are:
Requirements:
There are some requirements for Varient to work on your server. These requirements are:

2) Files - top

a) CSS Files
b) JavaScript Files
c) Plugins Plugins used in application:

3) Install - top

To Install Varient:

Note: Please check your PHP version before installing. In order for Varient to work properly, your PHP version should be at least 5.5. We recommend PHP 5.6 or PHP 7.0.

Note: cURL PHP extension should be enabled in your server. If you get this error during installation "cURL is not available on your server! Please enable cURL to continue the installation.", you should enable cURL on your server.
You can enable it by adding "extension=php_curl.dll" this line to your php.ini file. If you can not access your php.ini file please contact with your host service.

1. Create a new Database with user that has all permissions. 2. Upload script files to your host(ftp).

3. Run the Install file. (http://yourdomain.com/install)

4. Follow Steps in Installation Instructions.


4) Image Upload Settings - top

Varient performs image optimization while uploading. This optimization consumes memory.

If you try to upload large images without doing some settings on your server, you can get an error.

If you can't upload large images, you need to set these values. These are recommended minimum values.

php_value upload_max_filesize 32M
php_value post_max_size 32M
php_value memory_limit 256M


To set these values follow the steps:

  1. Go to your Cpanel and click "Select PHP Version"



  2. Then click "Switch to PHP Options"



  3. Then set the values "upload_max_filesize", "post_max_size" and "memory_limit" as you see in the picture.



If you can not reach these settings, please contact your host administrator and ask them to make these settings.




5) Quick Start - top

After installation, you will be redirected to home page.
Login with your Admin account email and password.

After login as Admin, you will see the "Admin Panel" link on the top menu. You can reach to the Admin Panel by clicking this link.


✓  Changing Admin Email Address: If you want to change Admin email address you should add a new user from register page. Then you should go to "Users" section from navigation and change the user role of your new account as admin. Then you can login with your new account as Admin and you can delete demo admin account from "Users" section.
But remember, if you added posts with demo admin account, this posts will not appear on your site after deleting demo admin account. In this case, you can change the email address directly from phpMyAdmin without deleting this account.

✓  Changing Admin Password: After login the system you will see your user name in the top menu. Click your username and a dropdown will open then click Change Password option. And fill in the form to change your password.

✓  Update Profile: Go to "Update Profile" section from navigation. You can update your profile informations here.

✓  Adding Category: Go to "Categories" section from navigation and click Categories. Then fill in the Add Category form and click Add Category button. To add subcategory, Go to "Categories" section and click Subcategories. Then fill in the Add Subcategory form and click Add Subcategory button.

✓  Adding Post: To add a post you should first add a category. After adding some categories go to "Add Post" section from navigation and click Add Post, Add Video or Add Audio. Then fill in the form and click Add Post button.

✓  Adding Page: Go to "Pages" section from navigation and click Add Page. Then fill in the form and click Add Page button. If you want to manage existing pages: Go to "Pages" section from navigation and click Pages. Then you will see all pages in your site. You can make any change by selecting edit option for each page.

✓  Adding Widget: Go to "Widgets" section from navigation and click Add Widget. Then fill in the form and click Add Widget button. If you want to manage existing widgets: Go to "Widgets" section from navigation and click Widgets. Then you will see all widgets in your site. You can make any change by selecting edit option for each widget.

✓  Adding Poll: Go to "Polls" section from navigation and click Add Poll. Then fill in the form and click Add Poll button.

✓  Adding Images to Gallery: To add images to gallery, first you should add some categories for images. Go to "Gallery" section from navigation and click Categories. Then fill in the Add Category form and click Add Category button. After addings some categories, go to "Gallery" section and click Images. Then fill in the Add Image form and click Add Image button.

✓  Sending Email to Registered Emails (Newsletter): To use newsletter feature you should first make your email settings. Go to "Settings" section from navigation and click Email Settings tab. Enter your mail server informations and click Save Changes button. Then go to "Newsletter" section from navigation and fill in the Send Email to Registered Emails form and click the Send Mail button.

✓  Running Ads: If you want to add your ad codes to your website, this is very easy in the Varient. Go to "Ad Spaces" section and add your ad codes then click Save Changes button.

✓  Managing Users: Go to "Users" section from navigation. You will see all users registered. You can select Change User Role, Delete User and Ban User options for each users.

✓  Adding Author: Varient is a multi-author system, so authors can add posts. To add an author to the system first user should register from register page. Then Admin should go to "Users" section from navigation and should set user role as Author. After this process user will became an Author and he can reach his own Panel to manage his posts.


6) Admin Panel - top

There are some counters in the Admin panel's home page. These counters:

  1. Posts: Shows Posts count
  2. Pending Posts: Shows Pending Posts count (Hidden post count)
  3. Drafts: Shows Drafts count
  4. Scheduled Posts: Shows Scheduled Posts count
In addition to these, there are also sections which the last five comments, last contact messages and last registered users are shown in the index page.



Add Menu Link: You can add a new link to the navigation from this form. Also you can add a dropdown link to the navigation by selecting "Parent Link".

Navigation: You can see links on your navigation on this table and you can update or delete a link.

Menu Limit: You can set menu item count that will be appear on your navigation from this form.


8) Pages - top

You can add, update and delete pages from this section.

Add Page: Go to "Pages" section from navigation and click Add Page. Then fill in the form.

Update Page: Go to "Pages" section from navigation and click Pages. You will see page list and you can make changes on pages by selecting "Edit" option for each pages.

Delete Page: On the same list you can delete pages by selecting "Delete" option for each pages.


9) Posts - top

You can add, update or delete posts from this section.

Add Post: Go to "Add Post" section from navigation and click Add Post, Add Video or Add Audio. Then fill in the form.

Update Post: Go to "Posts" section from navigation and click Posts. You will see post list and you can make changes on posts by selecting "Edit" option for each posts.

Delete Post: On the same list you can delete posts by selecting "Delete" option for each posts.

Upload Image: To add image to post content click image upload button on the text editor. Then select your image and press the Send to server button.

Upload Video: To add video to post content click video upload button on the text editor. Then paste your video embed code.


Post Lists:


10) Scheduled Posts - top

You can see your scheduled posts from this section.
Your post will be automatically published when the date you select is reached.
If you want to publish immediately, you can click "Publish" option.


11) Drafts - top

Posts can be saved as a draft instead of publishing directly. You can see your drafts in this section.


12) RSS Feeds - top

You can add, update and delete RSS Feeds from this section.

Import RSS Feed: Go to "RSS Feeds" section from navigation and click Import RSS Feed. Then fill in the form.

Update Feed: Go to "RSS Feeds" section from navigation and click RSS Feeds. You will see RSS feeds list and you can make changes on RSS feed by selecting "Edit" option for each RSS feeds.

Delete Feed: On the same list you can delete RSS feeds by selecting "Delete" option for each RSS feeds.



Add Posts with Cron Jobs

You can set a cron job to update your posts with RSS feed sources. Follow the steps:

Step 1: Go to your Cpanel and click cron jobs.


Step 2: Add new cron job.

Select an option.




Then paste this command to command line:

wget -O /dev/null http://yourdomain.com/cron/check_feed_posts



Then click Add New Cron Job button. Once you have done this, posts automatically will be added, if you select auto update option for a RSS feed.


13) Categories - top

You can add, update or delete categories from this section.

Add Category: Go to "Categories" section from navigation and click Categories. Then fill in the Add Category form.

Update Category: Go to "Categories" section from navigation and click Categories. On the category list you can make changes on categories by selecting "Edit" option for each categories.

Delete Category: On the same list you can delete categories by selecting "Delete" option for each categories.

Subcategories: You can add, update or delete subcategories from this section.

Add Subcategory: Go to "Categories" section from navigation and click Subcategories. Then fill in the Add Subcategory form. Update Subcategory: Go to "Categories" section from navigation and click Subcategories. On the category list you can make changes on categories by selecting "Edit" option for each categories.

Delete Subcategory: On the same list you can delete categories by selecting "Delete" option for each categories.


14) Widgets - top

You can add, delete or update sidebar widgets from this section.

Add Widget: Go to "Widgets" section from navigation and click Add Widget. Then fill in the form.

Update Widget: Go to "Widgets" section from navigation and click Widgets. On the widget list you can make changes on widgets by selecting "Edit" option for each widgets.

Delete Widget: On the same list you can delete widgets by selecting "Delete" option for each widgets.


15) Polls - top

Varient has poll feature. You can add unlimited polls and you can manage these polls from this section.

Add Poll: Go to "Polls" section from navigation and click Add Poll. Then fill in the form.

Update Poll: Go to "Polls" section from navigation and click Polls. On the poll list you can make changes on polls by selecting "Edit" option for each polls.

Delete Poll: On the same list you can delete poll by selecting "Delete" option for each polls.


16) Gallery - top

You can add, delete or update images to gallery from this section.
Before adding new image you should add categories for gallery.

Add Category: Go to "Gallery" section from navigation and click Categories. Then fill in the Add Category form.

Update Category: Go to "Gallery" section from navigation and click Categories. On the category list you can make changes on categories by selecting "Edit" option for each categories.

Delete Category: On the same list you can delete category by selecting "Delete" option for each categories.

Add Image: Go to "Gallery" section from navigation and click Images. Then fill in the Add Image form.

Update Image: Go to "Gallery" section from navigation and click Images. On the image list you can make changes on images by selecting "Edit" option for each images.

Delete Image: On the same list you can delete image by selecting "Delete" option for each images.


17) Contact Messages - top

You can see messages that users sent from the contact form on the site from this section.
If you want to delete a message from list, click the Select an option button and click delete.


18) Comments - top

You can see comments made by users from this section.
If you want to delete a comment, click the Select an option button and click delete.


19) Newsletter - top

The Newsletter allows you to share some updates and interesting things with the users.
You can see the all registered emails and you can send an email to these emails from this section.
If you want to delete an email, click the Select an option button and click delete.


20) Ad Spaces - top

You can manage your ad codes from this section.
Because of ad spaces are responsive, you need to enter the code at different metrics for each ad.
If you do not have an ad code, you can create your own ad code by uploading an image and entering a link for the ad.

21) Users - top

You can manage registered users from this section. Go to "Users" section from navigation.

Options:

There are 3 roles in the system:

Admin: System administrator.

Author: Authors can add, update and delete their posts. Authors can only see and process their own posts. If a post added or edited by an author, Admin approval is required. If Admin approves, the post will be published.

User: User can't access the Admin panel and they can't add posts.


22) Update Profile - top

Varient is a multi-author system, so every author have their profile page. Admin and author can update their profiles from this section. Go to "Update Profile" section from navigation.


23) Font Options - top

Varient has Google Fonts options. You can change site fonts from this section. Go to "Fonts Options" section from navigation.


24) Seo Tools - top

Go to "Seo Tools" section from navigation.

Generate Sitemap: You can generate a sitemap.xml file from this section.


25) Social Login Configuration - top

Go to "Social Login Configuration" section from navigation.
To use Facebook login and Google login on your site you should create an app and enter app id and app secret from this form.

Facebook Login:

  1. Go to https://developers.facebook.com/
  2. Click Add a New App
  3. Fill in the form then click Create App ID
  4. Then select Facebook Login with clicking Set Up from Select a product section.
  5. Select web as platform.
  6. Enter your site url and click save.
  7. Then click Settings from left navigation. Enter your App Domains and select your category. Click Save Changes.
  8. Then click Facebook Login from left navigation. Enter your this link "https://yoursite.com/login-with-facebook" to Valid OAuth redirect URIs field. Click Save Changes.
  9. Then click App Review from left navigation. And make your app public.
  10. Your app is ready. Go to dashboard and get your App ID and App Secret.

Google Login:
  1. Go to https://console.developers.google.com/
  2. Click Enable APIs and Services
  3. Select Google+ API
  4. Click Enabled Button
  5. Then you will see a window "To view this page, select a project" click Create.
    And After that enter a name for your project and click Create.

    After this step if you see Enable button again Click Enable. Then your API will be created.
  6. Click Credentials from left navigation. Then click Create Credentials and select OAuth Client ID option.
  7. Fill in the form and click Save.
  8. Then select Web Application and enter your url. "http://yourdomain.com/login-with-google" click Create button.
  9. Then your API will be ready and you will see your client ID and client secret.


26) Preferences - top

From this section,You can make adjustments to manage your site better.


27) Forgot Password - top

If you forgot your password you can reset your password by clicking "Forgot password?" on login screen. Then your new password will be sent to your email.
To get password email you need to make your mail settings first. For this go to "Settings" section and click "Email Settings" tab and add your mail server informations.


28) Visual Settings - top

You can make your visual settings from this section.
Go to "Visual Settings" section from navigation.


29) Settings - top

Genaral Settings: Go to "Settings" section from navigation.



Email Settings: You can make your email settings from this section.
Go to "Settings" section from navigation.



Contact Settings:
Go to "Settings" section from navigation and click "Contact Settings" tab.

Varient has Google Map in the contact page. You need to get an API key for this map to work.
Once you have received this key, you can activate your map by entering your latitude and longitude information from this section.

Google Map API:
  1. Go to https://console.developers.google.com/
  2. Click Enable APIs and Services
  3. Select Google Maps JavaScript API
  4. Click Enabled Button
  5. Click Credentials from left navigation.
  6. Click Create Credentials and Select API key option.
  7. Click Edit from Credentials list.
  8. Select HTTP referrers (web sites) option and add your site url. Than you can use your API key.


Social Media Settings: Go to "Settings" section from navigation and click "Social Media Settings" tab.
You can add your social media accounts from this section.

Facebook Comments:
If you want to use Facebook comment plugin you should add your plugin code to this section.

How to Get This Code:
  1. Go to https://developers.facebook.com and click Add a new app.
  2. Click Settings and then click +Add platform.
  3. Select website and enter your site url and click save changes.
  4. Then go to https://developers.facebook.com/docs/plugins/comments/ and click Get Code button.
  5. Then copy this code and paste to Facebook Comments field.

  • HTML Head Code:
    You can add your custom HTML, CSS, JavaScript codes from this section. Your codes will be placed in head tags.


  • 30) Author Panel - top



    Varient is a multi-author system. Every author has their own panel and they can manage their posts. If author add or update a post it will needs Admin approval. The post will not be published on the site until Admin approve it.

    Posts: Authors can add, delete, and edit their posts from this section. After adding a post it will be added to Pending Posts and it will wait for Admin approval.

    Scheduled Entries: Authors can see their scheduled entries from this section.

    Update Profile: Authors can update their profile from here.






    Once again, thank you for purchasing this script. As I said at the beginning, I'd be glad to help you if you have any questions relating to this script. I'll do my best to assist.

    Codingest

    Go To Table of Contents