View Poll Results: Would you use a system like this?

Voters
6. You may not vote on this poll
  • Yes

    2 33.33%
  • No

    4 66.67%

Thread: RuneVote

Results 1 to 4 of 4
  1. #1 RuneVote 
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    Context

    Framework: Laravel
    Languages: PHP, HTML, SCSS, JS

    UPDATE: Website will be live soon. Initial testing will commence soon and once satisfied will be launched for free.

    I wanted to create an application that would handle voting callbacks and that could be used by many different servers, there are a few released that must be installed, which is great as it's open source and allows for great customisation.
    However, sometimes they are overcomplicated, so I wanted to create a solution that would be incredibly easy to install (a matter of seconds). There are a few tools like this I believe one being everythingrs, however, I don't believe you can embed their page into your current website, of course you could use an iframe though the styling may not match your current websites design.

    The route I took was an API style application, meaning the user (server owner) would register and customise their voting setup within their account area such as enabling which voting toplists they wish to display.

    The simplistic installation process is as simple as creating an iframe within your website, which would look like this;

    Spoiler for Installation Process:
    Code:
    <iframe class="voting-iframe" src="[DOMAIN]/vote?server_id=3" title="Vote for your server!"></iframe>
    The default styling for the voting page can be viewed below, however you may pass an additional parameter through the iframe to pass an external stylesheet, one that may be hosted on your own webserver which is able to override each HTML elements styling so you can match it with your current websites design, for example:

    Code:
    <iframe class="voting-iframe" src="[DOMAIN]/vote?server_id=3&css=[DOMAIN]/styles.css" title="Vote for your server!"></iframe>


    Attached image

    The only required parameter being the "server_id" which is acquired within the user dashboard which can be viewed below

    Attached image


    Different voting toplists can be toggled within the server detail page, seen below:

    Attached image

    An API request can be made in order to view if a specific user has voted or alternatively to claim the rewards, I wanted this to be as simple as possible, so right now this is done via two simple API requests:

    Spoiler for API Examples:
    Code:
    [DOMAIN]/vote/api/check?username=[USERNAME]&auth=[PRIVATE_AUTH_CODE]
    Code:
    [DOMAIN]/vote/api/claim?username=[USERNAME]&auth=[PRIVATE_AUTH_CODE]
    An example of how the API may be used:

    Code:
        /**
         * Claims the votes of specific username
         */
        public static void claimVotes(String username) {
            int votes = Integer.parseInt(makeRequest("http://home.local/rspsvoting/public/vote/api/claim?username=" + username + "&auth=" + PRIVATE_AUTH_CODE));
            if (votes < 1)
                return;
            Player player =  World.getPlayer(username);
            if (player == null)
                return;
            player.setVotes(player.getVotes() + votes);
            player.out("You have claimed " + votes + " vote points.");
        }


    Spoiler for Media:

    Homepage Design

    Attached image

    Documentation Page

    Attached image


    Added Account dashboard featuring basic statistics for each of that users servers.

    Attached image


    Dashboard Votes Page now displays tables containing basic data of all the people who have voted such as username, toplist, whether they have claimed it.

    Attached image



    This is also a valuable learning project so I would greatly appreciate any feedback, whether its security, design or functionality.

    I would also be very interested to know if anyone would actually use a system like this?
    Last edited by Santa Hat; 06-19-2020 at 08:15 PM.


    Reply With Quote  
     

  2. #2  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    It’s too early too give you constructive feedback, good luck with the project

    Quote Originally Posted by DownGrade View Post
    Don't let these no life creeps get to you, its always the same on here. They'd rather spend hours upon hours in the rune-server spam section then getting laid! ha ha!Its honestly pathetic i haven't seen so many lowlifes in my life its actually insane i wish that this section would just vanish its probably the only way to get these people out of the community...
    PLEASE BE AWARE OF IMPOSTERS MY DISCORD ID: 362240000760348683
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    Added documenation page, will proceed to add to it in the future. Note: RuneVote name was a random name, will most likely change at some point.

    Attached image

    Need to build the homepage for the main site, updated the callback controller to handle all toplist callbacks.

    Shouldn't be too much longer until the product can be launched, will be free to use also but may incorporate a 'premium' version at some point.

    Update: Progress on homepage..


    Attached image

    Added Account dashboard featuring basic statistics for each of that users servers.

    Attached image


    Dashboard Votes Page now displays tables containing basic data of all the people who have voted such as username, toplist, whether they have claimed it.

    Attached image
    Last edited by Santa Hat; 06-17-2020 at 12:54 AM.


    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Apr 2020
    Posts
    8
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    This looks awesome !! Another easy way to implement a lightweight voting system into your server without it being a hassle
    Reply With Quote  
     

  6. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. RuneVote v1.0 (Vote4cash Setup!)
    By Runestate in forum Website Development
    Replies: 4
    Last Post: 09-30-2012, 11:04 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •