More Features to Wordpress Steemit Plugin - GK Steemit Info 0.7.0

in #utopian-io6 years ago (edited)

Introduction

It's been almost two months since our last update to our GK Steemit Info wordpress plugin, and that is essentially due to my personal lack of time to devote into the project.
Yet as of last week, and particularly after our promo-steem and steem-ambassador meetup, I vowed to myself to give another round this week, which I gladly did, especially that the plugin would definitely come in handy in accomplishing many of the needed functionalities on the promo-steem.com website.
In fact, the core of today's update is targeted at simply doing that (more on this below) while keeping in mind that the essential purpose of GK Steemit Info is on being a tool to easily plug various steemit related information into your existing wordpress solution, while playing the role of ultimately bringing more visibility to steem/steemit.


Quick Recap

GK Steemit Info was initiated few months back to simply provide a tool to easily and dynamically allow wordpress website owners, or steemians interested in hosting their own wordpress solutions, to utilize wordpress' widget concept to dynamically drag/drop a set of useful information from the steem blockchain, or accomplish a similar target alternatively via shortcodes while embedding those scripts into pages or posts.
Up until version 0.6.0, the plugin provided access to a multitude of widgets, but on top of that allowed the dynamic creation of steemit users via delegation, as further detailed below:

  • Create steemit user accounts via delegation
  • Display general steem(it) info, such as steem user count, STEEM/USD, SBD/USD, SBD & STEEM current supply.
  • Display user(s) account info, such as account name, image, location, SP, delegated SP, STEEM, account value,...
  • Listing of user posts with filtering options
  • Listing of trending posts with filtering options
  • Listing of user voted posts

New Development Work

General Overview

As highlighted in the introduction, the essence of this update was to bring to wordpress website such as promo-steem.com the capability to display posts under a specific tag on their own site, while easily highlighting if specific users have upvoted those posts, but also enabling a view mode that only displays posts which have actually been upvoted by particular account.
This is essential to the main website audience if they are looking at particular posts from a specific tag, but also to determine, on-sight, if one or more members of a "configurable" team, such as the steem-ambassador team, have upvoted those posts.

New Widget/Shortcode Details

Essentially we created a new widget, entitled Steemit Tag Filtered Voted Posts Widget, which would allow the insertion of aforementioned posts into the widget section, and allows a multitude of configurable options, as follows:

  • Title: the title of the widget to be displayed on the front end
  • Max Post Count: indicating how many posts to be fetched
  • Filter by Tag: one of the essential uses of this widget as to filter content by specific tag
  • Voters: which constitutes the list of users [AKA team] who we are looking for indicators as to if one of the members upvoted a post
  • Only Include Voted Posts: which allows operating in a mode where only posts upvoted b the team will display
  • Allow Front End Filtering : this is work in progress and is not operational as of now, but gives a hint into some of the future work we have in mind :)

    image.png

    The result of utilizing this widget on your wordpress site would yield something similar to the below
    image.png

In addition to the widget, you can alternatively utilize a shortcode within your post/page/code to have a similar yet more detailed display of those posts as well
[steemit_tag_voted_posts filtertag=TAG limit=LIMIT voters=VOTER1,VOTER2 restrictvotedonly=0 excludevoters=VOTER1,VOTER2 showfilters=0]
The exludevoters param is another hint at upcoming work we have in mind :)

The result of using the shortcode would provide a further detailed view of the posts, as depicted below including image, a short description, along with the post's tags

image.png

Layout Changes and Stylesheet refactoring

While my design skills are very limited, I did create a basic layout for the posts to be displayed here as you have noticed above. This styling change affects all existing widget display, as well as the shortcode visuals as seen above. I normally go for very minimalist designs not to conflict with other themes, while giving the user the flexibility to adjust his own CSS requirements.
Along with the layout changes, came the stylesheet refactoring, whereby due to the increase in styling requirements, I moved all the CSS code to a separate style.css file available as part of the plugin installation.

Minor Bug Fix

The release also included a minor bug fix for some badly named params affecting proper shortcode usability on the sites.

Relevant Commit

The most recent commit link related to this 0.7.0 update can be found here.

Downloading the plugin

The plugin is available for download via the official GitHub repository.

Future Work

While we hinted at several items above in relevance to future work, including the "Allow Front End Filtering", and "Exclude Voter Posts" relating to posts upvoted specific users or bots to be excluded, yet we do also have further plans such as:

  • Including an AJAX experience to dynamically view the full display of the post
  • Allowing direct voting capability from within the screen hence allowing an easier curation experience
  • Integrating steemconnect to the plugin
  • Hosting your own manual curation trail concept via the plugin
  • A daily digest of user posts via email
    and much more...

Feel free to check out the new version and come back with any comments, feedback, and/or suggestions :)

Thank you!

@mcfarhat



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @mcfarhat

We're already looking forward to your next contribution!

Decentralised Rewards

Share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.me/utopian-io

Absolultely first rate. I will come and chat with you about this! Brilliant piece of work, and thanks for picking it up after our public chat the other day.

hehe it was meant as a surprise, i guess that worked, and yea we should chat in the few coming days also to have a look and there's a lot of more work and tuning needed, your feedback would be great !

Thank you for the contribution. It has been reviewed.

Great job on commenting your code.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Thank you for this important post and update @mcfarhat. Keep up the good work !!

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 8 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 43 SBD worth and should receive 123 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

You received a 91.87% upvote from @arabpromo courtesy of @mcfarhat!

You can earn daily profit by delegating SP to our bot and support the community. To do so, click below:
50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP, 10000SP,
Custom Amount
Make sure you have at least 15 SP left on your account.

If you believe this post is spam or abuse, please report it to our Discord #bot-bug channel.

This is really awesome. Do you have a demo site?

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.029
BTC 56688.84
ETH 2388.88
USDT 1.00
SBD 2.28