Ads after first and last post (proSilver based)

Viewtopic, viewforum, posting related hacks and MODs.
Viewing topics, forums, or posting add-ons.

Re: Ads after first and last post (proSilver based)

Postby gkg » 03 Jul 2008, 11:50

hi. where exactly should i put ads.txt file? :blackeye:
gkg    
Crewman
Crewman
 
Posts: 2
Joined: 10 May 2008, 22:47
Location: Vilnius
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: Ads after first and last post (proSilver based)

Postby topdown » 03 Jul 2008, 16:07

In the templates folder of the style you are using.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: Ads after first and last post (proSilver based)

Postby bielle64 » 06 Jul 2008, 08:48

:blush:

Could you give me the code to have :
Ads before first and after last post
bielle64
Crewman
Crewman
 
Posts: 1
Joined: 06 Jul 2008, 08:43
Location: BIELLE (64) - France
Favorite Team: NY Giants
Gender: Male
phpBB Knowledge: 8

Re: Ads after first and last post (proSilver based)

Postby firezz » 09 Apr 2009, 09:01

Hi , i have one question, previously after the first post, there will have a auto reply meant for advertisement and i used it for my google adsense adv.
At first, everything seems ok as i am able to c the adv from adsense.
problem is.. recently i noticed that there is no longer post available there
i thought i have exceeded 3 adv from adsense, so what i did is, removed everything and it still showing the same error
One thing i tried was using the search opt. from adsense, and it works..... it shown there without any problem but when i place the code for text / graphics adv, it will show blank space there

such error can be seen here

Image

here is my code for your information


Code: Select all
       <!-- IF postrow.S_FIRST_ROW -->
       <div class="post bg2">
          <div class="inner"><span class="corners-top"><span></span></span>

          <div class="postbody">
             <h3>{postrow.POST_SUBJECT}</h3>
             <p class="author"><strong>Advertisement</strong></p>

             <div class="content" style="text-align: center;">
 
<script type="text/javascript"><!--
google_ad_client = "xxxx";
/* 468x60, created 4/7/09 */
google_ad_slot = "8466846053";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
ssssss
             </div>
          </div>
          <dl class="postprofile" id="profile0000">
             <dt>
                <strong>Advertisement</strong>
             </dt>
             <dd>&nbsp;</dd>
          </dl>
          <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
          <span class="corners-bottom"><span></span></span></div>
       </div>
       <hr class="divider" />
       <!-- ENDIF -->




kindly assists
thnak you
firezz    
Crewman
Crewman
 
Posts: 7
Joined: 12 Dec 2008, 13:44
Gender: Male
phpBB Knowledge: 5

Re: Ads after first and last post (proSilver based)

Postby firezz » 18 Apr 2009, 11:14

Hi ,... anyone has any suggestions on this issue ?
btw.. updates...

when i tried to add adbrite code of others adv. here, it seems work fine.. except google adsense.. does this means..... adsense has issues and not my forum code ?
thansk
firezz    
Crewman
Crewman
 
Posts: 7
Joined: 12 Dec 2008, 13:44
Gender: Male
phpBB Knowledge: 5

Re: Ads after first and last post (proSilver based)

Postby bernard1980 » 07 Jan 2010, 16:15

hi i followed every step in order to put ads after the first and last post (identical ads like in first code sample)

the ad after the first post shows up nicely but the one that should show up at the end simply doesn't

any ideas ? (using last version of phpbb)

ps: yes, i changed the line of code with the 'or' statement
bernard1980
Crewman
Crewman
 
Posts: 2
Joined: 07 Jan 2010, 16:10
Gender: Male
phpBB Knowledge: 3

Re: Ads after first and last post (proSilver based)

Postby topdown » 07 Jan 2010, 18:29

@bernard1980 Do you have a link, I just checked the code and it works fine.

@firezz I looked at your code and it seems fine with the exception of the ad.
I would put your Google ad code in a plain page and make sure it works and that you were not suspended for something.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: Ads after first and last post (proSilver based)

Postby duesmandella » 14 Jan 2011, 22:15

does this do this for guests only? or for all registered people?
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Previous

Return to Topic, Forum, Posting MOD Downloads

Who is online

Users browsing this forum: No registered users and 3 guests