Release Notes
(Read update procedure at the bottom of this file)
____________________________________________________________

22nd June 2018
Release of version 3.1

* Fix: Facebook pages were not being automatically fetched while login
* Fix: Updated video downloader
* Fix: Fixed group importer
* Updated: New Facebook token generators added and updated old token generators

Updated scripts-
* js/core.js (clear browser & server cache before testing)
* classes/auth.class.php
* classes/download.class.php
* templates/dashboard/modals.php
* images/token_copy.png
* ajax.php

[No SQL update]

-------

15th April 2017
Release of version 3.0

* Fix: Updated facebook and dailymotion downloaders
* New: Added new 3rd party tokens for group posting
* Change: Removed permission check while facebook login. This way you can use 3rd party tokens that do not support manage_pages. But beware that those tokens will not be able to post on your pages as page admin. 

Updated scripts-
* js/core.js (clear browser & server cache before testing)
* classes/auth.class.php
* classes/download.class.php
* templates/dashboard/modals.php

-------

02nd April 2017
Release of version 2.9

* Fix: An issue while saving new facebook apps

Updated scripts-
* functions.php
* sdk/facebook/base_facebook.php

-------

29th January 2017
Release of version 2.8

* Fix: Issue with youtube description length when spintax is used
* Fix: A javascript issue that was preventing the file description modal to open

Updated scripts-
* ajax.php
* js/core.js
* templates/footer.php

--------


18th January 2017
Release of version 2.7

* Update: PHPMailer security update

Updated scripts-
* classes/phpmailer.class.php
* classes/smtp.class.php

--------

12nd January 2017
Release of version 2.6

WARNING: Before replacing any file please keep a backup of previous files so you can restore previous version if you face any serious problem.

* Fix: A bug that was causing multiple posts made at a time in some cases
* Change: The script will now mark posts with failure when facebook api triggers error instead of queuing it for the next day.

Updated scripts-
* classes/schedule.class.php
* cron/poster.php

Updated files for this version can be found on "latest-update-files-only" folder

------


28th October 2016
Release of version 2.5

WARNING: Before replacing any file please keep a backup of previous files so you can restore previous version if you face any serious problem.

* Fix: A bug that was preventing user from refreshing token when they added maximum number of profiles to their account
* Fix: Bug with posting times when token is refreshed
* Change: The script will now mark posts with failure when a user exceeds his posting limit per day instead of queuing it for the next day.

Updated scripts-
* classes/auth.class.php
* classes/schedule.class.php
* templates/post_log.php
* templates/schedule.php
* dologin.php
* functions.php

Updated files can be found on "latest-update-files-only" folder

------

7th September 2016
Release of version 2.4

* Fix: Posting limits in memebership plans were not working for facebook and also not working when set to zero
* Changed: Schedule times are now reassessed when user refreshes expired token
* Changed: Schedule times are now reassessed when user exceeds post limits
* Added: Button to resync account from accounts tab in dashboard

Updated scripts-
* classes/schedule.class.php
* classes/auth.class.php
* cron/poster.php
* cron/misc.php
* functions.php

Updated files can be found on "latest-update-files-only" folder

------

1st September 2016

* Improvement: MySQL optimization in cron script

Updated scripts-
* cron/misc.php

------


8th August 2016
Release of version 2.3

* Fixed: HTC token generator (firefox supported)
* Added: iPhoto token generator
* Fixed: Bug fixed that caused pending schedules being posted all at a time when schedule is stopped and activated again. From now after reactivation, posting time will be reassessed.
* Fixed: Facebook video downloader fix
* Fixed: Facebook stats scraper was not working for old version of apps.

Updated scripts-
* ajax.php
* functions.php
* templates/dashboard/modals.php
* classes/downloader.class.php
* classes/schedules.class.php
* classes/stats.class.php
* js/core.js

Updated files can be found on "latest-update-files-only" folder

------

24th June 2016
Release of version 2.2

* Added: Custom token generator
* Changed: Reuse of comments bumping when schedule is restarted or reset
* Fixed: Facebook video downloader fix

