Файл: How to Update/1.2.3.txt
Строк: 92
How to update from Followly v1.2.2 to Followly v1.2.3 [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)
CREATE TABLE `ads` (
`idad` int(10) unsigned NOT NULL
AUTO_INCREMENT,
`code` varchar(11) CHARACTER SET utf8 COLLATE utf8_bin
NOT NULL,
`adsource` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY
(`idad`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
AUTO_INCREMENT=3 ;
INSERT INTO `ads` (`idad`, `code`, `adsource`)
VALUES
(1, 'adsbasic1', '<script async
src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n<!--
200 x 200 Cuadrado de 200 -->\n<ins class="adsbygoogle"\n
style="display:inline-block;width:200px;height:200px"\n
data-ad-client="ca-pub-3796765951215209"\n
data-ad-slot="7966384907"></ins>\n<script>\n(adsbygoogle
= window.adsbygoogle || []).push({});\n</script>'),
(2, 'adsbasic2',
'<script async
src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n<!--
200 x 200 Cuadrado de 200 -->\n<ins class="adsbygoogle"\n
style="display:inline-block;width:200px;height:200px"\n
data-ad-client="ca-pub-3796765951215209"\n
data-ad-slot="7966384907"></ins>\n<script>\n(adsbygoogle
= window.adsbygoogle ||
[]).push({});\n</script>');
----------------------------------------------------------------------------
----------------------------------
FTP -------------------------------------
Upload and replace the following
files on your
server:
system/controllers/ajax_reload-notifications-dashboard.php
system/controllers/all-required-dashboard.php
system/controllers/all-required-profile.php
themes/default/html/_verticalmenu-admin.php
themes/default/html/admin_ads.php
themes/default/js/js_admin.php
(Consider
only lines new
translation.)
system/languages/en/inside/admin.php
system/languages/es/inside/admin.php
**
The lines indicating the update, in the case of language, are at the end of
the files.
NEW
FILES
system/controllers/admin_ads.php
system/controllers/ajax_admin-adsbasic.php
[or
do a clean
reinstall]
----------------------------------------------------------------------------
---------------------------------
Changelog --------------------------------
- Fixed some errors.
- Added a
basic ad manager for 200 px banners. Especially for use with Adsense.