This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.or...
GENERAL:
--------
This is intended as a system for users to submit snippets of code for administrator approval and be displayed to the site's community.
This addon is by special request from Lenoox on my home site: skpacman.com
FEATURES:
---------
NO core file modifications
Whole system is contained in the infusion including comment and rate system
Administration approval for all user submitted snippets
GeSHi v1.0.8.10 highlighting for code snippets - Supports over 200 languages!!!
jQuery star rating system v3.14
bbcode and smiley support in snippet descriptions
bbcode and smiley support in snippet comments
custom edit, delete, like, dislike, approve, etc.. logos/buttons by psdgraphics.com
and much more!
NEW IN v1.10:
-------------
New settings in the Admin Panel that control various aspects of the user end
New panels to list recent snippets, top rated, and top liked
Several bug fixes!
INSTALL INSTRUCTIONS:
---------------------
1. Upload the contents of /files to your site's root
2. Go to Admin Panel - System Admin - Infusions and Infuse 'Code Snippets Panel'
3. Follow the How-To below to start working on it!
UPGRADE FROM v1.03 to v1.10
---------------------------
1. Upload the contents of /files to your site's root
2. Go to Admin Panel - Infusions - Code Snippets and click on the button that says 'FINISH THE v1.10 UPDATE'
You'll have to add the new panels manually through System Admin - Panels.
HOW-TO:
-------
After you infuse this addon, you'll need to add categories that your users can submit snippets for.
Once the categories are in place, your users can submit snippets, or you can add snippets through the admin panel.
New submissions will show up in your notification panel (if enabled) and on the admin page at the bottom.
You can edit the submission for later use, or you can edit it as you're approving it.
If you've done a fresh install, the infuse system will have added a link to your navigation panel to
the user interface and three new panels that are viewable to your users. You can edit these through
your administration panel.
NOTE:
-----
The delete operations for all aspects do not have confirmation pages but there are warnings as to what each delete will do.
UNINSTALL INSTRUCTIONS:
-----------------------
1. Defuse the infusion from Admin Panel - System Admin - Infusions
That's It!
Special Thanks:
---------------
Lenoox and KasteR for helping with testing
Fangree_Craig and Mittens Returns for helping me with the bbcodes problem
NetriX for fixing a security flaw
Richard Ainz for helping with the v1.02 bug report
Last Full-System Test Performed: April 25, 2012
CHANGELOG
---------
v1.01 - First Public Release
v1.02 - Fixed problem creating category
v1.03-
Security Fix by NetriX -- see code for details
Submit page disabled if no categories in database
Fixed code display width problem
v1.10-
Fixed duplicated error message when in maintenance mode.
Added "Latest Snippets" panel.
Added "Top Snippets" panel.
Added "Liked Snippets" panel.
Fixed rating calculation in snippet view
Added SETTINGS button next to HOME button
Removed the "List All" buttons from left and make right list clickable
Column display in categories and snippets lists now controlled by admin settings.
Setting to show or hide comments from Guests
Setting to allow or disable comment posts from guests
Setting to allow or disable snippet submissions from guests
Setting to show or hide comments from Users
Setting to allow or disable comment posts from users
Setting to allow or disable snippet submissions from users
Setting to bypass administrative approval of snippets
Simplified infuse/defuse/update system
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.