This final version adds Ads in more pages of your ELGG network.
It places the ads in all the page, so that you can get maximum revenue out of it.
This version supports Google Adsense Ads in all pages. No coding. Just place the Publisher ID and Slot ID in the Admin settings and you are done!!!
If you are happy with my effort, please contribute some cents/$ to my paypal ID purushoth.r@gmail.com .
Fix for the issue when going to Setttings page:
1) Open the file "mod/advanced_google_tools/languages/fr.php"
2) In the last two lines, replace the following
'advanced-google-tools:lblAdsenseHelp' => 'Pour plus d'informations sur Adsense visitez ', 'advanced-google-tools:lblAnalyticsHelp' => 'Pour plus d'informations sur Analytics visitez '
with the following (double quotes)
'advanced-google-tools:lblAdsenseHelp' => "Pour plus d'informations sur Adsense visitez ", 'advanced-google-tools:lblAnalyticsHelp' => "Pour plus d'informations sur Analytics visitez "
View Purus's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@Madd69: Its the policy of Google Adsense, to open the add in the same window. Please go through the Adsense TOS and FAQ.
It breaks my Settings. Although, everything else works ok.
@Jeffbauer:
Are you saying about the error when going to settings page? IF so
Fix for this: (Let me know if this works)
1) Open the file "mod/advanced_google_tools/languages/fr.php"
2) In the last two lines, replace the following
'advanced-google-tools:lblAdsenseHelp' => 'Pour plus d'informations sur Adsense visitez ',
'advanced-google-tools:lblAnalyticsHelp' => 'Pour plus d'informations sur Analytics visitez '
with the following (double quotes)
'advanced-google-tools:lblAdsenseHelp' => "Pour plus d'informations sur Adsense visitez ",
'advanced-google-tools:lblAnalyticsHelp' => "Pour plus d'informations sur Analytics visitez "
Adslot ID for Banner Size 160 X 60 shouldn't it be 160x600? I think you forgot a zero right there :D
There is problem in user setting, when I actived the plugin. Can you check this?
Hi,
This is a known issue. The fix is already provided in the post, few above.
Fix for this: (Let me know if this works)
1) Open the file "mod/advanced_google_tools/languages/fr.php"
2) In the last two lines, replace the following
'advanced-google-tools:lblAdsenseHelp' => 'Pour plus d'informations sur Adsense visitez ',
'advanced-google-tools:lblAnalyticsHelp' => 'Pour plus d'informations sur Analytics visitez '
with the following (double quotes)
'advanced-google-tools:lblAdsenseHelp' => "Pour plus d'informations sur Adsense visitez ",
'advanced-google-tools:lblAnalyticsHelp' => "Pour plus d'informations sur Analytics visitez "
@Randy: You are correct. That was a typo mistake. You da man. :D
So.... this is ok.:)
Thank you.
How can i get Adslot ID? i have adsense account.
@dozenhost: When you create a new ad in Adsense, you will get an Adslot ID. Its pretty easy.
I just need 2 banners per page the top banner 728*90 and the banner 160*600 at the side
there is no need for the third banner at the bottom, it does not go well with the purity theme
so how can i remove the banner at he bottom?
@Waleed: Comment out the footer view extension in the start.php file.
I also found out if I delete \mod\advanced_google_tools\views\default\advanced_google_tools\FooterBanner728x90.php
would work
for those of you who want to run ads for other networks all you have to do is modify
\mod\advanced_google_tools\views\default\advanced_google_tools\Banner728x90.php
\mod\advanced_google_tools\views\default\advanced_google_tools\FooterBanner728x90.php
\mod\advanced_google_tools\views\default\advanced_google_tools\SidebarBanner160x600.php
to:
<center>
the code provided by the adnetwork
</center>
please note i'm not a programmer and I was just playing with it and it worked for me, let me know if it worked for you
Thanks for your tips for the users.
But I suggest not to delete the files. Comment the code in start.php file.
I just noticed new vistors to the site can only see 2 banners not 3
the side banner and the banner at the bottom. these vistors are the one that click on the ad the most
can you add a the top banner for that page as well?
@Waleed: which page you are talking about? Screenshots plz.
i'm talking about first time visitors and mebers who have not loged in yet when they visit the main page
Hope you read my message. Screenshots!!!
The theme that you are using does not use the view which shows the top ads in the page that you see.
what should i add to the theme to make show the ad?
Try to see in to code or talk with theme developer.
can you tell me which file i need to modify>
I tried the original theme that cone with elgg and seen the same problem
@waleed: Happy you fixed it. But sadly, I could not still get your problem.