Cybersoldier

Beskrivning

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

  • Mattias P Kallio
  • Skärmdumpar

    • My Page, setting up your Cybersoldier.
    • Battle Page where the battle is being, well battled if that’s a word.
    • Admin Page with a few settings and instructions for shortcodes etc.

    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.

    Vanliga frågor

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

    Recensioner

    1 mars 2023
    I installed the plugin, it’s difficult to understand. The classification codes [cybersoldier_player_page] and [player_page] do not work, ”player does not exist” or the shortcode always appears on the screen. You cannot create battles on the front-end, you can only create battles through the back-end, so you have to grant permissions for the ”cybersoldier” role so that users can enter the administration desk, impractical, I don’t like it. I strongly believe that you should develop a module that allows you to create and edit battles from the front-end. Finally, it would be necessary to be able to record audios and do the battles with voice, it is the essence of rap … In this way it is a competition of ”poets” or ”writers”. Still, the plugin is interesting to create a different page that promotes culture.
    Läs alla 2 betyg

    Bidragsgivare och utvecklare

    ”Cybersoldier” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

    Bidragande personer

    ”Cybersoldier” har översatts till 1 språk. Tack till översättarna för deras bidrag.

    Översätt ”Cybersoldier” till ditt språk.

    Intresserad av programutveckling?

    Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

    Ändringslogg

    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