Updated scripts-
* ajax.php
* functions.php
* templates/dashboard/modals.php
* templates/dashboard.php
* classes/downloader.class.php
* js/core.js

------

27th May 2016
Release of version 2.1

* Fix: Bug fix with schedule update
* Improvements: Some improvements with schedule poster

Updated scripts-
* crons/poster.php
* ajax.php 

------

14th March 2016
Release of version 2.0

* Update: Workaround of no caption problem in facebook group photos
* Change: Schedule and schedule groups display in descending order of adding time
* Update: Some other minor change

Updated scripts-
* classes/schedule.class.php
* classes/auth.class.php
* classes/comment.class.php
* ajax.php
* functions.php

------

09th March 2016

* Changed: Minor change in mysql table structure

Check updates folder to get the sql file

------

12th February 2016
Release of version 1.9

* Fixed: Unwanted slash in text caption after single quote (schedule.class.php)
* Fixed: Date time were not synchronized with timezone in shortcodes (schedule.class.php)
* Changed: Schedules will be marked as done immediately after all files are posted without waiting for another cycle (schedule.class.php)
* Fixed: Same page/group could not be scheduled under same campaign when multiple users own the same page/group (update.sql in update folder)
* Changed: Reset and restart schedule button is moved to main schedule creator modal instead of advanced option modal. (js/core.js, templates/dashboard/modals.php, templates/dashboard/schedules.php)

Updated scripts-
* js/core.js
* templates/dashboard/modals.php
* templates/dashboard/schedules.php
* classes/schedule.class.php

Import the sql file from "updates/12-Feb-2016(v1.9)" folder

------

5th February 2016
Release of version 1.8

* Fixed: Options buttons were not appearing when file is uploaded into empty folder
* Added: Possible to use tokenized url instead of access token when login with access token
* Fixed: Bug fix with quotes in text caption
* Fixed: Vimeo downloader fix
* Fixed: Bug fix with comment bumping

Updated scripts-
* core.js
* dologin.php
* classes/comment.class.php
* classes/schedule.class.php
* classes/download.class.php

------

1st February 2016

* Fixed: Bug fix with comment bumping

Updated scripts-
* classes/comment.class.php

------


26th January 2016

* Fixed: More bug fix with post timing

Updated scripts-
* classes/schedule.class.php
* functions.php

------

24th January 2016

* Fixed: Bug fix with synchronous schedule posting timing

Updated scripts-
* classes/schedule.class.php

------

8th January 2016

* Improved: Schedule posting time

Updated scripts-
* functions.php
* ajax.php

------

2nd January 2016

* Changed: When the script fails to post a file due to errors (usually triggered by API), it will abort repetitive attempts to post the file.
* Improved: Improved rss feed posting

Updated scripts-
* classes/auth.class.php
* classes/xml_feed.class.php
* classes/schedule.class.php
* functions.php
* ajax.php
* templates/dashboard/schedules.php

------

29th December 2015

* Added: Files can be searched by file id
* Added: Folders can be searched by folder id
* Fixed: Add schedule group modal was not scrolling on mobile devices

Updated scripts-
* js/core.js
* classes/auth.class.php
* functions.php
* templates/footer.php
* templates/dashboard/modals.php

Usage - Error logs in dashboard Logs tab shows file & folder ids that are having problem with facebook. 
If a file is having problem being posted to facebook, indentify the file & change or delete it to prevent API errors.

------

15th December 2015
Release of version 1.7.1

* Added: Option to select mass group by OPEN/CLOSED/SECRET privacy
* Added: Method to add facebook accounts by access token without using any app
* Fixed: Removed restrictions on post_max_size settings while file upload

Copy & replace all files or select the following files/folders only -
 
Updated scripts-

* dologin.php
* functions.php
* js/core.js
* images/fbweblogin.png
* classes/auth.class.php
* classes/fileuploader.class.php
* sdk/facebook/base_facebook.php
* templates/dashboard/modals.php
* templates/dashboard.php
* templates/footer.php

