Hi there,
I've enabled the adsense revenue sharing module and it's working like a charm, but i'm not satisfied with the ads placement.
Someone can tell me how to change the position of the ad in the story pages ? Or at least show me where I can find the solution ?
Thank you in advance for your help.
PS: I'm using the coolwater template.
EDIT:
I've found this code and I think this is where the modifications have to be done:
share_revenue_init.php
Found in : /modules/share_revenue/PHP Code:<?php
if(defined('mnminclude')){
include_once('share_revenue_settings.php');
// tell pligg what pages this modules should be included in
// pages are <script name> minus .php
// index.php becomes 'index' and upcoming.php becomes 'upcoming'
$include_in_pages = array('all');
$do_not_include_in_pages = array();
if( do_we_load_module() ) {
if(is_object($main_smarty)){
$main_smarty->plugins_dir[] = share_revenue_plugins_path;
}
module_add_action_tpl('tpl_pligg_below_center', share_revenue_tpl_path . 'show_ads.tpl');
module_add_action_tpl('tpl_admin_modules_top', share_revenue_tpl_path . 'admin_modules_top.tpl');
}
}
?>
Is that right ?
Sorry for my bad english.



Reply With Quote



