News:

Wondering if this will always be free?  See why free is better.

Main Menu

Google AdSense in SMF, various positions...

Started by Moonray, September 25, 2005, 11:46:56 PM

Previous topic - Next topic

punjablovers

Quote from: punjablovers on May 05, 2010, 02:44:51 AM
Quote from: punjablovers on April 27, 2010, 03:22:17 PM
Some help needed about add placement in Aeva Media (Gallery & Auto-embedder):::

http://apnimastian.com/index.php?action=media;sa=item;in=7
Check above url here you will find a video, i want to show my adds on left and right side of the video, how can i do this.
Regards.

Waiting for Answer,,,,,,
Still waiting

Webguru2020

What position that you think is the best for earning from adsense? I am not sure about the thread.

mcmedal001

Plz how do i edit my display.index.php? Im using babylon theme, and i want to put google adsense right below d menu,on every page. Plz where will i paste my google code?. Im using smf 1.1.11. Plz help needed urgently. Thanx ahead

punjablovers

This thread is going to dead!!! all support team is sleeping and taking some rest!!!! So many people are using SMF, but the support team is to lazy to provide some help, just start a thread and take rest, supporting team will give you help after 6 Months O:) To much discussing!!!!

Arantor

Quote from: punjablovers on June 05, 2010, 12:13:23 PM
This thread is going to dead!!! all support team is sleeping and taking some rest!!!! So many people are using SMF, but the support team is to lazy to provide some help, just start a thread and take rest, supporting team will give you help after 6 Months O:) To much discussing!!!!

Or use either of the mods for inserting ads...

Technically the team isn't strictly responsible for providing support here, generally the thread starter is assumed to be.

Phoestre

Quote from: Arantor on June 06, 2010, 08:29:52 PM
Quote from: punjablovers on June 05, 2010, 12:13:23 PM
This thread is going to dead!!! all support team is sleeping and taking some rest!!!! So many people are using SMF, but the support team is to lazy to provide some help, just start a thread and take rest, supporting team will give you help after 6 Months O:) To much discussing!!!!

Or use either of the mods for inserting ads...

Technically the team isn't strictly responsible for providing support here, generally the thread starter is assumed to be.

Arantor is right. "Individual" posting the tip/trick is responsible for support and explanation.;) If we were going to hold SM LLC responsible for advises from individuals, wow.. I don't think they even check this board, other than moderation, yes they are watching us! :P

SMF 2.0RC3 + SimplePortal
Custom Theme + Latin5 Turkish
Ubuntu Lucid

Hj Ahmad Rasyid Hj Ismail

#286
Quote from: rancitis on March 23, 2008, 07:53:23 AM


Try this for SMF 2.0 RC3. Change left to right if you want it to be on the right side and the width accordingly with your ad size (+10px to be more beautiful).

Quote from: Abu Fahim Ismail on June 17, 2010, 09:28:46 AM
After some reference, I clean up the code a bit with ad only in the first post. Change float:left; width:270px; and adsense id to your need.
Find:
echo '
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>';

Replace:
echo '
<div class="inner" id="msg_', $message['id'], '"', '>';
if ($message['id'] == $context['first_message'])
echo '
<div style="float:left; width:270px;">
<script target="_blank" type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxxx";
/* All 250x250 */
google_ad_slot = "8967115259";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js?target=_blank">
</script></div>';
echo '
', $message['body'], '</div>
</div>';


