Файл: How to Update/1.2.0.txt
Строк: 108
How to update from Followly v1.1 (phpWolves v1.1) to Followly v1.2 [Don't
forget to back up your files before
proceeding]
----------------------------------------------------------------------------
---------------------------------
MySQL ------------------------------------
Log-in into phpMyAdmin (or
your MySQL database) and on the SQL tab run the following
queries:
1)
ALTER TABLE `activities` CHANGE `action` `action`
TINYINT( 3 ) UNSIGNED NOT NULL COMMENT '1: Follow a user 2:Created a
album 3: Add Post 4: Commented a Post 5:Likes a Post 6:Share a
Post',
CHANGE `idresult` `idresult` INT( 10 ) UNSIGNED NOT NULL COMMENT
'idcomment or idlike or idpost shared';
2)
ALTER TABLE `notifications`
CHANGE `notif_type` `notif_type` TINYINT( 3 ) UNSIGNED NOT NULL COMMENT
'1: Follow me 2: like my post 3: Comment my post 4: Send me a message
5: Share my post',
CHANGE `idresult` `idresult` INT( 10 ) UNSIGNED NOT
NULL COMMENT 'idcomment or idlike or idpost shared';
3)
ALTER
TABLE `posts` ADD `numshares` INT UNSIGNED NOT NULL DEFAULT '0' AFTER
`numcomments`
;
----------------------------------------------------------------------------
----------------------------------
FTP -------------------------------------
Upload and replace the following
files on your server:
themes/default/css/css.css /** Only the
necessary lines
**/
themes/default/html/__dashboard-activity-one-post.php
themes/default/html/__dashboard-one-alert-notifications.php
themes/default/html/__dashboard-one-notifications.php
themes/default/html/__profile-activity-one-post.php
themes/default/html/_footer.php
themes/default/html/_header-profile.php
themes/default/html/_profile-no-show.php
themes/default/html/_topbar-home.php
themes/default/html/_top.php
themes/default/html/dashboard-myinformation.php
themes/default/imgs/icochat.png
themes/default/js/js_dashboard.js
system/controllers/_connect-facebook.php
system/controllers/ajax_dashboard-myinformation.php
system/controllers/ajax_get-notifications.php
system/controllers/ajax_posts.php
system/controllers/dashboard.php
system/controllers/dashboard_mynotifications.php
system/controllers/dashboard_mylikes.php
system/controllers/likes.php
system/controllers/profile.php
system/controllers/posts.php
system/helpers/func_main.php
system/classes/class_post.php
system/classes/class_network.php
system/classes/class_user.php
(Consider
only lines new
translation.)
system/languages/es/global/global.php
system/languages/en/global/global.php
system/languages/es/outside/profile.php
system/languages/en/outside/profile.php
system/languages/es/inside/dashboard.php
system/languages/en/inside/dashboard.php
**
The lines indicating the update, in the case of language and style are at
the end of the files.
NEW
FILES
themes/default/html/__dashboard-one-share-post.php
themes/default/html/__dashboard-one-share-post-nofound.php
themes/default/html/__dashboard-activity-one-post-shared.php
themes/default/html/__profile-activity-one-post-shared.php
themes/default/html/__profile-one-share-post.php
themes/default/html/__profile-one-share-post-nofound.php
[or
do a clean
reinstall]
----------------------------------------------------------------------------
---------------------------------
Changelog --------------------------------
- Fixed some errors.
-
Improved the display system post, both in the profile and in the
dashboard.
- Implemented the version 2.0 API facebook, for login with
Facebook.
- Added the function of SHARE for the posts.