ads INSIDE first post

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

ads INSIDE first post

Postby drankur » Thu Aug 14, 2008 10:18 am

can anyone tell me how to put ads INSIDE first post (not after first post)
the ad should come below the content of first post

thank u
drankur
 
Posts: 36
Joined: Mon Feb 04, 2008 3:26 pm

Advertisement

Postby dcz » Mon Aug 18, 2008 8:40 am

you could add :

Code: Select all
<!-- IF postrow.S_FIRST_ROW -->addcode<!-- ENDIF -->


after :
Code: Select all
{postrow.MESSAGE}


or after the signature :
Code: Select all
         <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->


in viewtopic_body.html ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Postby Nrby » Sun Dec 28, 2008 6:35 pm

and how could I add a Skyscraper (120x600) or something like that at the right of every first post without it influencing the post itself ... thank you
Nrby
 
Posts: 12
Joined: Wed Dec 10, 2008 10:43 am

Postby damen » Wed Dec 31, 2008 1:46 pm

use a div floating right
<div style="float:right;">adcode</div>

that will put it on the right, and the first post will wrap prior to hitting it
damen
 
Posts: 2
Joined: Tue Dec 30, 2008 3:05 pm

Postby Nrby » Wed Dec 31, 2008 3:09 pm

damen wrote:use a div floating right
<div style="float:right;">adcode</div>

that will put it on the right, and the first post will wrap prior to hitting it

thanks mate ... it dose stick to the right ... but the first post doesn't wrap around it it just appears at the right after the post content

I've aded the code right after
<div class="postbody">{postrow.MESSAGE} </div>
and tried adding it inside the post div same result

SOLVED: ... just aded the code before {postrow.MESSAGE}
Last edited by Nrby on Wed Dec 31, 2008 3:14 pm, edited 1 time in total.
Nrby
 
Posts: 12
Joined: Wed Dec 10, 2008 10:43 am

Postby damen » Wed Dec 31, 2008 3:11 pm

move:
<!-- IF postrow.S_FIRST_ROW -->addcode<!-- ENDIF -->

to before:
{postrow.MESSAGE}

instead of after
see if that helps
damen
 
Posts: 2
Joined: Tue Dec 30, 2008 3:05 pm

Postby Nrby » Wed Dec 31, 2008 3:15 pm

damen wrote:move:
<!-- IF postrow.S_FIRST_ROW -->addcode<!-- ENDIF -->

to before:
{postrow.MESSAGE}

instead of after
see if that helps

thanks it did ... I just edited my post while you posted this one :P ... I pretty much a HTML noob but learning a bit :P
Nrby
 
Posts: 12
Joined: Wed Dec 10, 2008 10:43 am

Re: ads INSIDE first post

Postby drankur » Thu Apr 22, 2010 7:22 pm

thanks buddy, it worked superbly :)
drankur
 
Posts: 36
Joined: Mon Feb 04, 2008 3:26 pm


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 97 guests