feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count

Adsense on top of Image view

Labels: , , ,

photos from The Mabini Academy site

In relation to my previous post, this article also discuss about the tidypic photo album. You should have this plugin installed on your site to follow this tutorial. The google ads will be put on top of the individual image when you browse it. See attached picture.

Open the file image.php that can be found on this path \mod\tidypics\views\default\object\image.php. Copy your google adsense code and paste it on this location. Add the DIV tag on your code as shown on the picture.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.








Adsense on top of Photo Album page

Labels: , , ,

photos from The Mabini Academy site


I installed the plugin tidypics for my photo album. This tutorial will help you put a google adsense on top of every album that you created. I assume you already installed and enabled the tidypics plugin.

Look for the file album.php on this path \mod\tidypics\views\default\object\album.php. Open the file to edit and insert your google adsense code on the location below. Take note that i put a DIV tag before and after the adsense code.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense in Left Side of Groups Page

Labels: , , ,

photos from The Mabini Academy site

Now let's put google ads on the left side of the groups page. It should be just below the group search option on the page.

First, open the file side_menu.php that can be found on this path \mod\groups\views\default\groups\side_menu.php. Open the file and insert the google code on the location shown on below picture.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.







Adsense in Left Side of Members Page

Labels: , ,

photos from The Mabini Academy site

On this blog, I will show you how to put a google adsense on the left side of the members page, just below the member search.

Find and open the file search.php on this path \mod\members\views\default\members\search.php for editing and code insertion. Get your google adsense code and paste it on this location shows on the picture. It should be on the end of the file.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense on top of The Wire posts

Labels: , , ,

photos from The Mabini Academy site


I assume you have the wire plugin installed and enabled in your site. Now, I'll show you how to put google ads on to of the page as shown on the above picture.

Open the file add.php found on the path \mod\thewire\views\default\thewire\forms\add.php for editing. There we will include the google ads on the page. Insert the code on the location shown on the picture below.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense on top of the Groups page

Labels: , , ,

photos from The Mabini Academy site

Now let's put the google ads on top of the groups page, just below the all site group text.

Locate the file group_sort_menu.php on this path \mod\groups\views\default\groups\group_sort_menu.php

Open the file, and insert your google adsense code on this location. It should be on the end of the file.


If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.








Adsense on top of the Members page

Labels: , , ,

photos from The Mabini Academy site

As shown on the picture, we will now try to put google ads on the members area just below the word site members. I use 468x80 ad size.

Locate the file members_sort_menu.php on the path \mod\members\views\default\members\members_sort_menu.php

Then insert your code on the location shown on below picture.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.




Adsense on top of File page

Labels: , , ,

photos from The Mabini Academy site

This blog will teach you how to put google ads on the FILES page. I will assume that you have the FILES plugin installed and enabled on your site. I use 468x60 ad size.

Locate file.php on this path \mod\file\views\default\object\file.php

Open the file and insert your google adsense code on the location shown on the picture.


If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.



Adsense on top of Blog page

Labels: , , ,

photos from The Mabini Academy site

This tutorial will put google ads below the title of your blog post as shown on the picture. I use 468x60 ad size on my site.

To begin with, locate the file blog.php on this path \mod\blog\views\default\canvas\object\blog.php

Then, insert your google adsense code on this location.


If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense in Left Side of Activity Page

Labels: , , ,

photos from The Mabini Academy site

On this tutorial, we will put google ads on the left pane side of the activity area. It will be just below the recent members section as shown on the picture.

To start, first locate the file newestmembers.php under this path \mod\riverdashboard\views\default\riverdashboard\newestmembers.php. To maximize the page, I use the big 160x600 adsize. Copy you own adsense code now to proceed with our tutorial.

Open the file and insert your code on this location, shown on the picture.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.





Adsense on top of Activity Area

Labels: , , ,

photos from The Mabini Academy site

Now let's put google ads on top of you activity section, below the welcome text. I use 468x60 ad size on this page.

Browse for the file welcome.php on this path \mod\riverdashboard\views\default\riverdashboard\welcome.php

Insert your code on this location. If there are codes between this line, delete it and replace it with your adsense code.



If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense in Profile and Dashboard Area

Labels: , , ,


photos are taken from The Mabini Academy site

Now let's add google adsense code under the profile and dashboard page. Adding the code edit both of your profile and dashboard, so you dont have a choice if you want to apply the code on either page. The location of the ads is below the edit page link on the upper right hand corner of the site. 300x250 ad size is a perfect for this area.

Browse the file widgets.php on this path \views\default\canvas\layouts\widgets.php

Open the file and insert your adsense code on this location.


If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense in Spotlight Area

Labels: , , , ,

photos taken from The Mabini Academy site

Spotlight is visible in almost all of the Elgg page making it an ideal place for putting google ads. On my site, I use google ads 468x60 in size.

Locate the file default.php on this folder path \views\spotlight\default.php



Edit the file and insert your adsense code in it. The original file contains few codes between this lines, delete it first.

(replace * with < ) *div class="spotlightLHS">
ADSENSE CODE
*/div>*!-- /spotlight LHS content -->

If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






Adsense in Main Page

Labels: , , ,

photos from The Mabini Academy site

First and foremost, we need to put google ads on our main page to maximize your earning. On this tutorial, I use the plugin CUSTOMINDEX and enable it on administration page. On my site, I edit the code to display two 336x280 ads.

To do that, you need to browse your Elgg installation and edit the file content.php which can be found on this path \mod\customindex\views\default\customindex\content.php

I pressume you already have an adsense account so prepare your adsense code for insertion. Open the file and insert your code on below format.

Notice that I insert 2 adsense code in the file and insert it using this order:

(replace * with <) *table border="1">
*tbody>
*td>
*ADSENSE CODE 1
*/td>
*td>
*ADSENSE CODE 2
*/td>
*/tr>
*/tbody>

Save the file after editing and you have now your google ads displayed on the main page.

If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.






From the Beginning

Labels: , , ,

I assume all of you to have a working Elgg site before this blog will help you. Setting up an Elgg site is easy, just follow all the instructions on the user installation guide. Or if you want, subscribe to GoDaddy for hosting. They will setup an Elgg site for you as a package on their hosting.

OK then, since you already have a working site, we'll proceed with our tutorial! Let's put some adsense code on your site.



Elgg

Labels: ,

Elgg is a free software that let's you create your own social networking site. It's been around for few years and certainly the best on the free software industry for its purpose. Elgg, started in 2004, is an open source social engine which powers all kinds of social environments - from education and business to martial arts and rugby. If you are looking for a professional social intranet or want to run a site for your organization, Elgg is a great choice.

I started using it few months ago. Back then, I was looking for a way to create an online alumni for our high school. I made some research about this site and all the comments impressed me so I decided to use it. Right now I have 3 sites all using Elgg and so far, it works perfectly.

Since my sites are established already, I wanted to integrate google adsense on it to generate some income and help me pay on my server host fees. For lots of beginners, putting adsense code is really a big headache, especially on where to put the code so it will work perfectly. I also waited for an adsense widget on their plugins, but nobody created it yet. If there is, they will ask for a fee in exchange of the code.

On this blog, I will try to give tutorials on where and how to put adsense code on the Elgg site. I hope this blog will be a greate help to all those Elgg users.

If you found this blog useful, please consider buying me a cup of coffee thru my paypal address rlmacalintal@yahoo.com. Put a link on my site too so that other Elgg users will know.