Like or Not Panel v1.00 Infusion for PHP-Fusion v7.01.+
Like or Not Panel v1.00 for v7.01 by HobbyMan | See includedagpl.htmlfor more.
What it does:

This infusion adds a L-Ctr panel to your site allowing members to "Like" or "Dislike" a page in your site. Members can like or dislike as many pages as they want. Each page will then display the number of likes or dislikes for that page.

  • It is visible to guests but only members can submit likes.
  • Admins can view stats on each page.
  • Members can only vote once on each page.
  • Members cannot see who voted which way, admins can. *


Installation:
  1. Upload likeornot_panel folder to your infusions folder
  2. Go to Admin Panel - System Admin - Infusions
  3. Select likeornot_panel form the dropdown and infuse
  4. This will automatically install the panel and site link.

Core File Modification:

  1. None
Configuration:
  • There are 7 settings that can be altered to suit your needs.
  • These can be accessed in likeornot_panel/settings.php
  • true = Yes | false = No

    1. Set Image Type: There are 6 image types to choose from.
    2. Text beside Like or Dislike images.
    3. Turn title bar on or off.
    4. Show percentages beside vote numbers.
    5. * Show Admin View, allows admins and above to view who voted on each page.
    6. If Admin View is turned on, you can decide which way to order the entries: choose 1 to 8.
    7. Show Stats in Top Likes page. This page is public and the stats may increase the server load on busier sites.
Misc: If you wish to have only Superadministrators view the Admin View,
open likeornot_panel.php. Find line 87



Change to..


Support: www.phpnuclear.com or www.php-fusion.co.uk Version: 1.00
phpnuclear - Addons for php-fusion

Notes and Changelog

Notes: Due to the way PHP-Fusion pages work, this panel has been disabled by default from appearing on several core pages. In other words, while it won't appear in faq.php it will display in faq.php?cat_id=1, etc. This is to prevent filling up the DB with useless votes on core pages and not the content. It is also disabled by default from the forum as the number of variations in the paging structure would render votes meaningless.

HTML Valid
Changelog:
v1.00 - First public version