------

11th December 2015
Release of version 1.7

* Added: Post now function with each file
* Added: Mass page selection by facebook id
* Added: Synchronous posting method
* Added: New font in meme generator so they look more realistic
* Added: Option to change schedule group or schedule post time
* Added: Option to post from 5 to 59 minutes interval
* Added: Admin option to add different post limits per social site basis 
* Added: Admin option to search facebook pages, groups & events and ban/unban them from scheduling
* Added: Admin option to replace site logo

(upgrade instructions inside updates folder)

------

09th December 2015

* Update: Group import method enhanced
* Added: Mass schedule stop/resume button added

 Updated scripts-
 * ajax.php
 * templates/schedule.php
 * templates/dashboard/schedules.php
 * js/core.js

------

06th December 2015

* Fixed: Upload maximum size restrictions removed in media editor & meme generator
* Fixed: In schedule selected pages wrong owner name was appearing when the same group is owned by multiple user
* Fixed: Workaround of comments not appearing in facebook groups post 

------

05th December 2015

* Fixed: Post start/end time now works correctly in mysql servers with different timezone
* Fixed: Few bug fixes in schedule post only from-to timing

(upgrade instructions inside updates folder)

------

30th November 2015

* Added: Support for emoticons
* Fixed: Admins can now login when site is in maintenance mode

------

29th November 2015
Release of version 1.6

* Added: Admin option to update user email & password
* Added: Option to mass delete folders, profiles, pages, groups, events, schedules, rss feeds and files
* Added: Option to repeat campaign
* Added: Option to post a file only once in whole campaign
* Added: Option to set a campaign end time 
* Added: Introduced dynamic variables and greetings messages in posts
* Added: Option to add mass caption to all selected files after upload
* Added: Option to specify a price for membership plan 
* Added: "payments" table in mysql so you can easily integrate your desired payment module
* Added: Option to add custom link title, image & description in facebook posts
* Added: Admin option to enable site maintenance mode with custom message for users

------

24th November 2015
Release of version 1.5

* Added: Admin option to delete user
* Added: Admin option to set membership expiry time
* Added: Options to create page categories by users
* Added: Options to select all pages, groups, profiles in bulk
* Added: New home page design & few design improvements
* Fixed: Few bug fix and improvements
* Fixed: Translation of some missing parts

------

20th November 2015
* Modified: Changed button sizes to smaller buttons (copy full "templates" & "js" folders for this update)
* Fixed: Language error in password reset page (use "reset.php" file for this update)

------

13th November 2015
Release of version 1.4

* Added: Public signup form
* Added: New language packs + Translation of some missing parts

------

10th November 2015
* Fixed: A bug fix in facebook group posting

------

5th November 2015
Release of version 1.3

------

* Added: Translation feature
* Added: 8 language packs
* Added: RSS feed posting in twitter
* Added: user_groups permission to post on closed facebook groups with older apps
* Update: Facebook & Youtube downloader update
* Fixed: Fixed some bugs in schedule timing
* Fixed: Fixed some bugs in watermarking

------

* Updates are only for returning customers. New customers do not have to apply updates as the source code in envato is always latest versioned.
* Database update: Database update is optional and is not done for all update release. Look inside "updates-sql-only" folder to check if any folder labelled with the release data has been added. If any, follow the instructions inside that update folder. This is only for sql/database updates.
* To update files, follow the procedures listed below-
	1. Connect to ftp or file manager and navigate to the folder where socialninja is installed
        2. Simply copy all the files from socialninja folder and paste into your existing ftp folder 
	   OR Select the files that are updated and copy-replace them only. A list of updated files is given in update notes.
	   OR Check inside "latest-update-files-only" folder, select all files and copy-paste into existing installation.
* Replace all files if prompted to do so.

Note: If you modified the updated files, DO NOT replace directly if you want to keep your changes. In that case compare the updated files with some tools like git and add the piece of codes that were changed. 

WARNING: Replacing files will result into loss of all custom changes you made to the script.