At the same time, I am looking for a solution for this too (without the text or ad being hidden). :(

Quote from: anakmacan on September 30, 2008, 05:12:06 AM


shawdy

Banning people with such helpfull posts?!?! i was hoping he could help do this with version one sad! being banned for a signature picture, get a grip smf

Hj Ahmad Rasyid Hj Ismail

Quote from: shawdy on July 13, 2010, 10:27:10 AM
Banning people with such helpfull posts?!?! i was hoping he could help do this with version one sad! being banned for a signature picture, get a grip smf
Lol... Hi, shawdy. I am not banned here. No, not by SMF. They are kind people here with a good free license software for all of us. I was banned somewhere else by using the signature. I thought I put it there as my signature as a protest to them (not SMF). Sorry, if I misled you in any kind. Always, remember that the last part of the post is the signature and not a note for banning. Sorry again.

GarfieldP

if you have bidvertiser, and you want to do the category one it should look like this: (index.template.php where first google modifications are found)
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>


<td style="padding: 1ex 1px 2ex 1px;" width="100%" valign="top">
<div class="tborder">
<table border="0" width="100%" cellspacing="1" cellpadding="5" height="72">
<tr>
<td  colspan="4" class="catbg" height="18"><img src="/Themes/default/images/www.gif" class="midimage" alt="No New Posts" title="No New Posts" border="0" />
<font size="1">Sponsored Links</font>
</td>
</tr>
<tr class="topicbg1">
<td class="topicbg1" align="center" valign="middle"><img src="/Themes/default/images/upshrink2.gif"  border="0" /></td>
<td class="topicbg1" align="left" width="70%">
<div style="float:right;text-align:right;">
    <a href="index.php?action=post;board=6.0"><img src="/Themes/default/images/topic/normal_post.gif" alt="n" border="0" title="Start new topic" /></a>
</div>
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=code1&bid=code2" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">make money online</a></noscript>
<!-- End BidVertiser code -->
</td>
<td class="topicbg1" valign="middle" align="center" style="width: 10%;" nowrap="nowrap">
<span class="smalltext">1 Post in<br/>1 Topic</span></td>
<td class="topicbg1" valign="middle" width="50%" nowrap="nowrap">
<span class="smalltext"><img border="0" src="/Themes/smfaqua/images/www.gif" align="middle" title="" alt="" />Posted <b>Today</b>,at 6:30:00 AM<br>by <u>Bidvertiser</u></span></td>
</tr>
<tbody class="sep_display"><tr style="height:5px;"><td style="height:5px;padding:0;" colspan="4" class="catbg"></td></tr><tr style="padding:0;"><td style="padding:0;" colspan="4"><div class="catsep"></div></td></tr></tbody>
</table>
</div>';

ɔɔɔɔɔɔuɥoɾ

Who is having this issue


Because I have my ads just like this, however the text is on the right side of it only

I can help lol...


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

punjablovers

I think he can use simple ad mod or google ad mod.

Hj Ahmad Rasyid Hj Ismail


Hj Ahmad Rasyid Hj Ismail

Quote from: johncccccc on July 31, 2010, 04:46:28 PM
Who is having this issue
Because I have my ads just like this, however the text is on the right side of it only
I am. If that is the case, I can do something like that too. But what I want is for it to float left or right and valign middle not on the right side only.

ɔɔɔɔɔɔuɥoɾ

Quote from: AbuFahim⎝⏠⏝⏠⎠ on August 01, 2010, 09:22:57 AM
Quote from: johncccccc on July 31, 2010, 04:46:28 PM
Who is having this issue
Because I have my ads just like this, however the text is on the right side of it only
I am. If that is the case, I can do something like that too. But what I want is for it to float left or right and valign middle not on the right side only.

Which are you using, smf 1 or 2 ?


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Hj Ahmad Rasyid Hj Ismail


ɔɔɔɔɔɔuɥoɾ

OK then attach your display.template.php

And your ad code too, coded in post

Then all that post (in the image, or similar), also coded, I can get this done.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

lmoi

My adsense account has been banned since last year is thier anyway to re activate it back.
thanx

ɔɔɔɔɔɔuɥoɾ

Quote from: lmoi on August 08, 2010, 03:47:32 PM
My adsense account has been banned since last year is thier anyway to re activate it back.
thanx

Kiss it goodbye, your never going to get it re-enabled.

unless;

you change your domain.
change your home address (or use another)
change your SSN (or use another)
change your name (or use another)

lol its true, somebody click bombed mine adsense ads, and mine was and still is disabled, that's what you get when you have competition.

I moved to adbrite, seems to be the next best thing after adsense.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

xpubstargamingx

I am interested in adding Adsense to my forums. Right now my only Ad is listed on the Homepage of my website, but I would like to add to my forums since that is where the most impressions would come from.

What information do I need to include in this thread for someone to assist me in setting this up correctly?

I am using SMF 1.1.11 any help would be greatly appreciated.

Advertisement: