Hello,
I am tring to add plugin which are inactive and not listed in admin area.
I am tring to send this command addPlugin('Adsense'); at config.php. but nothing is happening.
Which config.php are we talking of the one which configures your site name, database(main) or is the one in the classes.
i am lost please help Thanks
Comments
Please advise
In order to add plugin af config.php
<?php<br />if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
$config['site']['name'] = 'http://www.xyz.com';
$config['site']['server'] = 'www.xyz.com';
$config['site']['path'] = false;
$config['db']['database'] = mysql_database path;
$config['db']['type'] = 'mysql';
$config['site']['profile'] = 'public';
addPlugin('Adsense');
Is this the correct way of doing it?
Thanks,edited
But there's more to the Addsense-Plugin, did you actually read the information in $rootfolder$/plugins/Adsense/AdsensePlugin.php ? You need to also provide your Client ID and the slot, which you can get from https://www.google.com/adsense/. But I suggest you open the Plugin File with a text editor yourself and read the description.