=== Cybersoldier ===

Contributors: cybersoldier
Tags: rap battle, games, hip hop, rap, battle
Requires at least: 4.5
Tested up to: 6.8.1
Requires PHP: 5.7.0
Stable tag: 1.8.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Battle rap plugin for Wordpress

== Description ==

Cybersoldier is a text based battle rap plugin for Wordpress. Basic usage is:
Register a user, and create a "CyberSoldier character dude thingie".
Find some one to battle.
Create a new battle and go to that battle to start battling. (stuff about moms, and/or ugliness might be a good place to start, but be nice.)
Emails are sent to nemesieses... nemesi? ...the one you battle and you to when the other one replies.
Battle is over either when set number of lines are written or set time is out. (ie 10 and 24 hours)

Demo and Download: [https://www.cybersoldier.com]

###Features:
Adds a new user type: cybersoldier, other than that it's common wp users that battle eachother.
A bunch of shortcodes to be used where suited:
Battles list

To add a battles list to a page, or maybe in a widget or where ever you want it. Use 
[battles_list]
It can be used in a couple of different ways, you can use the parameters:
user_id
numberposts
content
images
ie: [battles_list numberposts=3 content=false images=true]
User page

If a user is logged in the user page can be added to any page. The cybersoldier userpage is also added to the bottom of the ordinary wordpress user page in admin.
[user_page]
Player page

More or less just add this shortcode to a page named cybersoldier, and choose that page as to player page in the settings above.
[player_page]
Soldiers on this site

If you want a list of all the cybersolidiers on the page, use this shortcode:
It can have these parameters.
numberposts = -1. How many soliders to show.
content = false. Show the desription of the player or not. 
admin_is_player. If the administrator is one of the players or not. (overrides the setting above in the settings section)
images = true. Displaying the images or not.
[soldiers_list]
Random quote

Adds a randow quote to, where ever it's placed, ie in a widget or a page. [random_line]

= Active Contributors =
<li>[Mattias P Kallio](http://webbigt.se)</li>

== Screenshots ==
1. My Page, setting up your Cybersoldier.
2. Battle Page where the battle is being, well battled if that's a word.
3. Admin Page with a few settings and instructions for shortcodes etc.

== Frequently Asked Questions ==

Everything is perfect and noone have asked me a single question. It MIGHT show up some questions here later I guess. ;)

== Installation ==

Install like any other plugin. Once installed go to cybersoldier settings page for more information and settings. 
In short, create a page for the cybersoldier page and add [player_page] shortcode to it.
Click the "Update character svg info" to add the images and svg-character stuff. (It is possible, but not all that simple, to add you own svg:s and information, but that's why it's not automated)

There are a bunch of shortcodes and a template (for the battle page) to integrate the plugin in your site.

== Changelog ==
= 1.8.2 = 
Minor code prettyfying and test for 6.8.1

= 1.8.1 =
Minor bugfix for editing characters, and a few other minor things.

= 1.8.0 =
UX thing in settings, WP Version check för 6.7, nothing more, nothing less.

= 1.7.1 =
WP Version check, nothing more, nothing less.

= 1.7.0 =
Moved things around and went through code thoroughly to accomodate certain security issues. Not many visible changes but more stable, and the code is a lot prettier. 

= 1.6.1 =
Fixed some security thing that someone complained about, where administrator, not using WordFence etc, could add script to their own site in some input field. Luckily this is now fixed. Admins of sites using this plugin now have to use the themes editor, ftp, header or footer script plugins if they, for reasons unknown, would want to trasher their own site.

= 1.6 =
A bunch of minor stuff, problem with login with facebook-plugin, js files and external content not loaded etc.

= 1.5.5 =
WP 5.7 Version check 

= 1.5 =
Buttons for creating default pages in Settings
Minor bugfixes.
WP Version check.

= 1.0 =

* Initial version