﻿/*
+-----------------------------------------+
+  SHARE THIS V2.00
+-----------------------------------------+
+-----------------------------------------+
| Type: Articles, Photogallery, News and Forums Mod
| Name: Share This 
| Version: 2.00
| Author: Fangree Productions
| Site: http://www.fangree.co.uk
| Developers: Fangree_Craig, SiteMaster
+--------------------------------------------------------+
| Copyright © Fangree Productions 2009 - 2010
+--------------------------------------------------------*
==================================================================================
|                                                                                |
|    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.org/licenses/>.       |
|                                                                                |
==================================================================================
|-----------------------------------------+
| PHP-Fusion
| Copyright © 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
|-----------------------------------------+
*/


-------------------------------------------
GENERAL:
-------------------------------------------
Allow users to share your sites content. 
This mod will show the URL, BBcode & HTML for Articles, Forum Threads, News, & Photos. 
Share This  will be situated  under Articles, Forum Threads, News, & Photos, between the content and comments. 

Also features Add This bookmarking and sharing buttons which makes it easy for visitors to bookmark and share threads to their favorite social destinations.
-------------------------------------------



ATTENTION:: PLEASE BACKUP YOUR news.php, articles,php, photogallery.php and forum/viewthread.php!



-------------------------------------------
CHANGES IN FILES
-------------------------------------------

The Share This include Code will be inserted into 
articles.php
news.php
photogallery.php
forum/viewthread.php



-------------------------------------------
INSTALL INSTRUCTIONS:
-------------------------------------------
1. Extract the compressed Archive and upload  all included files in the folder from the files folder on to your server.

files/infusions/share_this/


2. Edit news .php
Look for...

echo "<!--news_sub_readmore-->";

After paste...

include INFUSIONS."share_this/sharthis_n.php";

Save news.php


3. Edit articles.php
Look for...

echo "<!--sub_article-->";

After Paste...

include INFUSIONS."share_this/sharthis_a.php";
 
Save articles.php


4. Edit photogallery.php
Look for...

echo $locale['457'].$data['photo_views']."\n</div>\n";
		closetable();
		
After Paste...

include INFUSIONS."share_this/sharthis_p.php";

Save photogallery.php


5. Edit forum/viewthread.php
Look for...

echo "</table><!--sub_forum_thread_table-->\n";

After Paste...

include INFUSIONS."share_this/sharthis_f.php";

Save viewthread.php		


6. Upload and overwrite news.php, articles.php photogallery.php and forum/viewthread.php


7. Thats it your done.  




+------------------------------------------------------------+
CHANGELOG: 
+------------------------------------------------------------+
v1.00
- First public release

v1.01
- Updated articles.php for PHP-Fusion 7.00.06

v2.00
- Changed overall design of Share This Removed openable panel and changed to table
- Added new Add This Social Network Buttons
- Put codes for Share This in single files for easy inclusion
- added $locale['sh001'] = "More"; (SiteMaster)
- W3C Validated (SiteMaster)
+------------------------------------------------------------+
