1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Nick
    Plugins Required:
    Submit
    Supported:
    • Yes
    Plug & Play:
    • Yes
    EVB (External Vote Button)
    Plugins Required: Submit

    Description
    Ths plugin allows an external vote button (EVB) to be embedded in a remote site. When clicked, the user is redirected to the Hotaru CMS site to submit the page they came from or if its already in the database, they can vote for it (if logged in).

    Instructions
    1. Upload the "evb" folder to your plugins folder.
    2. Install it from Plugin Management in Admin.
    3. Instruct your site's users to add this code snippet to their pages:

    To add a button on a page with a single post, just copy and paste this:

    Code:
    <script type="text/javascript" src="http://YOURSITE.com/index.php?page=evb"></script>
    If you have a page with multiple posts, you can separate each instance of the button by using the two lines of code below and providing a url for each post.

    Code:
    <script type="text/javascript">submit_url = "URL OF THE POST";</script>
    
        <script type="text/javascript" src="http://YOURSITE.com/index.php?page=evb"></script>

    Redirecting old buttons

    If you have migrated from Pligg or SWCMS and need your old EVB to work with Hotaru, you can add a redirect to your htaccess file if you are using friendly urls:

    Code:
    ##### EVB REDIRECT #####
    RewriteRule ^evb/check_url.js.php?$ index.php?page=evb [L]
    If you aren't using friendly urls, you'll need to put an evb folder in you root directory, create an empty file called check_url.js.php (or whatever file you previously used). In that file, paste and edit the HTML redirect code described at http://www.instant-web-site-tools.com/html-redirect.html so it points to http://YOURSITE.com/index.php?page=evb

    Revision History
    v0.5 2015/01/12 - shibuya246 - Update for Hotaru v1.7
    v.0.4 2010/05/09 - Nick - Fix to restrict the EVB to "news" entries
    v.0.3 2010/01/03 - Nick - Updated for compatibility with Hotaru 1.0
    v.0.2 2009/11/27 - Nick - Fix for non-object error
    v.0.1 2009/11/23 - Released first version.

    Please click "Rate Thread" and give this plugin a rating. Thank you.

Recent Updates

  1. Version 0.5

Recent Reviews

  1. robin007
    robin007
    5/5,
    Version: 0.5
    I am really love this plugin